dbus-cplusplus/examples/ecore/Makefile.am
Andreas Volz 7a3242b77f - now 'make distcheck' runs clean after using correct path in Makefile.am
- removed useles link to xml.cpp in ecore example
2011-11-29 22:54:58 +01:00

24 lines
604 B
Makefile

EXTRA_DIST =
AM_CPPFLAGS = $(ecore_CFLAGS) $(xml_CFLAGS) -I$(top_srcdir)/include
if ENABLE_ECORE
noinst_PROGRAMS = dbus_ecore
endif
dbus_ecore_SOURCES = dbus_ecore-glue.h dbus_ecore.h dbus_ecore.cpp
dbus_ecore_LDADD = $(top_builddir)/src/libdbus-c++-ecore-1.la \
$(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