INCLUDES = -I${top_srcdir}/include AM_CPPFLAGS = \ $(GLIB_CFLAGS) \ $(DBUS_CFLAGS) if HAVE_CONTROL noinst_LTLIBRARIES = libdiversity-control-backend.la endif noinst_HEADERS = \ control-ap.h \ control-atlas.h \ control-bard.h \ control-equipment.h \ control-object.h \ control-sms.h \ control-tag.h \ control-viewport.h \ control-world.h \ diversity-control-backend.h \ diversity-control.h EXTRA_DIST = \ control-marshal.list \ control-ap.xml \ control-atlas.xml \ control-bard.xml \ control-equipment.xml \ control-object.xml \ control-sms.xml \ control-tag.xml \ control-viewport.xml \ control-world.xml \ diversity-control.xml BUILT_SOURCES = \ control-marshal.c \ control-marshal.h \ control-ap-glue.h \ control-atlas-glue.h \ control-bard-glue.h \ control-equipment-glue.h \ control-object-glue.h \ control-sms-glue.h \ control-tag-glue.h \ control-viewport-glue.h \ control-world-glue.h \ diversity-control-glue.h CLEANFILES = $(BUILT_SOURCES) libdiversity_control_backend_la_SOURCES = \ control-ap.c \ control-atlas.c \ control-bard.c \ control-equipment.c \ control-object.c \ control-sms.c \ control-tag.c \ control-viewport.c \ control-world.c \ diversity-control-backend.c \ diversity-control.c \ control-marshal.c libdiversity_control_backend_la_LIBADD = \ $(GLIB_LIBS) \ $(DBUS_LIBS) control-marshal.c: control-marshal.list $(GLIB_GENMARSHAL) --prefix control_marshal --body $< > $@ control-marshal.h: control-marshal.list $(GLIB_GENMARSHAL) --prefix control_marshal --header $< > $@ control-ap-glue.h: control-ap.xml $(DBUS_BINDING_TOOL) --prefix=control_ap --mode=glib-server --output=$@ $< control-atlas-glue.h: control-atlas.xml $(DBUS_BINDING_TOOL) --prefix=control_atlas --mode=glib-server --output=$@ $< control-bard-glue.h: control-bard.xml $(DBUS_BINDING_TOOL) --prefix=control_bard --mode=glib-server --output=$@ $< control-equipment-glue.h: control-equipment.xml $(DBUS_BINDING_TOOL) --prefix=control_equipment --mode=glib-server --output=$@ $< control-object-glue.h: control-object.xml $(DBUS_BINDING_TOOL) --prefix=control_object --mode=glib-server --output=$@ $< control-sms-glue.h: control-sms.xml $(DBUS_BINDING_TOOL) --prefix=control_sms --mode=glib-server --output=$@ $< control-tag-glue.h: control-tag.xml $(DBUS_BINDING_TOOL) --prefix=control_tag --mode=glib-server --output=$@ $< control-viewport-glue.h: control-viewport.xml $(DBUS_BINDING_TOOL) --prefix=control_viewport --mode=glib-server --output=$@ $< control-world-glue.h: control-world.xml $(DBUS_BINDING_TOOL) --prefix=control_world --mode=glib-server --output=$@ $< diversity-control-glue.h: diversity-control.xml $(DBUS_BINDING_TOOL) --prefix=diversity_control --mode=glib-server --output=$@ $<