X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=example-codegen%2FMakefile.am;fp=example-codegen%2FMakefile.am;h=3cc4d3d001324a707a975012000e376adb8dcb5c;hp=d2e5931fa59a8298f94b7f8f9973e16795df8bb4;hb=b6ead8d8d4d86e659e6d9f3a49a1b17947d47863;hpb=7309b9a1bad96617bce5ce78a001fd0ec37565fb diff --git a/example-codegen/Makefile.am b/example-codegen/Makefile.am index d2e5931..3cc4d3d 100644 --- a/example-codegen/Makefile.am +++ b/example-codegen/Makefile.am @@ -51,9 +51,9 @@ include_HEADERS += $(foreach i, $(CMDGROUPS), $(i)_client.hxx $(i).hxx) %.stamp : .deps/group_%.P $(top_builddir)/codegen/codegen # assuming we have some unix like shell (maybe even bash) echo BUILT_SOURCES: $(BUILT_SOURCES) +# temporarily create _common.hxx file (will be overwritten by codegen below) echo '#include "codegen-stubhead.hxx"' > $*_common.hxx; echo '#include "$*.hxx"' >> $*_common.hxx; - echo > $*_server.hxx; # todo use tmp file for xml file for i in $($*_GROUP); do \ gccxml $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $${i} -fxml=$${i%*.cpp}.xml; \