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