Peter Samuelson | 1 Mar 2003 01:07
Picon

cvs commit: tng/source Makefile.in tng/source/script mkproto.c

peter       2003/03/01 01:07:05 CET

Modified files:
   source                 Makefile.in 
   source/script          mkproto.c 
Log:
mkproto rework.  Might be a little faster, but mostly it is just more
flexible.  The proto.h output file is now specified via a magic comment
in the input file, rather than globally passed in from the Makefile.
Thus we can now get rid of the NO_PROTOS mess in the Makefile, if we wish.

Since mkproto now processes *every* relevent file in a single run,
we might run into command line length limits on some versions of Unix.
(I've only tested Linux + gmake + ash, which have no problem.)  mkproto
can now take filenames on stdin like xargs; I wrote this specifically so
that we can get around this with a temp file if necessary.

Revision  Changes    Path
1.94      +9 -43     tng/source/Makefile.in
1.7       +373 -202  tng/source/script/mkproto.c


Gmane