[libpng15] Change options.awk to use pngconf.h for versioning

instead of ANNOUNCE
This commit is contained in:
John Bowler
2011-11-08 19:34:54 -06:00
committed by Glenn Randers-Pehrson
parent dd81915d5b
commit d4973837b2
6 changed files with 43 additions and 26 deletions

View File

@@ -50,9 +50,9 @@ all: libpng.a pngtest
# The standard pnglibconf.h exists as scripts/pnglibconf.h.prebuilt,
# copy this if the following doesn't work.
pnglibconf.dfn: scripts/pnglibconf.dfa scripts/options.awk ANNOUNCE
pnglibconf.dfn: scripts/pnglibconf.dfa scripts/options.awk pngconf.h
$(RM_F) $@ dfn?.out
$(AWK) -f scripts/options.awk out=dfn1.out ANNOUNCE\
$(AWK) -f scripts/options.awk out=dfn1.out version=search pngconf.h\
scripts/pnglibconf.dfa $(DFA_XTRA) 1>&2
$(AWK) -f scripts/options.awk out=dfn2.out dfn1.out 1>&2
cp dfn2.out $@