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