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