tests/pngvalid-gamma-expand16-background\
tests/pngvalid-gamma-expand16-transform tests/pngvalid-gamma-sbit\
tests/pngvalid-gamma-threshold tests/pngvalid-gamma-transform\
- tests/pngvalid-progressive-interlace-size\
+ tests/pngvalid-progressive-size\
tests/pngvalid-progressive-interlace-standard\
- tests/pngvalid-progressive-interlace-transform\
+ tests/pngvalid-transform\
tests/pngvalid-progressive-standard tests/pngvalid-standard\
- tests/pngstest-0g01 tests/pngstest-0g02 tests/pngstest-0g04\
- tests/pngstest-0g08 tests/pngstest-0g16 tests/pngstest-2c08\
- tests/pngstest-2c16 tests/pngstest-3p01 tests/pngstest-3p02\
- tests/pngstest-3p04 tests/pngstest-3p08 tests/pngstest-4a08\
- tests/pngstest-4a16 tests/pngstest-6a08 tests/pngstest-6a16\
- tests/pngstest-error tests/pngunknown-IDAT\
+ tests/pngstest-1.8 tests/pngstest-1.8-alpha tests/pngstest-linear\
+ tests/pngstest-linear-alpha tests/pngstest-none tests/pngstest-none-alpha\
+ tests/pngstest-sRGB tests/pngstest-sRGB-alpha tests/pngunknown-IDAT\
tests/pngunknown-discard tests/pngunknown-if-safe tests/pngunknown-sAPI\
tests/pngunknown-sTER tests/pngunknown-save tests/pngunknown-vpAg\
tests/pngimage-quick tests/pngimage-full
-# These tests are expected, and required, to fail:
-XFAIL_TESTS = tests/pngstest-error
-
# man pages
dist_man_MANS= libpng.3 libpngpf.3 png.5
$(TESTS) $(XFAIL_TESTS) tests/pngstest \
CMakeLists.txt example.c libpng-manual.txt
-SCRIPT_CLEANFILES=scripts/*.out scripts/*.chk scripts/pnglibconf.dfn
+SCRIPT_CLEANFILES=scripts/*.out scripts/*.chk
CLEANFILES= *.tf? pngout.png libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc \
libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config libpng.vers libpng.sym \
- check.new pnglibconf.* pngprefix.h symbols.new pngtest-log.txt \
+ check.new pnglibconf.h pngprefix.h symbols.new pngtest-log.txt \
+ pnglibconf.out pnglibconf.c pnglibconf.pre pnglibconf.dfn \
$(SCRIPT_CLEANFILES)
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
# checks for this and sets DFNCPP appropriately.
DFNCPP = @DFNCPP@
-SUFFIXES = .chk .dfn .out
+SUFFIXES = .chk .out
$(PNGLIB_BASENAME).pc: libpng.pc
cp libpng.pc $@
SYMBOL_CFLAGS += -DPNG_PREFIX='@PNG_PREFIX@'
endif
-.dfn.out:
- rm -f $@ $*.c $*.tf[12]
+.c.out:
+ rm -f $@ $*.tf[12]
test -d scripts || mkdir scripts || test -d scripts
- echo '#include "$<"' >$*.c
$(DFNCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)\
- $(CPPFLAGS) $(SYMBOL_CFLAGS) $*.c > $*.tf1
+ $(CPPFLAGS) $(SYMBOL_CFLAGS) $< > $*.tf1
$(AWK) -f "${srcdir}/scripts/dfn.awk" out="$*.tf2" $*.tf1 1>&2
- rm -f $*.c $*.tf1
+ rm -f $*.tf1
mv $*.tf2 $@
-# The .dfn file for pnglibconf.h is machine generated
-pnglibconf.dfn: scripts/pnglibconf.dfa scripts/options.awk pngconf.h pngusr.dfa $(DFA_XTRA)
+# The .c file for pnglibconf.h is machine generated
+pnglibconf.c: scripts/pnglibconf.dfa scripts/options.awk pngconf.h pngusr.dfa $(DFA_XTRA)
rm -f $@ $*.tf[45]
$(AWK) -f ${srcdir}/scripts/options.awk out=$*.tf4 version=search\
${srcdir}/pngconf.h ${srcdir}/scripts/pnglibconf.dfa\
# used on demand to regenerate the standard header, CPPFLAGS should
# be empty - no non-standard defines
-scripts/pnglibconf.dfn: scripts/pnglibconf.dfa scripts/options.awk pngconf.h
+scripts/pnglibconf.c: scripts/pnglibconf.dfa scripts/options.awk pngconf.h
rm -f $@ pnglibconf.tf[67]
test -z "$(CPPFLAGS)"
echo "com @PNGLIB_VERSION@ STANDARD API DEFINITION" |\