summaryrefslogtreecommitdiff
path: root/dbus/examples/Makefile.am
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-04-15 21:29:09 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-04-15 21:29:09 +0100
commit725e98ffa810d04baf38e5d5d3f62091334b0888 (patch)
tree301a23e08ef1a05ddb6e97148336ab147fe715cc /dbus/examples/Makefile.am
parentbc474819fa638a0daf3c89e6d041949b73e9228e (diff)
add --with-dbus-binding-tool option to use an external dbus-binding-tool
Cross compilation fix. dbus-binding-tool needs to run on the host, but gets compiled for the target. Add an option to use an external program (host version) instead, similar to the --with-introspect-xml option. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'dbus/examples/Makefile.am')
-rw-r--r--dbus/examples/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/examples/Makefile.am b/dbus/examples/Makefile.am
index bd53ecc..9178804 100644
--- a/dbus/examples/Makefile.am
+++ b/dbus/examples/Makefile.am
@@ -21,7 +21,7 @@ example_service_LDADD= $(top_builddir)/dbus/libdbus-glib-1.la
BUILT_SOURCES = example-service-glue.h
example-service-glue.h: example-service.xml
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=some_object --mode=glib-server --output=example-service-glue.h $(srcdir)/example-service.xml
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=some_object --mode=glib-server --output=example-service-glue.h $(srcdir)/example-service.xml
## Makefile.am bits for another client/server pair
@@ -37,7 +37,7 @@ example_signal_emitter_LDADD= $(top_builddir)/dbus/libdbus-glib-1.la
BUILT_SOURCES += example-signal-emitter-glue.h
example-signal-emitter-glue.h: example-signal-emitter.xml
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h $(srcdir)/example-signal-emitter.xml
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h $(srcdir)/example-signal-emitter.xml
CLEANFILES = $(BUILT_SOURCES)