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