INCLUDES = \ -I${top_srcdir}/include \ -I${top_srcdir}/diversity-control-backend \ -I${top_srcdir}/diversity-ebook-backend \ -I${top_srcdir}/diversity-geoclue-backend \ -I${top_srcdir}/diversity-gypsy-backend \ -I${top_srcdir}/diversity-nm-backend \ -I${top_srcdir}/diversity-nmea-backend \ -I${top_srcdir}/diversity-osm-backend \ -I${top_srcdir}/diversity-phonekit-backend \ -I${top_srcdir}/diversity-xmpp-backend AM_CPPFLAGS = \ $(GLIB_CFLAGS) \ $(DBUS_CFLAGS) BACKENDS = if HAVE_CONTROL BACKENDS += ../diversity-control-backend/libdiversity-control-backend.la endif if HAVE_EBOOK BACKENDS += ../diversity-ebook-backend/libdiversity-ebook-backend.la endif if HAVE_GEOCLUE BACKENDS += ../diversity-geoclue-backend/libdiversity-geoclue-backend.la endif if HAVE_GYPSY BACKENDS += ../diversity-gypsy-backend/libdiversity-gypsy-backend.la endif if HAVE_NM BACKENDS += ../diversity-nm-backend/libdiversity-nm-backend.la endif if HAVE_NMEA BACKENDS += ../diversity-nmea-backend/libdiversity-nmea-backend.la endif if HAVE_OSM BACKENDS += ../diversity-osm-backend/libdiversity-osm-backend.la endif if HAVE_PHONEKIT BACKENDS += ../diversity-phonekit-backend/libdiversity-phonekit-backend.la endif if HAVE_XMPP BACKENDS += ../diversity-xmpp-backend/libdiversity-xmpp-backend.la endif EXTRA_DIST = diversity-marshal.list BUILT_SOURCES = \ diversity-marshal.c \ diversity-marshal.h CLEANFILES = $(BUILT_SOURCES) bin_PROGRAMS = diversity-daemon noinst_HEADERS = world-tree.h diversity_daemon_SOURCES = \ diversity-ap.c \ diversity-atlas.c \ diversity-bard.c \ diversity-daemon.c \ diversity-equipment.c \ diversity-sms.c \ diversity-marshal.c \ diversity-object.c \ diversity-tag.c \ diversity-viewport.c \ diversity-world.c \ world-tree.c diversity_daemon_LDADD = \ $(DBUS_LIBS) \ $(GLIB_LIBS) \ $(BACKENDS) diversity-marshal.c: diversity-marshal.list $(GLIB_GENMARSHAL) --prefix _diversity_marshal --body $< > $@ diversity-marshal.h: diversity-marshal.list $(GLIB_GENMARSHAL) --prefix _diversity_marshal --header $< > $@