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