add echo_ecore example

This commit is contained in:
Andreas Volz 2011-11-17 12:01:38 +01:00
parent 4ac8b072e3
commit 2185408cfa
19 changed files with 2467 additions and 1 deletions

View file

@ -0,0 +1,33 @@
EXTRA_DIST = README echo-introspect.xml
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
if ENABLE_ECORE
noinst_PROGRAMS = echo-server
endif
echo_server_SOURCES = echo-server-glue.h echo-server.h echo-server.cpp
echo_server_LDADD = $(top_builddir)/src/libdbus-c++-1.la
echo-server-glue.h: echo-introspect.xml
$(top_builddir)/tools/dbusxx-xml2cpp $^ --adaptor=$@
if ENABLE_ECORE
noinst_PROGRAMS += echo-client-mt
endif
echo_client_mt_SOURCES = echo-client-glue.h echo-client.h echo-client.cpp
echo_client_mt_LDADD = $(top_builddir)/src/libdbus-c++-1.la @PTHREAD_LIBS@
echo_client_mt_CXXFLAGS = @PTHREAD_CFLAGS@
echo-client-glue.h: echo-introspect.xml
$(top_builddir)/tools/dbusxx-xml2cpp $^ --proxy=$@
BUILT_SOURCES = echo-server-glue.h echo-client-glue.h
CLEANFILES = $(BUILT_SOURCES)
dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)
MAINTAINERCLEANFILES = \
Makefile.in