Added properties proxy example (João Xavier)
This commit is contained in:
parent
52ce50e944
commit
acc230eb98
6 changed files with 199 additions and 0 deletions
26
examples/properties_get_set/Makefile.am
Normal file
26
examples/properties_get_set/Makefile.am
Normal file
|
@ -0,0 +1,26 @@
|
|||
EXTRA_DIST = propsget-introspect.xml
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
|
||||
|
||||
noinst_PROGRAMS = propsgs-server propsgs-client
|
||||
|
||||
propsgs_server_SOURCES = propsgs-glue.h propsgs-server.h propsgs-server.cpp
|
||||
propsgs_server_LDADD = $(top_builddir)/src/libdbus-c++-1.la
|
||||
|
||||
propsgs_client_SOURCES = propsgs-glue.h propsgs-client.h propsgs-client.cpp
|
||||
propsgs_client_LDADD = $(top_builddir)/src/libdbus-c++-1.la -lpthread
|
||||
|
||||
propsgs-glue-adaptor.h: propsgs-introspect.xml
|
||||
$(top_builddir)/tools/dbusxx-xml2cpp $^ --adaptor=$@ --
|
||||
|
||||
propsgs-glue-proxy.h: propsgs-introspect.xml
|
||||
$(top_builddir)/tools/dbusxx-xml2cpp $^ --proxy=$@ --
|
||||
|
||||
BUILT_SOURCES = propsgs-glue-adaptor.h propsgs-glue-proxy.h
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
dist-hook:
|
||||
cd $(distdir); rm -f $(BUILT_SOURCES)
|
||||
|
||||
MAINTAINERCLEANFILES = \
|
||||
Makefile.in
|
Loading…
Add table
Add a link
Reference in a new issue