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