[Cocci] 1.0.0-rc16: Further fine-tuning for the build system?

SF Markus Elfring elfring at users.sourceforge.net
Mon Mar 18 10:50:43 CET 2013

> Unlikely, unless there is a clear need to do so.

I wonder why you do not see the need for corrections in your current build
specification and corresponding configuration scripts so far.

I recommend adjustments for places like the following.
1. A "working directory" should not be referenced by the macro call
'AC_SUBST([COCCI_SRCDIR], ["$(pwd)"])'.

2. I find it strange that OCaml source files are passed in the macro call


3. How do you think about to rename the extension for the "top level Makefile"
to ".mk"?

4. How would you like to fix the following error message?
   elfring at Sonne:~/Projekte/Coccinelle/Bau> LANG=C make -j6 -f Makefile.config
   make: *** No targets.  Stop.

5. I find that your "Makefile.am" files became inappropriate.
   - outdated comments

   - Which subdirectories should be used?


   - Which source files should be assigned to the variable "spatch_SOURCES"?

   - When will the OCaml compiler and linker be called there?


More information about the Cocci mailing list