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