1 # Makefile.in generated by automake 1.15 from Makefile.am.
4 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
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.
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
18 # Source file for Makefile.in (and hence Makefile)
27 if test -z '$(MAKELEVEL)'; then \
29 elif test -n '$(MAKE_HOST)'; then \
31 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
37 am__make_running_with_option = \
38 case $${target_option-} in \
40 *) echo "am__make_running_with_option: internal error: invalid" \
41 "target option '$${target_option-}' specified" >&2; \
45 sane_makeflags=$$MAKEFLAGS; \
46 if $(am__is_gnu_make); then \
47 sane_makeflags=$$MFLAGS; \
52 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
53 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
59 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
61 for flg in $$sane_makeflags; do \
62 test $$skip_next = yes && { skip_next=no; continue; }; \
65 -*I) strip_trailopt 'I'; skip_next=yes;; \
66 -*I?*) strip_trailopt 'I';; \
67 -*O) strip_trailopt 'O'; skip_next=yes;; \
68 -*O?*) strip_trailopt 'O';; \
69 -*l) strip_trailopt 'l'; skip_next=yes;; \
70 -*l?*) strip_trailopt 'l';; \
71 -[dEDm]) skip_next=yes;; \
72 -[JT]) skip_next=yes;; \
75 *$$target_option*) has_opt=yes; break;; \
79 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
80 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
81 pkgdatadir = $(datadir)/@PACKAGE@
82 pkglibdir = $(libdir)/@PACKAGE@
83 pkglibexecdir = $(libexecdir)/@PACKAGE@
84 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
85 install_sh_DATA = $(install_sh) -c -m 644
86 install_sh_PROGRAM = $(install_sh) -c
87 install_sh_SCRIPT = $(install_sh) -c
88 INSTALL_HEADER = $(INSTALL_DATA)
89 transform = $(program_transform_name)
96 build_triplet = @build@
98 check_PROGRAMS = pngtest$(EXEEXT) pngunknown$(EXEEXT) \
99 pngstest$(EXEEXT) pngvalid$(EXEEXT) pngimage$(EXEEXT)
100 bin_PROGRAMS = pngfix$(EXEEXT) png-fix-itxt$(EXEEXT)
101 @PNG_ARM_NEON_TRUE@am__append_1 = arm/arm_init.c\
102 @PNG_ARM_NEON_TRUE@ arm/filter_neon.S arm/filter_neon_intrinsics.c
105 # Versioned symbols and restricted exports
106 @HAVE_LD_VERSION_SCRIPT_TRUE@@HAVE_SOLARIS_LD_TRUE@am__append_2 = -Wl,-M -Wl,libpng.vers
107 @HAVE_LD_VERSION_SCRIPT_TRUE@@HAVE_SOLARIS_LD_FALSE@am__append_3 = -Wl,--version-script=libpng.vers
108 # Only restricted exports when possible
109 @HAVE_LD_VERSION_SCRIPT_FALSE@am__append_4 = -export-symbols libpng.sym
110 @DO_PNG_PREFIX_TRUE@am__append_5 = -DPNG_PREFIX='@PNG_PREFIX@'
112 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
113 am__aclocal_m4_deps = $(top_srcdir)/scripts/libtool.m4 \
114 $(top_srcdir)/scripts/ltoptions.m4 \
115 $(top_srcdir)/scripts/ltsugar.m4 \
116 $(top_srcdir)/scripts/ltversion.m4 \
117 $(top_srcdir)/scripts/lt~obsolete.m4 \
118 $(top_srcdir)/configure.ac
119 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
121 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
122 $(am__configure_deps) $(pkginclude_HEADERS) $(am__DIST_COMMON)
123 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
124 configure.lineno config.status.lineno
125 mkinstalldirs = $(install_sh) -d
126 CONFIG_HEADER = config.h
127 CONFIG_CLEAN_FILES = libpng.pc libpng-config
128 CONFIG_CLEAN_VPATH_FILES =
129 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
130 am__vpath_adj = case $$p in \
131 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
134 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
136 am__nobase_strip_setup = \
137 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
139 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
140 am__nobase_list = $(am__nobase_strip_setup); \
141 for p in $$list; do echo "$$p $$p"; done | \
142 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
143 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
144 if (++n[$$2] == $(am__install_max)) \
145 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
146 END { for (dir in files) print dir, files[dir] }'
148 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
149 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
150 am__uninstall_files_from_dir = { \
152 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
153 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
154 $(am__cd) "$$dir" && rm -f $$files; }; \
156 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
157 "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man3dir)" \
158 "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(pkgconfigdir)" \
159 "$(DESTDIR)$(pkgincludedir)" "$(DESTDIR)$(pkgincludedir)"
160 LTLIBRARIES = $(lib_LTLIBRARIES)
161 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LIBADD =
162 am__libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES_DIST = png.c \
163 pngerror.c pngget.c pngmem.c pngpread.c pngread.c pngrio.c \
164 pngrtran.c pngrutil.c pngset.c pngtrans.c pngwio.c pngwrite.c \
165 pngwtran.c pngwutil.c png.h pngconf.h pngdebug.h pnginfo.h \
166 pngpriv.h pngstruct.h pngusr.dfa arm/arm_init.c \
167 arm/filter_neon.S arm/filter_neon_intrinsics.c
168 am__dirstamp = $(am__leading_dot)dirstamp
169 @PNG_ARM_NEON_TRUE@am__objects_1 = arm/arm_init.lo arm/filter_neon.lo \
170 @PNG_ARM_NEON_TRUE@ arm/filter_neon_intrinsics.lo
171 am_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS = png.lo pngerror.lo \
172 pngget.lo pngmem.lo pngpread.lo pngread.lo pngrio.lo \
173 pngrtran.lo pngrutil.lo pngset.lo pngtrans.lo pngwio.lo \
174 pngwrite.lo pngwtran.lo pngwutil.lo $(am__objects_1)
175 nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS =
176 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS = \
177 $(am_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS) \
178 $(nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS)
179 AM_V_lt = $(am__v_lt_@AM_V@)
180 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
181 am__v_lt_0 = --silent
183 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LINK = $(LIBTOOL) $(AM_V_lt) \
184 --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
185 $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
186 $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS) $(LDFLAGS) -o \
188 PROGRAMS = $(bin_PROGRAMS)
189 am_png_fix_itxt_OBJECTS = contrib/tools/png-fix-itxt.$(OBJEXT)
190 png_fix_itxt_OBJECTS = $(am_png_fix_itxt_OBJECTS)
191 png_fix_itxt_LDADD = $(LDADD)
192 am_pngfix_OBJECTS = contrib/tools/pngfix.$(OBJEXT)
193 pngfix_OBJECTS = $(am_pngfix_OBJECTS)
194 pngfix_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
195 am_pngimage_OBJECTS = contrib/libtests/pngimage.$(OBJEXT)
196 pngimage_OBJECTS = $(am_pngimage_OBJECTS)
197 pngimage_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
198 am_pngstest_OBJECTS = contrib/libtests/pngstest.$(OBJEXT)
199 pngstest_OBJECTS = $(am_pngstest_OBJECTS)
200 pngstest_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
201 am_pngtest_OBJECTS = pngtest.$(OBJEXT)
202 pngtest_OBJECTS = $(am_pngtest_OBJECTS)
203 pngtest_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
204 am_pngunknown_OBJECTS = contrib/libtests/pngunknown.$(OBJEXT)
205 pngunknown_OBJECTS = $(am_pngunknown_OBJECTS)
206 pngunknown_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
207 am_pngvalid_OBJECTS = contrib/libtests/pngvalid.$(OBJEXT)
208 pngvalid_OBJECTS = $(am_pngvalid_OBJECTS)
209 pngvalid_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
210 SCRIPTS = $(bin_SCRIPTS)
211 AM_V_P = $(am__v_P_@AM_V@)
212 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
215 AM_V_GEN = $(am__v_GEN_@AM_V@)
216 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
217 am__v_GEN_0 = @echo " GEN " $@;
219 AM_V_at = $(am__v_at_@AM_V@)
220 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
223 DEFAULT_INCLUDES = -I.@am__isrc@
224 depcomp = $(SHELL) $(top_srcdir)/depcomp
225 am__depfiles_maybe = depfiles
227 CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
228 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
229 LTCPPASCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \
230 $(LIBTOOLFLAGS) --mode=compile $(CCAS) $(DEFS) \
231 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
232 $(AM_CCASFLAGS) $(CCASFLAGS)
233 AM_V_CPPAS = $(am__v_CPPAS_@AM_V@)
234 am__v_CPPAS_ = $(am__v_CPPAS_@AM_DEFAULT_V@)
235 am__v_CPPAS_0 = @echo " CPPAS " $@;
237 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
238 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
239 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
240 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
241 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
242 $(AM_CFLAGS) $(CFLAGS)
243 AM_V_CC = $(am__v_CC_@AM_V@)
244 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
245 am__v_CC_0 = @echo " CC " $@;
248 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
249 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
250 $(AM_LDFLAGS) $(LDFLAGS) -o $@
251 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
252 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
253 am__v_CCLD_0 = @echo " CCLD " $@;
255 SOURCES = $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES) \
256 $(nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES) \
257 $(png_fix_itxt_SOURCES) $(pngfix_SOURCES) $(pngimage_SOURCES) \
258 $(pngstest_SOURCES) $(pngtest_SOURCES) $(pngunknown_SOURCES) \
261 $(am__libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES_DIST) \
262 $(png_fix_itxt_SOURCES) $(pngfix_SOURCES) $(pngimage_SOURCES) \
263 $(pngstest_SOURCES) $(pngtest_SOURCES) $(pngunknown_SOURCES) \
265 am__can_run_installinfo = \
266 case $$AM_UPDATE_INFO_DIR in \
268 *) (install-info --version) >/dev/null 2>&1;; \
270 man3dir = $(mandir)/man3
271 man5dir = $(mandir)/man5
273 MANS = $(dist_man_MANS)
274 DATA = $(pkgconfig_DATA)
275 HEADERS = $(nodist_pkginclude_HEADERS) $(pkginclude_HEADERS)
276 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
278 # Read a list of newline-separated strings from the standard input,
279 # and print each of them once, without duplicates. Input order is
281 am__uniquify_input = $(AWK) '\
282 BEGIN { nonempty = 0; } \
283 { items[$$0] = 1; nonempty = 1; } \
284 END { if (nonempty) { for (i in items) print i; }; } \
286 # Make sure the list of sources is unique. This is necessary because,
287 # e.g., the same source file might be shared among _SOURCES variables
288 # for different programs/libraries.
289 am__define_uniq_tagged_files = \
290 list='$(am__tagged_files)'; \
291 unique=`for i in $$list; do \
292 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
293 done | $(am__uniquify_input)`
297 AM_RECURSIVE_TARGETS = cscope check recheck
298 am__tty_colors_dummy = \
299 mgn= red= grn= lgn= blu= brg= std=; \
302 $(am__tty_colors_dummy); \
303 if test "X$(AM_COLOR_TESTS)" = Xno; then \
304 am__color_tests=no; \
305 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
306 am__color_tests=yes; \
307 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
308 am__color_tests=yes; \
310 if test $$am__color_tests = yes; then \
320 am__recheck_rx = ^[ ]*:recheck:[ ]*
321 am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
322 am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
323 # A command that, given a newline-separated list of test names on the
324 # standard input, print the name of the tests that are to be re-run
325 # upon "make recheck".
326 am__list_recheck_tests = $(AWK) '{ \
328 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
332 if ((getline line2 < ($$0 ".log")) < 0) \
336 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
341 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
348 close ($$0 ".trs"); \
349 close ($$0 ".log"); \
351 # A command that, given a newline-separated list of test names on the
352 # standard input, create the global log from their .trs and .log files.
353 am__create_global_log = $(AWK) ' \
354 function fatal(msg) \
356 print "fatal: making $@: " msg | "cat >&2"; \
359 function rst_section(header) \
362 len = length(header); \
363 for (i = 1; i <= len; i = i + 1) \
368 copy_in_global_log = 1; \
369 global_test_result = "RUN"; \
370 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
373 fatal("failed to read from " $$0 ".trs"); \
374 if (line ~ /$(am__global_test_result_rx)/) \
376 sub("$(am__global_test_result_rx)", "", line); \
377 sub("[ ]*$$", "", line); \
378 global_test_result = line; \
380 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
381 copy_in_global_log = 0; \
383 if (copy_in_global_log) \
385 rst_section(global_test_result ": " $$0); \
386 while ((rc = (getline line < ($$0 ".log"))) != 0) \
389 fatal("failed to read from " $$0 ".log"); \
394 close ($$0 ".trs"); \
395 close ($$0 ".log"); \
397 # Restructured Text title.
398 am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
399 # Solaris 10 'make', and several other traditional 'make' implementations,
400 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
401 # by disabling -e (using the XSI extension "set +e") if it's set.
402 am__sh_e_setup = case $$- in *e*) set +e;; esac
403 # Default flags passed to test drivers.
404 am__common_driver_flags = \
405 --color-tests "$$am__color_tests" \
406 --enable-hard-errors "$$am__enable_hard_errors" \
407 --expect-failure "$$am__expect_failure"
408 # To be inserted before the command running the test. Creates the
409 # directory for the log if needed. Stores in $dir the directory
410 # containing $f, in $tst the test, in $log the log. Executes the
411 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
412 # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
413 # will run the test scripts (or their associated LOG_COMPILER, if
417 $(am__vpath_adj_setup) $(am__vpath_adj) \
419 srcdir=$(srcdir); export srcdir; \
421 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
424 test "x$$am__odir" = x"." || test -d "$$am__odir" \
425 || $(MKDIR_P) "$$am__odir" || exit $$?; \
426 if test -f "./$$f"; then dir=./; \
427 elif test -f "$$f"; then dir=; \
428 else dir="$(srcdir)/"; fi; \
429 tst=$$dir$$f; log='$@'; \
430 if test -n '$(DISABLE_HARD_ERRORS)'; then \
431 am__enable_hard_errors=no; \
433 am__enable_hard_errors=yes; \
435 case " $(XFAIL_TESTS) " in \
436 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
437 am__expect_failure=yes;; \
439 am__expect_failure=no;; \
441 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
442 # A shell command to get the names of the tests scripts with any registered
443 # extension removed (i.e., equivalently, the names of the test logs, with
444 # the '.log' extension removed). The result is saved in the shell variable
445 # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
446 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
447 # since that might cause problem with VPATH rewrites for suffix-less tests.
448 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
449 am__set_TESTS_bases = \
450 bases='$(TEST_LOGS)'; \
451 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
453 RECHECK_LOGS = $(TEST_LOGS)
454 TEST_SUITE_LOG = test-suite.log
455 TEST_EXTENSIONS = @EXEEXT@ .test
456 LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
457 LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
463 *) b=`echo '$@' | sed 's/\.log$$//'`; \
468 am__test_logs1 = $(TESTS:=.log)
469 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
470 TEST_LOGS = $(am__test_logs2:.test.log=.log)
471 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
472 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
474 am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in \
475 $(srcdir)/config.h.in $(srcdir)/libpng-config.in \
476 $(srcdir)/libpng.pc.in INSTALL README TODO compile \
477 config.guess config.sub depcomp install-sh ltmain.sh missing \
479 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
480 distdir = $(PACKAGE)-$(VERSION)
481 top_distdir = $(distdir)
482 am__remove_distdir = \
483 if test -d "$(distdir)"; then \
484 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
485 && rm -rf "$(distdir)" \
486 || { sleep 5 && rm -rf "$(distdir)"; }; \
488 am__post_remove_distdir = $(am__remove_distdir)
489 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz
491 DIST_TARGETS = dist-xz dist-gzip
492 distuninstallcheck_listfiles = find . -type f -print
493 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
494 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
495 distcleancheck_listfiles = find . -type f -print
497 #distribute headers in /usr/include/libpng/*
498 pkgincludedir = $(includedir)/$(PNGLIB_BASENAME)
501 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
504 AUTOCONF = @AUTOCONF@
505 AUTOHEADER = @AUTOHEADER@
506 AUTOMAKE = @AUTOMAKE@
510 CCASDEPMODE = @CCASDEPMODE@
511 CCASFLAGS = @CCASFLAGS@
512 CCDEPMODE = @CCDEPMODE@
515 CPPFLAGS = @CPPFLAGS@
516 CYGPATH_W = @CYGPATH_W@
520 # DFNCPP is normally just CPP - the C preprocessor - but on Solaris and maybe
521 # other operating systems (NeXT?) the C preprocessor selected by configure
522 # checks input tokens for validity - effectively it performs part of the ANSI-C
523 # parsing - and therefore fails with the .df files. configure.ac has special
524 # checks for this and sets DFNCPP appropriately.
527 DSYMUTIL = @DSYMUTIL@
537 INSTALL_DATA = @INSTALL_DATA@
538 INSTALL_PROGRAM = @INSTALL_PROGRAM@
539 INSTALL_SCRIPT = @INSTALL_SCRIPT@
540 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
548 LTLIBOBJS = @LTLIBOBJS@
549 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
551 MAKEINFO = @MAKEINFO@
552 MANIFEST_TOOL = @MANIFEST_TOOL@
561 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
562 PACKAGE_NAME = @PACKAGE_NAME@
563 PACKAGE_STRING = @PACKAGE_STRING@
564 PACKAGE_TARNAME = @PACKAGE_TARNAME@
565 PACKAGE_URL = @PACKAGE_URL@
566 PACKAGE_VERSION = @PACKAGE_VERSION@
567 PATH_SEPARATOR = @PATH_SEPARATOR@
568 PNGLIB_MAJOR = @PNGLIB_MAJOR@
569 PNGLIB_MINOR = @PNGLIB_MINOR@
570 PNGLIB_RELEASE = @PNGLIB_RELEASE@
571 PNGLIB_VERSION = @PNGLIB_VERSION@
573 # PNG_COPTS give extra options for the C compiler to be used on all compilation
574 # steps (unless targe_CFLAGS is specified; that will take precedence over
576 PNG_COPTS = @PNG_COPTS@
577 PNG_PREFIX = @PNG_PREFIX@
581 SET_MAKE = @SET_MAKE@
584 SYMBOL_PREFIX = @SYMBOL_PREFIX@
586 abs_builddir = @abs_builddir@
587 abs_srcdir = @abs_srcdir@
588 abs_top_builddir = @abs_top_builddir@
589 abs_top_srcdir = @abs_top_srcdir@
590 ac_ct_AR = @ac_ct_AR@
591 ac_ct_CC = @ac_ct_CC@
592 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
593 am__include = @am__include@
594 am__leading_dot = @am__leading_dot@
595 am__quote = @am__quote@
597 am__untar = @am__untar@
599 # generate the -config scripts if required
600 binconfigs = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config
603 build_alias = @build_alias@
604 build_cpu = @build_cpu@
605 build_os = @build_os@
606 build_vendor = @build_vendor@
607 builddir = @builddir@
609 datarootdir = @datarootdir@
612 exec_prefix = @exec_prefix@
614 host_alias = @host_alias@
615 host_cpu = @host_cpu@
617 host_vendor = @host_vendor@
619 includedir = @includedir@
621 install_sh = @install_sh@
623 libexecdir = @libexecdir@
624 localedir = @localedir@
625 localstatedir = @localstatedir@
628 oldincludedir = @oldincludedir@
631 # pkg-config stuff, note that libpng.pc is always required in order
632 # to get the correct library
633 pkgconfigdir = @pkgconfigdir@
635 program_transform_name = @program_transform_name@
638 sharedstatedir = @sharedstatedir@
640 sysconfdir = @sysconfdir@
641 target_alias = @target_alias@
642 top_build_prefix = @top_build_prefix@
643 top_builddir = @top_builddir@
644 top_srcdir = @top_srcdir@
645 PNGLIB_BASENAME = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
646 ACLOCAL_AMFLAGS = -I scripts
648 # This ensures that pnglibconf.h gets built at the start of 'make all' or
649 # 'make check', but it does not add dependencies to the individual programs,
650 # this is done below.
652 # IMPORTANT: always add the object modules of new programs to the list below
653 # because otherwise the sequence 'configure; make new-program' will *sometimes*
654 # result in the installed (system) pnglibconf.h being used and the result is
655 # always wrong and always very confusing.
656 BUILT_SOURCES = pnglibconf.h
657 pngtest_SOURCES = pngtest.c
658 pngtest_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
659 pngvalid_SOURCES = contrib/libtests/pngvalid.c
660 pngvalid_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
661 pngstest_SOURCES = contrib/libtests/pngstest.c
662 pngstest_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
663 pngunknown_SOURCES = contrib/libtests/pngunknown.c
664 pngunknown_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
665 pngimage_SOURCES = contrib/libtests/pngimage.c
666 pngimage_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
667 pngfix_SOURCES = contrib/tools/pngfix.c
668 pngfix_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
669 png_fix_itxt_SOURCES = contrib/tools/png-fix-itxt.c
671 # Generally these are single line shell scripts to run a test with a particular
675 tests/pngvalid-gamma-16-to-8 tests/pngvalid-gamma-alpha-mode\
676 tests/pngvalid-gamma-background tests/pngvalid-gamma-expand16-alpha-mode\
677 tests/pngvalid-gamma-expand16-background\
678 tests/pngvalid-gamma-expand16-transform tests/pngvalid-gamma-sbit\
679 tests/pngvalid-gamma-threshold tests/pngvalid-gamma-transform\
680 tests/pngvalid-progressive-size\
681 tests/pngvalid-progressive-interlace-standard\
682 tests/pngvalid-transform\
683 tests/pngvalid-progressive-standard tests/pngvalid-standard\
684 tests/pngstest-1.8 tests/pngstest-1.8-alpha tests/pngstest-linear\
685 tests/pngstest-linear-alpha tests/pngstest-none tests/pngstest-none-alpha\
686 tests/pngstest-sRGB tests/pngstest-sRGB-alpha tests/pngunknown-IDAT\
687 tests/pngunknown-discard tests/pngunknown-if-safe tests/pngunknown-sAPI\
688 tests/pngunknown-sTER tests/pngunknown-save tests/pngunknown-vpAg\
689 tests/pngimage-quick tests/pngimage-full
693 dist_man_MANS = libpng.3 libpngpf.3 png.5
694 EXTRA_SCRIPTS = libpng-config libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config
695 bin_SCRIPTS = @binconfigs@
697 # rules to build libpng, only build the old library on request
698 lib_LTLIBRARIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
699 # EXTRA_LTLIBRARIES= libpng.la
700 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES = png.c pngerror.c \
701 pngget.c pngmem.c pngpread.c pngread.c pngrio.c pngrtran.c \
702 pngrutil.c pngset.c pngtrans.c pngwio.c pngwrite.c pngwtran.c \
703 pngwutil.c png.h pngconf.h pngdebug.h pnginfo.h pngpriv.h \
704 pngstruct.h pngusr.dfa $(am__append_1)
705 nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES = pnglibconf.h
706 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS = -no-undefined \
707 -export-dynamic -version-number \
708 @PNGLIB_MAJOR@@PNGLIB_MINOR@:@PNGLIB_RELEASE@:0 \
709 $(am__append_2) $(am__append_3) $(am__append_4)
710 @HAVE_LD_VERSION_SCRIPT_FALSE@libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.sym
711 @HAVE_LD_VERSION_SCRIPT_TRUE@libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.vers
712 pkginclude_HEADERS = png.h pngconf.h
713 nodist_pkginclude_HEADERS = pnglibconf.h
714 pkgconfig_DATA = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc
716 # Extra source distribution files, '${srcdir}' is used below to stop build files
717 # from those directories being included. This only works if the configure is
718 # not done in the source directory!
720 ANNOUNCE CHANGES INSTALL LICENSE README TODO \
721 pngtest.png pngbar.png pngnow.png pngbar.jpg autogen.sh \
722 ${srcdir}/contrib ${srcdir}/projects ${srcdir}/scripts \
723 $(TESTS) $(XFAIL_TESTS) tests/pngstest \
724 CMakeLists.txt example.c libpng-manual.txt
726 SCRIPT_CLEANFILES = scripts/*.out scripts/*.chk
727 CLEANFILES = *.tf? pngout.png libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc \
728 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config libpng.vers libpng.sym \
729 check.new pnglibconf.h pngprefix.h symbols.new pngtest-log.txt \
730 pnglibconf.out pnglibconf.c pnglibconf.pre pnglibconf.dfn \
733 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
734 config.sub configure depcomp install-sh ltmain.sh missing
736 AM_CFLAGS = ${PNG_COPTS}
739 # We must use -DPNG_NO_USE_READ_MACROS here even when the library may actually
740 # be built with PNG_USE_READ_MACROS; this prevents the read macros from
741 # interfering with the symbol file format.
742 SYMBOL_CFLAGS = -DPNGLIB_LIBNAME='PNG@PNGLIB_MAJOR@@PNGLIB_MINOR@_0' \
743 -DPNGLIB_VERSION='@PNGLIB_VERSION@' \
744 -DSYMBOL_PREFIX='$(SYMBOL_PREFIX)' -DPNG_NO_USE_READ_MACROS \
745 -DPNG_BUILDING_SYMBOL_TABLE $(am__append_5)
747 # EXT_LIST is a list of the possibly library directory extensions, this exists
748 # because we can't find a good way of discovering the file extensions that are
749 # actually installed on a given system, so instead we check for every extension
751 EXT_LIST = a dll.a so so.@PNGLIB_MAJOR@@PNGLIB_MINOR@.@PNGLIB_RELEASE@ la sl dylib
752 all: $(BUILT_SOURCES) config.h
753 $(MAKE) $(AM_MAKEFLAGS) all-am
756 .SUFFIXES: .chk .out .S .c .lo .log .o .obj .test .test$(EXEEXT) .trs
757 am--refresh: Makefile
759 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
761 case '$(am__configure_deps)' in \
763 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
764 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
769 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
770 $(am__cd) $(top_srcdir) && \
771 $(AUTOMAKE) --foreign Makefile
772 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
775 echo ' $(SHELL) ./config.status'; \
776 $(SHELL) ./config.status;; \
778 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
779 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
782 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
783 $(SHELL) ./config.status --recheck
785 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
786 $(am__cd) $(srcdir) && $(AUTOCONF)
787 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
788 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
789 $(am__aclocal_m4_deps):
792 @test -f $@ || rm -f stamp-h1
793 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
795 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
797 cd $(top_builddir) && $(SHELL) ./config.status config.h
798 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
799 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
804 -rm -f config.h stamp-h1
805 libpng.pc: $(top_builddir)/config.status $(srcdir)/libpng.pc.in
806 cd $(top_builddir) && $(SHELL) ./config.status $@
807 libpng-config: $(top_builddir)/config.status $(srcdir)/libpng-config.in
808 cd $(top_builddir) && $(SHELL) ./config.status $@
810 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
812 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
813 list2=; for p in $$list; do \
814 if test -f $$p; then \
815 list2="$$list2 $$p"; \
818 test -z "$$list2" || { \
819 echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
820 $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
821 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
822 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
825 uninstall-libLTLIBRARIES:
827 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
828 for p in $$list; do \
830 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
831 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
834 clean-libLTLIBRARIES:
835 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
836 @list='$(lib_LTLIBRARIES)'; \
837 locs=`for p in $$list; do echo $$p; done | \
838 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
840 test -z "$$locs" || { \
841 echo rm -f $${locs}; \
846 @: > arm/$(am__dirstamp)
847 arm/$(DEPDIR)/$(am__dirstamp):
848 @$(MKDIR_P) arm/$(DEPDIR)
849 @: > arm/$(DEPDIR)/$(am__dirstamp)
850 arm/arm_init.lo: arm/$(am__dirstamp) arm/$(DEPDIR)/$(am__dirstamp)
851 arm/filter_neon.lo: arm/$(am__dirstamp) arm/$(DEPDIR)/$(am__dirstamp)
852 arm/filter_neon_intrinsics.lo: arm/$(am__dirstamp) \
853 arm/$(DEPDIR)/$(am__dirstamp)
855 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)
856 $(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)
857 install-binPROGRAMS: $(bin_PROGRAMS)
859 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
860 if test -n "$$list"; then \
861 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
862 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
864 for p in $$list; do echo "$$p $$p"; done | \
865 sed 's/$(EXEEXT)$$//' | \
866 while read p p1; do if test -f $$p \
868 ; then echo "$$p"; echo "$$p"; else :; fi; \
870 sed -e 'p;s,.*/,,;n;h' \
872 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
873 sed 'N;N;N;s,\n, ,g' | \
874 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
875 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
876 if ($$2 == $$4) files[d] = files[d] " " $$1; \
877 else { print "f", $$3 "/" $$4, $$1; } } \
878 END { for (d in files) print "f", d, files[d] }' | \
879 while read type dir files; do \
880 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
881 test -z "$$files" || { \
882 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
883 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
887 uninstall-binPROGRAMS:
889 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
890 files=`for p in $$list; do echo "$$p"; done | \
891 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
892 -e 's/$$/$(EXEEXT)/' \
894 test -n "$$list" || exit 0; \
895 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
896 cd "$(DESTDIR)$(bindir)" && rm -f $$files
899 @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
900 echo " rm -f" $$list; \
901 rm -f $$list || exit $$?; \
902 test -n "$(EXEEXT)" || exit 0; \
903 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
904 echo " rm -f" $$list; \
908 @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
909 echo " rm -f" $$list; \
910 rm -f $$list || exit $$?; \
911 test -n "$(EXEEXT)" || exit 0; \
912 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
913 echo " rm -f" $$list; \
915 contrib/tools/$(am__dirstamp):
916 @$(MKDIR_P) contrib/tools
917 @: > contrib/tools/$(am__dirstamp)
918 contrib/tools/$(DEPDIR)/$(am__dirstamp):
919 @$(MKDIR_P) contrib/tools/$(DEPDIR)
920 @: > contrib/tools/$(DEPDIR)/$(am__dirstamp)
921 contrib/tools/png-fix-itxt.$(OBJEXT): contrib/tools/$(am__dirstamp) \
922 contrib/tools/$(DEPDIR)/$(am__dirstamp)
924 png-fix-itxt$(EXEEXT): $(png_fix_itxt_OBJECTS) $(png_fix_itxt_DEPENDENCIES) $(EXTRA_png_fix_itxt_DEPENDENCIES)
925 @rm -f png-fix-itxt$(EXEEXT)
926 $(AM_V_CCLD)$(LINK) $(png_fix_itxt_OBJECTS) $(png_fix_itxt_LDADD) $(LIBS)
927 contrib/tools/pngfix.$(OBJEXT): contrib/tools/$(am__dirstamp) \
928 contrib/tools/$(DEPDIR)/$(am__dirstamp)
930 pngfix$(EXEEXT): $(pngfix_OBJECTS) $(pngfix_DEPENDENCIES) $(EXTRA_pngfix_DEPENDENCIES)
931 @rm -f pngfix$(EXEEXT)
932 $(AM_V_CCLD)$(LINK) $(pngfix_OBJECTS) $(pngfix_LDADD) $(LIBS)
933 contrib/libtests/$(am__dirstamp):
934 @$(MKDIR_P) contrib/libtests
935 @: > contrib/libtests/$(am__dirstamp)
936 contrib/libtests/$(DEPDIR)/$(am__dirstamp):
937 @$(MKDIR_P) contrib/libtests/$(DEPDIR)
938 @: > contrib/libtests/$(DEPDIR)/$(am__dirstamp)
939 contrib/libtests/pngimage.$(OBJEXT): contrib/libtests/$(am__dirstamp) \
940 contrib/libtests/$(DEPDIR)/$(am__dirstamp)
942 pngimage$(EXEEXT): $(pngimage_OBJECTS) $(pngimage_DEPENDENCIES) $(EXTRA_pngimage_DEPENDENCIES)
943 @rm -f pngimage$(EXEEXT)
944 $(AM_V_CCLD)$(LINK) $(pngimage_OBJECTS) $(pngimage_LDADD) $(LIBS)
945 contrib/libtests/pngstest.$(OBJEXT): contrib/libtests/$(am__dirstamp) \
946 contrib/libtests/$(DEPDIR)/$(am__dirstamp)
948 pngstest$(EXEEXT): $(pngstest_OBJECTS) $(pngstest_DEPENDENCIES) $(EXTRA_pngstest_DEPENDENCIES)
949 @rm -f pngstest$(EXEEXT)
950 $(AM_V_CCLD)$(LINK) $(pngstest_OBJECTS) $(pngstest_LDADD) $(LIBS)
952 pngtest$(EXEEXT): $(pngtest_OBJECTS) $(pngtest_DEPENDENCIES) $(EXTRA_pngtest_DEPENDENCIES)
953 @rm -f pngtest$(EXEEXT)
954 $(AM_V_CCLD)$(LINK) $(pngtest_OBJECTS) $(pngtest_LDADD) $(LIBS)
955 contrib/libtests/pngunknown.$(OBJEXT): \
956 contrib/libtests/$(am__dirstamp) \
957 contrib/libtests/$(DEPDIR)/$(am__dirstamp)
959 pngunknown$(EXEEXT): $(pngunknown_OBJECTS) $(pngunknown_DEPENDENCIES) $(EXTRA_pngunknown_DEPENDENCIES)
960 @rm -f pngunknown$(EXEEXT)
961 $(AM_V_CCLD)$(LINK) $(pngunknown_OBJECTS) $(pngunknown_LDADD) $(LIBS)
962 contrib/libtests/pngvalid.$(OBJEXT): contrib/libtests/$(am__dirstamp) \
963 contrib/libtests/$(DEPDIR)/$(am__dirstamp)
965 pngvalid$(EXEEXT): $(pngvalid_OBJECTS) $(pngvalid_DEPENDENCIES) $(EXTRA_pngvalid_DEPENDENCIES)
966 @rm -f pngvalid$(EXEEXT)
967 $(AM_V_CCLD)$(LINK) $(pngvalid_OBJECTS) $(pngvalid_LDADD) $(LIBS)
968 install-binSCRIPTS: $(bin_SCRIPTS)
970 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
971 if test -n "$$list"; then \
972 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
973 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
975 for p in $$list; do \
976 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
977 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
979 sed -e 'p;s,.*/,,;n' \
981 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
982 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
983 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
984 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
985 if (++n[d] == $(am__install_max)) { \
986 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
987 else { print "f", d "/" $$4, $$1 } } \
988 END { for (d in files) print "f", d, files[d] }' | \
989 while read type dir files; do \
990 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
991 test -z "$$files" || { \
992 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
993 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
997 uninstall-binSCRIPTS:
999 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
1000 files=`for p in $$list; do echo "$$p"; done | \
1001 sed -e 's,.*/,,;$(transform)'`; \
1002 dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
1004 mostlyclean-compile:
1006 -rm -f arm/*.$(OBJEXT)
1008 -rm -f contrib/libtests/*.$(OBJEXT)
1009 -rm -f contrib/tools/*.$(OBJEXT)
1014 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/png.Plo@am__quote@
1015 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngerror.Plo@am__quote@
1016 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngget.Plo@am__quote@
1017 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngmem.Plo@am__quote@
1018 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngpread.Plo@am__quote@
1019 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngread.Plo@am__quote@
1020 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrio.Plo@am__quote@
1021 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrtran.Plo@am__quote@
1022 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrutil.Plo@am__quote@
1023 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngset.Plo@am__quote@
1024 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngtest.Po@am__quote@
1025 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngtrans.Plo@am__quote@
1026 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwio.Plo@am__quote@
1027 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwrite.Plo@am__quote@
1028 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwtran.Plo@am__quote@
1029 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwutil.Plo@am__quote@
1030 @AMDEP_TRUE@@am__include@ @am__quote@arm/$(DEPDIR)/arm_init.Plo@am__quote@
1031 @AMDEP_TRUE@@am__include@ @am__quote@arm/$(DEPDIR)/filter_neon.Plo@am__quote@
1032 @AMDEP_TRUE@@am__include@ @am__quote@arm/$(DEPDIR)/filter_neon_intrinsics.Plo@am__quote@
1033 @AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngimage.Po@am__quote@
1034 @AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngstest.Po@am__quote@
1035 @AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngunknown.Po@am__quote@
1036 @AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngvalid.Po@am__quote@
1037 @AMDEP_TRUE@@am__include@ @am__quote@contrib/tools/$(DEPDIR)/png-fix-itxt.Po@am__quote@
1038 @AMDEP_TRUE@@am__include@ @am__quote@contrib/tools/$(DEPDIR)/pngfix.Po@am__quote@
1041 @am__fastdepCCAS_TRUE@ $(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
1042 @am__fastdepCCAS_TRUE@ $(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1043 @am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
1044 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1045 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1046 @am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ $<
1049 @am__fastdepCCAS_TRUE@ $(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
1050 @am__fastdepCCAS_TRUE@ $(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
1051 @am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
1052 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1053 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1054 @am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1057 @am__fastdepCCAS_TRUE@ $(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
1058 @am__fastdepCCAS_TRUE@ $(LTCPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1059 @am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
1060 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
1061 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1062 @am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(LTCPPASCOMPILE) -c -o $@ $<
1065 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
1066 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1067 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
1068 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1069 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1070 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
1073 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
1074 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
1075 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
1076 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1077 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1078 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1081 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
1082 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1083 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
1084 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
1085 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1086 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
1088 mostlyclean-libtool:
1093 -rm -rf arm/.libs arm/_libs
1096 -rm -f libtool config.lt
1097 install-man3: $(dist_man_MANS)
1100 list2='$(dist_man_MANS)'; \
1101 test -n "$(man3dir)" \
1102 && test -n "`echo $$list1$$list2`" \
1104 echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
1105 $(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
1106 { for i in $$list1; do echo "$$i"; done; \
1107 if test -n "$$list2"; then \
1108 for i in $$list2; do echo "$$i"; done \
1109 | sed -n '/\.3[a-z]*$$/p'; \
1111 } | while read p; do \
1112 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
1113 echo "$$d$$p"; echo "$$p"; \
1115 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
1116 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
1117 sed 'N;N;s,\n, ,g' | { \
1118 list=; while read file base inst; do \
1119 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
1120 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
1121 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
1124 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
1125 while read files; do \
1126 test -z "$$files" || { \
1127 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
1128 $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
1132 @$(NORMAL_UNINSTALL)
1133 @list=''; test -n "$(man3dir)" || exit 0; \
1134 files=`{ for i in $$list; do echo "$$i"; done; \
1135 l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1136 sed -n '/\.3[a-z]*$$/p'; \
1137 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
1138 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
1139 dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
1140 install-man5: $(dist_man_MANS)
1143 list2='$(dist_man_MANS)'; \
1144 test -n "$(man5dir)" \
1145 && test -n "`echo $$list1$$list2`" \
1147 echo " $(MKDIR_P) '$(DESTDIR)$(man5dir)'"; \
1148 $(MKDIR_P) "$(DESTDIR)$(man5dir)" || exit 1; \
1149 { for i in $$list1; do echo "$$i"; done; \
1150 if test -n "$$list2"; then \
1151 for i in $$list2; do echo "$$i"; done \
1152 | sed -n '/\.5[a-z]*$$/p'; \
1154 } | while read p; do \
1155 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
1156 echo "$$d$$p"; echo "$$p"; \
1158 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
1159 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
1160 sed 'N;N;s,\n, ,g' | { \
1161 list=; while read file base inst; do \
1162 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
1163 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
1164 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \
1167 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
1168 while read files; do \
1169 test -z "$$files" || { \
1170 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \
1171 $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \
1175 @$(NORMAL_UNINSTALL)
1176 @list=''; test -n "$(man5dir)" || exit 0; \
1177 files=`{ for i in $$list; do echo "$$i"; done; \
1178 l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1179 sed -n '/\.5[a-z]*$$/p'; \
1180 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
1181 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
1182 dir='$(DESTDIR)$(man5dir)'; $(am__uninstall_files_from_dir)
1183 install-pkgconfigDATA: $(pkgconfig_DATA)
1185 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
1186 if test -n "$$list"; then \
1187 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
1188 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
1190 for p in $$list; do \
1191 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1193 done | $(am__base_list) | \
1194 while read files; do \
1195 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
1196 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
1199 uninstall-pkgconfigDATA:
1200 @$(NORMAL_UNINSTALL)
1201 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
1202 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1203 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
1204 install-nodist_pkgincludeHEADERS: $(nodist_pkginclude_HEADERS)
1206 @list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
1207 if test -n "$$list"; then \
1208 echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \
1209 $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \
1211 for p in $$list; do \
1212 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1214 done | $(am__base_list) | \
1215 while read files; do \
1216 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
1217 $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
1220 uninstall-nodist_pkgincludeHEADERS:
1221 @$(NORMAL_UNINSTALL)
1222 @list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
1223 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1224 dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir)
1225 install-pkgincludeHEADERS: $(pkginclude_HEADERS)
1227 @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
1228 if test -n "$$list"; then \
1229 echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \
1230 $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \
1232 for p in $$list; do \
1233 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1235 done | $(am__base_list) | \
1236 while read files; do \
1237 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
1238 $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
1241 uninstall-pkgincludeHEADERS:
1242 @$(NORMAL_UNINSTALL)
1243 @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
1244 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1245 dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir)
1247 ID: $(am__tagged_files)
1248 $(am__define_uniq_tagged_files); mkid -fID $$unique
1252 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1255 $(am__define_uniq_tagged_files); \
1257 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1258 test -n "$$unique" || unique=$$empty_fix; \
1259 if test $$# -gt 0; then \
1260 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1263 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1270 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1271 $(am__define_uniq_tagged_files); \
1272 test -z "$(CTAGS_ARGS)$$unique" \
1273 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1277 here=`$(am__cd) $(top_builddir) && pwd` \
1278 && $(am__cd) $(top_srcdir) \
1279 && gtags -i $(GTAGS_ARGS) "$$here"
1280 cscope: cscope.files
1281 test ! -s cscope.files \
1282 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
1285 cscope.files: clean-cscope cscopelist
1286 cscopelist: cscopelist-am
1288 cscopelist-am: $(am__tagged_files)
1289 list='$(am__tagged_files)'; \
1290 case "$(srcdir)" in \
1291 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1292 *) sdir=$(subdir)/$(srcdir) ;; \
1294 for i in $$list; do \
1295 if test -f "$$i"; then \
1296 echo "$(subdir)/$$i"; \
1298 echo "$$sdir/$$i"; \
1300 done >> $(top_builddir)/cscope.files
1303 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1304 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
1306 # Recover from deleted '.trs' file; this should ensure that
1307 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
1308 # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
1309 # to avoid problems with "make -n".
1312 $(MAKE) $(AM_MAKEFLAGS) $<
1314 # Leading 'am--fnord' is there to ensure the list of targets does not
1315 # expand to empty, as could happen e.g. with make check TESTS=''.
1316 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
1320 $(TEST_SUITE_LOG): $(TEST_LOGS)
1321 @$(am__set_TESTS_bases); \
1322 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
1323 redo_bases=`for i in $$bases; do \
1324 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
1326 if test -n "$$redo_bases"; then \
1327 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
1328 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
1329 if $(am__make_dryrun); then :; else \
1330 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
1333 if test -n "$$am__remaking_logs"; then \
1334 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
1335 "recursion detected" >&2; \
1336 elif test -n "$$redo_logs"; then \
1337 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
1339 if $(am__make_dryrun); then :; else \
1341 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
1342 for i in $$redo_bases; do \
1343 test -f $$i.trs && test -r $$i.trs \
1344 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
1345 test -f $$i.log && test -r $$i.log \
1346 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
1348 test $$st -eq 0 || exit 1; \
1350 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
1352 results=`for b in $$bases; do echo $$b.trs; done`; \
1353 test -n "$$results" || results=/dev/null; \
1354 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
1355 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
1356 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
1357 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
1358 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
1359 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
1360 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
1361 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
1366 br='==================='; br=$$br$$br$$br$$br; \
1369 if test x"$$1" = x"--maybe-color"; then \
1370 maybe_colorize=yes; \
1371 elif test x"$$1" = x"--no-color"; then \
1372 maybe_colorize=no; \
1374 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
1377 desc=$$1 count=$$2; \
1378 if test $$maybe_colorize = yes && test $$count -gt 0; then \
1379 color_start=$$3 color_end=$$std; \
1381 color_start= color_end=; \
1383 echo "$${color_start}# $$desc $$count$${color_end}"; \
1385 create_testsuite_report () \
1387 result_count $$1 "TOTAL:" $$all "$$brg"; \
1388 result_count $$1 "PASS: " $$pass "$$grn"; \
1389 result_count $$1 "SKIP: " $$skip "$$blu"; \
1390 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
1391 result_count $$1 "FAIL: " $$fail "$$red"; \
1392 result_count $$1 "XPASS:" $$xpass "$$red"; \
1393 result_count $$1 "ERROR:" $$error "$$mgn"; \
1396 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
1398 create_testsuite_report --no-color; \
1400 echo ".. contents:: :depth: 2"; \
1402 for b in $$bases; do echo $$b; done \
1403 | $(am__create_global_log); \
1404 } >$(TEST_SUITE_LOG).tmp || exit 1; \
1405 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
1406 if $$success; then \
1410 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
1412 echo "$${col}$$br$${std}"; \
1413 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
1414 echo "$${col}$$br$${std}"; \
1415 create_testsuite_report --maybe-color; \
1416 echo "$$col$$br$$std"; \
1417 if $$success; then :; else \
1418 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
1419 if test -n "$(PACKAGE_BUGREPORT)"; then \
1420 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
1422 echo "$$col$$br$$std"; \
1427 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
1428 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
1429 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1430 @set +e; $(am__set_TESTS_bases); \
1431 log_list=`for i in $$bases; do echo $$i.log; done`; \
1432 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
1433 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
1434 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1436 recheck: all $(check_PROGRAMS)
1437 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1438 @set +e; $(am__set_TESTS_bases); \
1439 bases=`for i in $$bases; do echo $$i; done \
1440 | $(am__list_recheck_tests)` || exit 1; \
1441 log_list=`for i in $$bases; do echo $$i.log; done`; \
1442 log_list=`echo $$log_list`; \
1443 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
1444 am__force_recheck=am--force-recheck \
1445 TEST_LOGS="$$log_list"; \
1447 tests/pngtest.log: tests/pngtest
1448 @p='tests/pngtest'; \
1449 b='tests/pngtest'; \
1450 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1451 --log-file $$b.log --trs-file $$b.trs \
1452 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1453 "$$tst" $(AM_TESTS_FD_REDIRECT)
1454 tests/pngvalid-gamma-16-to-8.log: tests/pngvalid-gamma-16-to-8
1455 @p='tests/pngvalid-gamma-16-to-8'; \
1456 b='tests/pngvalid-gamma-16-to-8'; \
1457 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1458 --log-file $$b.log --trs-file $$b.trs \
1459 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1460 "$$tst" $(AM_TESTS_FD_REDIRECT)
1461 tests/pngvalid-gamma-alpha-mode.log: tests/pngvalid-gamma-alpha-mode
1462 @p='tests/pngvalid-gamma-alpha-mode'; \
1463 b='tests/pngvalid-gamma-alpha-mode'; \
1464 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1465 --log-file $$b.log --trs-file $$b.trs \
1466 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1467 "$$tst" $(AM_TESTS_FD_REDIRECT)
1468 tests/pngvalid-gamma-background.log: tests/pngvalid-gamma-background
1469 @p='tests/pngvalid-gamma-background'; \
1470 b='tests/pngvalid-gamma-background'; \
1471 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1472 --log-file $$b.log --trs-file $$b.trs \
1473 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1474 "$$tst" $(AM_TESTS_FD_REDIRECT)
1475 tests/pngvalid-gamma-expand16-alpha-mode.log: tests/pngvalid-gamma-expand16-alpha-mode
1476 @p='tests/pngvalid-gamma-expand16-alpha-mode'; \
1477 b='tests/pngvalid-gamma-expand16-alpha-mode'; \
1478 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1479 --log-file $$b.log --trs-file $$b.trs \
1480 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1481 "$$tst" $(AM_TESTS_FD_REDIRECT)
1482 tests/pngvalid-gamma-expand16-background.log: tests/pngvalid-gamma-expand16-background
1483 @p='tests/pngvalid-gamma-expand16-background'; \
1484 b='tests/pngvalid-gamma-expand16-background'; \
1485 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1486 --log-file $$b.log --trs-file $$b.trs \
1487 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1488 "$$tst" $(AM_TESTS_FD_REDIRECT)
1489 tests/pngvalid-gamma-expand16-transform.log: tests/pngvalid-gamma-expand16-transform
1490 @p='tests/pngvalid-gamma-expand16-transform'; \
1491 b='tests/pngvalid-gamma-expand16-transform'; \
1492 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1493 --log-file $$b.log --trs-file $$b.trs \
1494 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1495 "$$tst" $(AM_TESTS_FD_REDIRECT)
1496 tests/pngvalid-gamma-sbit.log: tests/pngvalid-gamma-sbit
1497 @p='tests/pngvalid-gamma-sbit'; \
1498 b='tests/pngvalid-gamma-sbit'; \
1499 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1500 --log-file $$b.log --trs-file $$b.trs \
1501 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1502 "$$tst" $(AM_TESTS_FD_REDIRECT)
1503 tests/pngvalid-gamma-threshold.log: tests/pngvalid-gamma-threshold
1504 @p='tests/pngvalid-gamma-threshold'; \
1505 b='tests/pngvalid-gamma-threshold'; \
1506 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1507 --log-file $$b.log --trs-file $$b.trs \
1508 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1509 "$$tst" $(AM_TESTS_FD_REDIRECT)
1510 tests/pngvalid-gamma-transform.log: tests/pngvalid-gamma-transform
1511 @p='tests/pngvalid-gamma-transform'; \
1512 b='tests/pngvalid-gamma-transform'; \
1513 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1514 --log-file $$b.log --trs-file $$b.trs \
1515 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1516 "$$tst" $(AM_TESTS_FD_REDIRECT)
1517 tests/pngvalid-progressive-size.log: tests/pngvalid-progressive-size
1518 @p='tests/pngvalid-progressive-size'; \
1519 b='tests/pngvalid-progressive-size'; \
1520 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1521 --log-file $$b.log --trs-file $$b.trs \
1522 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1523 "$$tst" $(AM_TESTS_FD_REDIRECT)
1524 tests/pngvalid-progressive-interlace-standard.log: tests/pngvalid-progressive-interlace-standard
1525 @p='tests/pngvalid-progressive-interlace-standard'; \
1526 b='tests/pngvalid-progressive-interlace-standard'; \
1527 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1528 --log-file $$b.log --trs-file $$b.trs \
1529 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1530 "$$tst" $(AM_TESTS_FD_REDIRECT)
1531 tests/pngvalid-transform.log: tests/pngvalid-transform
1532 @p='tests/pngvalid-transform'; \
1533 b='tests/pngvalid-transform'; \
1534 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1535 --log-file $$b.log --trs-file $$b.trs \
1536 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1537 "$$tst" $(AM_TESTS_FD_REDIRECT)
1538 tests/pngvalid-progressive-standard.log: tests/pngvalid-progressive-standard
1539 @p='tests/pngvalid-progressive-standard'; \
1540 b='tests/pngvalid-progressive-standard'; \
1541 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1542 --log-file $$b.log --trs-file $$b.trs \
1543 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1544 "$$tst" $(AM_TESTS_FD_REDIRECT)
1545 tests/pngvalid-standard.log: tests/pngvalid-standard
1546 @p='tests/pngvalid-standard'; \
1547 b='tests/pngvalid-standard'; \
1548 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1549 --log-file $$b.log --trs-file $$b.trs \
1550 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1551 "$$tst" $(AM_TESTS_FD_REDIRECT)
1552 tests/pngstest-1.8.log: tests/pngstest-1.8
1553 @p='tests/pngstest-1.8'; \
1554 b='tests/pngstest-1.8'; \
1555 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1556 --log-file $$b.log --trs-file $$b.trs \
1557 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1558 "$$tst" $(AM_TESTS_FD_REDIRECT)
1559 tests/pngstest-1.8-alpha.log: tests/pngstest-1.8-alpha
1560 @p='tests/pngstest-1.8-alpha'; \
1561 b='tests/pngstest-1.8-alpha'; \
1562 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1563 --log-file $$b.log --trs-file $$b.trs \
1564 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1565 "$$tst" $(AM_TESTS_FD_REDIRECT)
1566 tests/pngstest-linear.log: tests/pngstest-linear
1567 @p='tests/pngstest-linear'; \
1568 b='tests/pngstest-linear'; \
1569 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1570 --log-file $$b.log --trs-file $$b.trs \
1571 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1572 "$$tst" $(AM_TESTS_FD_REDIRECT)
1573 tests/pngstest-linear-alpha.log: tests/pngstest-linear-alpha
1574 @p='tests/pngstest-linear-alpha'; \
1575 b='tests/pngstest-linear-alpha'; \
1576 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1577 --log-file $$b.log --trs-file $$b.trs \
1578 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1579 "$$tst" $(AM_TESTS_FD_REDIRECT)
1580 tests/pngstest-none.log: tests/pngstest-none
1581 @p='tests/pngstest-none'; \
1582 b='tests/pngstest-none'; \
1583 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1584 --log-file $$b.log --trs-file $$b.trs \
1585 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1586 "$$tst" $(AM_TESTS_FD_REDIRECT)
1587 tests/pngstest-none-alpha.log: tests/pngstest-none-alpha
1588 @p='tests/pngstest-none-alpha'; \
1589 b='tests/pngstest-none-alpha'; \
1590 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1591 --log-file $$b.log --trs-file $$b.trs \
1592 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1593 "$$tst" $(AM_TESTS_FD_REDIRECT)
1594 tests/pngstest-sRGB.log: tests/pngstest-sRGB
1595 @p='tests/pngstest-sRGB'; \
1596 b='tests/pngstest-sRGB'; \
1597 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1598 --log-file $$b.log --trs-file $$b.trs \
1599 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1600 "$$tst" $(AM_TESTS_FD_REDIRECT)
1601 tests/pngstest-sRGB-alpha.log: tests/pngstest-sRGB-alpha
1602 @p='tests/pngstest-sRGB-alpha'; \
1603 b='tests/pngstest-sRGB-alpha'; \
1604 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1605 --log-file $$b.log --trs-file $$b.trs \
1606 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1607 "$$tst" $(AM_TESTS_FD_REDIRECT)
1608 tests/pngunknown-IDAT.log: tests/pngunknown-IDAT
1609 @p='tests/pngunknown-IDAT'; \
1610 b='tests/pngunknown-IDAT'; \
1611 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1612 --log-file $$b.log --trs-file $$b.trs \
1613 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1614 "$$tst" $(AM_TESTS_FD_REDIRECT)
1615 tests/pngunknown-discard.log: tests/pngunknown-discard
1616 @p='tests/pngunknown-discard'; \
1617 b='tests/pngunknown-discard'; \
1618 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1619 --log-file $$b.log --trs-file $$b.trs \
1620 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1621 "$$tst" $(AM_TESTS_FD_REDIRECT)
1622 tests/pngunknown-if-safe.log: tests/pngunknown-if-safe
1623 @p='tests/pngunknown-if-safe'; \
1624 b='tests/pngunknown-if-safe'; \
1625 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1626 --log-file $$b.log --trs-file $$b.trs \
1627 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1628 "$$tst" $(AM_TESTS_FD_REDIRECT)
1629 tests/pngunknown-sAPI.log: tests/pngunknown-sAPI
1630 @p='tests/pngunknown-sAPI'; \
1631 b='tests/pngunknown-sAPI'; \
1632 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1633 --log-file $$b.log --trs-file $$b.trs \
1634 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1635 "$$tst" $(AM_TESTS_FD_REDIRECT)
1636 tests/pngunknown-sTER.log: tests/pngunknown-sTER
1637 @p='tests/pngunknown-sTER'; \
1638 b='tests/pngunknown-sTER'; \
1639 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1640 --log-file $$b.log --trs-file $$b.trs \
1641 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1642 "$$tst" $(AM_TESTS_FD_REDIRECT)
1643 tests/pngunknown-save.log: tests/pngunknown-save
1644 @p='tests/pngunknown-save'; \
1645 b='tests/pngunknown-save'; \
1646 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1647 --log-file $$b.log --trs-file $$b.trs \
1648 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1649 "$$tst" $(AM_TESTS_FD_REDIRECT)
1650 tests/pngunknown-vpAg.log: tests/pngunknown-vpAg
1651 @p='tests/pngunknown-vpAg'; \
1652 b='tests/pngunknown-vpAg'; \
1653 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1654 --log-file $$b.log --trs-file $$b.trs \
1655 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1656 "$$tst" $(AM_TESTS_FD_REDIRECT)
1657 tests/pngimage-quick.log: tests/pngimage-quick
1658 @p='tests/pngimage-quick'; \
1659 b='tests/pngimage-quick'; \
1660 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1661 --log-file $$b.log --trs-file $$b.trs \
1662 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1663 "$$tst" $(AM_TESTS_FD_REDIRECT)
1664 tests/pngimage-full.log: tests/pngimage-full
1665 @p='tests/pngimage-full'; \
1666 b='tests/pngimage-full'; \
1667 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1668 --log-file $$b.log --trs-file $$b.trs \
1669 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1670 "$$tst" $(AM_TESTS_FD_REDIRECT)
1674 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1675 --log-file $$b.log --trs-file $$b.trs \
1676 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1677 "$$tst" $(AM_TESTS_FD_REDIRECT)
1678 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
1679 @am__EXEEXT_TRUE@ @p='$<'; \
1680 @am__EXEEXT_TRUE@ $(am__set_b); \
1681 @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1682 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
1683 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1684 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
1686 distdir: $(DISTFILES)
1687 $(am__remove_distdir)
1688 test -d "$(distdir)" || mkdir "$(distdir)"
1689 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1690 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1691 list='$(DISTFILES)'; \
1692 dist_files=`for file in $$list; do echo $$file; done | \
1693 sed -e "s|^$$srcdirstrip/||;t" \
1694 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1695 case $$dist_files in \
1696 */*) $(MKDIR_P) `echo "$$dist_files" | \
1697 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1700 for file in $$dist_files; do \
1701 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1702 if test -d $$d/$$file; then \
1703 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1704 if test -d "$(distdir)/$$file"; then \
1705 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1707 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1708 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1709 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1711 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1713 test -f "$(distdir)/$$file" \
1714 || cp -p $$d/$$file "$(distdir)/$$file" \
1718 $(MAKE) $(AM_MAKEFLAGS) \
1719 top_distdir="$(top_distdir)" distdir="$(distdir)" \
1721 -test -n "$(am__skip_mode_fix)" \
1722 || find "$(distdir)" -type d ! -perm -755 \
1723 -exec chmod u+rwx,go+rx {} \; -o \
1724 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1725 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1726 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1727 || chmod -R a+r "$(distdir)"
1729 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1730 $(am__post_remove_distdir)
1733 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1734 $(am__post_remove_distdir)
1737 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1738 $(am__post_remove_distdir)
1740 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1741 $(am__post_remove_distdir)
1744 @echo WARNING: "Support for distribution archives compressed with" \
1745 "legacy program 'compress' is deprecated." >&2
1746 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1747 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1748 $(am__post_remove_distdir)
1751 @echo WARNING: "Support for shar distribution archives is" \
1753 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1754 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1755 $(am__post_remove_distdir)
1758 -rm -f $(distdir).zip
1759 zip -rq $(distdir).zip $(distdir)
1760 $(am__post_remove_distdir)
1763 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1764 $(am__post_remove_distdir)
1766 # This target untars the dist file and tries a VPATH configuration. Then
1767 # it guarantees that the distribution is self-contained by making another
1770 case '$(DIST_ARCHIVES)' in \
1772 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1774 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1776 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1778 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1780 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1782 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1784 unzip $(distdir).zip ;;\
1786 chmod -R a-w $(distdir)
1787 chmod u+w $(distdir)
1788 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
1789 chmod a-w $(distdir)
1790 test -d $(distdir)/_build || exit 0; \
1791 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1792 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1794 && $(am__cd) $(distdir)/_build/sub \
1795 && ../../configure \
1796 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1797 $(DISTCHECK_CONFIGURE_FLAGS) \
1798 --srcdir=../.. --prefix="$$dc_install_base" \
1799 && $(MAKE) $(AM_MAKEFLAGS) \
1800 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1801 && $(MAKE) $(AM_MAKEFLAGS) check \
1802 && $(MAKE) $(AM_MAKEFLAGS) install \
1803 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1804 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1805 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1806 distuninstallcheck \
1807 && chmod -R a-w "$$dc_install_base" \
1809 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1810 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1811 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1812 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1813 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1814 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1815 && rm -rf "$$dc_destdir" \
1816 && $(MAKE) $(AM_MAKEFLAGS) dist \
1817 && rm -rf $(DIST_ARCHIVES) \
1818 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1821 $(am__post_remove_distdir)
1822 @(echo "$(distdir) archives ready for distribution: "; \
1823 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1824 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1826 @test -n '$(distuninstallcheck_dir)' || { \
1827 echo 'ERROR: trying to run $@ with an empty' \
1828 '$$(distuninstallcheck_dir)' >&2; \
1831 $(am__cd) '$(distuninstallcheck_dir)' || { \
1832 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1835 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1836 || { echo "ERROR: files left after uninstall:" ; \
1837 if test -n "$(DESTDIR)"; then \
1838 echo " (check DESTDIR support)"; \
1840 $(distuninstallcheck_listfiles) ; \
1842 distcleancheck: distclean
1843 @if test '$(srcdir)' = . ; then \
1844 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1847 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1848 || { echo "ERROR: files left in build directory after distclean:" ; \
1849 $(distcleancheck_listfiles) ; \
1852 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1853 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1854 check: $(BUILT_SOURCES)
1855 $(MAKE) $(AM_MAKEFLAGS) check-am
1856 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \
1858 install-binPROGRAMS: install-libLTLIBRARIES
1861 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkgincludedir)" "$(DESTDIR)$(pkgincludedir)"; do \
1862 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1864 install: $(BUILT_SOURCES)
1865 $(MAKE) $(AM_MAKEFLAGS) install-am
1866 install-exec: install-exec-am
1867 install-data: install-data-am
1868 uninstall: uninstall-am
1871 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1873 installcheck: installcheck-am
1875 if test -z '$(STRIP)'; then \
1876 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1877 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1880 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1881 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1882 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1884 mostlyclean-generic:
1885 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1886 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
1887 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1890 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1893 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1894 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1895 -rm -f arm/$(DEPDIR)/$(am__dirstamp)
1896 -rm -f arm/$(am__dirstamp)
1897 -rm -f contrib/libtests/$(DEPDIR)/$(am__dirstamp)
1898 -rm -f contrib/libtests/$(am__dirstamp)
1899 -rm -f contrib/tools/$(DEPDIR)/$(am__dirstamp)
1900 -rm -f contrib/tools/$(am__dirstamp)
1902 maintainer-clean-generic:
1903 @echo "This command is intended for maintainers to use"
1904 @echo "it deletes files that may require special tools to rebuild."
1905 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1906 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
1907 @DO_INSTALL_LIBPNG_CONFIG_FALSE@@DO_INSTALL_LINKS_FALSE@install-exec-hook:
1908 @DO_INSTALL_LIBPNG_PC_FALSE@@DO_INSTALL_LINKS_FALSE@install-data-hook:
1909 @DO_INSTALL_LIBPNG_CONFIG_FALSE@@DO_INSTALL_LIBPNG_PC_FALSE@@DO_INSTALL_LINKS_FALSE@uninstall-hook:
1912 clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
1913 clean-libLTLIBRARIES clean-libtool mostlyclean-am
1915 distclean: distclean-am
1916 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1917 -rm -rf ./$(DEPDIR) arm/$(DEPDIR) contrib/libtests/$(DEPDIR) contrib/tools/$(DEPDIR)
1919 distclean-am: clean-am distclean-compile distclean-generic \
1920 distclean-hdr distclean-libtool distclean-tags
1934 install-data-am: install-man install-nodist_pkgincludeHEADERS \
1935 install-pkgconfigDATA install-pkgincludeHEADERS
1937 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
1938 install-dvi: install-dvi-am
1942 install-exec-am: install-binPROGRAMS install-binSCRIPTS \
1943 install-libLTLIBRARIES
1945 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
1946 install-html: install-html-am
1950 install-info: install-info-am
1954 install-man: install-man3 install-man5
1956 install-pdf: install-pdf-am
1960 install-ps: install-ps-am
1966 maintainer-clean: maintainer-clean-am
1967 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1968 -rm -rf $(top_srcdir)/autom4te.cache
1969 -rm -rf ./$(DEPDIR) arm/$(DEPDIR) contrib/libtests/$(DEPDIR) contrib/tools/$(DEPDIR)
1971 maintainer-clean-am: distclean-am maintainer-clean-generic
1973 mostlyclean: mostlyclean-am
1975 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1986 uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
1987 uninstall-libLTLIBRARIES uninstall-man \
1988 uninstall-nodist_pkgincludeHEADERS uninstall-pkgconfigDATA \
1989 uninstall-pkgincludeHEADERS
1991 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
1992 uninstall-man: uninstall-man3 uninstall-man5
1994 .MAKE: all check check-am install install-am install-data-am \
1995 install-exec-am install-strip uninstall-am
1997 .PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-TESTS \
1998 check-am clean clean-binPROGRAMS clean-checkPROGRAMS \
1999 clean-cscope clean-generic clean-libLTLIBRARIES clean-libtool \
2000 cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
2001 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
2002 dist-zip distcheck distclean distclean-compile \
2003 distclean-generic distclean-hdr distclean-libtool \
2004 distclean-tags distcleancheck distdir distuninstallcheck dvi \
2005 dvi-am html html-am info info-am install install-am \
2006 install-binPROGRAMS install-binSCRIPTS install-data \
2007 install-data-am install-data-hook install-dvi install-dvi-am \
2008 install-exec install-exec-am install-exec-hook install-html \
2009 install-html-am install-info install-info-am \
2010 install-libLTLIBRARIES install-man install-man3 install-man5 \
2011 install-nodist_pkgincludeHEADERS install-pdf install-pdf-am \
2012 install-pkgconfigDATA install-pkgincludeHEADERS install-ps \
2013 install-ps-am install-strip installcheck installcheck-am \
2014 installdirs maintainer-clean maintainer-clean-generic \
2015 mostlyclean mostlyclean-compile mostlyclean-generic \
2016 mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \
2017 uninstall uninstall-am uninstall-binPROGRAMS \
2018 uninstall-binSCRIPTS uninstall-hook uninstall-libLTLIBRARIES \
2019 uninstall-man uninstall-man3 uninstall-man5 \
2020 uninstall-nodist_pkgincludeHEADERS uninstall-pkgconfigDATA \
2021 uninstall-pkgincludeHEADERS
2026 $(PNGLIB_BASENAME).pc: libpng.pc
2029 $(PNGLIB_BASENAME)-config: libpng-config
2032 scripts/sym.out scripts/vers.out: png.h pngconf.h pnglibconf.h
2033 scripts/prefix.out: png.h pngconf.h pnglibconf.out
2034 scripts/symbols.out: png.h pngconf.h $(srcdir)/scripts/pnglibconf.h.prebuilt
2035 scripts/intprefix.out: pnglibconf.h
2037 libpng.sym: scripts/sym.out
2040 libpng.vers: scripts/vers.out
2044 # Rename functions in scripts/prefix.out with a PNG_PREFIX prefix.
2045 # Rename macros in scripts/macro.lst from PNG_PREFIXpng_ to PNG_ (the actual
2046 # implementation of the macro).
2047 @DO_PNG_PREFIX_TRUE@pnglibconf.h: pnglibconf.out scripts/prefix.out scripts/macro.lst
2048 @DO_PNG_PREFIX_TRUE@ rm -f $@
2049 @DO_PNG_PREFIX_TRUE@ $(AWK) 's==0 && NR>1{print prev}\
2050 @DO_PNG_PREFIX_TRUE@ s==0{prev=$$0}\
2051 @DO_PNG_PREFIX_TRUE@ s==1{print "#define", $$1, "@PNG_PREFIX@" $$1}\
2052 @DO_PNG_PREFIX_TRUE@ s==2{print "#define @PNG_PREFIX@png_" $$1, "PNG_" $$1}\
2053 @DO_PNG_PREFIX_TRUE@ END{print prev}' s=0 pnglibconf.out s=1 scripts/prefix.out\
2054 @DO_PNG_PREFIX_TRUE@ s=2 ${srcdir}/scripts/macro.lst >pnglibconf.tf8
2055 @DO_PNG_PREFIX_TRUE@ mv pnglibconf.tf8 $@
2057 @DO_PNG_PREFIX_TRUE@pngprefix.h: scripts/intprefix.out
2058 @DO_PNG_PREFIX_TRUE@ rm -f pngprefix.tf1
2059 @DO_PNG_PREFIX_TRUE@ $(AWK) '{print "#define", $$1, "@PNG_PREFIX@" $$1}' $? >pngprefix.tf1
2060 @DO_PNG_PREFIX_TRUE@ mv pngprefix.tf1 $@
2061 @DO_PNG_PREFIX_FALSE@pnglibconf.h: pnglibconf.out
2062 @DO_PNG_PREFIX_FALSE@ rm -f $@
2063 @DO_PNG_PREFIX_FALSE@ cp $? $@
2065 @DO_PNG_PREFIX_FALSE@pngprefix.h: # is empty
2066 @DO_PNG_PREFIX_FALSE@ :>$@
2068 $(srcdir)/scripts/pnglibconf.h.prebuilt:
2069 @echo "Attempting to build $@" >&2
2070 @echo "This is a machine generated file, but if you want to make" >&2
2071 @echo "a new one simply make 'scripts/pnglibconf.out', copy that" >&2
2072 @echo "AND set PNG_ZLIB_VERNUM to 0 (you MUST do this)" >&2
2075 # The following is necessary to ensure that the local pnglibconf.h is used, not
2076 # an installed one (this can happen immediately after on a clean system if
2077 # 'make test' is the first thing the user does.) Only files which include
2078 # one of the png source files (typically png.h or pngpriv.h) need to be listed
2080 pngtest.o: pnglibconf.h
2082 contrib/libtests/makepng.o: pnglibconf.h
2083 contrib/libtests/pngstest.o: pnglibconf.h
2084 contrib/libtests/pngunknown.o: pnglibconf.h
2085 contrib/libtests/pngimage.o: pnglibconf.h
2086 contrib/libtests/pngvalid.o: pnglibconf.h
2087 contrib/libtests/readpng.o: pnglibconf.h
2088 contrib/libtests/tarith.o: pnglibconf.h
2089 contrib/libtests/timepng.o: pnglibconf.h
2091 contrib/tools/makesRGB.o: pnglibconf.h
2092 contrib/tools/pngfix.o: pnglibconf.h
2096 test -d scripts || mkdir scripts || test -d scripts
2097 $(DFNCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)\
2098 $(CPPFLAGS) $(SYMBOL_CFLAGS) $< > $*.tf1
2099 $(AWK) -f "${srcdir}/scripts/dfn.awk" out="$*.tf2" $*.tf1 1>&2
2103 # The .c file for pnglibconf.h is machine generated
2104 pnglibconf.c: scripts/pnglibconf.dfa scripts/options.awk pngconf.h pngusr.dfa $(DFA_XTRA)
2106 $(AWK) -f ${srcdir}/scripts/options.awk out=$*.tf4 version=search\
2107 ${srcdir}/pngconf.h ${srcdir}/scripts/pnglibconf.dfa\
2108 ${srcdir}/pngusr.dfa $(DFA_XTRA) 1>&2
2109 $(AWK) -f ${srcdir}/scripts/options.awk out=$*.tf5 $*.tf4 1>&2
2113 # Symbol checks (.def and .out files should match)
2114 scripts/symbols.chk: scripts/checksym.awk scripts/symbols.def scripts/symbols.out
2118 $(AWK) -f ${srcdir}/scripts/checksym.awk ${srcdir}/scripts/${*F}.def\
2122 # used on demand to regenerate the standard header, CPPFLAGS should
2123 # be empty - no non-standard defines
2124 scripts/pnglibconf.c: scripts/pnglibconf.dfa scripts/options.awk pngconf.h
2125 rm -f $@ pnglibconf.tf[67]
2126 test -z "$(CPPFLAGS)"
2127 echo "com @PNGLIB_VERSION@ STANDARD API DEFINITION" |\
2128 $(AWK) -f ${srcdir}/scripts/options.awk out=pnglibconf.tf6\
2129 logunsupported=1 version=search ${srcdir}/pngconf.h -\
2130 ${srcdir}/scripts/pnglibconf.dfa 1>&2
2131 $(AWK) -f ${srcdir}/scripts/options.awk out=pnglibconf.tf7\
2134 mv pnglibconf.tf7 $@
2136 $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS): png.h pngconf.h \
2137 pnglibconf.h pngpriv.h pngdebug.h pnginfo.h pngstruct.h pngprefix.h
2142 check: scripts/symbols.chk
2144 # Don't distribute the generated script files
2146 cd '$(top_distdir)'; rm -f $(SCRIPT_CLEANFILES)
2148 # Make links between installed files with release-specific names and the generic
2149 # file names. If this install rule is run the generic names will be deleted and
2150 # recreated - this has obvious issues for systems with multiple installations.
2152 install-header-links:
2153 @set -ex; cd '$(DESTDIR)$(includedir)'; for f in $(HEADERS); do \
2154 rm -f "$$f"; $(LN_S) "$(PNGLIB_BASENAME)/$$f" "$$f"; done
2156 uninstall-header-links:
2157 cd '$(DESTDIR)$(includedir)'; rm -f $(HEADERS)
2160 @set -ex; cd '$(DESTDIR)$(pkgconfigdir)'; rm -f libpng.pc; \
2161 $(LN_S) '$(PNGLIB_BASENAME).pc' libpng.pc
2163 uninstall-libpng-pc:
2164 rm -f '$(DESTDIR)$(pkgconfigdir)/libpng.pc'
2166 install-library-links:
2167 @set -x; cd '$(DESTDIR)$(libdir)';\
2168 for ext in $(EXT_LIST); do\
2169 rm -f "libpng.$$ext";\
2170 if test -f "$(PNGLIB_BASENAME).$$ext"; then\
2171 $(LN_S) "$(PNGLIB_BASENAME).$$ext" "libpng.$$ext" || exit 1;\
2175 uninstall-library-links:
2176 @set -x; cd '$(DESTDIR)$(libdir)'; for ext in $(EXT_LIST); do\
2177 rm -f "libpng.$$ext"; done
2179 install-libpng-config:
2180 @set -ex; cd '$(DESTDIR)$(bindir)'; rm -f libpng-config; \
2181 $(LN_S) '$(PNGLIB_BASENAME)-config' libpng-config
2183 uninstall-libpng-config:
2184 rm -f '$(DESTDIR)$(bindir)/libpng-config'
2186 # If --enable-unversioned-links is specified the header and lib file links
2187 # will be automatically made on a 'make install':
2189 @DO_INSTALL_LINKS_TRUE@install-data-hook: install-header-links
2190 @DO_INSTALL_LINKS_TRUE@uninstall-hook: uninstall-header-links
2191 @DO_INSTALL_LINKS_TRUE@install-exec-hook: install-library-links
2192 @DO_INSTALL_LINKS_TRUE@uninstall-hook: uninstall-library-links
2194 # Likewise, --install-pc causes libpng.pc to be constructed:
2196 @DO_INSTALL_LIBPNG_PC_TRUE@install-data-hook: install-libpng-pc
2197 @DO_INSTALL_LIBPNG_PC_TRUE@uninstall-hook: uninstall-libpng-pc
2199 # And --install-config:
2201 @DO_INSTALL_LIBPNG_CONFIG_TRUE@install-exec-hook: install-libpng-config
2202 @DO_INSTALL_LIBPNG_CONFIG_TRUE@uninstall-hook: uninstall-libpng-config
2204 # The following addition ensures that 'make all' always builds the test programs
2205 # too. It used to, but some change either in libpng or configure stopped this
2207 all-am: $(check_PROGRAMS)
2209 # Tell versions [3.59,3.63) of GNU make to not export all variables.
2210 # Otherwise a system limit (for SysV at least) may be exceeded.