X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=example-codegen%2FTODO;h=327fedf0652ee2f54ffc5a2a8fe3f077eddfee27;hp=8fb6a7da55ecf9625391d573d9429dd0e70da679;hb=d37ba346490f74d11dbd2e676d6968b2cb46af8c;hpb=22c93e2cd435ba875778fedef9b11181dd6383d1 diff --git a/example-codegen/TODO b/example-codegen/TODO index 8fb6a7d..327fedf 100644 --- a/example-codegen/TODO +++ b/example-codegen/TODO @@ -6,8 +6,34 @@ include problem: - a simple solution would be to have a special include file containing the neccessary includes (or 2: one for the type definitions and one for the serialization) - another solution would be to extract the includes from the file and add them to the generated code both solutions only work if the include paths used during compilation of a program using the library are correct[tm] +now we use the first solution -at the moment we use the second solution +- test using valgrind +- would be nice to reduce amount of changed files + (codegen output is often the same as the existing files - something similar to ccache + for codegen - but not overwriting output files if they are the same) +- howto include the part after "# always the same:" in all makefiles using the codegenerator + (we now use make's include) +- lib name should be group name + suffix/prefix +- at the moment make dist from within a clean source will not work + (this is related to the nodist problem / old automake version) +- the example should not get installed (but still it should show how to build a lib that gets installed :-( + (overwriting install: doesn't work) + +- dist-hook in included makefile does not work (because automake doesn't see it!) +- CLEANFILES doesn't work in included makefile either + +BUG: +- first time builds without dependency files fail (.P)! + maybe yet another problem caused by automake? + probably yes + AHH: + automake supports include + the real problem is: at the time automake runs there is no include! + (since it is "added" by the configure script) + + => the real problem: + configure should find the make file snippet + Makefile.am should include it + automake is run before configure (on the Makefile.am) -- perhaps generate header containing only declarations of server functions - (hmm this conflicts with the current include file handling)