| Index: examples/ecore/Makefile.am
|
| diff --git a/examples/ecore/Makefile.am b/examples/ecore/Makefile.am
|
| index 93ab95956744ce1a5a53ff96b15d4d541b36a944..7d765788c227fc722600ea848fc3af54093e8a0b 100644
|
| --- a/examples/ecore/Makefile.am
|
| +++ b/examples/ecore/Makefile.am
|
| @@ -1,5 +1,11 @@
|
| EXTRA_DIST =
|
|
|
| +if CROSS_COMPILING
|
| +dbusxx_xml2cpp = dbusxx-xml2cpp
|
| +else
|
| +dbusxx_xml2cpp = $(top_builddir)/tools/dbusxx-xml2cpp
|
| +endif
|
| +
|
| AM_CPPFLAGS = -I$(top_srcdir)/include $(ecore_CFLAGS) $(xml_CFLAGS) -I$(top_srcdir)/tools
|
|
|
| if ENABLE_ECORE
|
| @@ -10,7 +16,7 @@ dbus_ecore_SOURCES = dbus_ecore-glue.h dbus_ecore.h dbus_ecore.cpp $(top_srcdir)
|
| dbus_ecore_LDADD = $(top_builddir)/src/libdbus-c++-1.la $(ecore_LIBS) $(xml_LIBS)
|
|
|
| dbus_ecore-glue.h: $(top_srcdir)/data/org.freedesktop.DBus.xml
|
| - $(top_builddir)/tools/dbusxx-xml2cpp $^ --proxy=$@
|
| + $(dbusxx_xml2cpp) $^ --proxy=$@
|
|
|
| BUILT_SOURCES = dbus_ecore-glue.h
|
| CLEANFILES = $(BUILT_SOURCES)
|
|
|