[devel] Fixed problem with symbols creation in Makefile.am which was assuming

that CCP writes to standard output by default (Martin Banky).
This commit is contained in:
Glenn Randers-Pehrson
2010-10-04 17:24:36 -05:00
parent 110c9367bd
commit b0876110ca
46 changed files with 68 additions and 222 deletions

View File

@@ -1290,7 +1290,7 @@ pngvalid.o pngtest.o: pnglibconf.h
test -d scripts || mkdir scripts
echo '#include "$<"' >dfn.c
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) @LIBPNG_DEFINES@\
$(CPPFLAGS) $(SYMBOL_CFLAGS) dfn.c >dfn1.out
$(CPPFLAGS) $(SYMBOL_CFLAGS) dfn.c dfn1.out
$(SED) -n -e 's|^.*PNG_DEFN_MAGIC-\(.*\)-PNG_DEFN_END.*$$|\1|p'\
dfn1.out >dfn2.out
$(SED) -e 's| *@@@ *||g' -e 's| *$$||' dfn2.out >dfn3.out