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