Makefile.am 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. include $(top_srcdir)/globals.mk
  2. noinst_LTLIBRARIES = libclient_dbus.la
  3. BUILT_SOURCES= \
  4. dbuscallmanager.adaptor.h \
  5. dbusconfigurationmanager.adaptor.h \
  6. dbusinstance.adaptor.h
  7. BUILT_SOURCES+=dbuspresencemanager.adaptor.h
  8. dbuspresencemanager.adaptor.h: cx.ring.Ring.PresenceManager.xml Makefile.am
  9. dbusxx-xml2cpp $< --adaptor=$@
  10. if RING_VIDEO
  11. BUILT_SOURCES+=dbusvideomanager.adaptor.h
  12. dbusvideomanager.adaptor.h: cx.ring.Ring.VideoManager.xml Makefile.am
  13. dbusxx-xml2cpp $< --adaptor=$@
  14. endif
  15. # Rule to generate the binding headers
  16. dbuscallmanager.adaptor.h: cx.ring.Ring.CallManager.xml Makefile.am
  17. dbusxx-xml2cpp $< --adaptor=$@
  18. # Rule to generate the binding headers
  19. dbusconfigurationmanager.adaptor.h: cx.ring.Ring.ConfigurationManager.xml Makefile.am
  20. dbusxx-xml2cpp $< --adaptor=$@
  21. # Rule to generate the binding headers
  22. dbusinstance.adaptor.h: cx.ring.Ring.Instance.xml Makefile.am
  23. dbusxx-xml2cpp $< --adaptor=$@
  24. libclient_dbus_la_SOURCES = \
  25. dbuscallmanager.cpp \
  26. dbuscallmanager.h \
  27. dbusconfigurationmanager.cpp \
  28. dbusconfigurationmanager.h \
  29. dbusinstance.cpp \
  30. dbusclient.cpp \
  31. dbusclient.h \
  32. dbusinstance.h \
  33. dbus_cpp.h \
  34. dbuspresencemanager.cpp \
  35. dbuspresencemanager.h \
  36. $(BUILT_SOURCES)
  37. if RING_VIDEO
  38. libclient_dbus_la_SOURCES += dbusvideomanager.cpp dbusvideomanager.h
  39. endif
  40. libclient_dbus_la_CXXFLAGS = -I../ \
  41. -I$(top_srcdir)/src \
  42. -I$(top_srcdir)/src/dring \
  43. -DPREFIX=\"$(prefix)\" \
  44. -DPROGSHAREDIR=\"${datadir}/ring\" \
  45. $(DBUSCPP_CFLAGS)
  46. # Dbus service file
  47. servicedir = $(datadir)/dbus-1/services
  48. service_DATA = cx.ring.Ring.service
  49. # Dbus interface files
  50. # https://dbus.freedesktop.org/doc/dbus-api-design.html#interface-files
  51. interfacedir = $(datadir)/dbus-1/interfaces
  52. interface_DATA = cx.ring.Ring.CallManager.xml \
  53. cx.ring.Ring.ConfigurationManager.xml \
  54. cx.ring.Ring.Instance.xml \
  55. cx.ring.Ring.PresenceManager.xml
  56. if RING_VIDEO
  57. interface_DATA += cx.ring.Ring.VideoManager.xml
  58. endif
  59. CLEANFILES= \
  60. $(BUILT_SOURCES) \
  61. cx.ring.Ring.service