Makefile.am 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ringlibdir = $(libdir)/ring
  2. if HAVE_WIN32
  3. ringlib_PROGRAMS = ringcli
  4. ringcli_SOURCES = winmain.cpp
  5. ringcli_CXXFLAGS = -I$(top_srcdir)/src \
  6. -I$(top_srcdir)/src/dring \
  7. -DTOP_BUILDDIR=\"$$(cd "$(top_builddir)"; pwd)\"
  8. ringcli_LDADD = $(top_builddir)/src/libring.la
  9. endif
  10. if HAVE_OSX
  11. ringlib_PROGRAMS = ringcli
  12. ringcli_SOURCES = osxmain.cpp
  13. ringcli_CXXFLAGS = -I$(top_srcdir)/src \
  14. -I$(top_srcdir)/src/dring \
  15. -DTOP_BUILDDIR=\"$$(cd "$(top_builddir)"; pwd)\"
  16. ringcli_LDADD = $(top_builddir)/src/libring.la
  17. endif
  18. if RING_DBUS
  19. SUBDIRS=dbus
  20. ringlib_PROGRAMS = dring
  21. dring_SOURCES = main.cpp
  22. dring_CXXFLAGS= -I$(top_srcdir)/src ${DBUSCPP_CFLAGS} \
  23. -I$(top_srcdir)/src/dring \
  24. -DTOP_BUILDDIR=\"$$(cd "$(top_builddir)"; pwd)\"
  25. dring_LDADD = dbus/libclient_dbus.la ${DBUSCPP_LIBS} $(top_builddir)/src/libring.la
  26. endif
  27. if RING_RESTCPP
  28. SUBDIRS=restcpp
  29. sbin_PROGRAMS = restdring
  30. restdring_SOURCES = main.cpp
  31. restdring_CXXFLAGS= -g \
  32. -I$(top_srcdir)/src \
  33. -I$(top_srcdir)/src/dring \
  34. -DREST_API \
  35. -DTOP_BUILDDIR=\"$$(cd "$(top_builddir)"; pwd)\"
  36. restdring_LDADD = restcpp/libclient_rest.la $(top_builddir)/src/libring.la
  37. endif