1 SUBDIRS = . statemachine
3 INCLUDES=-I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) $(DBUS_GLIB_CFLAGS) -DDBUS_COMPILATION
5 ## Makefile.am bits for sample client/server pair
7 noinst_PROGRAMS= example-client example-service
9 example_client_SOURCES= example-client.c
10 example_client_LDADD= $(top_builddir)/glib/libdbus-glib-1.la
12 example_service_SOURCES= example-service.c
13 example_service_LDADD= $(top_builddir)/glib/libdbus-glib-1.la
15 BUILT_SOURCES = example-service-glue.h
17 example-service-glue.h: example-service.xml
18 libtool --mode=execute $(top_builddir)/glib/dbus-binding-tool --prefix=some_object --mode=glib-server --output=example-service-glue.h $(srcdir)/example-service.xml
21 ## Makefile.am bits for another client/server pair
23 noinst_PROGRAMS += example-signal-recipient example-signal-emitter
25 example_signal_recipient_SOURCES=_SOURCES= example-signal-recipient.c
26 example_signal_recipient_LDADD= $(top_builddir)/glib/libdbus-glib-1.la
28 example_signal_emitter_SOURCES= example-signal-emitter.c
29 example_signal_emitter_LDADD= $(top_builddir)/glib/libdbus-glib-1.la
31 BUILT_SOURCES += example-signal-emitter-glue.h
33 example-signal-emitter-glue.h: example-signal-emitter.xml
34 libtool --mode=execute $(top_builddir)/glib/dbus-binding-tool --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h $(srcdir)/example-signal-emitter.xml
36 CLEANFILES = $(BUILT_SOURCES)