dbus-cplusplus/examples/echo_ecore/Makefile.am
Andreas Volz 2b8cfc887e - dbus-c++ passes now compiling on ubuntu 8.10 machine (-lrt addded for Test1/TestApp)
- identified a potential problem in pipe.cpp and marked it with FIXME
- changed version to 0.9.0-pre1 to inform it's near to 1.0 stable release
2011-11-29 23:48:04 +01:00

38 lines
1,021 B
Makefile

EXTRA_DIST = README echo-introspect.xml
AM_CPPFLAGS = -I$(top_srcdir)/include \
$(ecore_CFLAGS)
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++-ecore-1.la \
$(top_builddir)/src/libdbus-c++-1.la \
$(ecore_LIBS)
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++-ecore-1.la \
$(top_builddir)/src/libdbus-c++-1.la $(PTHREAD_LIBS) \
$(ecore_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