added ecore example

This commit is contained in:
Andreas Volz 2008-08-02 14:09:31 +02:00
parent 845e8f3acc
commit 60a820f5e6
6 changed files with 238 additions and 2 deletions

View file

@ -0,0 +1,23 @@
EXTRA_DIST =
AM_CPPFLAGS = -I$(top_srcdir)/include $(ecore_CFLAGS) $(xml_CFLAGS) -I$(top_srcdir)/tools
if ENABLE_ECORE
noinst_PROGRAMS = dbus_ecore
endif
dbus_ecore_SOURCES = dbus_ecore-glue.h dbus_ecore.h dbus_ecore.cpp $(top_srcdir)/tools/xml.cpp
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=$@
BUILT_SOURCES = dbus_ecore-glue.h
CLEANFILES = $(BUILT_SOURCES)
dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)
MAINTAINERCLEANFILES = \
Makefile.in