X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=example-codegen%2FMakefile.am;h=4318ca6cd3cd314b2c5c7b32565ba679ca3d9d39;hp=7a739322d4386a2f68a4a20f2c61197e64de43f9;hb=0cfa3fb24104428b6e6d8881b1f94fcad825c7ef;hpb=25924caeef56c6e09e73216885912ac525ebec9f diff --git a/example-codegen/Makefile.am b/example-codegen/Makefile.am index 7a73932..4318ca6 100644 --- a/example-codegen/Makefile.am +++ b/example-codegen/Makefile.am @@ -4,6 +4,9 @@ LDADD = $(top_builddir)/src/libt2n.la @BOOST_SERIALIZATION_LIB@ @BOOST_LDFLAGS@ CMDGROUPS = default other +# unfortunately we can't set those from variables +# because they are parsed by automake + libdefault_la_SOURCES = default_client.cpp libother_la_SOURCES = other_client.cpp noinst_LTLIBRARIES = libdefault.la libother.la @@ -31,7 +34,7 @@ codegen.stamp: $(CMDGROUPS:%=%.cpp) $(top_builddir)/codegen/codegen # todo use tmp file for xml file for i in $(CMDGROUPS); do \ gccxml $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $${i}.cpp -fxml=$${i}.xml; \ - $(top_builddir)/codegen/codegen $${i}.cpp $${i}.xml $${i}; \ + $(top_builddir)/codegen/codegen $${i}.cpp $${i} $${i}.xml; \ done; touch $@ # assuming we have gnu make?