2016-07-20 18:51:24 -04:00
|
|
|
ringlibdir = $(libdir)/ring
|
|
|
|
|
2014-11-13 16:09:50 -05:00
|
|
|
if HAVE_WIN32
|
2016-07-20 18:51:24 -04:00
|
|
|
ringlib_PROGRAMS = ringcli
|
2014-11-13 16:09:50 -05:00
|
|
|
ringcli_SOURCES = winmain.cpp
|
2015-03-12 17:00:51 -04:00
|
|
|
ringcli_CXXFLAGS = -I$(top_srcdir)/src \
|
|
|
|
-I$(top_srcdir)/src/dring \
|
|
|
|
-DTOP_BUILDDIR=\"$$(cd "$(top_builddir)"; pwd)\"
|
|
|
|
ringcli_LDADD = $(top_builddir)/src/libring.la
|
2014-11-13 16:09:50 -05:00
|
|
|
endif
|
|
|
|
|
2014-11-17 15:47:11 -05:00
|
|
|
if HAVE_OSX
|
2016-07-20 18:51:24 -04:00
|
|
|
ringlib_PROGRAMS = ringcli
|
2014-11-17 15:47:11 -05:00
|
|
|
ringcli_SOURCES = osxmain.cpp
|
|
|
|
ringcli_CXXFLAGS = -I$(top_srcdir)/src \
|
2015-01-28 19:42:12 +00:00
|
|
|
-I$(top_srcdir)/src/dring \
|
2014-11-17 15:47:11 -05:00
|
|
|
-DTOP_BUILDDIR=\"$$(cd "$(top_builddir)"; pwd)\"
|
2015-01-08 15:43:13 -05:00
|
|
|
ringcli_LDADD = $(top_builddir)/src/libring.la
|
2014-11-17 15:47:11 -05:00
|
|
|
endif
|
|
|
|
|
2015-01-08 15:43:13 -05:00
|
|
|
if RING_DBUS
|
2014-05-23 14:53:49 -04:00
|
|
|
SUBDIRS=dbus
|
|
|
|
|
2016-07-20 18:51:24 -04:00
|
|
|
ringlib_PROGRAMS = dring
|
2014-05-23 14:53:49 -04:00
|
|
|
|
2015-01-08 15:43:13 -05:00
|
|
|
dring_SOURCES = main.cpp
|
2014-05-23 14:53:49 -04:00
|
|
|
|
2015-01-14 10:44:26 -05:00
|
|
|
dring_CXXFLAGS= -I$(top_srcdir)/src ${DBUSCPP_CFLAGS} \
|
2015-01-28 19:42:12 +00:00
|
|
|
-I$(top_srcdir)/src/dring \
|
2015-01-14 10:44:26 -05:00
|
|
|
-DTOP_BUILDDIR=\"$$(cd "$(top_builddir)"; pwd)\"
|
2014-05-23 14:53:49 -04:00
|
|
|
|
2015-01-08 15:43:13 -05:00
|
|
|
dring_LDADD = dbus/libclient_dbus.la ${DBUSCPP_LIBS} $(top_builddir)/src/libring.la
|
2014-11-13 16:09:50 -05:00
|
|
|
endif
|
2016-08-25 22:14:32 -04:00
|
|
|
|
2017-06-18 23:49:13 +02:00
|
|
|
if RING_NODEJS
|
|
|
|
SUBDIRS=nodejs
|
|
|
|
endif
|
|
|
|
|
2016-08-25 22:14:32 -04:00
|
|
|
if RING_RESTCPP
|
|
|
|
SUBDIRS=restcpp
|
|
|
|
|
2016-10-23 18:29:47 -04:00
|
|
|
sbin_PROGRAMS = restdring
|
2016-08-25 22:14:32 -04:00
|
|
|
|
2016-10-23 18:29:47 -04:00
|
|
|
restdring_SOURCES = main.cpp
|
2016-08-25 22:14:32 -04:00
|
|
|
|
2016-10-23 18:29:47 -04:00
|
|
|
restdring_CXXFLAGS= -g \
|
2016-08-25 22:14:32 -04:00
|
|
|
-I$(top_srcdir)/src \
|
|
|
|
-I$(top_srcdir)/src/dring \
|
|
|
|
-DREST_API \
|
|
|
|
-DTOP_BUILDDIR=\"$$(cd "$(top_builddir)"; pwd)\"
|
|
|
|
|
2016-10-23 18:29:47 -04:00
|
|
|
restdring_LDADD = restcpp/libclient_rest.la $(top_builddir)/src/libring.la
|
2016-08-25 22:14:32 -04:00
|
|
|
endif
|