From: Jens Thiele Date: Mon, 4 Dec 2006 17:11:28 +0000 (+0000) Subject: (no commit message) X-Git-Tag: v0.2~52 X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=commitdiff_plain;h=528c5faa455bf7a92fe612346cc03b8032b17f7f --- diff --git a/example-codegen/Makefile.am b/example-codegen/Makefile.am index d5670f3..b2c51de 100644 --- a/example-codegen/Makefile.am +++ b/example-codegen/Makefile.am @@ -1,6 +1,6 @@ # not a GNU package. You can remove this line, if # you have all needed files, that a GNU package needs -AUTOMAKE_OPTIONS = foreign 1.4 +AUTOMAKE_OPTIONS = foreign INCLUDES = @LIBT2N_CFLAGS@ LDADD = @LIBT2N_LIBS@ diff --git a/example-codegen/README b/example-codegen/README new file mode 100644 index 0000000..08ce9d1 --- /dev/null +++ b/example-codegen/README @@ -0,0 +1,14 @@ +Example how to use the code generator libt2n-codegen. +This example may be build during the build of libt2n or it may be build seperately using a +installed version of libt2n. + +To build it seperately using a installed version of libt2n: +autoreconf -i && ./configure && make && make distcheck + +if it does not work try something like: +tar xzvf libt2n-0.1.tar.gz +mv libt2n-0.1/example-codegen . +cd example-codegen +# get configure script created and missing autotools stuff +aclocal && automake -a && autoreconf -i +./configure && make && make distcheck diff --git a/example-codegen/codegen.make b/example-codegen/codegen.make index add7355..ee63091 100644 --- a/example-codegen/codegen.make +++ b/example-codegen/codegen.make @@ -16,7 +16,7 @@ libt2ngroup_%.P : Makefile.am %.libt2nstamp : libt2ngroup_%.P $(LIBT2N_CODEGEN) # assuming we have some unix like shell (maybe even bash) - echo BUILT_SOURCES: $(BUILT_SOURCES) +# 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;