1SUBDIRS = . statemachine 2 3AM_CPPFLAGS = \ 4 -I$(top_srcdir) \ 5 -I$(top_builddir) \ 6 -I$(top_builddir)/dbus \ 7 $(DBUS_CFLAGS) \ 8 $(GLIB_CFLAGS) \ 9 -DDBUS_COMPILATION 10 11LDADD = \ 12 $(GLIB_LIBS) \ 13 $(top_builddir)/dbus/libdbus-glib-1.la 14 15## Makefile.am bits for sample client/server pair 16 17noinst_PROGRAMS= example-client example-service 18 19example_client_SOURCES= example-client.c 20 21example_service_SOURCES= example-service.c 22 23BUILT_SOURCES = example-service-glue.h 24 25example-service-glue.h: example-service.xml 26 $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=some_object --mode=glib-server --output=example-service-glue.h $(srcdir)/example-service.xml 27 28 29## Makefile.am bits for another client/server pair 30 31noinst_PROGRAMS += example-signal-recipient example-signal-emitter 32 33example_signal_recipient_SOURCES= example-signal-recipient.c 34 35example_signal_emitter_SOURCES= example-signal-emitter.c 36 37BUILT_SOURCES += example-signal-emitter-glue.h 38 39example-signal-emitter-glue.h: example-signal-emitter.xml 40 $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h $(srcdir)/example-signal-emitter.xml 41 42CLEANFILES = $(BUILT_SOURCES) 43 44EXTRA_DIST = example-service.xml example-signal-emitter.xml 45