summaryrefslogtreecommitdiff
path: root/examples/ecore/Makefile.am
blob: 63c3c0c1c8cc3fcf439bffc3d81347398b3e0f29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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