[devel] Improved the options.awk script; added an "everything off" option.

This commit is contained in:
Glenn Randers-Pehrson
2010-04-28 07:52:16 -05:00
parent 34713ce23c
commit cd74549840
20 changed files with 247 additions and 79 deletions

View File

@@ -52,9 +52,9 @@ all: libpng.a pngtest
# copy this if the following doesn't work.
pnglibconf.dfn: scripts/pnglibconf.dfa scripts/options.awk
$(RM_F) $@ dfn?.out
$(AWK) -f scripts/options.awk pre=1 out=dfn1.out\
scripts/pnglibconf.dfa 1>&2
$(AWK) -f scripts/options.awk pre=0 out=dfn2.out dfn1.out 1>&2
$(AWK) -f scripts/options.awk out=dfn1.out\
scripts/pnglibconf.dfa $(DFA_XTRA) 1>&2
$(AWK) -f scripts/options.awk out=dfn2.out dfn1.out 1>&2
cp dfn2.out $@
$(RM_F) dfn?.out