• 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-all\
740   tests/pngvalid-gamma-16-to-8 tests/pngvalid-gamma-alpha-mode\
741   tests/pngvalid-gamma-background tests/pngvalid-gamma-expand16-alpha-mode\
742   tests/pngvalid-gamma-expand16-background\
743   tests/pngvalid-gamma-expand16-transform tests/pngvalid-gamma-sbit\
744   tests/pngvalid-gamma-threshold tests/pngvalid-gamma-transform\
745   tests/pngvalid-progressive-size\
746   tests/pngvalid-progressive-interlace-standard\
747   tests/pngvalid-transform\
748   tests/pngvalid-progressive-standard tests/pngvalid-standard\
749   tests/pngstest-1.8 tests/pngstest-1.8-alpha tests/pngstest-linear\
750   tests/pngstest-linear-alpha tests/pngstest-none tests/pngstest-none-alpha\
751   tests/pngstest-sRGB tests/pngstest-sRGB-alpha tests/pngunknown-IDAT\
752   tests/pngunknown-discard tests/pngunknown-if-safe tests/pngunknown-sAPI\
753   tests/pngunknown-sTER tests/pngunknown-save tests/pngunknown-vpAg\
754   tests/pngimage-quick tests/pngimage-full
755
756
757# man pages
758dist_man_MANS = libpng.3 libpngpf.3 png.5
759EXTRA_SCRIPTS = libpng-config libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config
760bin_SCRIPTS = @binconfigs@
761
762# rules to build libpng, only build the old library on request
763lib_LTLIBRARIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
764# EXTRA_LTLIBRARIES= libpng.la
765libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES = png.c pngerror.c \
766	pngget.c pngmem.c pngpread.c pngread.c pngrio.c pngrtran.c \
767	pngrutil.c pngset.c pngtrans.c pngwio.c pngwrite.c pngwtran.c \
768	pngwutil.c png.h pngconf.h pngdebug.h pnginfo.h pngpriv.h \
769	pngstruct.h pngusr.dfa $(am__append_2) $(am__append_3) \
770	$(am__append_4) $(am__append_5)
771nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES = pnglibconf.h
772libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS = -no-undefined \
773	-export-dynamic -version-number \
774	@PNGLIB_MAJOR@@PNGLIB_MINOR@:@PNGLIB_RELEASE@:0 \
775	$(am__append_6) $(am__append_7) $(am__append_8)
776@HAVE_LD_VERSION_SCRIPT_FALSE@libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.sym
777@HAVE_LD_VERSION_SCRIPT_TRUE@libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.vers
778pkginclude_HEADERS = png.h pngconf.h
779nodist_pkginclude_HEADERS = pnglibconf.h
780pkgconfig_DATA = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc
781
782# Extra source distribution files, '${srcdir}' is used below to stop build files
783# from those directories being included.  This only works if the configure is
784# not done in the source directory!
785EXTRA_DIST = \
786	ANNOUNCE AUTHORS CHANGES INSTALL LICENSE README TODO TRADEMARK \
787	pngtest.png pngbar.png pngnow.png pngbar.jpg autogen.sh \
788	${srcdir}/contrib ${srcdir}/projects ${srcdir}/scripts \
789	$(TESTS) $(XFAIL_TESTS) tests/pngstest \
790	CMakeLists.txt example.c libpng-manual.txt
791
792SCRIPT_CLEANFILES = scripts/*.out scripts/*.chk
793CLEANFILES = *.tf? pngout.png libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc \
794	libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config libpng.vers libpng.sym \
795	check.new pnglibconf.h pngprefix.h symbols.new pngtest-log.txt \
796	pnglibconf.out pnglibconf.c pnglibconf.pre pnglibconf.dfn \
797	$(SCRIPT_CLEANFILES)
798
799MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
800config.sub configure depcomp install-sh ltmain.sh missing
801
802AM_CFLAGS = ${PNG_COPTS}
803SUFFIXES = .chk .out
804
805# We must use -DPNG_NO_USE_READ_MACROS here even when the library may actually
806# be built with PNG_USE_READ_MACROS; this prevents the read macros from
807# interfering with the symbol file format.
808SYMBOL_CFLAGS = -DPNGLIB_LIBNAME='PNG@PNGLIB_MAJOR@@PNGLIB_MINOR@_0' \
809	-DPNGLIB_VERSION='@PNGLIB_VERSION@' \
810	-DSYMBOL_PREFIX='$(SYMBOL_PREFIX)' -DPNG_NO_USE_READ_MACROS \
811	-DPNG_BUILDING_SYMBOL_TABLE $(am__append_9)
812
813# EXT_LIST is a list of the possibly library directory extensions, this exists
814# because we can't find a good way of discovering the file extensions that are
815# actually installed on a given system, so instead we check for every extension
816# we have seen.
817EXT_LIST = a dll.a so so.@PNGLIB_MAJOR@@PNGLIB_MINOR@.@PNGLIB_RELEASE@ la sl dylib
818all: $(BUILT_SOURCES) config.h
819	$(MAKE) $(AM_MAKEFLAGS) all-am
820
821.SUFFIXES:
822.SUFFIXES: .chk .out .S .c .lo .log .o .obj .test .test$(EXEEXT) .trs
823am--refresh: Makefile
824	@:
825$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
826	@for dep in $?; do \
827	  case '$(am__configure_deps)' in \
828	    *$$dep*) \
829	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
830	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
831		&& exit 0; \
832	      exit 1;; \
833	  esac; \
834	done; \
835	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
836	$(am__cd) $(top_srcdir) && \
837	  $(AUTOMAKE) --foreign Makefile
838Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
839	@case '$?' in \
840	  *config.status*) \
841	    echo ' $(SHELL) ./config.status'; \
842	    $(SHELL) ./config.status;; \
843	  *) \
844	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
845	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
846	esac;
847
848$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
849	$(SHELL) ./config.status --recheck
850
851$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
852	$(am__cd) $(srcdir) && $(AUTOCONF)
853$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
854	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
855$(am__aclocal_m4_deps):
856
857config.h: stamp-h1
858	@test -f $@ || rm -f stamp-h1
859	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
860
861stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
862	@rm -f stamp-h1
863	cd $(top_builddir) && $(SHELL) ./config.status config.h
864$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
865	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
866	rm -f stamp-h1
867	touch $@
868
869distclean-hdr:
870	-rm -f config.h stamp-h1
871libpng.pc: $(top_builddir)/config.status $(srcdir)/libpng.pc.in
872	cd $(top_builddir) && $(SHELL) ./config.status $@
873libpng-config: $(top_builddir)/config.status $(srcdir)/libpng-config.in
874	cd $(top_builddir) && $(SHELL) ./config.status $@
875install-binPROGRAMS: $(bin_PROGRAMS)
876	@$(NORMAL_INSTALL)
877	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
878	if test -n "$$list"; then \
879	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
880	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
881	fi; \
882	for p in $$list; do echo "$$p $$p"; done | \
883	sed 's/$(EXEEXT)$$//' | \
884	while read p p1; do if test -f $$p \
885	 || test -f $$p1 \
886	  ; then echo "$$p"; echo "$$p"; else :; fi; \
887	done | \
888	sed -e 'p;s,.*/,,;n;h' \
889	    -e 's|.*|.|' \
890	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
891	sed 'N;N;N;s,\n, ,g' | \
892	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
893	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
894	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
895	    else { print "f", $$3 "/" $$4, $$1; } } \
896	  END { for (d in files) print "f", d, files[d] }' | \
897	while read type dir files; do \
898	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
899	    test -z "$$files" || { \
900	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
901	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
902	    } \
903	; done
904
905uninstall-binPROGRAMS:
906	@$(NORMAL_UNINSTALL)
907	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
908	files=`for p in $$list; do echo "$$p"; done | \
909	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
910	      -e 's/$$/$(EXEEXT)/' \
911	`; \
912	test -n "$$list" || exit 0; \
913	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
914	cd "$(DESTDIR)$(bindir)" && rm -f $$files
915
916clean-binPROGRAMS:
917	@list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
918	echo " rm -f" $$list; \
919	rm -f $$list || exit $$?; \
920	test -n "$(EXEEXT)" || exit 0; \
921	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
922	echo " rm -f" $$list; \
923	rm -f $$list
924
925clean-checkPROGRAMS:
926	@list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
927	echo " rm -f" $$list; \
928	rm -f $$list || exit $$?; \
929	test -n "$(EXEEXT)" || exit 0; \
930	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
931	echo " rm -f" $$list; \
932	rm -f $$list
933
934install-libLTLIBRARIES: $(lib_LTLIBRARIES)
935	@$(NORMAL_INSTALL)
936	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
937	list2=; for p in $$list; do \
938	  if test -f $$p; then \
939	    list2="$$list2 $$p"; \
940	  else :; fi; \
941	done; \
942	test -z "$$list2" || { \
943	  echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
944	  $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
945	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
946	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
947	}
948
949uninstall-libLTLIBRARIES:
950	@$(NORMAL_UNINSTALL)
951	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
952	for p in $$list; do \
953	  $(am__strip_dir) \
954	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
955	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
956	done
957
958clean-libLTLIBRARIES:
959	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
960	@list='$(lib_LTLIBRARIES)'; \
961	locs=`for p in $$list; do echo $$p; done | \
962	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
963	      sort -u`; \
964	test -z "$$locs" || { \
965	  echo rm -f $${locs}; \
966	  rm -f $${locs}; \
967	}
968arm/$(am__dirstamp):
969	@$(MKDIR_P) arm
970	@: > arm/$(am__dirstamp)
971arm/$(DEPDIR)/$(am__dirstamp):
972	@$(MKDIR_P) arm/$(DEPDIR)
973	@: > arm/$(DEPDIR)/$(am__dirstamp)
974arm/arm_init.lo: arm/$(am__dirstamp) arm/$(DEPDIR)/$(am__dirstamp)
975arm/filter_neon.lo: arm/$(am__dirstamp) arm/$(DEPDIR)/$(am__dirstamp)
976arm/filter_neon_intrinsics.lo: arm/$(am__dirstamp) \
977	arm/$(DEPDIR)/$(am__dirstamp)
978arm/palette_neon_intrinsics.lo: arm/$(am__dirstamp) \
979	arm/$(DEPDIR)/$(am__dirstamp)
980mips/$(am__dirstamp):
981	@$(MKDIR_P) mips
982	@: > mips/$(am__dirstamp)
983mips/$(DEPDIR)/$(am__dirstamp):
984	@$(MKDIR_P) mips/$(DEPDIR)
985	@: > mips/$(DEPDIR)/$(am__dirstamp)
986mips/mips_init.lo: mips/$(am__dirstamp) mips/$(DEPDIR)/$(am__dirstamp)
987mips/filter_msa_intrinsics.lo: mips/$(am__dirstamp) \
988	mips/$(DEPDIR)/$(am__dirstamp)
989intel/$(am__dirstamp):
990	@$(MKDIR_P) intel
991	@: > intel/$(am__dirstamp)
992intel/$(DEPDIR)/$(am__dirstamp):
993	@$(MKDIR_P) intel/$(DEPDIR)
994	@: > intel/$(DEPDIR)/$(am__dirstamp)
995intel/intel_init.lo: intel/$(am__dirstamp) \
996	intel/$(DEPDIR)/$(am__dirstamp)
997intel/filter_sse2_intrinsics.lo: intel/$(am__dirstamp) \
998	intel/$(DEPDIR)/$(am__dirstamp)
999powerpc/$(am__dirstamp):
1000	@$(MKDIR_P) powerpc
1001	@: > powerpc/$(am__dirstamp)
1002powerpc/$(DEPDIR)/$(am__dirstamp):
1003	@$(MKDIR_P) powerpc/$(DEPDIR)
1004	@: > powerpc/$(DEPDIR)/$(am__dirstamp)
1005powerpc/powerpc_init.lo: powerpc/$(am__dirstamp) \
1006	powerpc/$(DEPDIR)/$(am__dirstamp)
1007powerpc/filter_vsx_intrinsics.lo: powerpc/$(am__dirstamp) \
1008	powerpc/$(DEPDIR)/$(am__dirstamp)
1009
1010libpng@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)
1011	$(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)
1012contrib/tools/$(am__dirstamp):
1013	@$(MKDIR_P) contrib/tools
1014	@: > contrib/tools/$(am__dirstamp)
1015contrib/tools/$(DEPDIR)/$(am__dirstamp):
1016	@$(MKDIR_P) contrib/tools/$(DEPDIR)
1017	@: > contrib/tools/$(DEPDIR)/$(am__dirstamp)
1018contrib/tools/png-fix-itxt.$(OBJEXT): contrib/tools/$(am__dirstamp) \
1019	contrib/tools/$(DEPDIR)/$(am__dirstamp)
1020
1021png-fix-itxt$(EXEEXT): $(png_fix_itxt_OBJECTS) $(png_fix_itxt_DEPENDENCIES) $(EXTRA_png_fix_itxt_DEPENDENCIES)
1022	@rm -f png-fix-itxt$(EXEEXT)
1023	$(AM_V_CCLD)$(LINK) $(png_fix_itxt_OBJECTS) $(png_fix_itxt_LDADD) $(LIBS)
1024contrib/tools/pngcp.$(OBJEXT): contrib/tools/$(am__dirstamp) \
1025	contrib/tools/$(DEPDIR)/$(am__dirstamp)
1026
1027pngcp$(EXEEXT): $(pngcp_OBJECTS) $(pngcp_DEPENDENCIES) $(EXTRA_pngcp_DEPENDENCIES)
1028	@rm -f pngcp$(EXEEXT)
1029	$(AM_V_CCLD)$(LINK) $(pngcp_OBJECTS) $(pngcp_LDADD) $(LIBS)
1030contrib/tools/pngfix.$(OBJEXT): contrib/tools/$(am__dirstamp) \
1031	contrib/tools/$(DEPDIR)/$(am__dirstamp)
1032
1033pngfix$(EXEEXT): $(pngfix_OBJECTS) $(pngfix_DEPENDENCIES) $(EXTRA_pngfix_DEPENDENCIES)
1034	@rm -f pngfix$(EXEEXT)
1035	$(AM_V_CCLD)$(LINK) $(pngfix_OBJECTS) $(pngfix_LDADD) $(LIBS)
1036contrib/libtests/$(am__dirstamp):
1037	@$(MKDIR_P) contrib/libtests
1038	@: > contrib/libtests/$(am__dirstamp)
1039contrib/libtests/$(DEPDIR)/$(am__dirstamp):
1040	@$(MKDIR_P) contrib/libtests/$(DEPDIR)
1041	@: > contrib/libtests/$(DEPDIR)/$(am__dirstamp)
1042contrib/libtests/pngimage.$(OBJEXT): contrib/libtests/$(am__dirstamp) \
1043	contrib/libtests/$(DEPDIR)/$(am__dirstamp)
1044
1045pngimage$(EXEEXT): $(pngimage_OBJECTS) $(pngimage_DEPENDENCIES) $(EXTRA_pngimage_DEPENDENCIES)
1046	@rm -f pngimage$(EXEEXT)
1047	$(AM_V_CCLD)$(LINK) $(pngimage_OBJECTS) $(pngimage_LDADD) $(LIBS)
1048contrib/libtests/pngstest.$(OBJEXT): contrib/libtests/$(am__dirstamp) \
1049	contrib/libtests/$(DEPDIR)/$(am__dirstamp)
1050
1051pngstest$(EXEEXT): $(pngstest_OBJECTS) $(pngstest_DEPENDENCIES) $(EXTRA_pngstest_DEPENDENCIES)
1052	@rm -f pngstest$(EXEEXT)
1053	$(AM_V_CCLD)$(LINK) $(pngstest_OBJECTS) $(pngstest_LDADD) $(LIBS)
1054
1055pngtest$(EXEEXT): $(pngtest_OBJECTS) $(pngtest_DEPENDENCIES) $(EXTRA_pngtest_DEPENDENCIES)
1056	@rm -f pngtest$(EXEEXT)
1057	$(AM_V_CCLD)$(LINK) $(pngtest_OBJECTS) $(pngtest_LDADD) $(LIBS)
1058contrib/libtests/pngunknown.$(OBJEXT):  \
1059	contrib/libtests/$(am__dirstamp) \
1060	contrib/libtests/$(DEPDIR)/$(am__dirstamp)
1061
1062pngunknown$(EXEEXT): $(pngunknown_OBJECTS) $(pngunknown_DEPENDENCIES) $(EXTRA_pngunknown_DEPENDENCIES)
1063	@rm -f pngunknown$(EXEEXT)
1064	$(AM_V_CCLD)$(LINK) $(pngunknown_OBJECTS) $(pngunknown_LDADD) $(LIBS)
1065contrib/libtests/pngvalid.$(OBJEXT): contrib/libtests/$(am__dirstamp) \
1066	contrib/libtests/$(DEPDIR)/$(am__dirstamp)
1067
1068pngvalid$(EXEEXT): $(pngvalid_OBJECTS) $(pngvalid_DEPENDENCIES) $(EXTRA_pngvalid_DEPENDENCIES)
1069	@rm -f pngvalid$(EXEEXT)
1070	$(AM_V_CCLD)$(LINK) $(pngvalid_OBJECTS) $(pngvalid_LDADD) $(LIBS)
1071contrib/libtests/timepng.$(OBJEXT): contrib/libtests/$(am__dirstamp) \
1072	contrib/libtests/$(DEPDIR)/$(am__dirstamp)
1073
1074timepng$(EXEEXT): $(timepng_OBJECTS) $(timepng_DEPENDENCIES) $(EXTRA_timepng_DEPENDENCIES)
1075	@rm -f timepng$(EXEEXT)
1076	$(AM_V_CCLD)$(LINK) $(timepng_OBJECTS) $(timepng_LDADD) $(LIBS)
1077install-binSCRIPTS: $(bin_SCRIPTS)
1078	@$(NORMAL_INSTALL)
1079	@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
1080	if test -n "$$list"; then \
1081	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
1082	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
1083	fi; \
1084	for p in $$list; do \
1085	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1086	  if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
1087	done | \
1088	sed -e 'p;s,.*/,,;n' \
1089	    -e 'h;s|.*|.|' \
1090	    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
1091	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
1092	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
1093	    if ($$2 == $$4) { files[d] = files[d] " " $$1; \
1094	      if (++n[d] == $(am__install_max)) { \
1095		print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
1096	    else { print "f", d "/" $$4, $$1 } } \
1097	  END { for (d in files) print "f", d, files[d] }' | \
1098	while read type dir files; do \
1099	     if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
1100	     test -z "$$files" || { \
1101	       echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
1102	       $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
1103	     } \
1104	; done
1105
1106uninstall-binSCRIPTS:
1107	@$(NORMAL_UNINSTALL)
1108	@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
1109	files=`for p in $$list; do echo "$$p"; done | \
1110	       sed -e 's,.*/,,;$(transform)'`; \
1111	dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
1112
1113mostlyclean-compile:
1114	-rm -f *.$(OBJEXT)
1115	-rm -f arm/*.$(OBJEXT)
1116	-rm -f arm/*.lo
1117	-rm -f contrib/libtests/*.$(OBJEXT)
1118	-rm -f contrib/tools/*.$(OBJEXT)
1119	-rm -f intel/*.$(OBJEXT)
1120	-rm -f intel/*.lo
1121	-rm -f mips/*.$(OBJEXT)
1122	-rm -f mips/*.lo
1123	-rm -f powerpc/*.$(OBJEXT)
1124	-rm -f powerpc/*.lo
1125
1126distclean-compile:
1127	-rm -f *.tab.c
1128
1129@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/png.Plo@am__quote@ # am--include-marker
1130@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngerror.Plo@am__quote@ # am--include-marker
1131@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngget.Plo@am__quote@ # am--include-marker
1132@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngmem.Plo@am__quote@ # am--include-marker
1133@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngpread.Plo@am__quote@ # am--include-marker
1134@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngread.Plo@am__quote@ # am--include-marker
1135@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrio.Plo@am__quote@ # am--include-marker
1136@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrtran.Plo@am__quote@ # am--include-marker
1137@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrutil.Plo@am__quote@ # am--include-marker
1138@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngset.Plo@am__quote@ # am--include-marker
1139@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngtest.Po@am__quote@ # am--include-marker
1140@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngtrans.Plo@am__quote@ # am--include-marker
1141@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwio.Plo@am__quote@ # am--include-marker
1142@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwrite.Plo@am__quote@ # am--include-marker
1143@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwtran.Plo@am__quote@ # am--include-marker
1144@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwutil.Plo@am__quote@ # am--include-marker
1145@AMDEP_TRUE@@am__include@ @am__quote@arm/$(DEPDIR)/arm_init.Plo@am__quote@ # am--include-marker
1146@AMDEP_TRUE@@am__include@ @am__quote@arm/$(DEPDIR)/filter_neon.Plo@am__quote@ # am--include-marker
1147@AMDEP_TRUE@@am__include@ @am__quote@arm/$(DEPDIR)/filter_neon_intrinsics.Plo@am__quote@ # am--include-marker
1148@AMDEP_TRUE@@am__include@ @am__quote@arm/$(DEPDIR)/palette_neon_intrinsics.Plo@am__quote@ # am--include-marker
1149@AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngimage.Po@am__quote@ # am--include-marker
1150@AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngstest.Po@am__quote@ # am--include-marker
1151@AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngunknown.Po@am__quote@ # am--include-marker
1152@AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngvalid.Po@am__quote@ # am--include-marker
1153@AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/timepng.Po@am__quote@ # am--include-marker
1154@AMDEP_TRUE@@am__include@ @am__quote@contrib/tools/$(DEPDIR)/png-fix-itxt.Po@am__quote@ # am--include-marker
1155@AMDEP_TRUE@@am__include@ @am__quote@contrib/tools/$(DEPDIR)/pngcp.Po@am__quote@ # am--include-marker
1156@AMDEP_TRUE@@am__include@ @am__quote@contrib/tools/$(DEPDIR)/pngfix.Po@am__quote@ # am--include-marker
1157@AMDEP_TRUE@@am__include@ @am__quote@intel/$(DEPDIR)/filter_sse2_intrinsics.Plo@am__quote@ # am--include-marker
1158@AMDEP_TRUE@@am__include@ @am__quote@intel/$(DEPDIR)/intel_init.Plo@am__quote@ # am--include-marker
1159@AMDEP_TRUE@@am__include@ @am__quote@mips/$(DEPDIR)/filter_msa_intrinsics.Plo@am__quote@ # am--include-marker
1160@AMDEP_TRUE@@am__include@ @am__quote@mips/$(DEPDIR)/mips_init.Plo@am__quote@ # am--include-marker
1161@AMDEP_TRUE@@am__include@ @am__quote@powerpc/$(DEPDIR)/filter_vsx_intrinsics.Plo@am__quote@ # am--include-marker
1162@AMDEP_TRUE@@am__include@ @am__quote@powerpc/$(DEPDIR)/powerpc_init.Plo@am__quote@ # am--include-marker
1163
1164$(am__depfiles_remade):
1165	@$(MKDIR_P) $(@D)
1166	@echo '# dummy' >$@-t && $(am__mv) $@-t $@
1167
1168am--depfiles: $(am__depfiles_remade)
1169
1170.S.o:
1171@am__fastdepCCAS_TRUE@	$(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
1172@am__fastdepCCAS_TRUE@	$(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1173@am__fastdepCCAS_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
1174@AMDEP_TRUE@@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1175@AMDEP_TRUE@@am__fastdepCCAS_FALSE@	DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1176@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ $<
1177
1178.S.obj:
1179@am__fastdepCCAS_TRUE@	$(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
1180@am__fastdepCCAS_TRUE@	$(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
1181@am__fastdepCCAS_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
1182@AMDEP_TRUE@@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1183@AMDEP_TRUE@@am__fastdepCCAS_FALSE@	DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1184@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1185
1186.S.lo:
1187@am__fastdepCCAS_TRUE@	$(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
1188@am__fastdepCCAS_TRUE@	$(LTCPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1189@am__fastdepCCAS_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Plo
1190@AMDEP_TRUE@@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
1191@AMDEP_TRUE@@am__fastdepCCAS_FALSE@	DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1192@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS@am__nodep@)$(LTCPPASCOMPILE) -c -o $@ $<
1193
1194.c.o:
1195@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
1196@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1197@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
1198@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1199@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1200@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
1201
1202.c.obj:
1203@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
1204@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
1205@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
1206@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1207@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1208@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1209
1210.c.lo:
1211@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
1212@am__fastdepCC_TRUE@	$(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1213@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Plo
1214@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
1215@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1216@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
1217
1218mostlyclean-libtool:
1219	-rm -f *.lo
1220
1221clean-libtool:
1222	-rm -rf .libs _libs
1223	-rm -rf arm/.libs arm/_libs
1224	-rm -rf intel/.libs intel/_libs
1225	-rm -rf mips/.libs mips/_libs
1226	-rm -rf powerpc/.libs powerpc/_libs
1227
1228distclean-libtool:
1229	-rm -f libtool config.lt
1230install-man3: $(dist_man_MANS)
1231	@$(NORMAL_INSTALL)
1232	@list1=''; \
1233	list2='$(dist_man_MANS)'; \
1234	test -n "$(man3dir)" \
1235	  && test -n "`echo $$list1$$list2`" \
1236	  || exit 0; \
1237	echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
1238	$(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
1239	{ for i in $$list1; do echo "$$i"; done;  \
1240	if test -n "$$list2"; then \
1241	  for i in $$list2; do echo "$$i"; done \
1242	    | sed -n '/\.3[a-z]*$$/p'; \
1243	fi; \
1244	} | while read p; do \
1245	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
1246	  echo "$$d$$p"; echo "$$p"; \
1247	done | \
1248	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
1249	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
1250	sed 'N;N;s,\n, ,g' | { \
1251	list=; while read file base inst; do \
1252	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
1253	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
1254	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
1255	  fi; \
1256	done; \
1257	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
1258	while read files; do \
1259	  test -z "$$files" || { \
1260	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
1261	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
1262	done; }
1263
1264uninstall-man3:
1265	@$(NORMAL_UNINSTALL)
1266	@list=''; test -n "$(man3dir)" || exit 0; \
1267	files=`{ for i in $$list; do echo "$$i"; done; \
1268	l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1269	  sed -n '/\.3[a-z]*$$/p'; \
1270	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
1271	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
1272	dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
1273install-man5: $(dist_man_MANS)
1274	@$(NORMAL_INSTALL)
1275	@list1=''; \
1276	list2='$(dist_man_MANS)'; \
1277	test -n "$(man5dir)" \
1278	  && test -n "`echo $$list1$$list2`" \
1279	  || exit 0; \
1280	echo " $(MKDIR_P) '$(DESTDIR)$(man5dir)'"; \
1281	$(MKDIR_P) "$(DESTDIR)$(man5dir)" || exit 1; \
1282	{ for i in $$list1; do echo "$$i"; done;  \
1283	if test -n "$$list2"; then \
1284	  for i in $$list2; do echo "$$i"; done \
1285	    | sed -n '/\.5[a-z]*$$/p'; \
1286	fi; \
1287	} | while read p; do \
1288	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
1289	  echo "$$d$$p"; echo "$$p"; \
1290	done | \
1291	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
1292	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
1293	sed 'N;N;s,\n, ,g' | { \
1294	list=; while read file base inst; do \
1295	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
1296	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
1297	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \
1298	  fi; \
1299	done; \
1300	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
1301	while read files; do \
1302	  test -z "$$files" || { \
1303	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \
1304	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \
1305	done; }
1306
1307uninstall-man5:
1308	@$(NORMAL_UNINSTALL)
1309	@list=''; test -n "$(man5dir)" || exit 0; \
1310	files=`{ for i in $$list; do echo "$$i"; done; \
1311	l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1312	  sed -n '/\.5[a-z]*$$/p'; \
1313	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
1314	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
1315	dir='$(DESTDIR)$(man5dir)'; $(am__uninstall_files_from_dir)
1316install-pkgconfigDATA: $(pkgconfig_DATA)
1317	@$(NORMAL_INSTALL)
1318	@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
1319	if test -n "$$list"; then \
1320	  echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
1321	  $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
1322	fi; \
1323	for p in $$list; do \
1324	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1325	  echo "$$d$$p"; \
1326	done | $(am__base_list) | \
1327	while read files; do \
1328	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
1329	  $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
1330	done
1331
1332uninstall-pkgconfigDATA:
1333	@$(NORMAL_UNINSTALL)
1334	@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
1335	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1336	dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
1337install-nodist_pkgincludeHEADERS: $(nodist_pkginclude_HEADERS)
1338	@$(NORMAL_INSTALL)
1339	@list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
1340	if test -n "$$list"; then \
1341	  echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \
1342	  $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \
1343	fi; \
1344	for p in $$list; do \
1345	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1346	  echo "$$d$$p"; \
1347	done | $(am__base_list) | \
1348	while read files; do \
1349	  echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
1350	  $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
1351	done
1352
1353uninstall-nodist_pkgincludeHEADERS:
1354	@$(NORMAL_UNINSTALL)
1355	@list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
1356	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1357	dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir)
1358install-pkgincludeHEADERS: $(pkginclude_HEADERS)
1359	@$(NORMAL_INSTALL)
1360	@list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
1361	if test -n "$$list"; then \
1362	  echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \
1363	  $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \
1364	fi; \
1365	for p in $$list; do \
1366	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1367	  echo "$$d$$p"; \
1368	done | $(am__base_list) | \
1369	while read files; do \
1370	  echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
1371	  $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
1372	done
1373
1374uninstall-pkgincludeHEADERS:
1375	@$(NORMAL_UNINSTALL)
1376	@list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
1377	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1378	dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir)
1379
1380ID: $(am__tagged_files)
1381	$(am__define_uniq_tagged_files); mkid -fID $$unique
1382tags: tags-am
1383TAGS: tags
1384
1385tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1386	set x; \
1387	here=`pwd`; \
1388	$(am__define_uniq_tagged_files); \
1389	shift; \
1390	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1391	  test -n "$$unique" || unique=$$empty_fix; \
1392	  if test $$# -gt 0; then \
1393	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1394	      "$$@" $$unique; \
1395	  else \
1396	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1397	      $$unique; \
1398	  fi; \
1399	fi
1400ctags: ctags-am
1401
1402CTAGS: ctags
1403ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1404	$(am__define_uniq_tagged_files); \
1405	test -z "$(CTAGS_ARGS)$$unique" \
1406	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1407	     $$unique
1408
1409GTAGS:
1410	here=`$(am__cd) $(top_builddir) && pwd` \
1411	  && $(am__cd) $(top_srcdir) \
1412	  && gtags -i $(GTAGS_ARGS) "$$here"
1413cscope: cscope.files
1414	test ! -s cscope.files \
1415	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
1416clean-cscope:
1417	-rm -f cscope.files
1418cscope.files: clean-cscope cscopelist
1419cscopelist: cscopelist-am
1420
1421cscopelist-am: $(am__tagged_files)
1422	list='$(am__tagged_files)'; \
1423	case "$(srcdir)" in \
1424	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1425	  *) sdir=$(subdir)/$(srcdir) ;; \
1426	esac; \
1427	for i in $$list; do \
1428	  if test -f "$$i"; then \
1429	    echo "$(subdir)/$$i"; \
1430	  else \
1431	    echo "$$sdir/$$i"; \
1432	  fi; \
1433	done >> $(top_builddir)/cscope.files
1434
1435distclean-tags:
1436	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1437	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
1438
1439# Recover from deleted '.trs' file; this should ensure that
1440# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
1441# both 'foo.log' and 'foo.trs'.  Break the recipe in two subshells
1442# to avoid problems with "make -n".
1443.log.trs:
1444	rm -f $< $@
1445	$(MAKE) $(AM_MAKEFLAGS) $<
1446
1447# Leading 'am--fnord' is there to ensure the list of targets does not
1448# expand to empty, as could happen e.g. with make check TESTS=''.
1449am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
1450am--force-recheck:
1451	@:
1452
1453$(TEST_SUITE_LOG): $(TEST_LOGS)
1454	@$(am__set_TESTS_bases); \
1455	am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
1456	redo_bases=`for i in $$bases; do \
1457	              am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
1458	            done`; \
1459	if test -n "$$redo_bases"; then \
1460	  redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
1461	  redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
1462	  if $(am__make_dryrun); then :; else \
1463	    rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
1464	  fi; \
1465	fi; \
1466	if test -n "$$am__remaking_logs"; then \
1467	  echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
1468	       "recursion detected" >&2; \
1469	elif test -n "$$redo_logs"; then \
1470	  am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
1471	fi; \
1472	if $(am__make_dryrun); then :; else \
1473	  st=0;  \
1474	  errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
1475	  for i in $$redo_bases; do \
1476	    test -f $$i.trs && test -r $$i.trs \
1477	      || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
1478	    test -f $$i.log && test -r $$i.log \
1479	      || { echo "$$errmsg $$i.log" >&2; st=1; }; \
1480	  done; \
1481	  test $$st -eq 0 || exit 1; \
1482	fi
1483	@$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
1484	ws='[ 	]'; \
1485	results=`for b in $$bases; do echo $$b.trs; done`; \
1486	test -n "$$results" || results=/dev/null; \
1487	all=`  grep "^$$ws*:test-result:"           $$results | wc -l`; \
1488	pass=` grep "^$$ws*:test-result:$$ws*PASS"  $$results | wc -l`; \
1489	fail=` grep "^$$ws*:test-result:$$ws*FAIL"  $$results | wc -l`; \
1490	skip=` grep "^$$ws*:test-result:$$ws*SKIP"  $$results | wc -l`; \
1491	xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
1492	xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
1493	error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
1494	if test `expr $$fail + $$xpass + $$error` -eq 0; then \
1495	  success=true; \
1496	else \
1497	  success=false; \
1498	fi; \
1499	br='==================='; br=$$br$$br$$br$$br; \
1500	result_count () \
1501	{ \
1502	    if test x"$$1" = x"--maybe-color"; then \
1503	      maybe_colorize=yes; \
1504	    elif test x"$$1" = x"--no-color"; then \
1505	      maybe_colorize=no; \
1506	    else \
1507	      echo "$@: invalid 'result_count' usage" >&2; exit 4; \
1508	    fi; \
1509	    shift; \
1510	    desc=$$1 count=$$2; \
1511	    if test $$maybe_colorize = yes && test $$count -gt 0; then \
1512	      color_start=$$3 color_end=$$std; \
1513	    else \
1514	      color_start= color_end=; \
1515	    fi; \
1516	    echo "$${color_start}# $$desc $$count$${color_end}"; \
1517	}; \
1518	create_testsuite_report () \
1519	{ \
1520	  result_count $$1 "TOTAL:" $$all   "$$brg"; \
1521	  result_count $$1 "PASS: " $$pass  "$$grn"; \
1522	  result_count $$1 "SKIP: " $$skip  "$$blu"; \
1523	  result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
1524	  result_count $$1 "FAIL: " $$fail  "$$red"; \
1525	  result_count $$1 "XPASS:" $$xpass "$$red"; \
1526	  result_count $$1 "ERROR:" $$error "$$mgn"; \
1527	}; \
1528	{								\
1529	  echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |	\
1530	    $(am__rst_title);						\
1531	  create_testsuite_report --no-color;				\
1532	  echo;								\
1533	  echo ".. contents:: :depth: 2";				\
1534	  echo;								\
1535	  for b in $$bases; do echo $$b; done				\
1536	    | $(am__create_global_log);					\
1537	} >$(TEST_SUITE_LOG).tmp || exit 1;				\
1538	mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);			\
1539	if $$success; then						\
1540	  col="$$grn";							\
1541	 else								\
1542	  col="$$red";							\
1543	  test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG);		\
1544	fi;								\
1545	echo "$${col}$$br$${std}"; 					\
1546	echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}";	\
1547	echo "$${col}$$br$${std}"; 					\
1548	create_testsuite_report --maybe-color;				\
1549	echo "$$col$$br$$std";						\
1550	if $$success; then :; else					\
1551	  echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}";		\
1552	  if test -n "$(PACKAGE_BUGREPORT)"; then			\
1553	    echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}";	\
1554	  fi;								\
1555	  echo "$$col$$br$$std";					\
1556	fi;								\
1557	$$success || exit 1
1558
1559check-TESTS: $(check_PROGRAMS)
1560	@list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
1561	@list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
1562	@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1563	@set +e; $(am__set_TESTS_bases); \
1564	log_list=`for i in $$bases; do echo $$i.log; done`; \
1565	trs_list=`for i in $$bases; do echo $$i.trs; done`; \
1566	log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
1567	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1568	exit $$?;
1569recheck: all $(check_PROGRAMS)
1570	@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1571	@set +e; $(am__set_TESTS_bases); \
1572	bases=`for i in $$bases; do echo $$i; done \
1573	         | $(am__list_recheck_tests)` || exit 1; \
1574	log_list=`for i in $$bases; do echo $$i.log; done`; \
1575	log_list=`echo $$log_list`; \
1576	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
1577	        am__force_recheck=am--force-recheck \
1578	        TEST_LOGS="$$log_list"; \
1579	exit $$?
1580tests/pngtest-all.log: tests/pngtest-all
1581	@p='tests/pngtest-all'; \
1582	b='tests/pngtest-all'; \
1583	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1584	--log-file $$b.log --trs-file $$b.trs \
1585	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1586	"$$tst" $(AM_TESTS_FD_REDIRECT)
1587tests/pngvalid-gamma-16-to-8.log: tests/pngvalid-gamma-16-to-8
1588	@p='tests/pngvalid-gamma-16-to-8'; \
1589	b='tests/pngvalid-gamma-16-to-8'; \
1590	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1591	--log-file $$b.log --trs-file $$b.trs \
1592	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1593	"$$tst" $(AM_TESTS_FD_REDIRECT)
1594tests/pngvalid-gamma-alpha-mode.log: tests/pngvalid-gamma-alpha-mode
1595	@p='tests/pngvalid-gamma-alpha-mode'; \
1596	b='tests/pngvalid-gamma-alpha-mode'; \
1597	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1598	--log-file $$b.log --trs-file $$b.trs \
1599	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1600	"$$tst" $(AM_TESTS_FD_REDIRECT)
1601tests/pngvalid-gamma-background.log: tests/pngvalid-gamma-background
1602	@p='tests/pngvalid-gamma-background'; \
1603	b='tests/pngvalid-gamma-background'; \
1604	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1605	--log-file $$b.log --trs-file $$b.trs \
1606	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1607	"$$tst" $(AM_TESTS_FD_REDIRECT)
1608tests/pngvalid-gamma-expand16-alpha-mode.log: tests/pngvalid-gamma-expand16-alpha-mode
1609	@p='tests/pngvalid-gamma-expand16-alpha-mode'; \
1610	b='tests/pngvalid-gamma-expand16-alpha-mode'; \
1611	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1612	--log-file $$b.log --trs-file $$b.trs \
1613	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1614	"$$tst" $(AM_TESTS_FD_REDIRECT)
1615tests/pngvalid-gamma-expand16-background.log: tests/pngvalid-gamma-expand16-background
1616	@p='tests/pngvalid-gamma-expand16-background'; \
1617	b='tests/pngvalid-gamma-expand16-background'; \
1618	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1619	--log-file $$b.log --trs-file $$b.trs \
1620	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1621	"$$tst" $(AM_TESTS_FD_REDIRECT)
1622tests/pngvalid-gamma-expand16-transform.log: tests/pngvalid-gamma-expand16-transform
1623	@p='tests/pngvalid-gamma-expand16-transform'; \
1624	b='tests/pngvalid-gamma-expand16-transform'; \
1625	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1626	--log-file $$b.log --trs-file $$b.trs \
1627	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1628	"$$tst" $(AM_TESTS_FD_REDIRECT)
1629tests/pngvalid-gamma-sbit.log: tests/pngvalid-gamma-sbit
1630	@p='tests/pngvalid-gamma-sbit'; \
1631	b='tests/pngvalid-gamma-sbit'; \
1632	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1633	--log-file $$b.log --trs-file $$b.trs \
1634	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1635	"$$tst" $(AM_TESTS_FD_REDIRECT)
1636tests/pngvalid-gamma-threshold.log: tests/pngvalid-gamma-threshold
1637	@p='tests/pngvalid-gamma-threshold'; \
1638	b='tests/pngvalid-gamma-threshold'; \
1639	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1640	--log-file $$b.log --trs-file $$b.trs \
1641	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1642	"$$tst" $(AM_TESTS_FD_REDIRECT)
1643tests/pngvalid-gamma-transform.log: tests/pngvalid-gamma-transform
1644	@p='tests/pngvalid-gamma-transform'; \
1645	b='tests/pngvalid-gamma-transform'; \
1646	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1647	--log-file $$b.log --trs-file $$b.trs \
1648	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1649	"$$tst" $(AM_TESTS_FD_REDIRECT)
1650tests/pngvalid-progressive-size.log: tests/pngvalid-progressive-size
1651	@p='tests/pngvalid-progressive-size'; \
1652	b='tests/pngvalid-progressive-size'; \
1653	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1654	--log-file $$b.log --trs-file $$b.trs \
1655	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1656	"$$tst" $(AM_TESTS_FD_REDIRECT)
1657tests/pngvalid-progressive-interlace-standard.log: tests/pngvalid-progressive-interlace-standard
1658	@p='tests/pngvalid-progressive-interlace-standard'; \
1659	b='tests/pngvalid-progressive-interlace-standard'; \
1660	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1661	--log-file $$b.log --trs-file $$b.trs \
1662	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1663	"$$tst" $(AM_TESTS_FD_REDIRECT)
1664tests/pngvalid-transform.log: tests/pngvalid-transform
1665	@p='tests/pngvalid-transform'; \
1666	b='tests/pngvalid-transform'; \
1667	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1668	--log-file $$b.log --trs-file $$b.trs \
1669	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1670	"$$tst" $(AM_TESTS_FD_REDIRECT)
1671tests/pngvalid-progressive-standard.log: tests/pngvalid-progressive-standard
1672	@p='tests/pngvalid-progressive-standard'; \
1673	b='tests/pngvalid-progressive-standard'; \
1674	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1675	--log-file $$b.log --trs-file $$b.trs \
1676	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1677	"$$tst" $(AM_TESTS_FD_REDIRECT)
1678tests/pngvalid-standard.log: tests/pngvalid-standard
1679	@p='tests/pngvalid-standard'; \
1680	b='tests/pngvalid-standard'; \
1681	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1682	--log-file $$b.log --trs-file $$b.trs \
1683	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1684	"$$tst" $(AM_TESTS_FD_REDIRECT)
1685tests/pngstest-1.8.log: tests/pngstest-1.8
1686	@p='tests/pngstest-1.8'; \
1687	b='tests/pngstest-1.8'; \
1688	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1689	--log-file $$b.log --trs-file $$b.trs \
1690	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1691	"$$tst" $(AM_TESTS_FD_REDIRECT)
1692tests/pngstest-1.8-alpha.log: tests/pngstest-1.8-alpha
1693	@p='tests/pngstest-1.8-alpha'; \
1694	b='tests/pngstest-1.8-alpha'; \
1695	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1696	--log-file $$b.log --trs-file $$b.trs \
1697	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1698	"$$tst" $(AM_TESTS_FD_REDIRECT)
1699tests/pngstest-linear.log: tests/pngstest-linear
1700	@p='tests/pngstest-linear'; \
1701	b='tests/pngstest-linear'; \
1702	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1703	--log-file $$b.log --trs-file $$b.trs \
1704	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1705	"$$tst" $(AM_TESTS_FD_REDIRECT)
1706tests/pngstest-linear-alpha.log: tests/pngstest-linear-alpha
1707	@p='tests/pngstest-linear-alpha'; \
1708	b='tests/pngstest-linear-alpha'; \
1709	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1710	--log-file $$b.log --trs-file $$b.trs \
1711	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1712	"$$tst" $(AM_TESTS_FD_REDIRECT)
1713tests/pngstest-none.log: tests/pngstest-none
1714	@p='tests/pngstest-none'; \
1715	b='tests/pngstest-none'; \
1716	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1717	--log-file $$b.log --trs-file $$b.trs \
1718	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1719	"$$tst" $(AM_TESTS_FD_REDIRECT)
1720tests/pngstest-none-alpha.log: tests/pngstest-none-alpha
1721	@p='tests/pngstest-none-alpha'; \
1722	b='tests/pngstest-none-alpha'; \
1723	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1724	--log-file $$b.log --trs-file $$b.trs \
1725	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1726	"$$tst" $(AM_TESTS_FD_REDIRECT)
1727tests/pngstest-sRGB.log: tests/pngstest-sRGB
1728	@p='tests/pngstest-sRGB'; \
1729	b='tests/pngstest-sRGB'; \
1730	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1731	--log-file $$b.log --trs-file $$b.trs \
1732	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1733	"$$tst" $(AM_TESTS_FD_REDIRECT)
1734tests/pngstest-sRGB-alpha.log: tests/pngstest-sRGB-alpha
1735	@p='tests/pngstest-sRGB-alpha'; \
1736	b='tests/pngstest-sRGB-alpha'; \
1737	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1738	--log-file $$b.log --trs-file $$b.trs \
1739	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1740	"$$tst" $(AM_TESTS_FD_REDIRECT)
1741tests/pngunknown-IDAT.log: tests/pngunknown-IDAT
1742	@p='tests/pngunknown-IDAT'; \
1743	b='tests/pngunknown-IDAT'; \
1744	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1745	--log-file $$b.log --trs-file $$b.trs \
1746	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1747	"$$tst" $(AM_TESTS_FD_REDIRECT)
1748tests/pngunknown-discard.log: tests/pngunknown-discard
1749	@p='tests/pngunknown-discard'; \
1750	b='tests/pngunknown-discard'; \
1751	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1752	--log-file $$b.log --trs-file $$b.trs \
1753	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1754	"$$tst" $(AM_TESTS_FD_REDIRECT)
1755tests/pngunknown-if-safe.log: tests/pngunknown-if-safe
1756	@p='tests/pngunknown-if-safe'; \
1757	b='tests/pngunknown-if-safe'; \
1758	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1759	--log-file $$b.log --trs-file $$b.trs \
1760	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1761	"$$tst" $(AM_TESTS_FD_REDIRECT)
1762tests/pngunknown-sAPI.log: tests/pngunknown-sAPI
1763	@p='tests/pngunknown-sAPI'; \
1764	b='tests/pngunknown-sAPI'; \
1765	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1766	--log-file $$b.log --trs-file $$b.trs \
1767	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1768	"$$tst" $(AM_TESTS_FD_REDIRECT)
1769tests/pngunknown-sTER.log: tests/pngunknown-sTER
1770	@p='tests/pngunknown-sTER'; \
1771	b='tests/pngunknown-sTER'; \
1772	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1773	--log-file $$b.log --trs-file $$b.trs \
1774	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1775	"$$tst" $(AM_TESTS_FD_REDIRECT)
1776tests/pngunknown-save.log: tests/pngunknown-save
1777	@p='tests/pngunknown-save'; \
1778	b='tests/pngunknown-save'; \
1779	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1780	--log-file $$b.log --trs-file $$b.trs \
1781	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1782	"$$tst" $(AM_TESTS_FD_REDIRECT)
1783tests/pngunknown-vpAg.log: tests/pngunknown-vpAg
1784	@p='tests/pngunknown-vpAg'; \
1785	b='tests/pngunknown-vpAg'; \
1786	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1787	--log-file $$b.log --trs-file $$b.trs \
1788	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1789	"$$tst" $(AM_TESTS_FD_REDIRECT)
1790tests/pngimage-quick.log: tests/pngimage-quick
1791	@p='tests/pngimage-quick'; \
1792	b='tests/pngimage-quick'; \
1793	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1794	--log-file $$b.log --trs-file $$b.trs \
1795	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1796	"$$tst" $(AM_TESTS_FD_REDIRECT)
1797tests/pngimage-full.log: tests/pngimage-full
1798	@p='tests/pngimage-full'; \
1799	b='tests/pngimage-full'; \
1800	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1801	--log-file $$b.log --trs-file $$b.trs \
1802	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1803	"$$tst" $(AM_TESTS_FD_REDIRECT)
1804.test.log:
1805	@p='$<'; \
1806	$(am__set_b); \
1807	$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1808	--log-file $$b.log --trs-file $$b.trs \
1809	$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1810	"$$tst" $(AM_TESTS_FD_REDIRECT)
1811@am__EXEEXT_TRUE@.test$(EXEEXT).log:
1812@am__EXEEXT_TRUE@	@p='$<'; \
1813@am__EXEEXT_TRUE@	$(am__set_b); \
1814@am__EXEEXT_TRUE@	$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1815@am__EXEEXT_TRUE@	--log-file $$b.log --trs-file $$b.trs \
1816@am__EXEEXT_TRUE@	$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1817@am__EXEEXT_TRUE@	"$$tst" $(AM_TESTS_FD_REDIRECT)
1818
1819distdir: $(BUILT_SOURCES)
1820	$(MAKE) $(AM_MAKEFLAGS) distdir-am
1821
1822distdir-am: $(DISTFILES)
1823	$(am__remove_distdir)
1824	test -d "$(distdir)" || mkdir "$(distdir)"
1825	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1826	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1827	list='$(DISTFILES)'; \
1828	  dist_files=`for file in $$list; do echo $$file; done | \
1829	  sed -e "s|^$$srcdirstrip/||;t" \
1830	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1831	case $$dist_files in \
1832	  */*) $(MKDIR_P) `echo "$$dist_files" | \
1833			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1834			   sort -u` ;; \
1835	esac; \
1836	for file in $$dist_files; do \
1837	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1838	  if test -d $$d/$$file; then \
1839	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1840	    if test -d "$(distdir)/$$file"; then \
1841	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1842	    fi; \
1843	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1844	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1845	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1846	    fi; \
1847	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1848	  else \
1849	    test -f "$(distdir)/$$file" \
1850	    || cp -p $$d/$$file "$(distdir)/$$file" \
1851	    || exit 1; \
1852	  fi; \
1853	done
1854	$(MAKE) $(AM_MAKEFLAGS) \
1855	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
1856	  dist-hook
1857	-test -n "$(am__skip_mode_fix)" \
1858	|| find "$(distdir)" -type d ! -perm -755 \
1859		-exec chmod u+rwx,go+rx {} \; -o \
1860	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1861	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1862	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1863	|| chmod -R a+r "$(distdir)"
1864dist-gzip: distdir
1865	tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
1866	$(am__post_remove_distdir)
1867
1868dist-bzip2: distdir
1869	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1870	$(am__post_remove_distdir)
1871
1872dist-lzip: distdir
1873	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1874	$(am__post_remove_distdir)
1875dist-xz: distdir
1876	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1877	$(am__post_remove_distdir)
1878
1879dist-tarZ: distdir
1880	@echo WARNING: "Support for distribution archives compressed with" \
1881		       "legacy program 'compress' is deprecated." >&2
1882	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1883	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1884	$(am__post_remove_distdir)
1885
1886dist-shar: distdir
1887	@echo WARNING: "Support for shar distribution archives is" \
1888	               "deprecated." >&2
1889	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1890	shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
1891	$(am__post_remove_distdir)
1892
1893dist-zip: distdir
1894	-rm -f $(distdir).zip
1895	zip -rq $(distdir).zip $(distdir)
1896	$(am__post_remove_distdir)
1897
1898dist dist-all:
1899	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1900	$(am__post_remove_distdir)
1901
1902# This target untars the dist file and tries a VPATH configuration.  Then
1903# it guarantees that the distribution is self-contained by making another
1904# tarfile.
1905distcheck: dist
1906	case '$(DIST_ARCHIVES)' in \
1907	*.tar.gz*) \
1908	  eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
1909	*.tar.bz2*) \
1910	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1911	*.tar.lz*) \
1912	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1913	*.tar.xz*) \
1914	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1915	*.tar.Z*) \
1916	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1917	*.shar.gz*) \
1918	  eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
1919	*.zip*) \
1920	  unzip $(distdir).zip ;;\
1921	esac
1922	chmod -R a-w $(distdir)
1923	chmod u+w $(distdir)
1924	mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
1925	chmod a-w $(distdir)
1926	test -d $(distdir)/_build || exit 0; \
1927	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1928	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1929	  && am__cwd=`pwd` \
1930	  && $(am__cd) $(distdir)/_build/sub \
1931	  && ../../configure \
1932	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1933	    $(DISTCHECK_CONFIGURE_FLAGS) \
1934	    --srcdir=../.. --prefix="$$dc_install_base" \
1935	  && $(MAKE) $(AM_MAKEFLAGS) \
1936	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
1937	  && $(MAKE) $(AM_MAKEFLAGS) check \
1938	  && $(MAKE) $(AM_MAKEFLAGS) install \
1939	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1940	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1941	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1942	        distuninstallcheck \
1943	  && chmod -R a-w "$$dc_install_base" \
1944	  && ({ \
1945	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1946	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1947	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1948	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1949	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1950	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
1951	  && rm -rf "$$dc_destdir" \
1952	  && $(MAKE) $(AM_MAKEFLAGS) dist \
1953	  && rm -rf $(DIST_ARCHIVES) \
1954	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1955	  && cd "$$am__cwd" \
1956	  || exit 1
1957	$(am__post_remove_distdir)
1958	@(echo "$(distdir) archives ready for distribution: "; \
1959	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1960	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1961distuninstallcheck:
1962	@test -n '$(distuninstallcheck_dir)' || { \
1963	  echo 'ERROR: trying to run $@ with an empty' \
1964	       '$$(distuninstallcheck_dir)' >&2; \
1965	  exit 1; \
1966	}; \
1967	$(am__cd) '$(distuninstallcheck_dir)' || { \
1968	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1969	  exit 1; \
1970	}; \
1971	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1972	   || { echo "ERROR: files left after uninstall:" ; \
1973	        if test -n "$(DESTDIR)"; then \
1974	          echo "  (check DESTDIR support)"; \
1975	        fi ; \
1976	        $(distuninstallcheck_listfiles) ; \
1977	        exit 1; } >&2
1978distcleancheck: distclean
1979	@if test '$(srcdir)' = . ; then \
1980	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1981	  exit 1 ; \
1982	fi
1983	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1984	  || { echo "ERROR: files left in build directory after distclean:" ; \
1985	       $(distcleancheck_listfiles) ; \
1986	       exit 1; } >&2
1987check-am: all-am
1988	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1989	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
1990check: $(BUILT_SOURCES)
1991	$(MAKE) $(AM_MAKEFLAGS) check-am
1992all-am: Makefile $(PROGRAMS) $(LTLIBRARIES) $(SCRIPTS) $(MANS) $(DATA) \
1993		$(HEADERS) config.h
1994install-binPROGRAMS: install-libLTLIBRARIES
1995
1996installdirs:
1997	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkgincludedir)" "$(DESTDIR)$(pkgincludedir)"; do \
1998	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1999	done
2000install: $(BUILT_SOURCES)
2001	$(MAKE) $(AM_MAKEFLAGS) install-am
2002install-exec: install-exec-am
2003install-data: install-data-am
2004uninstall: uninstall-am
2005
2006install-am: all-am
2007	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
2008
2009installcheck: installcheck-am
2010install-strip:
2011	if test -z '$(STRIP)'; then \
2012	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
2013	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
2014	      install; \
2015	else \
2016	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
2017	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
2018	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
2019	fi
2020mostlyclean-generic:
2021	-test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
2022	-test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
2023	-test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
2024
2025clean-generic:
2026	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
2027
2028distclean-generic:
2029	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
2030	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
2031	-rm -f arm/$(DEPDIR)/$(am__dirstamp)
2032	-rm -f arm/$(am__dirstamp)
2033	-rm -f contrib/libtests/$(DEPDIR)/$(am__dirstamp)
2034	-rm -f contrib/libtests/$(am__dirstamp)
2035	-rm -f contrib/tools/$(DEPDIR)/$(am__dirstamp)
2036	-rm -f contrib/tools/$(am__dirstamp)
2037	-rm -f intel/$(DEPDIR)/$(am__dirstamp)
2038	-rm -f intel/$(am__dirstamp)
2039	-rm -f mips/$(DEPDIR)/$(am__dirstamp)
2040	-rm -f mips/$(am__dirstamp)
2041	-rm -f powerpc/$(DEPDIR)/$(am__dirstamp)
2042	-rm -f powerpc/$(am__dirstamp)
2043
2044maintainer-clean-generic:
2045	@echo "This command is intended for maintainers to use"
2046	@echo "it deletes files that may require special tools to rebuild."
2047	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
2048	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
2049@DO_INSTALL_LIBPNG_CONFIG_FALSE@@DO_INSTALL_LINKS_FALSE@install-exec-hook:
2050@DO_INSTALL_LIBPNG_PC_FALSE@@DO_INSTALL_LINKS_FALSE@install-data-hook:
2051@DO_INSTALL_LIBPNG_CONFIG_FALSE@@DO_INSTALL_LIBPNG_PC_FALSE@@DO_INSTALL_LINKS_FALSE@uninstall-hook:
2052clean: clean-am
2053
2054clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
2055	clean-libLTLIBRARIES clean-libtool mostlyclean-am
2056
2057distclean: distclean-am
2058	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
2059		-rm -f ./$(DEPDIR)/png.Plo
2060	-rm -f ./$(DEPDIR)/pngerror.Plo
2061	-rm -f ./$(DEPDIR)/pngget.Plo
2062	-rm -f ./$(DEPDIR)/pngmem.Plo
2063	-rm -f ./$(DEPDIR)/pngpread.Plo
2064	-rm -f ./$(DEPDIR)/pngread.Plo
2065	-rm -f ./$(DEPDIR)/pngrio.Plo
2066	-rm -f ./$(DEPDIR)/pngrtran.Plo
2067	-rm -f ./$(DEPDIR)/pngrutil.Plo
2068	-rm -f ./$(DEPDIR)/pngset.Plo
2069	-rm -f ./$(DEPDIR)/pngtest.Po
2070	-rm -f ./$(DEPDIR)/pngtrans.Plo
2071	-rm -f ./$(DEPDIR)/pngwio.Plo
2072	-rm -f ./$(DEPDIR)/pngwrite.Plo
2073	-rm -f ./$(DEPDIR)/pngwtran.Plo
2074	-rm -f ./$(DEPDIR)/pngwutil.Plo
2075	-rm -f arm/$(DEPDIR)/arm_init.Plo
2076	-rm -f arm/$(DEPDIR)/filter_neon.Plo
2077	-rm -f arm/$(DEPDIR)/filter_neon_intrinsics.Plo
2078	-rm -f arm/$(DEPDIR)/palette_neon_intrinsics.Plo
2079	-rm -f contrib/libtests/$(DEPDIR)/pngimage.Po
2080	-rm -f contrib/libtests/$(DEPDIR)/pngstest.Po
2081	-rm -f contrib/libtests/$(DEPDIR)/pngunknown.Po
2082	-rm -f contrib/libtests/$(DEPDIR)/pngvalid.Po
2083	-rm -f contrib/libtests/$(DEPDIR)/timepng.Po
2084	-rm -f contrib/tools/$(DEPDIR)/png-fix-itxt.Po
2085	-rm -f contrib/tools/$(DEPDIR)/pngcp.Po
2086	-rm -f contrib/tools/$(DEPDIR)/pngfix.Po
2087	-rm -f intel/$(DEPDIR)/filter_sse2_intrinsics.Plo
2088	-rm -f intel/$(DEPDIR)/intel_init.Plo
2089	-rm -f mips/$(DEPDIR)/filter_msa_intrinsics.Plo
2090	-rm -f mips/$(DEPDIR)/mips_init.Plo
2091	-rm -f powerpc/$(DEPDIR)/filter_vsx_intrinsics.Plo
2092	-rm -f powerpc/$(DEPDIR)/powerpc_init.Plo
2093	-rm -f Makefile
2094distclean-am: clean-am distclean-compile distclean-generic \
2095	distclean-hdr distclean-libtool distclean-tags
2096
2097dvi: dvi-am
2098
2099dvi-am:
2100
2101html: html-am
2102
2103html-am:
2104
2105info: info-am
2106
2107info-am:
2108
2109install-data-am: install-man install-nodist_pkgincludeHEADERS \
2110	install-pkgconfigDATA install-pkgincludeHEADERS
2111	@$(NORMAL_INSTALL)
2112	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
2113install-dvi: install-dvi-am
2114
2115install-dvi-am:
2116
2117install-exec-am: install-binPROGRAMS install-binSCRIPTS \
2118	install-libLTLIBRARIES
2119	@$(NORMAL_INSTALL)
2120	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
2121install-html: install-html-am
2122
2123install-html-am:
2124
2125install-info: install-info-am
2126
2127install-info-am:
2128
2129install-man: install-man3 install-man5
2130
2131install-pdf: install-pdf-am
2132
2133install-pdf-am:
2134
2135install-ps: install-ps-am
2136
2137install-ps-am:
2138
2139installcheck-am:
2140
2141maintainer-clean: maintainer-clean-am
2142	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
2143	-rm -rf $(top_srcdir)/autom4te.cache
2144		-rm -f ./$(DEPDIR)/png.Plo
2145	-rm -f ./$(DEPDIR)/pngerror.Plo
2146	-rm -f ./$(DEPDIR)/pngget.Plo
2147	-rm -f ./$(DEPDIR)/pngmem.Plo
2148	-rm -f ./$(DEPDIR)/pngpread.Plo
2149	-rm -f ./$(DEPDIR)/pngread.Plo
2150	-rm -f ./$(DEPDIR)/pngrio.Plo
2151	-rm -f ./$(DEPDIR)/pngrtran.Plo
2152	-rm -f ./$(DEPDIR)/pngrutil.Plo
2153	-rm -f ./$(DEPDIR)/pngset.Plo
2154	-rm -f ./$(DEPDIR)/pngtest.Po
2155	-rm -f ./$(DEPDIR)/pngtrans.Plo
2156	-rm -f ./$(DEPDIR)/pngwio.Plo
2157	-rm -f ./$(DEPDIR)/pngwrite.Plo
2158	-rm -f ./$(DEPDIR)/pngwtran.Plo
2159	-rm -f ./$(DEPDIR)/pngwutil.Plo
2160	-rm -f arm/$(DEPDIR)/arm_init.Plo
2161	-rm -f arm/$(DEPDIR)/filter_neon.Plo
2162	-rm -f arm/$(DEPDIR)/filter_neon_intrinsics.Plo
2163	-rm -f arm/$(DEPDIR)/palette_neon_intrinsics.Plo
2164	-rm -f contrib/libtests/$(DEPDIR)/pngimage.Po
2165	-rm -f contrib/libtests/$(DEPDIR)/pngstest.Po
2166	-rm -f contrib/libtests/$(DEPDIR)/pngunknown.Po
2167	-rm -f contrib/libtests/$(DEPDIR)/pngvalid.Po
2168	-rm -f contrib/libtests/$(DEPDIR)/timepng.Po
2169	-rm -f contrib/tools/$(DEPDIR)/png-fix-itxt.Po
2170	-rm -f contrib/tools/$(DEPDIR)/pngcp.Po
2171	-rm -f contrib/tools/$(DEPDIR)/pngfix.Po
2172	-rm -f intel/$(DEPDIR)/filter_sse2_intrinsics.Plo
2173	-rm -f intel/$(DEPDIR)/intel_init.Plo
2174	-rm -f mips/$(DEPDIR)/filter_msa_intrinsics.Plo
2175	-rm -f mips/$(DEPDIR)/mips_init.Plo
2176	-rm -f powerpc/$(DEPDIR)/filter_vsx_intrinsics.Plo
2177	-rm -f powerpc/$(DEPDIR)/powerpc_init.Plo
2178	-rm -f Makefile
2179maintainer-clean-am: distclean-am maintainer-clean-generic
2180
2181mostlyclean: mostlyclean-am
2182
2183mostlyclean-am: mostlyclean-compile mostlyclean-generic \
2184	mostlyclean-libtool
2185
2186pdf: pdf-am
2187
2188pdf-am:
2189
2190ps: ps-am
2191
2192ps-am:
2193
2194uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
2195	uninstall-libLTLIBRARIES uninstall-man \
2196	uninstall-nodist_pkgincludeHEADERS uninstall-pkgconfigDATA \
2197	uninstall-pkgincludeHEADERS
2198	@$(NORMAL_INSTALL)
2199	$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
2200uninstall-man: uninstall-man3 uninstall-man5
2201
2202.MAKE: all check check-am install install-am install-data-am \
2203	install-exec-am install-strip uninstall-am
2204
2205.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles am--refresh check \
2206	check-TESTS check-am clean clean-binPROGRAMS \
2207	clean-checkPROGRAMS clean-cscope clean-generic \
2208	clean-libLTLIBRARIES clean-libtool cscope cscopelist-am ctags \
2209	ctags-am dist dist-all dist-bzip2 dist-gzip dist-hook \
2210	dist-lzip dist-shar dist-tarZ dist-xz dist-zip distcheck \
2211	distclean distclean-compile distclean-generic distclean-hdr \
2212	distclean-libtool distclean-tags distcleancheck distdir \
2213	distuninstallcheck dvi dvi-am html html-am info info-am \
2214	install install-am install-binPROGRAMS install-binSCRIPTS \
2215	install-data install-data-am install-data-hook install-dvi \
2216	install-dvi-am install-exec install-exec-am install-exec-hook \
2217	install-html install-html-am install-info install-info-am \
2218	install-libLTLIBRARIES install-man install-man3 install-man5 \
2219	install-nodist_pkgincludeHEADERS install-pdf install-pdf-am \
2220	install-pkgconfigDATA install-pkgincludeHEADERS install-ps \
2221	install-ps-am install-strip installcheck installcheck-am \
2222	installdirs maintainer-clean maintainer-clean-generic \
2223	mostlyclean mostlyclean-compile mostlyclean-generic \
2224	mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \
2225	uninstall uninstall-am uninstall-binPROGRAMS \
2226	uninstall-binSCRIPTS uninstall-hook uninstall-libLTLIBRARIES \
2227	uninstall-man uninstall-man3 uninstall-man5 \
2228	uninstall-nodist_pkgincludeHEADERS uninstall-pkgconfigDATA \
2229	uninstall-pkgincludeHEADERS
2230
2231.PRECIOUS: Makefile
2232
2233
2234$(PNGLIB_BASENAME).pc: libpng.pc
2235	cp libpng.pc $@
2236
2237$(PNGLIB_BASENAME)-config: libpng-config
2238	cp libpng-config $@
2239
2240scripts/sym.out scripts/vers.out: png.h pngconf.h pnglibconf.h
2241scripts/prefix.out: png.h pngconf.h pnglibconf.out
2242scripts/symbols.out: png.h pngconf.h $(srcdir)/scripts/pnglibconf.h.prebuilt
2243scripts/intprefix.out: pnglibconf.h
2244
2245libpng.sym: scripts/sym.out
2246	rm -f $@
2247	cp $? $@
2248libpng.vers: scripts/vers.out
2249	rm -f $@
2250	cp $? $@
2251
2252# Rename functions in scripts/prefix.out with a PNG_PREFIX prefix.
2253# Rename macros in scripts/macro.lst from PNG_PREFIXpng_ to PNG_ (the actual
2254# implementation of the macro).
2255@DO_PNG_PREFIX_TRUE@pnglibconf.h: pnglibconf.out scripts/prefix.out scripts/macro.lst
2256@DO_PNG_PREFIX_TRUE@	rm -f $@
2257@DO_PNG_PREFIX_TRUE@	$(AWK) 's==0 && NR>1{print prev}\
2258@DO_PNG_PREFIX_TRUE@	   s==0{prev=$$0}\
2259@DO_PNG_PREFIX_TRUE@	   s==1{print "#define", $$1, "@PNG_PREFIX@" $$1}\
2260@DO_PNG_PREFIX_TRUE@	   s==2{print "#define @PNG_PREFIX@png_" $$1, "PNG_" $$1}\
2261@DO_PNG_PREFIX_TRUE@	   END{print prev}' s=0 pnglibconf.out s=1 scripts/prefix.out\
2262@DO_PNG_PREFIX_TRUE@	   s=2 ${srcdir}/scripts/macro.lst >pnglibconf.tf8
2263@DO_PNG_PREFIX_TRUE@	mv pnglibconf.tf8 $@
2264
2265@DO_PNG_PREFIX_TRUE@pngprefix.h: scripts/intprefix.out
2266@DO_PNG_PREFIX_TRUE@	rm -f pngprefix.tf1
2267@DO_PNG_PREFIX_TRUE@	$(AWK) '{print "#define", $$1, "@PNG_PREFIX@" $$1}' $? >pngprefix.tf1
2268@DO_PNG_PREFIX_TRUE@	mv pngprefix.tf1 $@
2269@DO_PNG_PREFIX_FALSE@pnglibconf.h: pnglibconf.out
2270@DO_PNG_PREFIX_FALSE@	rm -f $@
2271@DO_PNG_PREFIX_FALSE@	cp $? $@
2272
2273@DO_PNG_PREFIX_FALSE@pngprefix.h: # is empty
2274@DO_PNG_PREFIX_FALSE@	:>$@
2275
2276$(srcdir)/scripts/pnglibconf.h.prebuilt:
2277	@echo "Attempting to build $@" >&2
2278	@echo "This is a machine generated file, but if you want to make" >&2
2279	@echo "a new one simply make 'scripts/pnglibconf.out', copy that" >&2
2280	@echo "AND set PNG_ZLIB_VERNUM to 0 (you MUST do this)" >&2
2281	@exit 1
2282
2283# The following is necessary to ensure that the local pnglibconf.h is used, not
2284# an installed one (this can happen immediately after on a clean system if
2285# 'make test' is the first thing the user does.)  Only files which include
2286# one of the png source files (typically png.h or pngpriv.h) need to be listed
2287# here:
2288pngtest.o: pnglibconf.h
2289
2290contrib/libtests/makepng.o: pnglibconf.h
2291contrib/libtests/pngstest.o: pnglibconf.h
2292contrib/libtests/pngunknown.o: pnglibconf.h
2293contrib/libtests/pngimage.o: pnglibconf.h
2294contrib/libtests/pngvalid.o: pnglibconf.h
2295contrib/libtests/readpng.o: pnglibconf.h
2296contrib/libtests/tarith.o: pnglibconf.h
2297contrib/libtests/timepng.o: pnglibconf.h
2298
2299contrib/tools/makesRGB.o: pnglibconf.h
2300contrib/tools/pngfix.o: pnglibconf.h
2301contrib/tools/pngcp.o: pnglibconf.h
2302
2303.c.out:
2304	rm -f $@ $*.tf[12]
2305	test -d scripts || mkdir scripts || test -d scripts
2306	$(DFNCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)\
2307	    $(CPPFLAGS) $(SYMBOL_CFLAGS) $< > $*.tf1
2308	$(AWK) -f "${srcdir}/scripts/dfn.awk" out="$*.tf2" $*.tf1 1>&2
2309	rm -f $*.tf1
2310	mv $*.tf2 $@
2311
2312# The .c file for pnglibconf.h is machine generated
2313pnglibconf.c: scripts/pnglibconf.dfa scripts/options.awk pngconf.h pngusr.dfa $(DFA_XTRA)
2314	rm -f $@ $*.tf[45]
2315	$(AWK) -f ${srcdir}/scripts/options.awk out=$*.tf4 version=search\
2316	    ${srcdir}/pngconf.h ${srcdir}/scripts/pnglibconf.dfa\
2317	    ${srcdir}/pngusr.dfa $(DFA_XTRA) 1>&2
2318	$(AWK) -f ${srcdir}/scripts/options.awk out=$*.tf5 $*.tf4 1>&2
2319	rm $*.tf4
2320	mv $*.tf5 $@
2321
2322# Symbol checks (.def and .out files should match)
2323scripts/symbols.chk: scripts/checksym.awk scripts/symbols.def scripts/symbols.out
2324
2325.out.chk:
2326	rm -f $@ $*.new
2327	$(AWK) -f ${srcdir}/scripts/checksym.awk ${srcdir}/scripts/${*F}.def\
2328	    of="$*.new" $< >&2
2329	mv $*.new $@
2330
2331# used on demand to regenerate the standard header, CPPFLAGS should
2332# be empty - no non-standard defines
2333scripts/pnglibconf.c: scripts/pnglibconf.dfa scripts/options.awk pngconf.h
2334	rm -f $@ pnglibconf.tf[67]
2335	test -z "$(CPPFLAGS)"
2336	echo "com @PNGLIB_VERSION@ STANDARD API DEFINITION" |\
2337	$(AWK) -f ${srcdir}/scripts/options.awk out=pnglibconf.tf6\
2338	    logunsupported=1 version=search ${srcdir}/pngconf.h -\
2339	    ${srcdir}/scripts/pnglibconf.dfa 1>&2
2340	$(AWK) -f ${srcdir}/scripts/options.awk out=pnglibconf.tf7\
2341	    pnglibconf.tf6 1>&2
2342	rm pnglibconf.tf6
2343	mv pnglibconf.tf7 $@
2344
2345$(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS): png.h pngconf.h \
2346	pnglibconf.h pngpriv.h pngdebug.h pnginfo.h pngstruct.h pngprefix.h
2347
2348test: check-am
2349
2350# Extra checks
2351check: scripts/symbols.chk
2352
2353# Don't distribute the generated script files
2354dist-hook:
2355	cd '$(top_distdir)'; rm -f $(SCRIPT_CLEANFILES)
2356
2357# Make links between installed files with release-specific names and the generic
2358# file names.  If this install rule is run the generic names will be deleted and
2359# recreated - this has obvious issues for systems with multiple installations.
2360
2361install-header-links:
2362	@set -ex; cd '$(DESTDIR)$(includedir)'; for f in $(HEADERS); do \
2363	   rm -f "$$f"; $(LN_S) "$(PNGLIB_BASENAME)/$$f" "$$f"; done
2364
2365uninstall-header-links:
2366	cd '$(DESTDIR)$(includedir)'; rm -f $(HEADERS)
2367
2368install-libpng-pc:
2369	@set -ex; cd '$(DESTDIR)$(pkgconfigdir)'; rm -f libpng.pc; \
2370	   $(LN_S) '$(PNGLIB_BASENAME).pc' libpng.pc
2371
2372uninstall-libpng-pc:
2373	rm -f '$(DESTDIR)$(pkgconfigdir)/libpng.pc'
2374
2375install-library-links:
2376	@set -x; cd '$(DESTDIR)$(libdir)';\
2377	for ext in $(EXT_LIST); do\
2378	   rm -f "libpng.$$ext";\
2379           if test -f "$(PNGLIB_BASENAME).$$ext"; then\
2380              $(LN_S) "$(PNGLIB_BASENAME).$$ext" "libpng.$$ext" || exit 1;\
2381           fi;\
2382	done
2383
2384uninstall-library-links:
2385	@set -x; cd '$(DESTDIR)$(libdir)'; for ext in $(EXT_LIST); do\
2386	   rm -f "libpng.$$ext"; done
2387
2388install-libpng-config:
2389	@set -ex; cd '$(DESTDIR)$(bindir)'; rm -f libpng-config; \
2390	   $(LN_S) '$(PNGLIB_BASENAME)-config' libpng-config
2391
2392uninstall-libpng-config:
2393	rm -f '$(DESTDIR)$(bindir)/libpng-config'
2394
2395# If --enable-unversioned-links is specified the header and lib file links
2396# will be automatically made on a 'make install':
2397
2398@DO_INSTALL_LINKS_TRUE@install-data-hook: install-header-links
2399@DO_INSTALL_LINKS_TRUE@uninstall-hook: uninstall-header-links
2400@DO_INSTALL_LINKS_TRUE@install-exec-hook: install-library-links
2401@DO_INSTALL_LINKS_TRUE@uninstall-hook: uninstall-library-links
2402
2403# Likewise, --install-pc causes libpng.pc to be constructed:
2404
2405@DO_INSTALL_LIBPNG_PC_TRUE@install-data-hook: install-libpng-pc
2406@DO_INSTALL_LIBPNG_PC_TRUE@uninstall-hook: uninstall-libpng-pc
2407
2408# And --install-config:
2409
2410@DO_INSTALL_LIBPNG_CONFIG_TRUE@install-exec-hook: install-libpng-config
2411@DO_INSTALL_LIBPNG_CONFIG_TRUE@uninstall-hook: uninstall-libpng-config
2412
2413# The following addition ensures that 'make all' always builds the test programs
2414# too.  It used to, but some change either in libpng or configure stopped this
2415# working.
2416all-am: $(check_PROGRAMS)
2417
2418# Tell versions [3.59,3.63) of GNU make to not export all variables.
2419# Otherwise a system limit (for SysV at least) may be exceeded.
2420.NOEXPORT:
2421