Home | History | Annotate | Download | only in libpng
      1 # Makefile.in generated by automake 1.14.1 from Makefile.am.
      2 # @configure_input@
      3 
      4 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
      5 
      6 # This Makefile.in is free software; the Free Software Foundation
      7 # gives unlimited permission to copy and/or distribute it,
      8 # with or without modifications, as long as this notice is preserved.
      9 
     10 # This program is distributed in the hope that it will be useful,
     11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13 # PARTICULAR PURPOSE.
     14 
     15 @SET_MAKE@
     16 
     17 # Makefile.am:
     18 #   Source file for Makefile.in (and hence Makefile)
     19 #
     20 
     21 
     22 
     23 
     24 
     25 VPATH = @srcdir@
     26 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
     27 am__make_running_with_option = \
     28   case $${target_option-} in \
     29       ?) ;; \
     30       *) echo "am__make_running_with_option: internal error: invalid" \
     31               "target option '$${target_option-}' specified" >&2; \
     32          exit 1;; \
     33   esac; \
     34   has_opt=no; \
     35   sane_makeflags=$$MAKEFLAGS; \
     36   if $(am__is_gnu_make); then \
     37     sane_makeflags=$$MFLAGS; \
     38   else \
     39     case $$MAKEFLAGS in \
     40       *\\[\ \	]*) \
     41         bs=\\; \
     42         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
     43           | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
     44     esac; \
     45   fi; \
     46   skip_next=no; \
     47   strip_trailopt () \
     48   { \
     49     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
     50   }; \
     51   for flg in $$sane_makeflags; do \
     52     test $$skip_next = yes && { skip_next=no; continue; }; \
     53     case $$flg in \
     54       *=*|--*) continue;; \
     55         -*I) strip_trailopt 'I'; skip_next=yes;; \
     56       -*I?*) strip_trailopt 'I';; \
     57         -*O) strip_trailopt 'O'; skip_next=yes;; \
     58       -*O?*) strip_trailopt 'O';; \
     59         -*l) strip_trailopt 'l'; skip_next=yes;; \
     60       -*l?*) strip_trailopt 'l';; \
     61       -[dEDm]) skip_next=yes;; \
     62       -[JT]) skip_next=yes;; \
     63     esac; \
     64     case $$flg in \
     65       *$$target_option*) has_opt=yes; break;; \
     66     esac; \
     67   done; \
     68   test $$has_opt = yes
     69 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
     70 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
     71 pkgdatadir = $(datadir)/@PACKAGE@
     72 pkglibdir = $(libdir)/@PACKAGE@
     73 pkglibexecdir = $(libexecdir)/@PACKAGE@
     74 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     75 install_sh_DATA = $(install_sh) -c -m 644
     76 install_sh_PROGRAM = $(install_sh) -c
     77 install_sh_SCRIPT = $(install_sh) -c
     78 INSTALL_HEADER = $(INSTALL_DATA)
     79 transform = $(program_transform_name)
     80 NORMAL_INSTALL = :
     81 PRE_INSTALL = :
     82 POST_INSTALL = :
     83 NORMAL_UNINSTALL = :
     84 PRE_UNINSTALL = :
     85 POST_UNINSTALL = :
     86 build_triplet = @build@
     87 host_triplet = @host@
     88 check_PROGRAMS = pngtest$(EXEEXT) pngunknown$(EXEEXT) \
     89 	pngstest$(EXEEXT) pngvalid$(EXEEXT) pngimage$(EXEEXT)
     90 bin_PROGRAMS = pngfix$(EXEEXT) png-fix-itxt$(EXEEXT)
     91 @PNG_ARM_NEON_TRUE@am__append_1 = arm/arm_init.c\
     92 @PNG_ARM_NEON_TRUE@	arm/filter_neon.S arm/filter_neon_intrinsics.c
     93 
     94 
     95 #   Versioned symbols and restricted exports
     96 @HAVE_LD_VERSION_SCRIPT_TRUE@@HAVE_SOLARIS_LD_TRUE@am__append_2 = -Wl,-M -Wl,libpng.vers
     97 @HAVE_LD_VERSION_SCRIPT_TRUE@@HAVE_SOLARIS_LD_FALSE@am__append_3 = -Wl,--version-script=libpng.vers
     98 #   Only restricted exports when possible
     99 @HAVE_LD_VERSION_SCRIPT_FALSE@am__append_4 = -export-symbols libpng.sym
    100 @DO_PNG_PREFIX_TRUE@am__append_5 = -DPNG_PREFIX='@PNG_PREFIX@'
    101 subdir = .
    102 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
    103 	$(top_srcdir)/configure $(am__configure_deps) \
    104 	$(srcdir)/config.h.in $(srcdir)/libpng.pc.in \
    105 	$(srcdir)/libpng-config.in depcomp $(dist_man_MANS) \
    106 	$(pkginclude_HEADERS) test-driver INSTALL README TODO compile \
    107 	config.guess config.sub install-sh missing ltmain.sh
    108 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    109 am__aclocal_m4_deps = $(top_srcdir)/scripts/libtool.m4 \
    110 	$(top_srcdir)/scripts/ltoptions.m4 \
    111 	$(top_srcdir)/scripts/ltsugar.m4 \
    112 	$(top_srcdir)/scripts/ltversion.m4 \
    113 	$(top_srcdir)/scripts/lt~obsolete.m4 \
    114 	$(top_srcdir)/configure.ac
    115 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    116 	$(ACLOCAL_M4)
    117 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
    118  configure.lineno config.status.lineno
    119 mkinstalldirs = $(install_sh) -d
    120 CONFIG_HEADER = config.h
    121 CONFIG_CLEAN_FILES = libpng.pc libpng-config
    122 CONFIG_CLEAN_VPATH_FILES =
    123 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
    124 am__vpath_adj = case $$p in \
    125     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    126     *) f=$$p;; \
    127   esac;
    128 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
    129 am__install_max = 40
    130 am__nobase_strip_setup = \
    131   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
    132 am__nobase_strip = \
    133   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
    134 am__nobase_list = $(am__nobase_strip_setup); \
    135   for p in $$list; do echo "$$p $$p"; done | \
    136   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
    137   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
    138     if (++n[$$2] == $(am__install_max)) \
    139       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
    140     END { for (dir in files) print dir, files[dir] }'
    141 am__base_list = \
    142   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
    143   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
    144 am__uninstall_files_from_dir = { \
    145   test -z "$$files" \
    146     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
    147     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
    148          $(am__cd) "$$dir" && rm -f $$files; }; \
    149   }
    150 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
    151 	"$(DESTDIR)$(bindir)" "$(DESTDIR)$(man3dir)" \
    152 	"$(DESTDIR)$(man5dir)" "$(DESTDIR)$(pkgconfigdir)" \
    153 	"$(DESTDIR)$(pkgincludedir)" "$(DESTDIR)$(pkgincludedir)"
    154 LTLIBRARIES = $(lib_LTLIBRARIES)
    155 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LIBADD =
    156 am__libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES_DIST = png.c \
    157 	pngerror.c pngget.c pngmem.c pngpread.c pngread.c pngrio.c \
    158 	pngrtran.c pngrutil.c pngset.c pngtrans.c pngwio.c pngwrite.c \
    159 	pngwtran.c pngwutil.c png.h pngconf.h pngdebug.h pnginfo.h \
    160 	pngpriv.h pngstruct.h pngusr.dfa arm/arm_init.c \
    161 	arm/filter_neon.S arm/filter_neon_intrinsics.c
    162 am__dirstamp = $(am__leading_dot)dirstamp
    163 @PNG_ARM_NEON_TRUE@am__objects_1 = arm/arm_init.lo arm/filter_neon.lo \
    164 @PNG_ARM_NEON_TRUE@	arm/filter_neon_intrinsics.lo
    165 am_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS = png.lo pngerror.lo \
    166 	pngget.lo pngmem.lo pngpread.lo pngread.lo pngrio.lo \
    167 	pngrtran.lo pngrutil.lo pngset.lo pngtrans.lo pngwio.lo \
    168 	pngwrite.lo pngwtran.lo pngwutil.lo $(am__objects_1)
    169 nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS =
    170 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS =  \
    171 	$(am_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS) \
    172 	$(nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS)
    173 AM_V_lt = $(am__v_lt_@AM_V@)
    174 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
    175 am__v_lt_0 = --silent
    176 am__v_lt_1 = 
    177 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LINK = $(LIBTOOL) $(AM_V_lt) \
    178 	--tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
    179 	$(CCLD) $(AM_CFLAGS) $(CFLAGS) \
    180 	$(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS) $(LDFLAGS) -o \
    181 	$@
    182 PROGRAMS = $(bin_PROGRAMS)
    183 am_png_fix_itxt_OBJECTS = contrib/tools/png-fix-itxt.$(OBJEXT)
    184 png_fix_itxt_OBJECTS = $(am_png_fix_itxt_OBJECTS)
    185 png_fix_itxt_LDADD = $(LDADD)
    186 am_pngfix_OBJECTS = contrib/tools/pngfix.$(OBJEXT)
    187 pngfix_OBJECTS = $(am_pngfix_OBJECTS)
    188 pngfix_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
    189 am_pngimage_OBJECTS = contrib/libtests/pngimage.$(OBJEXT)
    190 pngimage_OBJECTS = $(am_pngimage_OBJECTS)
    191 pngimage_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
    192 am_pngstest_OBJECTS = contrib/libtests/pngstest.$(OBJEXT)
    193 pngstest_OBJECTS = $(am_pngstest_OBJECTS)
    194 pngstest_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
    195 am_pngtest_OBJECTS = pngtest.$(OBJEXT)
    196 pngtest_OBJECTS = $(am_pngtest_OBJECTS)
    197 pngtest_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
    198 am_pngunknown_OBJECTS = contrib/libtests/pngunknown.$(OBJEXT)
    199 pngunknown_OBJECTS = $(am_pngunknown_OBJECTS)
    200 pngunknown_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
    201 am_pngvalid_OBJECTS = contrib/libtests/pngvalid.$(OBJEXT)
    202 pngvalid_OBJECTS = $(am_pngvalid_OBJECTS)
    203 pngvalid_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
    204 SCRIPTS = $(bin_SCRIPTS)
    205 AM_V_P = $(am__v_P_@AM_V@)
    206 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
    207 am__v_P_0 = false
    208 am__v_P_1 = :
    209 AM_V_GEN = $(am__v_GEN_@AM_V@)
    210 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
    211 am__v_GEN_0 = @echo "  GEN     " $@;
    212 am__v_GEN_1 = 
    213 AM_V_at = $(am__v_at_@AM_V@)
    214 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
    215 am__v_at_0 = @
    216 am__v_at_1 = 
    217 DEFAULT_INCLUDES = -I.@am__isrc@
    218 depcomp = $(SHELL) $(top_srcdir)/depcomp
    219 am__depfiles_maybe = depfiles
    220 am__mv = mv -f
    221 CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    222 	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
    223 LTCPPASCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \
    224 	$(LIBTOOLFLAGS) --mode=compile $(CCAS) $(DEFS) \
    225 	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
    226 	$(AM_CCASFLAGS) $(CCASFLAGS)
    227 AM_V_CPPAS = $(am__v_CPPAS_@AM_V@)
    228 am__v_CPPAS_ = $(am__v_CPPAS_@AM_DEFAULT_V@)
    229 am__v_CPPAS_0 = @echo "  CPPAS   " $@;
    230 am__v_CPPAS_1 = 
    231 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
    232 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
    233 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
    234 	$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
    235 	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
    236 	$(AM_CFLAGS) $(CFLAGS)
    237 AM_V_CC = $(am__v_CC_@AM_V@)
    238 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
    239 am__v_CC_0 = @echo "  CC      " $@;
    240 am__v_CC_1 = 
    241 CCLD = $(CC)
    242 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
    243 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
    244 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
    245 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
    246 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
    247 am__v_CCLD_0 = @echo "  CCLD    " $@;
    248 am__v_CCLD_1 = 
    249 SOURCES = $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES) \
    250 	$(nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES) \
    251 	$(png_fix_itxt_SOURCES) $(pngfix_SOURCES) $(pngimage_SOURCES) \
    252 	$(pngstest_SOURCES) $(pngtest_SOURCES) $(pngunknown_SOURCES) \
    253 	$(pngvalid_SOURCES)
    254 DIST_SOURCES =  \
    255 	$(am__libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES_DIST) \
    256 	$(png_fix_itxt_SOURCES) $(pngfix_SOURCES) $(pngimage_SOURCES) \
    257 	$(pngstest_SOURCES) $(pngtest_SOURCES) $(pngunknown_SOURCES) \
    258 	$(pngvalid_SOURCES)
    259 am__can_run_installinfo = \
    260   case $$AM_UPDATE_INFO_DIR in \
    261     n|no|NO) false;; \
    262     *) (install-info --version) >/dev/null 2>&1;; \
    263   esac
    264 man3dir = $(mandir)/man3
    265 man5dir = $(mandir)/man5
    266 NROFF = nroff
    267 MANS = $(dist_man_MANS)
    268 DATA = $(pkgconfig_DATA)
    269 HEADERS = $(nodist_pkginclude_HEADERS) $(pkginclude_HEADERS)
    270 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
    271 	$(LISP)config.h.in
    272 # Read a list of newline-separated strings from the standard input,
    273 # and print each of them once, without duplicates.  Input order is
    274 # *not* preserved.
    275 am__uniquify_input = $(AWK) '\
    276   BEGIN { nonempty = 0; } \
    277   { items[$$0] = 1; nonempty = 1; } \
    278   END { if (nonempty) { for (i in items) print i; }; } \
    279 '
    280 # Make sure the list of sources is unique.  This is necessary because,
    281 # e.g., the same source file might be shared among _SOURCES variables
    282 # for different programs/libraries.
    283 am__define_uniq_tagged_files = \
    284   list='$(am__tagged_files)'; \
    285   unique=`for i in $$list; do \
    286     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    287   done | $(am__uniquify_input)`
    288 ETAGS = etags
    289 CTAGS = ctags
    290 CSCOPE = cscope
    291 AM_RECURSIVE_TARGETS = cscope check recheck
    292 am__tty_colors_dummy = \
    293   mgn= red= grn= lgn= blu= brg= std=; \
    294   am__color_tests=no
    295 am__tty_colors = { \
    296   $(am__tty_colors_dummy); \
    297   if test "X$(AM_COLOR_TESTS)" = Xno; then \
    298     am__color_tests=no; \
    299   elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
    300     am__color_tests=yes; \
    301   elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
    302     am__color_tests=yes; \
    303   fi; \
    304   if test $$am__color_tests = yes; then \
    305     red='[0;31m'; \
    306     grn='[0;32m'; \
    307     lgn='[1;32m'; \
    308     blu='[1;34m'; \
    309     mgn='[0;35m'; \
    310     brg='[1m'; \
    311     std='[m'; \
    312   fi; \
    313 }
    314 am__recheck_rx = ^[ 	]*:recheck:[ 	]*
    315 am__global_test_result_rx = ^[ 	]*:global-test-result:[ 	]*
    316 am__copy_in_global_log_rx = ^[ 	]*:copy-in-global-log:[ 	]*
    317 # A command that, given a newline-separated list of test names on the
    318 # standard input, print the name of the tests that are to be re-run
    319 # upon "make recheck".
    320 am__list_recheck_tests = $(AWK) '{ \
    321   recheck = 1; \
    322   while ((rc = (getline line < ($$0 ".trs"))) != 0) \
    323     { \
    324       if (rc < 0) \
    325         { \
    326           if ((getline line2 < ($$0 ".log")) < 0) \
    327 	    recheck = 0; \
    328           break; \
    329         } \
    330       else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
    331         { \
    332           recheck = 0; \
    333           break; \
    334         } \
    335       else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
    336         { \
    337           break; \
    338         } \
    339     }; \
    340   if (recheck) \
    341     print $$0; \
    342   close ($$0 ".trs"); \
    343   close ($$0 ".log"); \
    344 }'
    345 # A command that, given a newline-separated list of test names on the
    346 # standard input, create the global log from their .trs and .log files.
    347 am__create_global_log = $(AWK) ' \
    348 function fatal(msg) \
    349 { \
    350   print "fatal: making $@: " msg | "cat >&2"; \
    351   exit 1; \
    352 } \
    353 function rst_section(header) \
    354 { \
    355   print header; \
    356   len = length(header); \
    357   for (i = 1; i <= len; i = i + 1) \
    358     printf "="; \
    359   printf "\n\n"; \
    360 } \
    361 { \
    362   copy_in_global_log = 1; \
    363   global_test_result = "RUN"; \
    364   while ((rc = (getline line < ($$0 ".trs"))) != 0) \
    365     { \
    366       if (rc < 0) \
    367          fatal("failed to read from " $$0 ".trs"); \
    368       if (line ~ /$(am__global_test_result_rx)/) \
    369         { \
    370           sub("$(am__global_test_result_rx)", "", line); \
    371           sub("[ 	]*$$", "", line); \
    372           global_test_result = line; \
    373         } \
    374       else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
    375         copy_in_global_log = 0; \
    376     }; \
    377   if (copy_in_global_log) \
    378     { \
    379       rst_section(global_test_result ": " $$0); \
    380       while ((rc = (getline line < ($$0 ".log"))) != 0) \
    381       { \
    382         if (rc < 0) \
    383           fatal("failed to read from " $$0 ".log"); \
    384         print line; \
    385       }; \
    386       printf "\n"; \
    387     }; \
    388   close ($$0 ".trs"); \
    389   close ($$0 ".log"); \
    390 }'
    391 # Restructured Text title.
    392 am__rst_title = { sed 's/.*/   &   /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
    393 # Solaris 10 'make', and several other traditional 'make' implementations,
    394 # pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
    395 # by disabling -e (using the XSI extension "set +e") if it's set.
    396 am__sh_e_setup = case $$- in *e*) set +e;; esac
    397 # Default flags passed to test drivers.
    398 am__common_driver_flags = \
    399   --color-tests "$$am__color_tests" \
    400   --enable-hard-errors "$$am__enable_hard_errors" \
    401   --expect-failure "$$am__expect_failure"
    402 # To be inserted before the command running the test.  Creates the
    403 # directory for the log if needed.  Stores in $dir the directory
    404 # containing $f, in $tst the test, in $log the log.  Executes the
    405 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
    406 # passes TESTS_ENVIRONMENT.  Set up options for the wrapper that
    407 # will run the test scripts (or their associated LOG_COMPILER, if
    408 # thy have one).
    409 am__check_pre = \
    410 $(am__sh_e_setup);					\
    411 $(am__vpath_adj_setup) $(am__vpath_adj)			\
    412 $(am__tty_colors);					\
    413 srcdir=$(srcdir); export srcdir;			\
    414 case "$@" in						\
    415   */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;;	\
    416     *) am__odir=.;; 					\
    417 esac;							\
    418 test "x$$am__odir" = x"." || test -d "$$am__odir" 	\
    419   || $(MKDIR_P) "$$am__odir" || exit $$?;		\
    420 if test -f "./$$f"; then dir=./;			\
    421 elif test -f "$$f"; then dir=;				\
    422 else dir="$(srcdir)/"; fi;				\
    423 tst=$$dir$$f; log='$@'; 				\
    424 if test -n '$(DISABLE_HARD_ERRORS)'; then		\
    425   am__enable_hard_errors=no; 				\
    426 else							\
    427   am__enable_hard_errors=yes; 				\
    428 fi; 							\
    429 case " $(XFAIL_TESTS) " in				\
    430   *[\ \	]$$f[\ \	]* | *[\ \	]$$dir$$f[\ \	]*) \
    431     am__expect_failure=yes;;				\
    432   *)							\
    433     am__expect_failure=no;;				\
    434 esac; 							\
    435 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
    436 # A shell command to get the names of the tests scripts with any registered
    437 # extension removed (i.e., equivalently, the names of the test logs, with
    438 # the '.log' extension removed).  The result is saved in the shell variable
    439 # '$bases'.  This honors runtime overriding of TESTS and TEST_LOGS.  Sadly,
    440 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
    441 # since that might cause problem with VPATH rewrites for suffix-less tests.
    442 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
    443 am__set_TESTS_bases = \
    444   bases='$(TEST_LOGS)'; \
    445   bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
    446   bases=`echo $$bases`
    447 RECHECK_LOGS = $(TEST_LOGS)
    448 TEST_SUITE_LOG = test-suite.log
    449 TEST_EXTENSIONS = @EXEEXT@ .test
    450 LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
    451 LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
    452 am__set_b = \
    453   case '$@' in \
    454     */*) \
    455       case '$*' in \
    456         */*) b='$*';; \
    457           *) b=`echo '$@' | sed 's/\.log$$//'`; \
    458        esac;; \
    459     *) \
    460       b='$*';; \
    461   esac
    462 am__test_logs1 = $(TESTS:=.log)
    463 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
    464 TEST_LOGS = $(am__test_logs2:.test.log=.log)
    465 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
    466 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
    467 	$(TEST_LOG_FLAGS)
    468 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    469 distdir = $(PACKAGE)-$(VERSION)
    470 top_distdir = $(distdir)
    471 am__remove_distdir = \
    472   if test -d "$(distdir)"; then \
    473     find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
    474       && rm -rf "$(distdir)" \
    475       || { sleep 5 && rm -rf "$(distdir)"; }; \
    476   else :; fi
    477 am__post_remove_distdir = $(am__remove_distdir)
    478 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz
    479 GZIP_ENV = --best
    480 DIST_TARGETS = dist-xz dist-gzip
    481 distuninstallcheck_listfiles = find . -type f -print
    482 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
    483   | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
    484 distcleancheck_listfiles = find . -type f -print
    485 
    486 #distribute headers in /usr/include/libpng/*
    487 pkgincludedir = $(includedir)/$(PNGLIB_BASENAME)
    488 ACLOCAL = @ACLOCAL@
    489 AMTAR = @AMTAR@
    490 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
    491 AR = @AR@
    492 AS = @AS@
    493 AUTOCONF = @AUTOCONF@
    494 AUTOHEADER = @AUTOHEADER@
    495 AUTOMAKE = @AUTOMAKE@
    496 AWK = @AWK@
    497 CC = @CC@
    498 CCAS = @CCAS@
    499 CCASDEPMODE = @CCASDEPMODE@
    500 CCASFLAGS = @CCASFLAGS@
    501 CCDEPMODE = @CCDEPMODE@
    502 CFLAGS = @CFLAGS@
    503 CPP = @CPP@
    504 CPPFLAGS = @CPPFLAGS@
    505 CYGPATH_W = @CYGPATH_W@
    506 DEFS = @DEFS@
    507 DEPDIR = @DEPDIR@
    508 
    509 # DFNCPP is normally just CPP - the C preprocessor - but on Solaris and maybe
    510 # other operating systems (NeXT?) the C preprocessor selected by configure
    511 # checks input tokens for validity - effectively it performs part of the ANSI-C
    512 # parsing - and therefore fails with the .df files.  configure.ac has special
    513 # checks for this and sets DFNCPP appropriately.
    514 DFNCPP = @DFNCPP@
    515 DLLTOOL = @DLLTOOL@
    516 DSYMUTIL = @DSYMUTIL@
    517 DUMPBIN = @DUMPBIN@
    518 ECHO_C = @ECHO_C@
    519 ECHO_N = @ECHO_N@
    520 ECHO_T = @ECHO_T@
    521 EGREP = @EGREP@
    522 EXEEXT = @EXEEXT@
    523 FGREP = @FGREP@
    524 GREP = @GREP@
    525 INSTALL = @INSTALL@
    526 INSTALL_DATA = @INSTALL_DATA@
    527 INSTALL_PROGRAM = @INSTALL_PROGRAM@
    528 INSTALL_SCRIPT = @INSTALL_SCRIPT@
    529 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    530 LD = @LD@
    531 LDFLAGS = @LDFLAGS@
    532 LIBOBJS = @LIBOBJS@
    533 LIBS = @LIBS@
    534 LIBTOOL = @LIBTOOL@
    535 LIPO = @LIPO@
    536 LN_S = @LN_S@
    537 LTLIBOBJS = @LTLIBOBJS@
    538 MAINT = @MAINT@
    539 MAKEINFO = @MAKEINFO@
    540 MANIFEST_TOOL = @MANIFEST_TOOL@
    541 MKDIR_P = @MKDIR_P@
    542 NM = @NM@
    543 NMEDIT = @NMEDIT@
    544 OBJDUMP = @OBJDUMP@
    545 OBJEXT = @OBJEXT@
    546 OTOOL = @OTOOL@
    547 OTOOL64 = @OTOOL64@
    548 PACKAGE = @PACKAGE@
    549 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
    550 PACKAGE_NAME = @PACKAGE_NAME@
    551 PACKAGE_STRING = @PACKAGE_STRING@
    552 PACKAGE_TARNAME = @PACKAGE_TARNAME@
    553 PACKAGE_URL = @PACKAGE_URL@
    554 PACKAGE_VERSION = @PACKAGE_VERSION@
    555 PATH_SEPARATOR = @PATH_SEPARATOR@
    556 PNGLIB_MAJOR = @PNGLIB_MAJOR@
    557 PNGLIB_MINOR = @PNGLIB_MINOR@
    558 PNGLIB_RELEASE = @PNGLIB_RELEASE@
    559 PNGLIB_VERSION = @PNGLIB_VERSION@
    560 
    561 # PNG_COPTS give extra options for the C compiler to be used on all compilation
    562 # steps (unless targe_CFLAGS is specified; that will take precedence over
    563 # AM_CFLAGS)
    564 PNG_COPTS = @PNG_COPTS@
    565 PNG_PREFIX = @PNG_PREFIX@
    566 POW_LIB = @POW_LIB@
    567 RANLIB = @RANLIB@
    568 SED = @SED@
    569 SET_MAKE = @SET_MAKE@
    570 SHELL = @SHELL@
    571 STRIP = @STRIP@
    572 SYMBOL_PREFIX = @SYMBOL_PREFIX@
    573 VERSION = @VERSION@
    574 abs_builddir = @abs_builddir@
    575 abs_srcdir = @abs_srcdir@
    576 abs_top_builddir = @abs_top_builddir@
    577 abs_top_srcdir = @abs_top_srcdir@
    578 ac_ct_AR = @ac_ct_AR@
    579 ac_ct_CC = @ac_ct_CC@
    580 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
    581 am__include = @am__include@
    582 am__leading_dot = @am__leading_dot@
    583 am__quote = @am__quote@
    584 am__tar = @am__tar@
    585 am__untar = @am__untar@
    586 
    587 # generate the -config scripts if required
    588 binconfigs = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config
    589 bindir = @bindir@
    590 build = @build@
    591 build_alias = @build_alias@
    592 build_cpu = @build_cpu@
    593 build_os = @build_os@
    594 build_vendor = @build_vendor@
    595 builddir = @builddir@
    596 datadir = @datadir@
    597 datarootdir = @datarootdir@
    598 docdir = @docdir@
    599 dvidir = @dvidir@
    600 exec_prefix = @exec_prefix@
    601 host = @host@
    602 host_alias = @host_alias@
    603 host_cpu = @host_cpu@
    604 host_os = @host_os@
    605 host_vendor = @host_vendor@
    606 htmldir = @htmldir@
    607 includedir = @includedir@
    608 infodir = @infodir@
    609 install_sh = @install_sh@
    610 libdir = @libdir@
    611 libexecdir = @libexecdir@
    612 localedir = @localedir@
    613 localstatedir = @localstatedir@
    614 mandir = @mandir@
    615 mkdir_p = @mkdir_p@
    616 oldincludedir = @oldincludedir@
    617 pdfdir = @pdfdir@
    618 
    619 # pkg-config stuff, note that libpng.pc is always required in order
    620 # to get the correct library
    621 pkgconfigdir = @pkgconfigdir@
    622 prefix = @prefix@
    623 program_transform_name = @program_transform_name@
    624 psdir = @psdir@
    625 sbindir = @sbindir@
    626 sharedstatedir = @sharedstatedir@
    627 srcdir = @srcdir@
    628 sysconfdir = @sysconfdir@
    629 target_alias = @target_alias@
    630 top_build_prefix = @top_build_prefix@
    631 top_builddir = @top_builddir@
    632 top_srcdir = @top_srcdir@
    633 PNGLIB_BASENAME = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
    634 ACLOCAL_AMFLAGS = -I scripts
    635 
    636 # This ensures that pnglibconf.h gets built at the start of 'make all' or
    637 # 'make check', but it does not add dependencies to the individual programs,
    638 # this is done below.
    639 #
    640 # IMPORTANT: always add the object modules of new programs to the list below
    641 # because otherwise the sequence 'configure; make new-program' will *sometimes*
    642 # result in the installed (system) pnglibconf.h being used and the result is
    643 # always wrong and always very confusing.
    644 BUILT_SOURCES = pnglibconf.h
    645 pngtest_SOURCES = pngtest.c
    646 pngtest_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
    647 pngvalid_SOURCES = contrib/libtests/pngvalid.c
    648 pngvalid_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
    649 pngstest_SOURCES = contrib/libtests/pngstest.c
    650 pngstest_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
    651 pngunknown_SOURCES = contrib/libtests/pngunknown.c
    652 pngunknown_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
    653 pngimage_SOURCES = contrib/libtests/pngimage.c
    654 pngimage_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
    655 pngfix_SOURCES = contrib/tools/pngfix.c
    656 pngfix_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
    657 png_fix_itxt_SOURCES = contrib/tools/png-fix-itxt.c
    658 
    659 # Generally these are single line shell scripts to run a test with a particular
    660 # set of parameters:
    661 TESTS = \
    662    tests/pngtest\
    663    tests/pngvalid-gamma-16-to-8 tests/pngvalid-gamma-alpha-mode\
    664    tests/pngvalid-gamma-background tests/pngvalid-gamma-expand16-alpha-mode\
    665    tests/pngvalid-gamma-expand16-background\
    666    tests/pngvalid-gamma-expand16-transform tests/pngvalid-gamma-sbit\
    667    tests/pngvalid-gamma-threshold tests/pngvalid-gamma-transform\
    668    tests/pngvalid-progressive-interlace-size\
    669    tests/pngvalid-progressive-interlace-standard\
    670    tests/pngvalid-progressive-interlace-transform\
    671    tests/pngvalid-progressive-standard tests/pngvalid-standard\
    672    tests/pngstest-0g01 tests/pngstest-0g02 tests/pngstest-0g04\
    673    tests/pngstest-0g08 tests/pngstest-0g16 tests/pngstest-2c08\
    674    tests/pngstest-2c16 tests/pngstest-3p01 tests/pngstest-3p02\
    675    tests/pngstest-3p04 tests/pngstest-3p08 tests/pngstest-4a08\
    676    tests/pngstest-4a16 tests/pngstest-6a08 tests/pngstest-6a16\
    677    tests/pngstest-error tests/pngunknown-IDAT\
    678    tests/pngunknown-discard tests/pngunknown-if-safe tests/pngunknown-sAPI\
    679    tests/pngunknown-sTER tests/pngunknown-save tests/pngunknown-vpAg\
    680    tests/pngimage-quick tests/pngimage-full
    681 
    682 
    683 # These tests are expected, and required, to fail:
    684 XFAIL_TESTS = tests/pngstest-error
    685 
    686 # man pages
    687 dist_man_MANS = libpng.3 libpngpf.3 png.5
    688 EXTRA_SCRIPTS = libpng-config libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config
    689 bin_SCRIPTS = @binconfigs@
    690 
    691 # rules to build libpng, only build the old library on request
    692 lib_LTLIBRARIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
    693 # EXTRA_LTLIBRARIES= libpng.la
    694 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES = png.c pngerror.c \
    695 	pngget.c pngmem.c pngpread.c pngread.c pngrio.c pngrtran.c \
    696 	pngrutil.c pngset.c pngtrans.c pngwio.c pngwrite.c pngwtran.c \
    697 	pngwutil.c png.h pngconf.h pngdebug.h pnginfo.h pngpriv.h \
    698 	pngstruct.h pngusr.dfa $(am__append_1)
    699 nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES = pnglibconf.h
    700 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS = -no-undefined \
    701 	-export-dynamic -version-number \
    702 	@PNGLIB_MAJOR@@PNGLIB_MINOR@:@PNGLIB_RELEASE@:0 \
    703 	$(am__append_2) $(am__append_3) $(am__append_4)
    704 @HAVE_LD_VERSION_SCRIPT_FALSE@libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.sym
    705 @HAVE_LD_VERSION_SCRIPT_TRUE@libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.vers
    706 pkginclude_HEADERS = png.h pngconf.h
    707 nodist_pkginclude_HEADERS = pnglibconf.h
    708 pkgconfig_DATA = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc
    709 
    710 # Extra source distribution files, '${srcdir}' is used below to stop build files
    711 # from those directories being included.  This only works if the configure is
    712 # not done in the source directory!
    713 EXTRA_DIST = \
    714 	ANNOUNCE CHANGES INSTALL LICENSE README TODO \
    715 	pngtest.png pngbar.png pngnow.png pngbar.jpg autogen.sh \
    716 	${srcdir}/contrib ${srcdir}/projects ${srcdir}/scripts \
    717 	$(TESTS) $(XFAIL_TESTS) tests/pngstest \
    718 	CMakeLists.txt example.c libpng-manual.txt
    719 
    720 SCRIPT_CLEANFILES = scripts/*.out scripts/*.chk scripts/pnglibconf.dfn
    721 CLEANFILES = *.tf? pngout.png libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc \
    722 	libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config libpng.vers libpng.sym \
    723 	check.new pnglibconf.* pngprefix.h symbols.new pngtest-log.txt \
    724 	$(SCRIPT_CLEANFILES)
    725 
    726 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
    727 config.sub configure depcomp install-sh ltmain.sh missing
    728 
    729 AM_CFLAGS = ${PNG_COPTS}
    730 SUFFIXES = .chk .dfn .out
    731 
    732 # We must use -DPNG_NO_USE_READ_MACROS here even when the library may actually
    733 # be built with PNG_USE_READ_MACROS; this prevents the read macros from
    734 # interfering with the symbol file format.
    735 SYMBOL_CFLAGS = -DPNGLIB_LIBNAME='PNG@PNGLIB_MAJOR@@PNGLIB_MINOR@_0' \
    736 	-DPNGLIB_VERSION='@PNGLIB_VERSION@' \
    737 	-DSYMBOL_PREFIX='$(SYMBOL_PREFIX)' -DPNG_NO_USE_READ_MACROS \
    738 	-DPNG_BUILDING_SYMBOL_TABLE $(am__append_5)
    739 
    740 # EXT_LIST is a list of the possibly library directory extensions, this exists
    741 # because we can't find a good way of discovering the file extensions that are
    742 # actually installed on a given system, so instead we check for every extension
    743 # we have seen.
    744 EXT_LIST = a dll.a so so.@PNGLIB_MAJOR@@PNGLIB_MINOR@.@PNGLIB_RELEASE@ la sl dylib
    745 all: $(BUILT_SOURCES) config.h
    746 	$(MAKE) $(AM_MAKEFLAGS) all-am
    747 
    748 .SUFFIXES:
    749 .SUFFIXES: .chk .dfn .out .S .c .lo .log .o .obj .test .test$(EXEEXT) .trs
    750 am--refresh: Makefile
    751 	@:
    752 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
    753 	@for dep in $?; do \
    754 	  case '$(am__configure_deps)' in \
    755 	    *$$dep*) \
    756 	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
    757 	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
    758 		&& exit 0; \
    759 	      exit 1;; \
    760 	  esac; \
    761 	done; \
    762 	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
    763 	$(am__cd) $(top_srcdir) && \
    764 	  $(AUTOMAKE) --foreign Makefile
    765 .PRECIOUS: Makefile
    766 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    767 	@case '$?' in \
    768 	  *config.status*) \
    769 	    echo ' $(SHELL) ./config.status'; \
    770 	    $(SHELL) ./config.status;; \
    771 	  *) \
    772 	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
    773 	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
    774 	esac;
    775 
    776 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    777 	$(SHELL) ./config.status --recheck
    778 
    779 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
    780 	$(am__cd) $(srcdir) && $(AUTOCONF)
    781 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    782 	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    783 $(am__aclocal_m4_deps):
    784 
    785 config.h: stamp-h1
    786 	@test -f $@ || rm -f stamp-h1
    787 	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
    788 
    789 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
    790 	@rm -f stamp-h1
    791 	cd $(top_builddir) && $(SHELL) ./config.status config.h
    792 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
    793 	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
    794 	rm -f stamp-h1
    795 	touch $@
    796 
    797 distclean-hdr:
    798 	-rm -f config.h stamp-h1
    799 libpng.pc: $(top_builddir)/config.status $(srcdir)/libpng.pc.in
    800 	cd $(top_builddir) && $(SHELL) ./config.status $@
    801 libpng-config: $(top_builddir)/config.status $(srcdir)/libpng-config.in
    802 	cd $(top_builddir) && $(SHELL) ./config.status $@
    803 
    804 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
    805 	@$(NORMAL_INSTALL)
    806 	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
    807 	list2=; for p in $$list; do \
    808 	  if test -f $$p; then \
    809 	    list2="$$list2 $$p"; \
    810 	  else :; fi; \
    811 	done; \
    812 	test -z "$$list2" || { \
    813 	  echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
    814 	  $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
    815 	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
    816 	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
    817 	}
    818 
    819 uninstall-libLTLIBRARIES:
    820 	@$(NORMAL_UNINSTALL)
    821 	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
    822 	for p in $$list; do \
    823 	  $(am__strip_dir) \
    824 	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
    825 	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
    826 	done
    827 
    828 clean-libLTLIBRARIES:
    829 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
    830 	@list='$(lib_LTLIBRARIES)'; \
    831 	locs=`for p in $$list; do echo $$p; done | \
    832 	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
    833 	      sort -u`; \
    834 	test -z "$$locs" || { \
    835 	  echo rm -f $${locs}; \
    836 	  rm -f $${locs}; \
    837 	}
    838 arm/$(am__dirstamp):
    839 	@$(MKDIR_P) arm
    840 	@: > arm/$(am__dirstamp)
    841 arm/$(DEPDIR)/$(am__dirstamp):
    842 	@$(MKDIR_P) arm/$(DEPDIR)
    843 	@: > arm/$(DEPDIR)/$(am__dirstamp)
    844 arm/arm_init.lo: arm/$(am__dirstamp) arm/$(DEPDIR)/$(am__dirstamp)
    845 arm/filter_neon.lo: arm/$(am__dirstamp) arm/$(DEPDIR)/$(am__dirstamp)
    846 arm/filter_neon_intrinsics.lo: arm/$(am__dirstamp) \
    847 	arm/$(DEPDIR)/$(am__dirstamp)
    848 
    849 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la: $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS) $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES) $(EXTRA_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES) 
    850 	$(AM_V_CCLD)$(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LINK) -rpath $(libdir) $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS) $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LIBADD) $(LIBS)
    851 install-binPROGRAMS: $(bin_PROGRAMS)
    852 	@$(NORMAL_INSTALL)
    853 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
    854 	if test -n "$$list"; then \
    855 	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
    856 	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
    857 	fi; \
    858 	for p in $$list; do echo "$$p $$p"; done | \
    859 	sed 's/$(EXEEXT)$$//' | \
    860 	while read p p1; do if test -f $$p \
    861 	 || test -f $$p1 \
    862 	  ; then echo "$$p"; echo "$$p"; else :; fi; \
    863 	done | \
    864 	sed -e 'p;s,.*/,,;n;h' \
    865 	    -e 's|.*|.|' \
    866 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
    867 	sed 'N;N;N;s,\n, ,g' | \
    868 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
    869 	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
    870 	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
    871 	    else { print "f", $$3 "/" $$4, $$1; } } \
    872 	  END { for (d in files) print "f", d, files[d] }' | \
    873 	while read type dir files; do \
    874 	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
    875 	    test -z "$$files" || { \
    876 	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
    877 	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
    878 	    } \
    879 	; done
    880 
    881 uninstall-binPROGRAMS:
    882 	@$(NORMAL_UNINSTALL)
    883 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
    884 	files=`for p in $$list; do echo "$$p"; done | \
    885 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
    886 	      -e 's/$$/$(EXEEXT)/' \
    887 	`; \
    888 	test -n "$$list" || exit 0; \
    889 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
    890 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
    891 
    892 clean-binPROGRAMS:
    893 	@list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
    894 	echo " rm -f" $$list; \
    895 	rm -f $$list || exit $$?; \
    896 	test -n "$(EXEEXT)" || exit 0; \
    897 	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
    898 	echo " rm -f" $$list; \
    899 	rm -f $$list
    900 
    901 clean-checkPROGRAMS:
    902 	@list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
    903 	echo " rm -f" $$list; \
    904 	rm -f $$list || exit $$?; \
    905 	test -n "$(EXEEXT)" || exit 0; \
    906 	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
    907 	echo " rm -f" $$list; \
    908 	rm -f $$list
    909 contrib/tools/$(am__dirstamp):
    910 	@$(MKDIR_P) contrib/tools
    911 	@: > contrib/tools/$(am__dirstamp)
    912 contrib/tools/$(DEPDIR)/$(am__dirstamp):
    913 	@$(MKDIR_P) contrib/tools/$(DEPDIR)
    914 	@: > contrib/tools/$(DEPDIR)/$(am__dirstamp)
    915 contrib/tools/png-fix-itxt.$(OBJEXT): contrib/tools/$(am__dirstamp) \
    916 	contrib/tools/$(DEPDIR)/$(am__dirstamp)
    917 
    918 png-fix-itxt$(EXEEXT): $(png_fix_itxt_OBJECTS) $(png_fix_itxt_DEPENDENCIES) $(EXTRA_png_fix_itxt_DEPENDENCIES) 
    919 	@rm -f png-fix-itxt$(EXEEXT)
    920 	$(AM_V_CCLD)$(LINK) $(png_fix_itxt_OBJECTS) $(png_fix_itxt_LDADD) $(LIBS)
    921 contrib/tools/pngfix.$(OBJEXT): contrib/tools/$(am__dirstamp) \
    922 	contrib/tools/$(DEPDIR)/$(am__dirstamp)
    923 
    924 pngfix$(EXEEXT): $(pngfix_OBJECTS) $(pngfix_DEPENDENCIES) $(EXTRA_pngfix_DEPENDENCIES) 
    925 	@rm -f pngfix$(EXEEXT)
    926 	$(AM_V_CCLD)$(LINK) $(pngfix_OBJECTS) $(pngfix_LDADD) $(LIBS)
    927 contrib/libtests/$(am__dirstamp):
    928 	@$(MKDIR_P) contrib/libtests
    929 	@: > contrib/libtests/$(am__dirstamp)
    930 contrib/libtests/$(DEPDIR)/$(am__dirstamp):
    931 	@$(MKDIR_P) contrib/libtests/$(DEPDIR)
    932 	@: > contrib/libtests/$(DEPDIR)/$(am__dirstamp)
    933 contrib/libtests/pngimage.$(OBJEXT): contrib/libtests/$(am__dirstamp) \
    934 	contrib/libtests/$(DEPDIR)/$(am__dirstamp)
    935 
    936 pngimage$(EXEEXT): $(pngimage_OBJECTS) $(pngimage_DEPENDENCIES) $(EXTRA_pngimage_DEPENDENCIES) 
    937 	@rm -f pngimage$(EXEEXT)
    938 	$(AM_V_CCLD)$(LINK) $(pngimage_OBJECTS) $(pngimage_LDADD) $(LIBS)
    939 contrib/libtests/pngstest.$(OBJEXT): contrib/libtests/$(am__dirstamp) \
    940 	contrib/libtests/$(DEPDIR)/$(am__dirstamp)
    941 
    942 pngstest$(EXEEXT): $(pngstest_OBJECTS) $(pngstest_DEPENDENCIES) $(EXTRA_pngstest_DEPENDENCIES) 
    943 	@rm -f pngstest$(EXEEXT)
    944 	$(AM_V_CCLD)$(LINK) $(pngstest_OBJECTS) $(pngstest_LDADD) $(LIBS)
    945 
    946 pngtest$(EXEEXT): $(pngtest_OBJECTS) $(pngtest_DEPENDENCIES) $(EXTRA_pngtest_DEPENDENCIES) 
    947 	@rm -f pngtest$(EXEEXT)
    948 	$(AM_V_CCLD)$(LINK) $(pngtest_OBJECTS) $(pngtest_LDADD) $(LIBS)
    949 contrib/libtests/pngunknown.$(OBJEXT):  \
    950 	contrib/libtests/$(am__dirstamp) \
    951 	contrib/libtests/$(DEPDIR)/$(am__dirstamp)
    952 
    953 pngunknown$(EXEEXT): $(pngunknown_OBJECTS) $(pngunknown_DEPENDENCIES) $(EXTRA_pngunknown_DEPENDENCIES) 
    954 	@rm -f pngunknown$(EXEEXT)
    955 	$(AM_V_CCLD)$(LINK) $(pngunknown_OBJECTS) $(pngunknown_LDADD) $(LIBS)
    956 contrib/libtests/pngvalid.$(OBJEXT): contrib/libtests/$(am__dirstamp) \
    957 	contrib/libtests/$(DEPDIR)/$(am__dirstamp)
    958 
    959 pngvalid$(EXEEXT): $(pngvalid_OBJECTS) $(pngvalid_DEPENDENCIES) $(EXTRA_pngvalid_DEPENDENCIES) 
    960 	@rm -f pngvalid$(EXEEXT)
    961 	$(AM_V_CCLD)$(LINK) $(pngvalid_OBJECTS) $(pngvalid_LDADD) $(LIBS)
    962 install-binSCRIPTS: $(bin_SCRIPTS)
    963 	@$(NORMAL_INSTALL)
    964 	@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
    965 	if test -n "$$list"; then \
    966 	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
    967 	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
    968 	fi; \
    969 	for p in $$list; do \
    970 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
    971 	  if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
    972 	done | \
    973 	sed -e 'p;s,.*/,,;n' \
    974 	    -e 'h;s|.*|.|' \
    975 	    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
    976 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
    977 	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
    978 	    if ($$2 == $$4) { files[d] = files[d] " " $$1; \
    979 	      if (++n[d] == $(am__install_max)) { \
    980 		print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
    981 	    else { print "f", d "/" $$4, $$1 } } \
    982 	  END { for (d in files) print "f", d, files[d] }' | \
    983 	while read type dir files; do \
    984 	     if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
    985 	     test -z "$$files" || { \
    986 	       echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
    987 	       $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
    988 	     } \
    989 	; done
    990 
    991 uninstall-binSCRIPTS:
    992 	@$(NORMAL_UNINSTALL)
    993 	@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
    994 	files=`for p in $$list; do echo "$$p"; done | \
    995 	       sed -e 's,.*/,,;$(transform)'`; \
    996 	dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
    997 
    998 mostlyclean-compile:
    999 	-rm -f *.$(OBJEXT)
   1000 	-rm -f arm/*.$(OBJEXT)
   1001 	-rm -f arm/*.lo
   1002 	-rm -f contrib/libtests/*.$(OBJEXT)
   1003 	-rm -f contrib/tools/*.$(OBJEXT)
   1004 
   1005 distclean-compile:
   1006 	-rm -f *.tab.c
   1007 
   1008 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/png.Plo@am__quote@
   1009 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngerror.Plo@am__quote@
   1010 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngget.Plo@am__quote@
   1011 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngmem.Plo@am__quote@
   1012 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngpread.Plo@am__quote@
   1013 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngread.Plo@am__quote@
   1014 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrio.Plo@am__quote@
   1015 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrtran.Plo@am__quote@
   1016 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrutil.Plo@am__quote@
   1017 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngset.Plo@am__quote@
   1018 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngtest.Po@am__quote@
   1019 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngtrans.Plo@am__quote@
   1020 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwio.Plo@am__quote@
   1021 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwrite.Plo@am__quote@
   1022 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwtran.Plo@am__quote@
   1023 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwutil.Plo@am__quote@
   1024 @AMDEP_TRUE@@am__include@ @am__quote@arm/$(DEPDIR)/arm_init.Plo@am__quote@
   1025 @AMDEP_TRUE@@am__include@ @am__quote@arm/$(DEPDIR)/filter_neon.Plo@am__quote@
   1026 @AMDEP_TRUE@@am__include@ @am__quote@arm/$(DEPDIR)/filter_neon_intrinsics.Plo@am__quote@
   1027 @AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngimage.Po@am__quote@
   1028 @AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngstest.Po@am__quote@
   1029 @AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngunknown.Po@am__quote@
   1030 @AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngvalid.Po@am__quote@
   1031 @AMDEP_TRUE@@am__include@ @am__quote@contrib/tools/$(DEPDIR)/png-fix-itxt.Po@am__quote@
   1032 @AMDEP_TRUE@@am__include@ @am__quote@contrib/tools/$(DEPDIR)/pngfix.Po@am__quote@
   1033 
   1034 .S.o:
   1035 @am__fastdepCCAS_TRUE@	$(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
   1036 @am__fastdepCCAS_TRUE@	$(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
   1037 @am__fastdepCCAS_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
   1038 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
   1039 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@	DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
   1040 @am__fastdepCCAS_FALSE@	$(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ $<
   1041 
   1042 .S.obj:
   1043 @am__fastdepCCAS_TRUE@	$(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
   1044 @am__fastdepCCAS_TRUE@	$(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
   1045 @am__fastdepCCAS_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
   1046 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
   1047 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@	DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
   1048 @am__fastdepCCAS_FALSE@	$(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
   1049 
   1050 .S.lo:
   1051 @am__fastdepCCAS_TRUE@	$(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
   1052 @am__fastdepCCAS_TRUE@	$(LTCPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
   1053 @am__fastdepCCAS_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Plo
   1054 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
   1055 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@	DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
   1056 @am__fastdepCCAS_FALSE@	$(AM_V_CPPAS@am__nodep@)$(LTCPPASCOMPILE) -c -o $@ $<
   1057 
   1058 .c.o:
   1059 @am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
   1060 @am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
   1061 @am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
   1062 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
   1063 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
   1064 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
   1065 
   1066 .c.obj:
   1067 @am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
   1068 @am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
   1069 @am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
   1070 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
   1071 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
   1072 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
   1073 
   1074 .c.lo:
   1075 @am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
   1076 @am__fastdepCC_TRUE@	$(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
   1077 @am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Plo
   1078 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
   1079 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
   1080 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
   1081 
   1082 mostlyclean-libtool:
   1083 	-rm -f *.lo
   1084 
   1085 clean-libtool:
   1086 	-rm -rf .libs _libs
   1087 	-rm -rf arm/.libs arm/_libs
   1088 
   1089 distclean-libtool:
   1090 	-rm -f libtool config.lt
   1091 install-man3: $(dist_man_MANS)
   1092 	@$(NORMAL_INSTALL)
   1093 	@list1=''; \
   1094 	list2='$(dist_man_MANS)'; \
   1095 	test -n "$(man3dir)" \
   1096 	  && test -n "`echo $$list1$$list2`" \
   1097 	  || exit 0; \
   1098 	echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
   1099 	$(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
   1100 	{ for i in $$list1; do echo "$$i"; done;  \
   1101 	if test -n "$$list2"; then \
   1102 	  for i in $$list2; do echo "$$i"; done \
   1103 	    | sed -n '/\.3[a-z]*$$/p'; \
   1104 	fi; \
   1105 	} | while read p; do \
   1106 	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
   1107 	  echo "$$d$$p"; echo "$$p"; \
   1108 	done | \
   1109 	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
   1110 	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
   1111 	sed 'N;N;s,\n, ,g' | { \
   1112 	list=; while read file base inst; do \
   1113 	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
   1114 	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
   1115 	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
   1116 	  fi; \
   1117 	done; \
   1118 	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
   1119 	while read files; do \
   1120 	  test -z "$$files" || { \
   1121 	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
   1122 	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
   1123 	done; }
   1124 
   1125 uninstall-man3:
   1126 	@$(NORMAL_UNINSTALL)
   1127 	@list=''; test -n "$(man3dir)" || exit 0; \
   1128 	files=`{ for i in $$list; do echo "$$i"; done; \
   1129 	l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
   1130 	  sed -n '/\.3[a-z]*$$/p'; \
   1131 	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
   1132 	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
   1133 	dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
   1134 install-man5: $(dist_man_MANS)
   1135 	@$(NORMAL_INSTALL)
   1136 	@list1=''; \
   1137 	list2='$(dist_man_MANS)'; \
   1138 	test -n "$(man5dir)" \
   1139 	  && test -n "`echo $$list1$$list2`" \
   1140 	  || exit 0; \
   1141 	echo " $(MKDIR_P) '$(DESTDIR)$(man5dir)'"; \
   1142 	$(MKDIR_P) "$(DESTDIR)$(man5dir)" || exit 1; \
   1143 	{ for i in $$list1; do echo "$$i"; done;  \
   1144 	if test -n "$$list2"; then \
   1145 	  for i in $$list2; do echo "$$i"; done \
   1146 	    | sed -n '/\.5[a-z]*$$/p'; \
   1147 	fi; \
   1148 	} | while read p; do \
   1149 	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
   1150 	  echo "$$d$$p"; echo "$$p"; \
   1151 	done | \
   1152 	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
   1153 	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
   1154 	sed 'N;N;s,\n, ,g' | { \
   1155 	list=; while read file base inst; do \
   1156 	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
   1157 	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
   1158 	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \
   1159 	  fi; \
   1160 	done; \
   1161 	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
   1162 	while read files; do \
   1163 	  test -z "$$files" || { \
   1164 	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \
   1165 	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \
   1166 	done; }
   1167 
   1168 uninstall-man5:
   1169 	@$(NORMAL_UNINSTALL)
   1170 	@list=''; test -n "$(man5dir)" || exit 0; \
   1171 	files=`{ for i in $$list; do echo "$$i"; done; \
   1172 	l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
   1173 	  sed -n '/\.5[a-z]*$$/p'; \
   1174 	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
   1175 	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
   1176 	dir='$(DESTDIR)$(man5dir)'; $(am__uninstall_files_from_dir)
   1177 install-pkgconfigDATA: $(pkgconfig_DATA)
   1178 	@$(NORMAL_INSTALL)
   1179 	@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
   1180 	if test -n "$$list"; then \
   1181 	  echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
   1182 	  $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
   1183 	fi; \
   1184 	for p in $$list; do \
   1185 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
   1186 	  echo "$$d$$p"; \
   1187 	done | $(am__base_list) | \
   1188 	while read files; do \
   1189 	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
   1190 	  $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
   1191 	done
   1192 
   1193 uninstall-pkgconfigDATA:
   1194 	@$(NORMAL_UNINSTALL)
   1195 	@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
   1196 	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
   1197 	dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
   1198 install-nodist_pkgincludeHEADERS: $(nodist_pkginclude_HEADERS)
   1199 	@$(NORMAL_INSTALL)
   1200 	@list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
   1201 	if test -n "$$list"; then \
   1202 	  echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \
   1203 	  $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \
   1204 	fi; \
   1205 	for p in $$list; do \
   1206 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
   1207 	  echo "$$d$$p"; \
   1208 	done | $(am__base_list) | \
   1209 	while read files; do \
   1210 	  echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
   1211 	  $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
   1212 	done
   1213 
   1214 uninstall-nodist_pkgincludeHEADERS:
   1215 	@$(NORMAL_UNINSTALL)
   1216 	@list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
   1217 	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
   1218 	dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir)
   1219 install-pkgincludeHEADERS: $(pkginclude_HEADERS)
   1220 	@$(NORMAL_INSTALL)
   1221 	@list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
   1222 	if test -n "$$list"; then \
   1223 	  echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \
   1224 	  $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \
   1225 	fi; \
   1226 	for p in $$list; do \
   1227 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
   1228 	  echo "$$d$$p"; \
   1229 	done | $(am__base_list) | \
   1230 	while read files; do \
   1231 	  echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
   1232 	  $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
   1233 	done
   1234 
   1235 uninstall-pkgincludeHEADERS:
   1236 	@$(NORMAL_UNINSTALL)
   1237 	@list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
   1238 	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
   1239 	dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir)
   1240 
   1241 ID: $(am__tagged_files)
   1242 	$(am__define_uniq_tagged_files); mkid -fID $$unique
   1243 tags: tags-am
   1244 TAGS: tags
   1245 
   1246 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
   1247 	set x; \
   1248 	here=`pwd`; \
   1249 	$(am__define_uniq_tagged_files); \
   1250 	shift; \
   1251 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
   1252 	  test -n "$$unique" || unique=$$empty_fix; \
   1253 	  if test $$# -gt 0; then \
   1254 	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
   1255 	      "$$@" $$unique; \
   1256 	  else \
   1257 	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
   1258 	      $$unique; \
   1259 	  fi; \
   1260 	fi
   1261 ctags: ctags-am
   1262 
   1263 CTAGS: ctags
   1264 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
   1265 	$(am__define_uniq_tagged_files); \
   1266 	test -z "$(CTAGS_ARGS)$$unique" \
   1267 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
   1268 	     $$unique
   1269 
   1270 GTAGS:
   1271 	here=`$(am__cd) $(top_builddir) && pwd` \
   1272 	  && $(am__cd) $(top_srcdir) \
   1273 	  && gtags -i $(GTAGS_ARGS) "$$here"
   1274 cscope: cscope.files
   1275 	test ! -s cscope.files \
   1276 	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
   1277 clean-cscope:
   1278 	-rm -f cscope.files
   1279 cscope.files: clean-cscope cscopelist
   1280 cscopelist: cscopelist-am
   1281 
   1282 cscopelist-am: $(am__tagged_files)
   1283 	list='$(am__tagged_files)'; \
   1284 	case "$(srcdir)" in \
   1285 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
   1286 	  *) sdir=$(subdir)/$(srcdir) ;; \
   1287 	esac; \
   1288 	for i in $$list; do \
   1289 	  if test -f "$$i"; then \
   1290 	    echo "$(subdir)/$$i"; \
   1291 	  else \
   1292 	    echo "$$sdir/$$i"; \
   1293 	  fi; \
   1294 	done >> $(top_builddir)/cscope.files
   1295 
   1296 distclean-tags:
   1297 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
   1298 	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
   1299 
   1300 # Recover from deleted '.trs' file; this should ensure that
   1301 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
   1302 # both 'foo.log' and 'foo.trs'.  Break the recipe in two subshells
   1303 # to avoid problems with "make -n".
   1304 .log.trs:
   1305 	rm -f $< $@
   1306 	$(MAKE) $(AM_MAKEFLAGS) $<
   1307 
   1308 # Leading 'am--fnord' is there to ensure the list of targets does not
   1309 # expand to empty, as could happen e.g. with make check TESTS=''.
   1310 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
   1311 am--force-recheck:
   1312 	@:
   1313 
   1314 $(TEST_SUITE_LOG): $(TEST_LOGS)
   1315 	@$(am__set_TESTS_bases); \
   1316 	am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
   1317 	redo_bases=`for i in $$bases; do \
   1318 	              am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
   1319 	            done`; \
   1320 	if test -n "$$redo_bases"; then \
   1321 	  redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
   1322 	  redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
   1323 	  if $(am__make_dryrun); then :; else \
   1324 	    rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
   1325 	  fi; \
   1326 	fi; \
   1327 	if test -n "$$am__remaking_logs"; then \
   1328 	  echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
   1329 	       "recursion detected" >&2; \
   1330 	else \
   1331 	  am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
   1332 	fi; \
   1333 	if $(am__make_dryrun); then :; else \
   1334 	  st=0;  \
   1335 	  errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
   1336 	  for i in $$redo_bases; do \
   1337 	    test -f $$i.trs && test -r $$i.trs \
   1338 	      || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
   1339 	    test -f $$i.log && test -r $$i.log \
   1340 	      || { echo "$$errmsg $$i.log" >&2; st=1; }; \
   1341 	  done; \
   1342 	  test $$st -eq 0 || exit 1; \
   1343 	fi
   1344 	@$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
   1345 	ws='[ 	]'; \
   1346 	results=`for b in $$bases; do echo $$b.trs; done`; \
   1347 	test -n "$$results" || results=/dev/null; \
   1348 	all=`  grep "^$$ws*:test-result:"           $$results | wc -l`; \
   1349 	pass=` grep "^$$ws*:test-result:$$ws*PASS"  $$results | wc -l`; \
   1350 	fail=` grep "^$$ws*:test-result:$$ws*FAIL"  $$results | wc -l`; \
   1351 	skip=` grep "^$$ws*:test-result:$$ws*SKIP"  $$results | wc -l`; \
   1352 	xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
   1353 	xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
   1354 	error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
   1355 	if test `expr $$fail + $$xpass + $$error` -eq 0; then \
   1356 	  success=true; \
   1357 	else \
   1358 	  success=false; \
   1359 	fi; \
   1360 	br='==================='; br=$$br$$br$$br$$br; \
   1361 	result_count () \
   1362 	{ \
   1363 	    if test x"$$1" = x"--maybe-color"; then \
   1364 	      maybe_colorize=yes; \
   1365 	    elif test x"$$1" = x"--no-color"; then \
   1366 	      maybe_colorize=no; \
   1367 	    else \
   1368 	      echo "$@: invalid 'result_count' usage" >&2; exit 4; \
   1369 	    fi; \
   1370 	    shift; \
   1371 	    desc=$$1 count=$$2; \
   1372 	    if test $$maybe_colorize = yes && test $$count -gt 0; then \
   1373 	      color_start=$$3 color_end=$$std; \
   1374 	    else \
   1375 	      color_start= color_end=; \
   1376 	    fi; \
   1377 	    echo "$${color_start}# $$desc $$count$${color_end}"; \
   1378 	}; \
   1379 	create_testsuite_report () \
   1380 	{ \
   1381 	  result_count $$1 "TOTAL:" $$all   "$$brg"; \
   1382 	  result_count $$1 "PASS: " $$pass  "$$grn"; \
   1383 	  result_count $$1 "SKIP: " $$skip  "$$blu"; \
   1384 	  result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
   1385 	  result_count $$1 "FAIL: " $$fail  "$$red"; \
   1386 	  result_count $$1 "XPASS:" $$xpass "$$red"; \
   1387 	  result_count $$1 "ERROR:" $$error "$$mgn"; \
   1388 	}; \
   1389 	{								\
   1390 	  echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |	\
   1391 	    $(am__rst_title);						\
   1392 	  create_testsuite_report --no-color;				\
   1393 	  echo;								\
   1394 	  echo ".. contents:: :depth: 2";				\
   1395 	  echo;								\
   1396 	  for b in $$bases; do echo $$b; done				\
   1397 	    | $(am__create_global_log);					\
   1398 	} >$(TEST_SUITE_LOG).tmp || exit 1;				\
   1399 	mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);			\
   1400 	if $$success; then						\
   1401 	  col="$$grn";							\
   1402 	 else								\
   1403 	  col="$$red";							\
   1404 	  test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG);		\
   1405 	fi;								\
   1406 	echo "$${col}$$br$${std}"; 					\
   1407 	echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}";	\
   1408 	echo "$${col}$$br$${std}"; 					\
   1409 	create_testsuite_report --maybe-color;				\
   1410 	echo "$$col$$br$$std";						\
   1411 	if $$success; then :; else					\
   1412 	  echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}";		\
   1413 	  if test -n "$(PACKAGE_BUGREPORT)"; then			\
   1414 	    echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}";	\
   1415 	  fi;								\
   1416 	  echo "$$col$$br$$std";					\
   1417 	fi;								\
   1418 	$$success || exit 1
   1419 
   1420 check-TESTS:
   1421 	@list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
   1422 	@list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
   1423 	@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
   1424 	@set +e; $(am__set_TESTS_bases); \
   1425 	log_list=`for i in $$bases; do echo $$i.log; done`; \
   1426 	trs_list=`for i in $$bases; do echo $$i.trs; done`; \
   1427 	log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
   1428 	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
   1429 	exit $$?;
   1430 recheck: all $(check_PROGRAMS)
   1431 	@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
   1432 	@set +e; $(am__set_TESTS_bases); \
   1433 	bases=`for i in $$bases; do echo $$i; done \
   1434 	         | $(am__list_recheck_tests)` || exit 1; \
   1435 	log_list=`for i in $$bases; do echo $$i.log; done`; \
   1436 	log_list=`echo $$log_list`; \
   1437 	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
   1438 	        am__force_recheck=am--force-recheck \
   1439 	        TEST_LOGS="$$log_list"; \
   1440 	exit $$?
   1441 tests/pngtest.log: tests/pngtest
   1442 	@p='tests/pngtest'; \
   1443 	b='tests/pngtest'; \
   1444 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1445 	--log-file $$b.log --trs-file $$b.trs \
   1446 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1447 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1448 tests/pngvalid-gamma-16-to-8.log: tests/pngvalid-gamma-16-to-8
   1449 	@p='tests/pngvalid-gamma-16-to-8'; \
   1450 	b='tests/pngvalid-gamma-16-to-8'; \
   1451 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1452 	--log-file $$b.log --trs-file $$b.trs \
   1453 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1454 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1455 tests/pngvalid-gamma-alpha-mode.log: tests/pngvalid-gamma-alpha-mode
   1456 	@p='tests/pngvalid-gamma-alpha-mode'; \
   1457 	b='tests/pngvalid-gamma-alpha-mode'; \
   1458 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1459 	--log-file $$b.log --trs-file $$b.trs \
   1460 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1461 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1462 tests/pngvalid-gamma-background.log: tests/pngvalid-gamma-background
   1463 	@p='tests/pngvalid-gamma-background'; \
   1464 	b='tests/pngvalid-gamma-background'; \
   1465 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1466 	--log-file $$b.log --trs-file $$b.trs \
   1467 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1468 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1469 tests/pngvalid-gamma-expand16-alpha-mode.log: tests/pngvalid-gamma-expand16-alpha-mode
   1470 	@p='tests/pngvalid-gamma-expand16-alpha-mode'; \
   1471 	b='tests/pngvalid-gamma-expand16-alpha-mode'; \
   1472 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1473 	--log-file $$b.log --trs-file $$b.trs \
   1474 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1475 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1476 tests/pngvalid-gamma-expand16-background.log: tests/pngvalid-gamma-expand16-background
   1477 	@p='tests/pngvalid-gamma-expand16-background'; \
   1478 	b='tests/pngvalid-gamma-expand16-background'; \
   1479 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1480 	--log-file $$b.log --trs-file $$b.trs \
   1481 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1482 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1483 tests/pngvalid-gamma-expand16-transform.log: tests/pngvalid-gamma-expand16-transform
   1484 	@p='tests/pngvalid-gamma-expand16-transform'; \
   1485 	b='tests/pngvalid-gamma-expand16-transform'; \
   1486 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1487 	--log-file $$b.log --trs-file $$b.trs \
   1488 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1489 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1490 tests/pngvalid-gamma-sbit.log: tests/pngvalid-gamma-sbit
   1491 	@p='tests/pngvalid-gamma-sbit'; \
   1492 	b='tests/pngvalid-gamma-sbit'; \
   1493 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1494 	--log-file $$b.log --trs-file $$b.trs \
   1495 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1496 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1497 tests/pngvalid-gamma-threshold.log: tests/pngvalid-gamma-threshold
   1498 	@p='tests/pngvalid-gamma-threshold'; \
   1499 	b='tests/pngvalid-gamma-threshold'; \
   1500 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1501 	--log-file $$b.log --trs-file $$b.trs \
   1502 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1503 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1504 tests/pngvalid-gamma-transform.log: tests/pngvalid-gamma-transform
   1505 	@p='tests/pngvalid-gamma-transform'; \
   1506 	b='tests/pngvalid-gamma-transform'; \
   1507 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1508 	--log-file $$b.log --trs-file $$b.trs \
   1509 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1510 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1511 tests/pngvalid-progressive-interlace-size.log: tests/pngvalid-progressive-interlace-size
   1512 	@p='tests/pngvalid-progressive-interlace-size'; \
   1513 	b='tests/pngvalid-progressive-interlace-size'; \
   1514 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1515 	--log-file $$b.log --trs-file $$b.trs \
   1516 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1517 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1518 tests/pngvalid-progressive-interlace-standard.log: tests/pngvalid-progressive-interlace-standard
   1519 	@p='tests/pngvalid-progressive-interlace-standard'; \
   1520 	b='tests/pngvalid-progressive-interlace-standard'; \
   1521 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1522 	--log-file $$b.log --trs-file $$b.trs \
   1523 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1524 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1525 tests/pngvalid-progressive-interlace-transform.log: tests/pngvalid-progressive-interlace-transform
   1526 	@p='tests/pngvalid-progressive-interlace-transform'; \
   1527 	b='tests/pngvalid-progressive-interlace-transform'; \
   1528 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1529 	--log-file $$b.log --trs-file $$b.trs \
   1530 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1531 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1532 tests/pngvalid-progressive-standard.log: tests/pngvalid-progressive-standard
   1533 	@p='tests/pngvalid-progressive-standard'; \
   1534 	b='tests/pngvalid-progressive-standard'; \
   1535 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1536 	--log-file $$b.log --trs-file $$b.trs \
   1537 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1538 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1539 tests/pngvalid-standard.log: tests/pngvalid-standard
   1540 	@p='tests/pngvalid-standard'; \
   1541 	b='tests/pngvalid-standard'; \
   1542 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1543 	--log-file $$b.log --trs-file $$b.trs \
   1544 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1545 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1546 tests/pngstest-0g01.log: tests/pngstest-0g01
   1547 	@p='tests/pngstest-0g01'; \
   1548 	b='tests/pngstest-0g01'; \
   1549 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1550 	--log-file $$b.log --trs-file $$b.trs \
   1551 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1552 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1553 tests/pngstest-0g02.log: tests/pngstest-0g02
   1554 	@p='tests/pngstest-0g02'; \
   1555 	b='tests/pngstest-0g02'; \
   1556 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1557 	--log-file $$b.log --trs-file $$b.trs \
   1558 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1559 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1560 tests/pngstest-0g04.log: tests/pngstest-0g04
   1561 	@p='tests/pngstest-0g04'; \
   1562 	b='tests/pngstest-0g04'; \
   1563 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1564 	--log-file $$b.log --trs-file $$b.trs \
   1565 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1566 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1567 tests/pngstest-0g08.log: tests/pngstest-0g08
   1568 	@p='tests/pngstest-0g08'; \
   1569 	b='tests/pngstest-0g08'; \
   1570 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1571 	--log-file $$b.log --trs-file $$b.trs \
   1572 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1573 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1574 tests/pngstest-0g16.log: tests/pngstest-0g16
   1575 	@p='tests/pngstest-0g16'; \
   1576 	b='tests/pngstest-0g16'; \
   1577 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1578 	--log-file $$b.log --trs-file $$b.trs \
   1579 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1580 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1581 tests/pngstest-2c08.log: tests/pngstest-2c08
   1582 	@p='tests/pngstest-2c08'; \
   1583 	b='tests/pngstest-2c08'; \
   1584 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1585 	--log-file $$b.log --trs-file $$b.trs \
   1586 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1587 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1588 tests/pngstest-2c16.log: tests/pngstest-2c16
   1589 	@p='tests/pngstest-2c16'; \
   1590 	b='tests/pngstest-2c16'; \
   1591 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1592 	--log-file $$b.log --trs-file $$b.trs \
   1593 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1594 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1595 tests/pngstest-3p01.log: tests/pngstest-3p01
   1596 	@p='tests/pngstest-3p01'; \
   1597 	b='tests/pngstest-3p01'; \
   1598 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1599 	--log-file $$b.log --trs-file $$b.trs \
   1600 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1601 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1602 tests/pngstest-3p02.log: tests/pngstest-3p02
   1603 	@p='tests/pngstest-3p02'; \
   1604 	b='tests/pngstest-3p02'; \
   1605 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1606 	--log-file $$b.log --trs-file $$b.trs \
   1607 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1608 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1609 tests/pngstest-3p04.log: tests/pngstest-3p04
   1610 	@p='tests/pngstest-3p04'; \
   1611 	b='tests/pngstest-3p04'; \
   1612 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1613 	--log-file $$b.log --trs-file $$b.trs \
   1614 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1615 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1616 tests/pngstest-3p08.log: tests/pngstest-3p08
   1617 	@p='tests/pngstest-3p08'; \
   1618 	b='tests/pngstest-3p08'; \
   1619 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1620 	--log-file $$b.log --trs-file $$b.trs \
   1621 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1622 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1623 tests/pngstest-4a08.log: tests/pngstest-4a08
   1624 	@p='tests/pngstest-4a08'; \
   1625 	b='tests/pngstest-4a08'; \
   1626 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1627 	--log-file $$b.log --trs-file $$b.trs \
   1628 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1629 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1630 tests/pngstest-4a16.log: tests/pngstest-4a16
   1631 	@p='tests/pngstest-4a16'; \
   1632 	b='tests/pngstest-4a16'; \
   1633 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1634 	--log-file $$b.log --trs-file $$b.trs \
   1635 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1636 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1637 tests/pngstest-6a08.log: tests/pngstest-6a08
   1638 	@p='tests/pngstest-6a08'; \
   1639 	b='tests/pngstest-6a08'; \
   1640 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1641 	--log-file $$b.log --trs-file $$b.trs \
   1642 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1643 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1644 tests/pngstest-6a16.log: tests/pngstest-6a16
   1645 	@p='tests/pngstest-6a16'; \
   1646 	b='tests/pngstest-6a16'; \
   1647 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1648 	--log-file $$b.log --trs-file $$b.trs \
   1649 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1650 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1651 tests/pngstest-error.log: tests/pngstest-error
   1652 	@p='tests/pngstest-error'; \
   1653 	b='tests/pngstest-error'; \
   1654 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1655 	--log-file $$b.log --trs-file $$b.trs \
   1656 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1657 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1658 tests/pngunknown-IDAT.log: tests/pngunknown-IDAT
   1659 	@p='tests/pngunknown-IDAT'; \
   1660 	b='tests/pngunknown-IDAT'; \
   1661 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1662 	--log-file $$b.log --trs-file $$b.trs \
   1663 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1664 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1665 tests/pngunknown-discard.log: tests/pngunknown-discard
   1666 	@p='tests/pngunknown-discard'; \
   1667 	b='tests/pngunknown-discard'; \
   1668 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1669 	--log-file $$b.log --trs-file $$b.trs \
   1670 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1671 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1672 tests/pngunknown-if-safe.log: tests/pngunknown-if-safe
   1673 	@p='tests/pngunknown-if-safe'; \
   1674 	b='tests/pngunknown-if-safe'; \
   1675 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1676 	--log-file $$b.log --trs-file $$b.trs \
   1677 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1678 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1679 tests/pngunknown-sAPI.log: tests/pngunknown-sAPI
   1680 	@p='tests/pngunknown-sAPI'; \
   1681 	b='tests/pngunknown-sAPI'; \
   1682 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1683 	--log-file $$b.log --trs-file $$b.trs \
   1684 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1685 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1686 tests/pngunknown-sTER.log: tests/pngunknown-sTER
   1687 	@p='tests/pngunknown-sTER'; \
   1688 	b='tests/pngunknown-sTER'; \
   1689 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1690 	--log-file $$b.log --trs-file $$b.trs \
   1691 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1692 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1693 tests/pngunknown-save.log: tests/pngunknown-save
   1694 	@p='tests/pngunknown-save'; \
   1695 	b='tests/pngunknown-save'; \
   1696 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1697 	--log-file $$b.log --trs-file $$b.trs \
   1698 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1699 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1700 tests/pngunknown-vpAg.log: tests/pngunknown-vpAg
   1701 	@p='tests/pngunknown-vpAg'; \
   1702 	b='tests/pngunknown-vpAg'; \
   1703 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1704 	--log-file $$b.log --trs-file $$b.trs \
   1705 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1706 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1707 tests/pngimage-quick.log: tests/pngimage-quick
   1708 	@p='tests/pngimage-quick'; \
   1709 	b='tests/pngimage-quick'; \
   1710 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1711 	--log-file $$b.log --trs-file $$b.trs \
   1712 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1713 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1714 tests/pngimage-full.log: tests/pngimage-full
   1715 	@p='tests/pngimage-full'; \
   1716 	b='tests/pngimage-full'; \
   1717 	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
   1718 	--log-file $$b.log --trs-file $$b.trs \
   1719 	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
   1720 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1721 .test.log:
   1722 	@p='$<'; \
   1723 	$(am__set_b); \
   1724 	$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
   1725 	--log-file $$b.log --trs-file $$b.trs \
   1726 	$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
   1727 	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1728 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
   1729 @am__EXEEXT_TRUE@	@p='$<'; \
   1730 @am__EXEEXT_TRUE@	$(am__set_b); \
   1731 @am__EXEEXT_TRUE@	$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
   1732 @am__EXEEXT_TRUE@	--log-file $$b.log --trs-file $$b.trs \
   1733 @am__EXEEXT_TRUE@	$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
   1734 @am__EXEEXT_TRUE@	"$$tst" $(AM_TESTS_FD_REDIRECT)
   1735 
   1736 distdir: $(DISTFILES)
   1737 	$(am__remove_distdir)
   1738 	test -d "$(distdir)" || mkdir "$(distdir)"
   1739 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
   1740 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
   1741 	list='$(DISTFILES)'; \
   1742 	  dist_files=`for file in $$list; do echo $$file; done | \
   1743 	  sed -e "s|^$$srcdirstrip/||;t" \
   1744 	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
   1745 	case $$dist_files in \
   1746 	  */*) $(MKDIR_P) `echo "$$dist_files" | \
   1747 			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
   1748 			   sort -u` ;; \
   1749 	esac; \
   1750 	for file in $$dist_files; do \
   1751 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
   1752 	  if test -d $$d/$$file; then \
   1753 	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
   1754 	    if test -d "$(distdir)/$$file"; then \
   1755 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
   1756 	    fi; \
   1757 	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
   1758 	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
   1759 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
   1760 	    fi; \
   1761 	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
   1762 	  else \
   1763 	    test -f "$(distdir)/$$file" \
   1764 	    || cp -p $$d/$$file "$(distdir)/$$file" \
   1765 	    || exit 1; \
   1766 	  fi; \
   1767 	done
   1768 	$(MAKE) $(AM_MAKEFLAGS) \
   1769 	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
   1770 	  dist-hook
   1771 	-test -n "$(am__skip_mode_fix)" \
   1772 	|| find "$(distdir)" -type d ! -perm -755 \
   1773 		-exec chmod u+rwx,go+rx {} \; -o \
   1774 	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
   1775 	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
   1776 	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
   1777 	|| chmod -R a+r "$(distdir)"
   1778 dist-gzip: distdir
   1779 	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
   1780 	$(am__post_remove_distdir)
   1781 
   1782 dist-bzip2: distdir
   1783 	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
   1784 	$(am__post_remove_distdir)
   1785 
   1786 dist-lzip: distdir
   1787 	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
   1788 	$(am__post_remove_distdir)
   1789 dist-xz: distdir
   1790 	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
   1791 	$(am__post_remove_distdir)
   1792 
   1793 dist-tarZ: distdir
   1794 	@echo WARNING: "Support for shar distribution archives is" \
   1795 	               "deprecated." >&2
   1796 	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
   1797 	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
   1798 	$(am__post_remove_distdir)
   1799 
   1800 dist-shar: distdir
   1801 	@echo WARNING: "Support for distribution archives compressed with" \
   1802 		       "legacy program 'compress' is deprecated." >&2
   1803 	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
   1804 	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
   1805 	$(am__post_remove_distdir)
   1806 
   1807 dist-zip: distdir
   1808 	-rm -f $(distdir).zip
   1809 	zip -rq $(distdir).zip $(distdir)
   1810 	$(am__post_remove_distdir)
   1811 
   1812 dist dist-all:
   1813 	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
   1814 	$(am__post_remove_distdir)
   1815 
   1816 # This target untars the dist file and tries a VPATH configuration.  Then
   1817 # it guarantees that the distribution is self-contained by making another
   1818 # tarfile.
   1819 distcheck: dist
   1820 	case '$(DIST_ARCHIVES)' in \
   1821 	*.tar.gz*) \
   1822 	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
   1823 	*.tar.bz2*) \
   1824 	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
   1825 	*.tar.lz*) \
   1826 	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
   1827 	*.tar.xz*) \
   1828 	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
   1829 	*.tar.Z*) \
   1830 	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
   1831 	*.shar.gz*) \
   1832 	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
   1833 	*.zip*) \
   1834 	  unzip $(distdir).zip ;;\
   1835 	esac
   1836 	chmod -R a-w $(distdir)
   1837 	chmod u+w $(distdir)
   1838 	mkdir $(distdir)/_build $(distdir)/_inst
   1839 	chmod a-w $(distdir)
   1840 	test -d $(distdir)/_build || exit 0; \
   1841 	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
   1842 	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
   1843 	  && am__cwd=`pwd` \
   1844 	  && $(am__cd) $(distdir)/_build \
   1845 	  && ../configure \
   1846 	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
   1847 	    $(DISTCHECK_CONFIGURE_FLAGS) \
   1848 	    --srcdir=.. --prefix="$$dc_install_base" \
   1849 	  && $(MAKE) $(AM_MAKEFLAGS) \
   1850 	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
   1851 	  && $(MAKE) $(AM_MAKEFLAGS) check \
   1852 	  && $(MAKE) $(AM_MAKEFLAGS) install \
   1853 	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
   1854 	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
   1855 	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
   1856 	        distuninstallcheck \
   1857 	  && chmod -R a-w "$$dc_install_base" \
   1858 	  && ({ \
   1859 	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
   1860 	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
   1861 	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
   1862 	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
   1863 	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
   1864 	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
   1865 	  && rm -rf "$$dc_destdir" \
   1866 	  && $(MAKE) $(AM_MAKEFLAGS) dist \
   1867 	  && rm -rf $(DIST_ARCHIVES) \
   1868 	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
   1869 	  && cd "$$am__cwd" \
   1870 	  || exit 1
   1871 	$(am__post_remove_distdir)
   1872 	@(echo "$(distdir) archives ready for distribution: "; \
   1873 	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
   1874 	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
   1875 distuninstallcheck:
   1876 	@test -n '$(distuninstallcheck_dir)' || { \
   1877 	  echo 'ERROR: trying to run $@ with an empty' \
   1878 	       '$$(distuninstallcheck_dir)' >&2; \
   1879 	  exit 1; \
   1880 	}; \
   1881 	$(am__cd) '$(distuninstallcheck_dir)' || { \
   1882 	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
   1883 	  exit 1; \
   1884 	}; \
   1885 	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
   1886 	   || { echo "ERROR: files left after uninstall:" ; \
   1887 	        if test -n "$(DESTDIR)"; then \
   1888 	          echo "  (check DESTDIR support)"; \
   1889 	        fi ; \
   1890 	        $(distuninstallcheck_listfiles) ; \
   1891 	        exit 1; } >&2
   1892 distcleancheck: distclean
   1893 	@if test '$(srcdir)' = . ; then \
   1894 	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
   1895 	  exit 1 ; \
   1896 	fi
   1897 	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
   1898 	  || { echo "ERROR: files left in build directory after distclean:" ; \
   1899 	       $(distcleancheck_listfiles) ; \
   1900 	       exit 1; } >&2
   1901 check-am: all-am
   1902 	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
   1903 	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
   1904 check: $(BUILT_SOURCES)
   1905 	$(MAKE) $(AM_MAKEFLAGS) check-am
   1906 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \
   1907 		$(HEADERS) config.h
   1908 install-binPROGRAMS: install-libLTLIBRARIES
   1909 
   1910 installdirs:
   1911 	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkgincludedir)" "$(DESTDIR)$(pkgincludedir)"; do \
   1912 	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
   1913 	done
   1914 install: $(BUILT_SOURCES)
   1915 	$(MAKE) $(AM_MAKEFLAGS) install-am
   1916 install-exec: install-exec-am
   1917 install-data: install-data-am
   1918 uninstall: uninstall-am
   1919 
   1920 install-am: all-am
   1921 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
   1922 
   1923 installcheck: installcheck-am
   1924 install-strip:
   1925 	if test -z '$(STRIP)'; then \
   1926 	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
   1927 	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
   1928 	      install; \
   1929 	else \
   1930 	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
   1931 	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
   1932 	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
   1933 	fi
   1934 mostlyclean-generic:
   1935 	-test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
   1936 	-test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
   1937 	-test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
   1938 
   1939 clean-generic:
   1940 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
   1941 
   1942 distclean-generic:
   1943 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
   1944 	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
   1945 	-rm -f arm/$(DEPDIR)/$(am__dirstamp)
   1946 	-rm -f arm/$(am__dirstamp)
   1947 	-rm -f contrib/libtests/$(DEPDIR)/$(am__dirstamp)
   1948 	-rm -f contrib/libtests/$(am__dirstamp)
   1949 	-rm -f contrib/tools/$(DEPDIR)/$(am__dirstamp)
   1950 	-rm -f contrib/tools/$(am__dirstamp)
   1951 
   1952 maintainer-clean-generic:
   1953 	@echo "This command is intended for maintainers to use"
   1954 	@echo "it deletes files that may require special tools to rebuild."
   1955 	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
   1956 	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
   1957 @DO_INSTALL_LIBPNG_CONFIG_FALSE@@DO_INSTALL_LINKS_FALSE@install-exec-hook:
   1958 @DO_INSTALL_LIBPNG_PC_FALSE@@DO_INSTALL_LINKS_FALSE@install-data-hook:
   1959 @DO_INSTALL_LIBPNG_CONFIG_FALSE@@DO_INSTALL_LIBPNG_PC_FALSE@@DO_INSTALL_LINKS_FALSE@uninstall-hook:
   1960 clean: clean-am
   1961 
   1962 clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
   1963 	clean-libLTLIBRARIES clean-libtool mostlyclean-am
   1964 
   1965 distclean: distclean-am
   1966 	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
   1967 	-rm -rf ./$(DEPDIR) arm/$(DEPDIR) contrib/libtests/$(DEPDIR) contrib/tools/$(DEPDIR)
   1968 	-rm -f Makefile
   1969 distclean-am: clean-am distclean-compile distclean-generic \
   1970 	distclean-hdr distclean-libtool distclean-tags
   1971 
   1972 dvi: dvi-am
   1973 
   1974 dvi-am:
   1975 
   1976 html: html-am
   1977 
   1978 html-am:
   1979 
   1980 info: info-am
   1981 
   1982 info-am:
   1983 
   1984 install-data-am: install-man install-nodist_pkgincludeHEADERS \
   1985 	install-pkgconfigDATA install-pkgincludeHEADERS
   1986 	@$(NORMAL_INSTALL)
   1987 	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
   1988 install-dvi: install-dvi-am
   1989 
   1990 install-dvi-am:
   1991 
   1992 install-exec-am: install-binPROGRAMS install-binSCRIPTS \
   1993 	install-libLTLIBRARIES
   1994 	@$(NORMAL_INSTALL)
   1995 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
   1996 install-html: install-html-am
   1997 
   1998 install-html-am:
   1999 
   2000 install-info: install-info-am
   2001 
   2002 install-info-am:
   2003 
   2004 install-man: install-man3 install-man5
   2005 
   2006 install-pdf: install-pdf-am
   2007 
   2008 install-pdf-am:
   2009 
   2010 install-ps: install-ps-am
   2011 
   2012 install-ps-am:
   2013 
   2014 installcheck-am:
   2015 
   2016 maintainer-clean: maintainer-clean-am
   2017 	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
   2018 	-rm -rf $(top_srcdir)/autom4te.cache
   2019 	-rm -rf ./$(DEPDIR) arm/$(DEPDIR) contrib/libtests/$(DEPDIR) contrib/tools/$(DEPDIR)
   2020 	-rm -f Makefile
   2021 maintainer-clean-am: distclean-am maintainer-clean-generic
   2022 
   2023 mostlyclean: mostlyclean-am
   2024 
   2025 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
   2026 	mostlyclean-libtool
   2027 
   2028 pdf: pdf-am
   2029 
   2030 pdf-am:
   2031 
   2032 ps: ps-am
   2033 
   2034 ps-am:
   2035 
   2036 uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
   2037 	uninstall-libLTLIBRARIES uninstall-man \
   2038 	uninstall-nodist_pkgincludeHEADERS uninstall-pkgconfigDATA \
   2039 	uninstall-pkgincludeHEADERS
   2040 	@$(NORMAL_INSTALL)
   2041 	$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
   2042 uninstall-man: uninstall-man3 uninstall-man5
   2043 
   2044 .MAKE: all check check-am install install-am install-data-am \
   2045 	install-exec-am install-strip uninstall-am
   2046 
   2047 .PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-TESTS \
   2048 	check-am clean clean-binPROGRAMS clean-checkPROGRAMS \
   2049 	clean-cscope clean-generic clean-libLTLIBRARIES clean-libtool \
   2050 	cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
   2051 	dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
   2052 	dist-zip distcheck distclean distclean-compile \
   2053 	distclean-generic distclean-hdr distclean-libtool \
   2054 	distclean-tags distcleancheck distdir distuninstallcheck dvi \
   2055 	dvi-am html html-am info info-am install install-am \
   2056 	install-binPROGRAMS install-binSCRIPTS install-data \
   2057 	install-data-am install-data-hook install-dvi install-dvi-am \
   2058 	install-exec install-exec-am install-exec-hook install-html \
   2059 	install-html-am install-info install-info-am \
   2060 	install-libLTLIBRARIES install-man install-man3 install-man5 \
   2061 	install-nodist_pkgincludeHEADERS install-pdf install-pdf-am \
   2062 	install-pkgconfigDATA install-pkgincludeHEADERS install-ps \
   2063 	install-ps-am install-strip installcheck installcheck-am \
   2064 	installdirs maintainer-clean maintainer-clean-generic \
   2065 	mostlyclean mostlyclean-compile mostlyclean-generic \
   2066 	mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \
   2067 	uninstall uninstall-am uninstall-binPROGRAMS \
   2068 	uninstall-binSCRIPTS uninstall-hook uninstall-libLTLIBRARIES \
   2069 	uninstall-man uninstall-man3 uninstall-man5 \
   2070 	uninstall-nodist_pkgincludeHEADERS uninstall-pkgconfigDATA \
   2071 	uninstall-pkgincludeHEADERS
   2072 
   2073 
   2074 $(PNGLIB_BASENAME).pc: libpng.pc
   2075 	cp libpng.pc $@
   2076 
   2077 $(PNGLIB_BASENAME)-config: libpng-config
   2078 	cp libpng-config $@
   2079 
   2080 scripts/sym.out scripts/vers.out: png.h pngconf.h pnglibconf.h
   2081 scripts/prefix.out: png.h pngconf.h pnglibconf.out
   2082 scripts/symbols.out: png.h pngconf.h $(srcdir)/scripts/pnglibconf.h.prebuilt
   2083 scripts/intprefix.out: pnglibconf.h
   2084 
   2085 libpng.sym: scripts/sym.out
   2086 	rm -f $@
   2087 	cp $? $@
   2088 libpng.vers: scripts/vers.out
   2089 	rm -f $@
   2090 	cp $? $@
   2091 
   2092 # Rename functions in scripts/prefix.out with a PNG_PREFIX prefix.
   2093 # Rename macros in scripts/macro.lst from PNG_PREFIXpng_ to PNG_ (the actual
   2094 # implementation of the macro).
   2095 @DO_PNG_PREFIX_TRUE (a] pnglibconf.h: pnglibconf.out scripts/prefix.out scripts/macro.lst
   2096 @DO_PNG_PREFIX_TRUE@	rm -f $@
   2097 @DO_PNG_PREFIX_TRUE@	$(AWK) 's==0 && NR>1{print prev}\
   2098 @DO_PNG_PREFIX_TRUE@	   s==0{prev=$$0}\
   2099 @DO_PNG_PREFIX_TRUE@	   s==1{print "#define", $$1, "@PNG_PREFIX@" $$1}\
   2100 @DO_PNG_PREFIX_TRUE@	   s==2{print "#define @PNG_PREFIX@png_" $$1, "PNG_" $$1}\
   2101 @DO_PNG_PREFIX_TRUE@	   END{print prev}' s=0 pnglibconf.out s=1 scripts/prefix.out\
   2102 @DO_PNG_PREFIX_TRUE@	   s=2 ${srcdir}/scripts/macro.lst >pnglibconf.tf8
   2103 @DO_PNG_PREFIX_TRUE@	mv pnglibconf.tf8 $@
   2104 
   2105 @DO_PNG_PREFIX_TRUE (a] pngprefix.h: scripts/intprefix.out
   2106 @DO_PNG_PREFIX_TRUE@	rm -f pngprefix.tf1
   2107 @DO_PNG_PREFIX_TRUE@	$(AWK) '{print "#define", $$1, "@PNG_PREFIX@" $$1}' $? >pngprefix.tf1
   2108 @DO_PNG_PREFIX_TRUE@	mv pngprefix.tf1 $@
   2109 @DO_PNG_PREFIX_FALSE (a] pnglibconf.h: pnglibconf.out
   2110 @DO_PNG_PREFIX_FALSE@	rm -f $@
   2111 @DO_PNG_PREFIX_FALSE@	cp $? $@
   2112 
   2113 @DO_PNG_PREFIX_FALSE (a] pngprefix.h: # is empty
   2114 @DO_PNG_PREFIX_FALSE@	:>$@
   2115 
   2116 $(srcdir)/scripts/pnglibconf.h.prebuilt:
   2117 	@echo "Attempting to build $@" >&2
   2118 	@echo "This is a machine generated file, but if you want to make" >&2
   2119 	@echo "a new one simply make 'scripts/pnglibconf.out', copy that" >&2
   2120 	@echo "AND set PNG_ZLIB_VERNUM to 0 (you MUST do this)" >&2
   2121 	@exit 1
   2122 
   2123 # The following is necessary to ensure that the local pnglibconf.h is used, not
   2124 # an installed one (this can happen immediately after on a clean system if
   2125 # 'make test' is the first thing the user does.)  Only files which include
   2126 # one of the png source files (typically png.h or pngpriv.h) need to be listed
   2127 # here:
   2128 pngtest.o: pnglibconf.h
   2129 
   2130 contrib/libtests/makepng.o: pnglibconf.h
   2131 contrib/libtests/pngstest.o: pnglibconf.h
   2132 contrib/libtests/pngunknown.o: pnglibconf.h
   2133 contrib/libtests/pngimage.o: pnglibconf.h
   2134 contrib/libtests/pngvalid.o: pnglibconf.h
   2135 contrib/libtests/readpng.o: pnglibconf.h
   2136 contrib/libtests/tarith.o: pnglibconf.h
   2137 contrib/libtests/timepng.o: pnglibconf.h
   2138 
   2139 contrib/tools/makesRGB.o: pnglibconf.h
   2140 contrib/tools/pngfix.o: pnglibconf.h
   2141 
   2142 .dfn.out:
   2143 	rm -f $@ $*.c $*.tf[12]
   2144 	test -d scripts || mkdir scripts || test -d scripts
   2145 	echo '#include "$<"' >$*.c
   2146 	$(DFNCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)\
   2147 	    $(CPPFLAGS) $(SYMBOL_CFLAGS) $*.c > $*.tf1
   2148 	$(AWK) -f "${srcdir}/scripts/dfn.awk" out="$*.tf2" $*.tf1 1>&2
   2149 	rm -f $*.c $*.tf1
   2150 	mv $*.tf2 $@
   2151 
   2152 # The .dfn file for pnglibconf.h is machine generated
   2153 pnglibconf.dfn: scripts/pnglibconf.dfa scripts/options.awk pngconf.h pngusr.dfa $(DFA_XTRA)
   2154 	rm -f $@ $*.tf[45]
   2155 	$(AWK) -f ${srcdir}/scripts/options.awk out=$*.tf4 version=search\
   2156 	    ${srcdir}/pngconf.h ${srcdir}/scripts/pnglibconf.dfa\
   2157 	    ${srcdir}/pngusr.dfa $(DFA_XTRA) 1>&2
   2158 	$(AWK) -f ${srcdir}/scripts/options.awk out=$*.tf5 $*.tf4 1>&2
   2159 	rm $*.tf4
   2160 	mv $*.tf5 $@
   2161 
   2162 # Symbol checks (.def and .out files should match)
   2163 scripts/symbols.chk: scripts/checksym.awk scripts/symbols.def scripts/symbols.out
   2164 
   2165 .out.chk:
   2166 	rm -f $@ $*.new
   2167 	$(AWK) -f ${srcdir}/scripts/checksym.awk ${srcdir}/scripts/${*F}.def\
   2168 	    of="$*.new" $< >&2
   2169 	mv $*.new $@
   2170 
   2171 # used on demand to regenerate the standard header, CPPFLAGS should
   2172 # be empty - no non-standard defines
   2173 scripts/pnglibconf.dfn: scripts/pnglibconf.dfa scripts/options.awk pngconf.h
   2174 	rm -f $@ pnglibconf.tf[67]
   2175 	test -z "$(CPPFLAGS)"
   2176 	echo "com @PNGLIB_VERSION@ STANDARD API DEFINITION" |\
   2177 	$(AWK) -f ${srcdir}/scripts/options.awk out=pnglibconf.tf6\
   2178 	    logunsupported=1 version=search ${srcdir}/pngconf.h -\
   2179 	    ${srcdir}/scripts/pnglibconf.dfa 1>&2
   2180 	$(AWK) -f ${srcdir}/scripts/options.awk out=pnglibconf.tf7\
   2181 	    pnglibconf.tf6 1>&2
   2182 	rm pnglibconf.tf6
   2183 	mv pnglibconf.tf7 $@
   2184 
   2185 $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS): png.h pngconf.h \
   2186 	pnglibconf.h pngpriv.h pngdebug.h pnginfo.h pngstruct.h pngprefix.h
   2187 
   2188 test: check-am
   2189 
   2190 # Extra checks
   2191 check: scripts/symbols.chk
   2192 
   2193 # Don't distribute the generated script files
   2194 dist-hook:
   2195 	cd '$(top_distdir)'; rm -f $(SCRIPT_CLEANFILES)
   2196 
   2197 # Make links between installed files with release-specific names and the generic
   2198 # file names.  If this install rule is run the generic names will be deleted and
   2199 # recreated - this has obvious issues for systems with multiple installations.
   2200 
   2201 install-header-links:
   2202 	@set -ex; cd '$(DESTDIR)$(includedir)'; for f in $(HEADERS); do \
   2203 	   rm -f "$$f"; $(LN_S) "$(PNGLIB_BASENAME)/$$f" "$$f"; done
   2204 
   2205 uninstall-header-links:
   2206 	cd '$(DESTDIR)$(includedir)'; rm -f $(HEADERS)
   2207 
   2208 install-libpng-pc:
   2209 	@set -ex; cd '$(DESTDIR)$(pkgconfigdir)'; rm -f libpng.pc; \
   2210 	   $(LN_S) '$(PNGLIB_BASENAME).pc' libpng.pc
   2211 
   2212 uninstall-libpng-pc:
   2213 	rm -f '$(DESTDIR)$(pkgconfigdir)/libpng.pc'
   2214 
   2215 install-library-links:
   2216 	@set -x; cd '$(DESTDIR)$(libdir)';\
   2217 	for ext in $(EXT_LIST); do\
   2218 	   rm -f "libpng.$$ext";\
   2219            if test -f "$(PNGLIB_BASENAME).$$ext"; then\
   2220               $(LN_S) "$(PNGLIB_BASENAME).$$ext" "libpng.$$ext" || exit 1;\
   2221            fi;\
   2222 	done
   2223 
   2224 uninstall-library-links:
   2225 	@set -x; cd '$(DESTDIR)$(libdir)'; for ext in $(EXT_LIST); do\
   2226 	   rm -f "libpng.$$ext"; done
   2227 
   2228 install-libpng-config:
   2229 	@set -ex; cd '$(DESTDIR)$(bindir)'; rm -f libpng-config; \
   2230 	   $(LN_S) '$(PNGLIB_BASENAME)-config' libpng-config
   2231 
   2232 uninstall-libpng-config:
   2233 	rm -f '$(DESTDIR)$(bindir)/libpng-config'
   2234 
   2235 # If --enable-unversioned-links is specified the header and lib file links
   2236 # will be automatically made on a 'make install':
   2237 
   2238 @DO_INSTALL_LINKS_TRUE@install-data-hook: install-header-links
   2239 @DO_INSTALL_LINKS_TRUE@uninstall-hook: uninstall-header-links
   2240 @DO_INSTALL_LINKS_TRUE@install-exec-hook: install-library-links
   2241 @DO_INSTALL_LINKS_TRUE@uninstall-hook: uninstall-library-links
   2242 
   2243 # Likewise, --install-pc causes libpng.pc to be constructed:
   2244 
   2245 @DO_INSTALL_LIBPNG_PC_TRUE@install-data-hook: install-libpng-pc
   2246 @DO_INSTALL_LIBPNG_PC_TRUE@uninstall-hook: uninstall-libpng-pc
   2247 
   2248 # And --install-config:
   2249 
   2250 @DO_INSTALL_LIBPNG_CONFIG_TRUE@install-exec-hook: install-libpng-config
   2251 @DO_INSTALL_LIBPNG_CONFIG_TRUE@uninstall-hook: uninstall-libpng-config
   2252 
   2253 # The following addition ensures that 'make all' always builds the test programs
   2254 # too.  It used to, but some change either in libpng or configure stopped this
   2255 # working.
   2256 all-am: $(check_PROGRAMS)
   2257 
   2258 # Tell versions [3.59,3.63) of GNU make to not export all variables.
   2259 # Otherwise a system limit (for SysV at least) may be exceeded.
   2260 .NOEXPORT:
   2261