fukasawa e60969
# Makefile.in generated by automake 1.15 from Makefile.am.
fukasawa e60969
# @configure_input@
fukasawa e60969
fukasawa e60969
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
fukasawa e60969
fukasawa e60969
# This Makefile.in is free software; the Free Software Foundation
fukasawa e60969
# gives unlimited permission to copy and/or distribute it,
fukasawa e60969
# with or without modifications, as long as this notice is preserved.
fukasawa e60969
fukasawa e60969
# This program is distributed in the hope that it will be useful,
fukasawa e60969
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
fukasawa e60969
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
fukasawa e60969
# PARTICULAR PURPOSE.
fukasawa e60969
fukasawa e60969
@SET_MAKE@
fukasawa e60969
fukasawa e60969
# Makefile.am:
fukasawa e60969
#   Source file for Makefile.in (and hence Makefile)
fukasawa e60969
#
fukasawa e60969
fukasawa e60969
fukasawa e60969
fukasawa e60969
fukasawa e60969
fukasawa e60969
VPATH = @srcdir@
fukasawa e60969
am__is_gnu_make = { \
fukasawa e60969
  if test -z '$(MAKELEVEL)'; then \
fukasawa e60969
    false; \
fukasawa e60969
  elif test -n '$(MAKE_HOST)'; then \
fukasawa e60969
    true; \
fukasawa e60969
  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
fukasawa e60969
    true; \
fukasawa e60969
  else \
fukasawa e60969
    false; \
fukasawa e60969
  fi; \
fukasawa e60969
}
fukasawa e60969
am__make_running_with_option = \
fukasawa e60969
  case $${target_option-} in \
fukasawa e60969
      ?) ;; \
fukasawa e60969
      *) echo "am__make_running_with_option: internal error: invalid" \
fukasawa e60969
              "target option '$${target_option-}' specified" >&2; \
fukasawa e60969
         exit 1;; \
fukasawa e60969
  esac; \
fukasawa e60969
  has_opt=no; \
fukasawa e60969
  sane_makeflags=$$MAKEFLAGS; \
fukasawa e60969
  if $(am__is_gnu_make); then \
fukasawa e60969
    sane_makeflags=$$MFLAGS; \
fukasawa e60969
  else \
fukasawa e60969
    case $$MAKEFLAGS in \
fukasawa e60969
      *\\[\ \	]*) \
fukasawa e60969
        bs=\\; \
fukasawa e60969
        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
fukasawa e60969
          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
fukasawa e60969
    esac; \
fukasawa e60969
  fi; \
fukasawa e60969
  skip_next=no; \
fukasawa e60969
  strip_trailopt () \
fukasawa e60969
  { \
fukasawa e60969
    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
fukasawa e60969
  }; \
fukasawa e60969
  for flg in $$sane_makeflags; do \
fukasawa e60969
    test $$skip_next = yes && { skip_next=no; continue; }; \
fukasawa e60969
    case $$flg in \
fukasawa e60969
      *=*|--*) continue;; \
fukasawa e60969
        -*I) strip_trailopt 'I'; skip_next=yes;; \
fukasawa e60969
      -*I?*) strip_trailopt 'I';; \
fukasawa e60969
        -*O) strip_trailopt 'O'; skip_next=yes;; \
fukasawa e60969
      -*O?*) strip_trailopt 'O';; \
fukasawa e60969
        -*l) strip_trailopt 'l'; skip_next=yes;; \
fukasawa e60969
      -*l?*) strip_trailopt 'l';; \
fukasawa e60969
      -[dEDm]) skip_next=yes;; \
fukasawa e60969
      -[JT]) skip_next=yes;; \
fukasawa e60969
    esac; \
fukasawa e60969
    case $$flg in \
fukasawa e60969
      *$$target_option*) has_opt=yes; break;; \
fukasawa e60969
    esac; \
fukasawa e60969
  done; \
fukasawa e60969
  test $$has_opt = yes
fukasawa e60969
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
fukasawa e60969
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
fukasawa e60969
pkgdatadir = $(datadir)/@PACKAGE@
fukasawa e60969
pkglibdir = $(libdir)/@PACKAGE@
fukasawa e60969
pkglibexecdir = $(libexecdir)/@PACKAGE@
fukasawa e60969
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
fukasawa e60969
install_sh_DATA = $(install_sh) -c -m 644
fukasawa e60969
install_sh_PROGRAM = $(install_sh) -c
fukasawa e60969
install_sh_SCRIPT = $(install_sh) -c
fukasawa e60969
INSTALL_HEADER = $(INSTALL_DATA)
fukasawa e60969
transform = $(program_transform_name)
fukasawa e60969
NORMAL_INSTALL = :
fukasawa e60969
PRE_INSTALL = :
fukasawa e60969
POST_INSTALL = :
fukasawa e60969
NORMAL_UNINSTALL = :
fukasawa e60969
PRE_UNINSTALL = :
fukasawa e60969
POST_UNINSTALL = :
fukasawa e60969
build_triplet = @build@
fukasawa e60969
host_triplet = @host@
fukasawa e60969
check_PROGRAMS = pngtest$(EXEEXT) pngunknown$(EXEEXT) \
fukasawa e60969
	pngstest$(EXEEXT) pngvalid$(EXEEXT) pngimage$(EXEEXT)
fukasawa e60969
bin_PROGRAMS = pngfix$(EXEEXT) png-fix-itxt$(EXEEXT)
fukasawa e60969
@PNG_ARM_NEON_TRUE@am__append_1 = arm/arm_init.c\
fukasawa e60969
@PNG_ARM_NEON_TRUE@	arm/filter_neon.S arm/filter_neon_intrinsics.c
fukasawa e60969
fukasawa e60969
fukasawa e60969
#   Versioned symbols and restricted exports
fukasawa e60969
@HAVE_LD_VERSION_SCRIPT_TRUE@@HAVE_SOLARIS_LD_TRUE@am__append_2 = -Wl,-M -Wl,libpng.vers
fukasawa e60969
@HAVE_LD_VERSION_SCRIPT_TRUE@@HAVE_SOLARIS_LD_FALSE@am__append_3 = -Wl,--version-script=libpng.vers
fukasawa e60969
#   Only restricted exports when possible
fukasawa e60969
@HAVE_LD_VERSION_SCRIPT_FALSE@am__append_4 = -export-symbols libpng.sym
fukasawa e60969
@DO_PNG_PREFIX_TRUE@am__append_5 = -DPNG_PREFIX='@PNG_PREFIX@'
fukasawa e60969
subdir = .
fukasawa e60969
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
fukasawa e60969
am__aclocal_m4_deps = $(top_srcdir)/scripts/libtool.m4 \
fukasawa e60969
	$(top_srcdir)/scripts/ltoptions.m4 \
fukasawa e60969
	$(top_srcdir)/scripts/ltsugar.m4 \
fukasawa e60969
	$(top_srcdir)/scripts/ltversion.m4 \
fukasawa e60969
	$(top_srcdir)/scripts/lt~obsolete.m4 \
fukasawa e60969
	$(top_srcdir)/configure.ac
fukasawa e60969
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
fukasawa e60969
	$(ACLOCAL_M4)
fukasawa e60969
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
fukasawa e60969
	$(am__configure_deps) $(pkginclude_HEADERS) $(am__DIST_COMMON)
fukasawa e60969
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
fukasawa e60969
 configure.lineno config.status.lineno
fukasawa e60969
mkinstalldirs = $(install_sh) -d
fukasawa e60969
CONFIG_HEADER = config.h
fukasawa e60969
CONFIG_CLEAN_FILES = libpng.pc libpng-config
fukasawa e60969
CONFIG_CLEAN_VPATH_FILES =
fukasawa e60969
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
fukasawa e60969
am__vpath_adj = case $$p in \
fukasawa e60969
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
fukasawa e60969
    *) f=$$p;; \
fukasawa e60969
  esac;
fukasawa e60969
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
fukasawa e60969
am__install_max = 40
fukasawa e60969
am__nobase_strip_setup = \
fukasawa e60969
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
fukasawa e60969
am__nobase_strip = \
fukasawa e60969
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
fukasawa e60969
am__nobase_list = $(am__nobase_strip_setup); \
fukasawa e60969
  for p in $$list; do echo "$$p $$p"; done | \
fukasawa e60969
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
fukasawa e60969
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
fukasawa e60969
    if (++n[$$2] == $(am__install_max)) \
fukasawa e60969
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
fukasawa e60969
    END { for (dir in files) print dir, files[dir] }'
fukasawa e60969
am__base_list = \
fukasawa e60969
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
fukasawa e60969
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
fukasawa e60969
am__uninstall_files_from_dir = { \
fukasawa e60969
  test -z "$$files" \
fukasawa e60969
    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
fukasawa e60969
    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
fukasawa e60969
         $(am__cd) "$$dir" && rm -f $$files; }; \
fukasawa e60969
  }
fukasawa e60969
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
fukasawa e60969
	"$(DESTDIR)$(bindir)" "$(DESTDIR)$(man3dir)" \
fukasawa e60969
	"$(DESTDIR)$(man5dir)" "$(DESTDIR)$(pkgconfigdir)" \
fukasawa e60969
	"$(DESTDIR)$(pkgincludedir)" "$(DESTDIR)$(pkgincludedir)"
fukasawa e60969
LTLIBRARIES = $(lib_LTLIBRARIES)
fukasawa e60969
libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LIBADD =
fukasawa e60969
am__libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES_DIST = png.c \
fukasawa e60969
	pngerror.c pngget.c pngmem.c pngpread.c pngread.c pngrio.c \
fukasawa e60969
	pngrtran.c pngrutil.c pngset.c pngtrans.c pngwio.c pngwrite.c \
fukasawa e60969
	pngwtran.c pngwutil.c png.h pngconf.h pngdebug.h pnginfo.h \
fukasawa e60969
	pngpriv.h pngstruct.h pngusr.dfa arm/arm_init.c \
fukasawa e60969
	arm/filter_neon.S arm/filter_neon_intrinsics.c
fukasawa e60969
am__dirstamp = $(am__leading_dot)dirstamp
fukasawa e60969
@PNG_ARM_NEON_TRUE@am__objects_1 = arm/arm_init.lo arm/filter_neon.lo \
fukasawa e60969
@PNG_ARM_NEON_TRUE@	arm/filter_neon_intrinsics.lo
fukasawa e60969
am_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS = png.lo pngerror.lo \
fukasawa e60969
	pngget.lo pngmem.lo pngpread.lo pngread.lo pngrio.lo \
fukasawa e60969
	pngrtran.lo pngrutil.lo pngset.lo pngtrans.lo pngwio.lo \
fukasawa e60969
	pngwrite.lo pngwtran.lo pngwutil.lo $(am__objects_1)
fukasawa e60969
nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS =
fukasawa e60969
libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS =  \
fukasawa e60969
	$(am_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS) \
fukasawa e60969
	$(nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS)
fukasawa e60969
AM_V_lt = $(am__v_lt_@AM_V@)
fukasawa e60969
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
fukasawa e60969
am__v_lt_0 = --silent
fukasawa e60969
am__v_lt_1 = 
fukasawa e60969
libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LINK = $(LIBTOOL) $(AM_V_lt) \
fukasawa e60969
	--tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
fukasawa e60969
	$(CCLD) $(AM_CFLAGS) $(CFLAGS) \
fukasawa e60969
	$(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS) $(LDFLAGS) -o \
fukasawa e60969
	$@
fukasawa e60969
PROGRAMS = $(bin_PROGRAMS)
fukasawa e60969
am_png_fix_itxt_OBJECTS = contrib/tools/png-fix-itxt.$(OBJEXT)
fukasawa e60969
png_fix_itxt_OBJECTS = $(am_png_fix_itxt_OBJECTS)
fukasawa e60969
png_fix_itxt_LDADD = $(LDADD)
fukasawa e60969
am_pngfix_OBJECTS = contrib/tools/pngfix.$(OBJEXT)
fukasawa e60969
pngfix_OBJECTS = $(am_pngfix_OBJECTS)
fukasawa e60969
pngfix_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
fukasawa e60969
am_pngimage_OBJECTS = contrib/libtests/pngimage.$(OBJEXT)
fukasawa e60969
pngimage_OBJECTS = $(am_pngimage_OBJECTS)
fukasawa e60969
pngimage_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
fukasawa e60969
am_pngstest_OBJECTS = contrib/libtests/pngstest.$(OBJEXT)
fukasawa e60969
pngstest_OBJECTS = $(am_pngstest_OBJECTS)
fukasawa e60969
pngstest_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
fukasawa e60969
am_pngtest_OBJECTS = pngtest.$(OBJEXT)
fukasawa e60969
pngtest_OBJECTS = $(am_pngtest_OBJECTS)
fukasawa e60969
pngtest_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
fukasawa e60969
am_pngunknown_OBJECTS = contrib/libtests/pngunknown.$(OBJEXT)
fukasawa e60969
pngunknown_OBJECTS = $(am_pngunknown_OBJECTS)
fukasawa e60969
pngunknown_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
fukasawa e60969
am_pngvalid_OBJECTS = contrib/libtests/pngvalid.$(OBJEXT)
fukasawa e60969
pngvalid_OBJECTS = $(am_pngvalid_OBJECTS)
fukasawa e60969
pngvalid_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
fukasawa e60969
SCRIPTS = $(bin_SCRIPTS)
fukasawa e60969
AM_V_P = $(am__v_P_@AM_V@)
fukasawa e60969
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
fukasawa e60969
am__v_P_0 = false
fukasawa e60969
am__v_P_1 = :
fukasawa e60969
AM_V_GEN = $(am__v_GEN_@AM_V@)
fukasawa e60969
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
fukasawa e60969
am__v_GEN_0 = @echo "  GEN     " $@;
fukasawa e60969
am__v_GEN_1 = 
fukasawa e60969
AM_V_at = $(am__v_at_@AM_V@)
fukasawa e60969
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
fukasawa e60969
am__v_at_0 = @
fukasawa e60969
am__v_at_1 = 
fukasawa e60969
DEFAULT_INCLUDES = -I.@am__isrc@
fukasawa e60969
depcomp = $(SHELL) $(top_srcdir)/depcomp
fukasawa e60969
am__depfiles_maybe = depfiles
fukasawa e60969
am__mv = mv -f
fukasawa e60969
CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
fukasawa e60969
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
fukasawa e60969
LTCPPASCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \
fukasawa e60969
	$(LIBTOOLFLAGS) --mode=compile $(CCAS) $(DEFS) \
fukasawa e60969
	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
fukasawa e60969
	$(AM_CCASFLAGS) $(CCASFLAGS)
fukasawa e60969
AM_V_CPPAS = $(am__v_CPPAS_@AM_V@)
fukasawa e60969
am__v_CPPAS_ = $(am__v_CPPAS_@AM_DEFAULT_V@)
fukasawa e60969
am__v_CPPAS_0 = @echo "  CPPAS   " $@;
fukasawa e60969
am__v_CPPAS_1 = 
fukasawa e60969
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
fukasawa e60969
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
fukasawa e60969
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
fukasawa e60969
	$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
fukasawa e60969
	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
fukasawa e60969
	$(AM_CFLAGS) $(CFLAGS)
fukasawa e60969
AM_V_CC = $(am__v_CC_@AM_V@)
fukasawa e60969
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
fukasawa e60969
am__v_CC_0 = @echo "  CC      " $@;
fukasawa e60969
am__v_CC_1 = 
fukasawa e60969
CCLD = $(CC)
fukasawa e60969
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
fukasawa e60969
	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
fukasawa e60969
	$(AM_LDFLAGS) $(LDFLAGS) -o $@
fukasawa e60969
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
fukasawa e60969
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
fukasawa e60969
am__v_CCLD_0 = @echo "  CCLD    " $@;
fukasawa e60969
am__v_CCLD_1 = 
fukasawa e60969
SOURCES = $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES) \
fukasawa e60969
	$(nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES) \
fukasawa e60969
	$(png_fix_itxt_SOURCES) $(pngfix_SOURCES) $(pngimage_SOURCES) \
fukasawa e60969
	$(pngstest_SOURCES) $(pngtest_SOURCES) $(pngunknown_SOURCES) \
fukasawa e60969
	$(pngvalid_SOURCES)
fukasawa e60969
DIST_SOURCES =  \
fukasawa e60969
	$(am__libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES_DIST) \
fukasawa e60969
	$(png_fix_itxt_SOURCES) $(pngfix_SOURCES) $(pngimage_SOURCES) \
fukasawa e60969
	$(pngstest_SOURCES) $(pngtest_SOURCES) $(pngunknown_SOURCES) \
fukasawa e60969
	$(pngvalid_SOURCES)
fukasawa e60969
am__can_run_installinfo = \
fukasawa e60969
  case $$AM_UPDATE_INFO_DIR in \
fukasawa e60969
    n|no|NO) false;; \
fukasawa e60969
    *) (install-info --version) >/dev/null 2>&1;; \
fukasawa e60969
  esac
fukasawa e60969
man3dir = $(mandir)/man3
fukasawa e60969
man5dir = $(mandir)/man5
fukasawa e60969
NROFF = nroff
fukasawa e60969
MANS = $(dist_man_MANS)
fukasawa e60969
DATA = $(pkgconfig_DATA)
fukasawa e60969
HEADERS = $(nodist_pkginclude_HEADERS) $(pkginclude_HEADERS)
fukasawa e60969
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
fukasawa e60969
	$(LISP)config.h.in
fukasawa e60969
# Read a list of newline-separated strings from the standard input,
fukasawa e60969
# and print each of them once, without duplicates.  Input order is
fukasawa e60969
# *not* preserved.
fukasawa e60969
am__uniquify_input = $(AWK) '\
fukasawa e60969
  BEGIN { nonempty = 0; } \
fukasawa e60969
  { items[$$0] = 1; nonempty = 1; } \
fukasawa e60969
  END { if (nonempty) { for (i in items) print i; }; } \
fukasawa e60969
'
fukasawa e60969
# Make sure the list of sources is unique.  This is necessary because,
fukasawa e60969
# e.g., the same source file might be shared among _SOURCES variables
fukasawa e60969
# for different programs/libraries.
fukasawa e60969
am__define_uniq_tagged_files = \
fukasawa e60969
  list='$(am__tagged_files)'; \
fukasawa e60969
  unique=`for i in $$list; do \
fukasawa e60969
    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
fukasawa e60969
  done | $(am__uniquify_input)`
fukasawa e60969
ETAGS = etags
fukasawa e60969
CTAGS = ctags
fukasawa e60969
CSCOPE = cscope
fukasawa e60969
AM_RECURSIVE_TARGETS = cscope check recheck
fukasawa e60969
am__tty_colors_dummy = \
fukasawa e60969
  mgn= red= grn= lgn= blu= brg= std=; \
fukasawa e60969
  am__color_tests=no
fukasawa e60969
am__tty_colors = { \
fukasawa e60969
  $(am__tty_colors_dummy); \
fukasawa e60969
  if test "X$(AM_COLOR_TESTS)" = Xno; then \
fukasawa e60969
    am__color_tests=no; \
fukasawa e60969
  elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
fukasawa e60969
    am__color_tests=yes; \
fukasawa e60969
  elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
fukasawa e60969
    am__color_tests=yes; \
fukasawa e60969
  fi; \
fukasawa e60969
  if test $$am__color_tests = yes; then \
fukasawa e60969
    red=''; \
fukasawa e60969
    grn=''; \
fukasawa e60969
    lgn=''; \
fukasawa e60969
    blu=''; \
fukasawa e60969
    mgn=''; \
fukasawa e60969
    brg=''; \
fukasawa e60969
    std=''; \
fukasawa e60969
  fi; \
fukasawa e60969
}
fukasawa e60969
am__recheck_rx = ^[ 	]*:recheck:[ 	]*
fukasawa e60969
am__global_test_result_rx = ^[ 	]*:global-test-result:[ 	]*
fukasawa e60969
am__copy_in_global_log_rx = ^[ 	]*:copy-in-global-log:[ 	]*
fukasawa e60969
# A command that, given a newline-separated list of test names on the
fukasawa e60969
# standard input, print the name of the tests that are to be re-run
fukasawa e60969
# upon "make recheck".
fukasawa e60969
am__list_recheck_tests = $(AWK) '{ \
fukasawa e60969
  recheck = 1; \
fukasawa e60969
  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
fukasawa e60969
    { \
fukasawa e60969
      if (rc < 0) \
fukasawa e60969
        { \
fukasawa e60969
          if ((getline line2 < ($$0 ".log")) < 0) \
fukasawa e60969
	    recheck = 0; \
fukasawa e60969
          break; \
fukasawa e60969
        } \
fukasawa e60969
      else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
fukasawa e60969
        { \
fukasawa e60969
          recheck = 0; \
fukasawa e60969
          break; \
fukasawa e60969
        } \
fukasawa e60969
      else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
fukasawa e60969
        { \
fukasawa e60969
          break; \
fukasawa e60969
        } \
fukasawa e60969
    }; \
fukasawa e60969
  if (recheck) \
fukasawa e60969
    print $$0; \
fukasawa e60969
  close ($$0 ".trs"); \
fukasawa e60969
  close ($$0 ".log"); \
fukasawa e60969
}'
fukasawa e60969
# A command that, given a newline-separated list of test names on the
fukasawa e60969
# standard input, create the global log from their .trs and .log files.
fukasawa e60969
am__create_global_log = $(AWK) ' \
fukasawa e60969
function fatal(msg) \
fukasawa e60969
{ \
fukasawa e60969
  print "fatal: making $@: " msg | "cat >&2"; \
fukasawa e60969
  exit 1; \
fukasawa e60969
} \
fukasawa e60969
function rst_section(header) \
fukasawa e60969
{ \
fukasawa e60969
  print header; \
fukasawa e60969
  len = length(header); \
fukasawa e60969
  for (i = 1; i <= len; i = i + 1) \
fukasawa e60969
    printf "="; \
fukasawa e60969
  printf "\n\n"; \
fukasawa e60969
} \
fukasawa e60969
{ \
fukasawa e60969
  copy_in_global_log = 1; \
fukasawa e60969
  global_test_result = "RUN"; \
fukasawa e60969
  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
fukasawa e60969
    { \
fukasawa e60969
      if (rc < 0) \
fukasawa e60969
         fatal("failed to read from " $$0 ".trs"); \
fukasawa e60969
      if (line ~ /$(am__global_test_result_rx)/) \
fukasawa e60969
        { \
fukasawa e60969
          sub("$(am__global_test_result_rx)", "", line); \
fukasawa e60969
          sub("[ 	]*$$", "", line); \
fukasawa e60969
          global_test_result = line; \
fukasawa e60969
        } \
fukasawa e60969
      else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
fukasawa e60969
        copy_in_global_log = 0; \
fukasawa e60969
    }; \
fukasawa e60969
  if (copy_in_global_log) \
fukasawa e60969
    { \
fukasawa e60969
      rst_section(global_test_result ": " $$0); \
fukasawa e60969
      while ((rc = (getline line < ($$0 ".log"))) != 0) \
fukasawa e60969
      { \
fukasawa e60969
        if (rc < 0) \
fukasawa e60969
          fatal("failed to read from " $$0 ".log"); \
fukasawa e60969
        print line; \
fukasawa e60969
      }; \
fukasawa e60969
      printf "\n"; \
fukasawa e60969
    }; \
fukasawa e60969
  close ($$0 ".trs"); \
fukasawa e60969
  close ($$0 ".log"); \
fukasawa e60969
}'
fukasawa e60969
# Restructured Text title.
fukasawa e60969
am__rst_title = { sed 's/.*/   &   /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
fukasawa e60969
# Solaris 10 'make', and several other traditional 'make' implementations,
fukasawa e60969
# pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
fukasawa e60969
# by disabling -e (using the XSI extension "set +e") if it's set.
fukasawa e60969
am__sh_e_setup = case $$- in *e*) set +e;; esac
fukasawa e60969
# Default flags passed to test drivers.
fukasawa e60969
am__common_driver_flags = \
fukasawa e60969
  --color-tests "$$am__color_tests" \
fukasawa e60969
  --enable-hard-errors "$$am__enable_hard_errors" \
fukasawa e60969
  --expect-failure "$$am__expect_failure"
fukasawa e60969
# To be inserted before the command running the test.  Creates the
fukasawa e60969
# directory for the log if needed.  Stores in $dir the directory
fukasawa e60969
# containing $f, in $tst the test, in $log the log.  Executes the
fukasawa e60969
# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
fukasawa e60969
# passes TESTS_ENVIRONMENT.  Set up options for the wrapper that
fukasawa e60969
# will run the test scripts (or their associated LOG_COMPILER, if
fukasawa e60969
# thy have one).
fukasawa e60969
am__check_pre = \
fukasawa e60969
$(am__sh_e_setup);					\
fukasawa e60969
$(am__vpath_adj_setup) $(am__vpath_adj)			\
fukasawa e60969
$(am__tty_colors);					\
fukasawa e60969
srcdir=$(srcdir); export srcdir;			\
fukasawa e60969
case "$@" in						\
fukasawa e60969
  */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;;	\
fukasawa e60969
    *) am__odir=.;; 					\
fukasawa e60969
esac;							\
fukasawa e60969
test "x$$am__odir" = x"." || test -d "$$am__odir" 	\
fukasawa e60969
  || $(MKDIR_P) "$$am__odir" || exit $$?;		\
fukasawa e60969
if test -f "./$$f"; then dir=./;			\
fukasawa e60969
elif test -f "$$f"; then dir=;				\
fukasawa e60969
else dir="$(srcdir)/"; fi;				\
fukasawa e60969
tst=$$dir$$f; log='$@'; 				\
fukasawa e60969
if test -n '$(DISABLE_HARD_ERRORS)'; then		\
fukasawa e60969
  am__enable_hard_errors=no; 				\
fukasawa e60969
else							\
fukasawa e60969
  am__enable_hard_errors=yes; 				\
fukasawa e60969
fi; 							\
fukasawa e60969
case " $(XFAIL_TESTS) " in				\
fukasawa e60969
  *[\ \	]$$f[\ \	]* | *[\ \	]$$dir$$f[\ \	]*) \
fukasawa e60969
    am__expect_failure=yes;;				\
fukasawa e60969
  *)							\
fukasawa e60969
    am__expect_failure=no;;				\
fukasawa e60969
esac; 							\
fukasawa e60969
$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
fukasawa e60969
# A shell command to get the names of the tests scripts with any registered
fukasawa e60969
# extension removed (i.e., equivalently, the names of the test logs, with
fukasawa e60969
# the '.log' extension removed).  The result is saved in the shell variable
fukasawa e60969
# '$bases'.  This honors runtime overriding of TESTS and TEST_LOGS.  Sadly,
fukasawa e60969
# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
fukasawa e60969
# since that might cause problem with VPATH rewrites for suffix-less tests.
fukasawa e60969
# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
fukasawa e60969
am__set_TESTS_bases = \
fukasawa e60969
  bases='$(TEST_LOGS)'; \
fukasawa e60969
  bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
fukasawa e60969
  bases=`echo $$bases`
fukasawa e60969
RECHECK_LOGS = $(TEST_LOGS)
fukasawa e60969
TEST_SUITE_LOG = test-suite.log
fukasawa e60969
TEST_EXTENSIONS = @EXEEXT@ .test
fukasawa e60969
LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
fukasawa e60969
LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
fukasawa e60969
am__set_b = \
fukasawa e60969
  case '$@' in \
fukasawa e60969
    */*) \
fukasawa e60969
      case '$*' in \
fukasawa e60969
        */*) b='$*';; \
fukasawa e60969
          *) b=`echo '$@' | sed 's/\.log$$//'`; \
fukasawa e60969
       esac;; \
fukasawa e60969
    *) \
fukasawa e60969
      b='$*';; \
fukasawa e60969
  esac
fukasawa e60969
am__test_logs1 = $(TESTS:=.log)
fukasawa e60969
am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
fukasawa e60969
TEST_LOGS = $(am__test_logs2:.test.log=.log)
fukasawa e60969
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
fukasawa e60969
TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
fukasawa e60969
	$(TEST_LOG_FLAGS)
fukasawa e60969
am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in \
fukasawa e60969
	$(srcdir)/config.h.in $(srcdir)/libpng-config.in \
fukasawa e60969
	$(srcdir)/libpng.pc.in INSTALL README TODO compile \
fukasawa e60969
	config.guess config.sub depcomp install-sh ltmain.sh missing \
fukasawa e60969
	test-driver
fukasawa e60969
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
fukasawa e60969
distdir = $(PACKAGE)-$(VERSION)
fukasawa e60969
top_distdir = $(distdir)
fukasawa e60969
am__remove_distdir = \
fukasawa e60969
  if test -d "$(distdir)"; then \
fukasawa e60969
    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
fukasawa e60969
      && rm -rf "$(distdir)" \
fukasawa e60969
      || { sleep 5 && rm -rf "$(distdir)"; }; \
fukasawa e60969
  else :; fi
fukasawa e60969
am__post_remove_distdir = $(am__remove_distdir)
fukasawa e60969
DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz
fukasawa e60969
GZIP_ENV = --best
fukasawa e60969
DIST_TARGETS = dist-xz dist-gzip
fukasawa e60969
distuninstallcheck_listfiles = find . -type f -print
fukasawa e60969
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
fukasawa e60969
  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
fukasawa e60969
distcleancheck_listfiles = find . -type f -print
fukasawa e60969
fukasawa e60969
#distribute headers in /usr/include/libpng/*
fukasawa e60969
pkgincludedir = $(includedir)/$(PNGLIB_BASENAME)
fukasawa e60969
ACLOCAL = @ACLOCAL@
fukasawa e60969
AMTAR = @AMTAR@
fukasawa e60969
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
fukasawa e60969
AR = @AR@
fukasawa e60969
AS = @AS@
fukasawa e60969
AUTOCONF = @AUTOCONF@
fukasawa e60969
AUTOHEADER = @AUTOHEADER@
fukasawa e60969
AUTOMAKE = @AUTOMAKE@
fukasawa e60969
AWK = @AWK@
fukasawa e60969
CC = @CC@
fukasawa e60969
CCAS = @CCAS@
fukasawa e60969
CCASDEPMODE = @CCASDEPMODE@
fukasawa e60969
CCASFLAGS = @CCASFLAGS@
fukasawa e60969
CCDEPMODE = @CCDEPMODE@
fukasawa e60969
CFLAGS = @CFLAGS@
fukasawa e60969
CPP = @CPP@
fukasawa e60969
CPPFLAGS = @CPPFLAGS@
fukasawa e60969
CYGPATH_W = @CYGPATH_W@
fukasawa e60969
DEFS = @DEFS@
fukasawa e60969
DEPDIR = @DEPDIR@
fukasawa e60969
fukasawa e60969
# DFNCPP is normally just CPP - the C preprocessor - but on Solaris and maybe
fukasawa e60969
# other operating systems (NeXT?) the C preprocessor selected by configure
fukasawa e60969
# checks input tokens for validity - effectively it performs part of the ANSI-C
fukasawa e60969
# parsing - and therefore fails with the .df files.  configure.ac has special
fukasawa e60969
# checks for this and sets DFNCPP appropriately.
fukasawa e60969
DFNCPP = @DFNCPP@
fukasawa e60969
DLLTOOL = @DLLTOOL@
fukasawa e60969
DSYMUTIL = @DSYMUTIL@
fukasawa e60969
DUMPBIN = @DUMPBIN@
fukasawa e60969
ECHO_C = @ECHO_C@
fukasawa e60969
ECHO_N = @ECHO_N@
fukasawa e60969
ECHO_T = @ECHO_T@
fukasawa e60969
EGREP = @EGREP@
fukasawa e60969
EXEEXT = @EXEEXT@
fukasawa e60969
FGREP = @FGREP@
fukasawa e60969
GREP = @GREP@
fukasawa e60969
INSTALL = @INSTALL@
fukasawa e60969
INSTALL_DATA = @INSTALL_DATA@
fukasawa e60969
INSTALL_PROGRAM = @INSTALL_PROGRAM@
fukasawa e60969
INSTALL_SCRIPT = @INSTALL_SCRIPT@
fukasawa e60969
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
fukasawa e60969
LD = @LD@
fukasawa e60969
LDFLAGS = @LDFLAGS@
fukasawa e60969
LIBOBJS = @LIBOBJS@
fukasawa e60969
LIBS = @LIBS@
fukasawa e60969
LIBTOOL = @LIBTOOL@
fukasawa e60969
LIPO = @LIPO@
fukasawa e60969
LN_S = @LN_S@
fukasawa e60969
LTLIBOBJS = @LTLIBOBJS@
fukasawa e60969
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
fukasawa e60969
MAINT = @MAINT@
fukasawa e60969
MAKEINFO = @MAKEINFO@
fukasawa e60969
MANIFEST_TOOL = @MANIFEST_TOOL@
fukasawa e60969
MKDIR_P = @MKDIR_P@
fukasawa e60969
NM = @NM@
fukasawa e60969
NMEDIT = @NMEDIT@
fukasawa e60969
OBJDUMP = @OBJDUMP@
fukasawa e60969
OBJEXT = @OBJEXT@
fukasawa e60969
OTOOL = @OTOOL@
fukasawa e60969
OTOOL64 = @OTOOL64@
fukasawa e60969
PACKAGE = @PACKAGE@
fukasawa e60969
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
fukasawa e60969
PACKAGE_NAME = @PACKAGE_NAME@
fukasawa e60969
PACKAGE_STRING = @PACKAGE_STRING@
fukasawa e60969
PACKAGE_TARNAME = @PACKAGE_TARNAME@
fukasawa e60969
PACKAGE_URL = @PACKAGE_URL@
fukasawa e60969
PACKAGE_VERSION = @PACKAGE_VERSION@
fukasawa e60969
PATH_SEPARATOR = @PATH_SEPARATOR@
fukasawa e60969
PNGLIB_MAJOR = @PNGLIB_MAJOR@
fukasawa e60969
PNGLIB_MINOR = @PNGLIB_MINOR@
fukasawa e60969
PNGLIB_RELEASE = @PNGLIB_RELEASE@
fukasawa e60969
PNGLIB_VERSION = @PNGLIB_VERSION@
fukasawa e60969
fukasawa e60969
# PNG_COPTS give extra options for the C compiler to be used on all compilation
fukasawa e60969
# steps (unless targe_CFLAGS is specified; that will take precedence over
fukasawa e60969
# AM_CFLAGS)
fukasawa e60969
PNG_COPTS = @PNG_COPTS@
fukasawa e60969
PNG_PREFIX = @PNG_PREFIX@
fukasawa e60969
POW_LIB = @POW_LIB@
fukasawa e60969
RANLIB = @RANLIB@
fukasawa e60969
SED = @SED@
fukasawa e60969
SET_MAKE = @SET_MAKE@
fukasawa e60969
SHELL = @SHELL@
fukasawa e60969
STRIP = @STRIP@
fukasawa e60969
SYMBOL_PREFIX = @SYMBOL_PREFIX@
fukasawa e60969
VERSION = @VERSION@
fukasawa e60969
abs_builddir = @abs_builddir@
fukasawa e60969
abs_srcdir = @abs_srcdir@
fukasawa e60969
abs_top_builddir = @abs_top_builddir@
fukasawa e60969
abs_top_srcdir = @abs_top_srcdir@
fukasawa e60969
ac_ct_AR = @ac_ct_AR@
fukasawa e60969
ac_ct_CC = @ac_ct_CC@
fukasawa e60969
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
fukasawa e60969
am__include = @am__include@
fukasawa e60969
am__leading_dot = @am__leading_dot@
fukasawa e60969
am__quote = @am__quote@
fukasawa e60969
am__tar = @am__tar@
fukasawa e60969
am__untar = @am__untar@
fukasawa e60969
fukasawa e60969
# generate the -config scripts if required
fukasawa e60969
binconfigs = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config
fukasawa e60969
bindir = @bindir@
fukasawa e60969
build = @build@
fukasawa e60969
build_alias = @build_alias@
fukasawa e60969
build_cpu = @build_cpu@
fukasawa e60969
build_os = @build_os@
fukasawa e60969
build_vendor = @build_vendor@
fukasawa e60969
builddir = @builddir@
fukasawa e60969
datadir = @datadir@
fukasawa e60969
datarootdir = @datarootdir@
fukasawa e60969
docdir = @docdir@
fukasawa e60969
dvidir = @dvidir@
fukasawa e60969
exec_prefix = @exec_prefix@
fukasawa e60969
host = @host@
fukasawa e60969
host_alias = @host_alias@
fukasawa e60969
host_cpu = @host_cpu@
fukasawa e60969
host_os = @host_os@
fukasawa e60969
host_vendor = @host_vendor@
fukasawa e60969
htmldir = @htmldir@
fukasawa e60969
includedir = @includedir@
fukasawa e60969
infodir = @infodir@
fukasawa e60969
install_sh = @install_sh@
fukasawa e60969
libdir = @libdir@
fukasawa e60969
libexecdir = @libexecdir@
fukasawa e60969
localedir = @localedir@
fukasawa e60969
localstatedir = @localstatedir@
fukasawa e60969
mandir = @mandir@
fukasawa e60969
mkdir_p = @mkdir_p@
fukasawa e60969
oldincludedir = @oldincludedir@
fukasawa e60969
pdfdir = @pdfdir@
fukasawa e60969
fukasawa e60969
# pkg-config stuff, note that libpng.pc is always required in order
fukasawa e60969
# to get the correct library
fukasawa e60969
pkgconfigdir = @pkgconfigdir@
fukasawa e60969
prefix = @prefix@
fukasawa e60969
program_transform_name = @program_transform_name@
fukasawa e60969
psdir = @psdir@
fukasawa e60969
sbindir = @sbindir@
fukasawa e60969
sharedstatedir = @sharedstatedir@
fukasawa e60969
srcdir = @srcdir@
fukasawa e60969
sysconfdir = @sysconfdir@
fukasawa e60969
target_alias = @target_alias@
fukasawa e60969
top_build_prefix = @top_build_prefix@
fukasawa e60969
top_builddir = @top_builddir@
fukasawa e60969
top_srcdir = @top_srcdir@
fukasawa e60969
PNGLIB_BASENAME = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
fukasawa e60969
ACLOCAL_AMFLAGS = -I scripts
fukasawa e60969
fukasawa e60969
# This ensures that pnglibconf.h gets built at the start of 'make all' or
fukasawa e60969
# 'make check', but it does not add dependencies to the individual programs,
fukasawa e60969
# this is done below.
fukasawa e60969
#
fukasawa e60969
# IMPORTANT: always add the object modules of new programs to the list below
fukasawa e60969
# because otherwise the sequence 'configure; make new-program' will *sometimes*
fukasawa e60969
# result in the installed (system) pnglibconf.h being used and the result is
fukasawa e60969
# always wrong and always very confusing.
fukasawa e60969
BUILT_SOURCES = pnglibconf.h
fukasawa e60969
pngtest_SOURCES = pngtest.c
fukasawa e60969
pngtest_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
fukasawa e60969
pngvalid_SOURCES = contrib/libtests/pngvalid.c
fukasawa e60969
pngvalid_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
fukasawa e60969
pngstest_SOURCES = contrib/libtests/pngstest.c
fukasawa e60969
pngstest_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
fukasawa e60969
pngunknown_SOURCES = contrib/libtests/pngunknown.c
fukasawa e60969
pngunknown_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
fukasawa e60969
pngimage_SOURCES = contrib/libtests/pngimage.c
fukasawa e60969
pngimage_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
fukasawa e60969
pngfix_SOURCES = contrib/tools/pngfix.c
fukasawa e60969
pngfix_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
fukasawa e60969
png_fix_itxt_SOURCES = contrib/tools/png-fix-itxt.c
fukasawa e60969
fukasawa e60969
# Generally these are single line shell scripts to run a test with a particular
fukasawa e60969
# set of parameters:
fukasawa e60969
TESTS = \
fukasawa e60969
   tests/pngtest\
fukasawa e60969
   tests/pngvalid-gamma-16-to-8 tests/pngvalid-gamma-alpha-mode\
fukasawa e60969
   tests/pngvalid-gamma-background tests/pngvalid-gamma-expand16-alpha-mode\
fukasawa e60969
   tests/pngvalid-gamma-expand16-background\
fukasawa e60969
   tests/pngvalid-gamma-expand16-transform tests/pngvalid-gamma-sbit\
fukasawa e60969
   tests/pngvalid-gamma-threshold tests/pngvalid-gamma-transform\
fukasawa e60969
   tests/pngvalid-progressive-size\
fukasawa e60969
   tests/pngvalid-progressive-interlace-standard\
fukasawa e60969
   tests/pngvalid-transform\
fukasawa e60969
   tests/pngvalid-progressive-standard tests/pngvalid-standard\
fukasawa e60969
   tests/pngstest-1.8 tests/pngstest-1.8-alpha tests/pngstest-linear\
fukasawa e60969
   tests/pngstest-linear-alpha tests/pngstest-none tests/pngstest-none-alpha\
fukasawa e60969
   tests/pngstest-sRGB tests/pngstest-sRGB-alpha tests/pngunknown-IDAT\
fukasawa e60969
   tests/pngunknown-discard tests/pngunknown-if-safe tests/pngunknown-sAPI\
fukasawa e60969
   tests/pngunknown-sTER tests/pngunknown-save tests/pngunknown-vpAg\
fukasawa e60969
   tests/pngimage-quick tests/pngimage-full
fukasawa e60969
fukasawa e60969
fukasawa e60969
# man pages
fukasawa e60969
dist_man_MANS = libpng.3 libpngpf.3 png.5
fukasawa e60969
EXTRA_SCRIPTS = libpng-config libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config
fukasawa e60969
bin_SCRIPTS = @binconfigs@
fukasawa e60969
fukasawa e60969
# rules to build libpng, only build the old library on request
fukasawa e60969
lib_LTLIBRARIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
fukasawa e60969
# EXTRA_LTLIBRARIES= libpng.la
fukasawa e60969
libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES = png.c pngerror.c \
fukasawa e60969
	pngget.c pngmem.c pngpread.c pngread.c pngrio.c pngrtran.c \
fukasawa e60969
	pngrutil.c pngset.c pngtrans.c pngwio.c pngwrite.c pngwtran.c \
fukasawa e60969
	pngwutil.c png.h pngconf.h pngdebug.h pnginfo.h pngpriv.h \
fukasawa e60969
	pngstruct.h pngusr.dfa $(am__append_1)
fukasawa e60969
nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES = pnglibconf.h
fukasawa e60969
libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS = -no-undefined \
fukasawa e60969
	-export-dynamic -version-number \
fukasawa e60969
	@PNGLIB_MAJOR@@PNGLIB_MINOR@:@PNGLIB_RELEASE@:0 \
fukasawa e60969
	$(am__append_2) $(am__append_3) $(am__append_4)
fukasawa e60969
@HAVE_LD_VERSION_SCRIPT_FALSE@libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.sym
fukasawa e60969
@HAVE_LD_VERSION_SCRIPT_TRUE@libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.vers
fukasawa e60969
pkginclude_HEADERS = png.h pngconf.h
fukasawa e60969
nodist_pkginclude_HEADERS = pnglibconf.h
fukasawa e60969
pkgconfig_DATA = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc
fukasawa e60969
fukasawa e60969
# Extra source distribution files, '${srcdir}' is used below to stop build files
fukasawa e60969
# from those directories being included.  This only works if the configure is
fukasawa e60969
# not done in the source directory!
fukasawa e60969
EXTRA_DIST = \
fukasawa e60969
	ANNOUNCE CHANGES INSTALL LICENSE README TODO \
fukasawa e60969
	pngtest.png pngbar.png pngnow.png pngbar.jpg autogen.sh \
fukasawa e60969
	${srcdir}/contrib ${srcdir}/projects ${srcdir}/scripts \
fukasawa e60969
	$(TESTS) $(XFAIL_TESTS) tests/pngstest \
fukasawa e60969
	CMakeLists.txt example.c libpng-manual.txt
fukasawa e60969
fukasawa e60969
SCRIPT_CLEANFILES = scripts/*.out scripts/*.chk
fukasawa e60969
CLEANFILES = *.tf? pngout.png libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc \
fukasawa e60969
	libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config libpng.vers libpng.sym \
fukasawa e60969
	check.new pnglibconf.h pngprefix.h symbols.new pngtest-log.txt \
fukasawa e60969
	pnglibconf.out pnglibconf.c pnglibconf.pre pnglibconf.dfn \
fukasawa e60969
	$(SCRIPT_CLEANFILES)
fukasawa e60969
fukasawa e60969
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
fukasawa e60969
config.sub configure depcomp install-sh ltmain.sh missing
fukasawa e60969
fukasawa e60969
AM_CFLAGS = ${PNG_COPTS}
fukasawa e60969
SUFFIXES = .chk .out
fukasawa e60969
fukasawa e60969
# We must use -DPNG_NO_USE_READ_MACROS here even when the library may actually
fukasawa e60969
# be built with PNG_USE_READ_MACROS; this prevents the read macros from
fukasawa e60969
# interfering with the symbol file format.
fukasawa e60969
SYMBOL_CFLAGS = -DPNGLIB_LIBNAME='PNG@PNGLIB_MAJOR@@PNGLIB_MINOR@_0' \
fukasawa e60969
	-DPNGLIB_VERSION='@PNGLIB_VERSION@' \
fukasawa e60969
	-DSYMBOL_PREFIX='$(SYMBOL_PREFIX)' -DPNG_NO_USE_READ_MACROS \
fukasawa e60969
	-DPNG_BUILDING_SYMBOL_TABLE $(am__append_5)
fukasawa e60969
fukasawa e60969
# EXT_LIST is a list of the possibly library directory extensions, this exists
fukasawa e60969
# because we can't find a good way of discovering the file extensions that are
fukasawa e60969
# actually installed on a given system, so instead we check for every extension
fukasawa e60969
# we have seen.
fukasawa e60969
EXT_LIST = a dll.a so so.@PNGLIB_MAJOR@@PNGLIB_MINOR@.@PNGLIB_RELEASE@ la sl dylib
fukasawa e60969
all: $(BUILT_SOURCES) config.h
fukasawa e60969
	$(MAKE) $(AM_MAKEFLAGS) all-am
fukasawa e60969
fukasawa e60969
.SUFFIXES:
fukasawa e60969
.SUFFIXES: .chk .out .S .c .lo .log .o .obj .test .test$(EXEEXT) .trs
fukasawa e60969
am--refresh: Makefile
fukasawa e60969
	@:
fukasawa e60969
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
fukasawa e60969
	@for dep in $?; do \
fukasawa e60969
	  case '$(am__configure_deps)' in \
fukasawa e60969
	    *$$dep*) \
fukasawa e60969
	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
fukasawa e60969
	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
fukasawa e60969
		&& exit 0; \
fukasawa e60969
	      exit 1;; \
fukasawa e60969
	  esac; \
fukasawa e60969
	done; \
fukasawa e60969
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
fukasawa e60969
	$(am__cd) $(top_srcdir) && \
fukasawa e60969
	  $(AUTOMAKE) --foreign Makefile
fukasawa e60969
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
fukasawa e60969
	@case '$?' in \
fukasawa e60969
	  *config.status*) \
fukasawa e60969
	    echo ' $(SHELL) ./config.status'; \
fukasawa e60969
	    $(SHELL) ./config.status;; \
fukasawa e60969
	  *) \
fukasawa e60969
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
fukasawa e60969
	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
fukasawa e60969
	esac;
fukasawa e60969
fukasawa e60969
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
fukasawa e60969
	$(SHELL) ./config.status --recheck
fukasawa e60969
fukasawa e60969
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
fukasawa e60969
	$(am__cd) $(srcdir) && $(AUTOCONF)
fukasawa e60969
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
fukasawa e60969
	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
fukasawa e60969
$(am__aclocal_m4_deps):
fukasawa e60969
fukasawa e60969
config.h: stamp-h1
fukasawa e60969
	@test -f $@ || rm -f stamp-h1
fukasawa e60969
	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
fukasawa e60969
fukasawa e60969
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
fukasawa e60969
	@rm -f stamp-h1
fukasawa e60969
	cd $(top_builddir) && $(SHELL) ./config.status config.h
fukasawa e60969
$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
fukasawa e60969
	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
fukasawa e60969
	rm -f stamp-h1
fukasawa e60969
	touch $@
fukasawa e60969
fukasawa e60969
distclean-hdr:
fukasawa e60969
	-rm -f config.h stamp-h1
fukasawa e60969
libpng.pc: $(top_builddir)/config.status $(srcdir)/libpng.pc.in
fukasawa e60969
	cd $(top_builddir) && $(SHELL) ./config.status $@
fukasawa e60969
libpng-config: $(top_builddir)/config.status $(srcdir)/libpng-config.in
fukasawa e60969
	cd $(top_builddir) && $(SHELL) ./config.status $@
fukasawa e60969
fukasawa e60969
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
fukasawa e60969
	@$(NORMAL_INSTALL)
fukasawa e60969
	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
fukasawa e60969
	list2=; for p in $$list; do \
fukasawa e60969
	  if test -f $$p; then \
fukasawa e60969
	    list2="$$list2 $$p"; \
fukasawa e60969
	  else :; fi; \
fukasawa e60969
	done; \
fukasawa e60969
	test -z "$$list2" || { \
fukasawa e60969
	  echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
fukasawa e60969
	  $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
fukasawa e60969
	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
fukasawa e60969
	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
fukasawa e60969
	}
fukasawa e60969
fukasawa e60969
uninstall-libLTLIBRARIES:
fukasawa e60969
	@$(NORMAL_UNINSTALL)
fukasawa e60969
	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
fukasawa e60969
	for p in $$list; do \
fukasawa e60969
	  $(am__strip_dir) \
fukasawa e60969
	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
fukasawa e60969
	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
fukasawa e60969
	done
fukasawa e60969
fukasawa e60969
clean-libLTLIBRARIES:
fukasawa e60969
	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
fukasawa e60969
	@list='$(lib_LTLIBRARIES)'; \
fukasawa e60969
	locs=`for p in $$list; do echo $$p; done | \
fukasawa e60969
	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
fukasawa e60969
	      sort -u`; \
fukasawa e60969
	test -z "$$locs" || { \
fukasawa e60969
	  echo rm -f $${locs}; \
fukasawa e60969
	  rm -f $${locs}; \
fukasawa e60969
	}
fukasawa e60969
arm/$(am__dirstamp):
fukasawa e60969
	@$(MKDIR_P) arm
fukasawa e60969
	@: > arm/$(am__dirstamp)
fukasawa e60969
arm/$(DEPDIR)/$(am__dirstamp):
fukasawa e60969
	@$(MKDIR_P) arm/$(DEPDIR)
fukasawa e60969
	@: > arm/$(DEPDIR)/$(am__dirstamp)
fukasawa e60969
arm/arm_init.lo: arm/$(am__dirstamp) arm/$(DEPDIR)/$(am__dirstamp)
fukasawa e60969
arm/filter_neon.lo: arm/$(am__dirstamp) arm/$(DEPDIR)/$(am__dirstamp)
fukasawa e60969
arm/filter_neon_intrinsics.lo: arm/$(am__dirstamp) \
fukasawa e60969
	arm/$(DEPDIR)/$(am__dirstamp)
fukasawa e60969
fukasawa e60969
libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la: $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS) $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES) $(EXTRA_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES) 
fukasawa e60969
	$(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)
fukasawa e60969
install-binPROGRAMS: $(bin_PROGRAMS)
fukasawa e60969
	@$(NORMAL_INSTALL)
fukasawa e60969
	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
fukasawa e60969
	if test -n "$$list"; then \
fukasawa e60969
	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
fukasawa e60969
	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
fukasawa e60969
	fi; \
fukasawa e60969
	for p in $$list; do echo "$$p $$p"; done | \
fukasawa e60969
	sed 's/$(EXEEXT)$$//' | \
fukasawa e60969
	while read p p1; do if test -f $$p \
fukasawa e60969
	 || test -f $$p1 \
fukasawa e60969
	  ; then echo "$$p"; echo "$$p"; else :; fi; \
fukasawa e60969
	done | \
fukasawa e60969
	sed -e 'p;s,.*/,,;n;h' \
fukasawa e60969
	    -e 's|.*|.|' \
fukasawa e60969
	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
fukasawa e60969
	sed 'N;N;N;s,\n, ,g' | \
fukasawa e60969
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
fukasawa e60969
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
fukasawa e60969
	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
fukasawa e60969
	    else { print "f", $$3 "/" $$4, $$1; } } \
fukasawa e60969
	  END { for (d in files) print "f", d, files[d] }' | \
fukasawa e60969
	while read type dir files; do \
fukasawa e60969
	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
fukasawa e60969
	    test -z "$$files" || { \
fukasawa e60969
	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
fukasawa e60969
	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
fukasawa e60969
	    } \
fukasawa e60969
	; done
fukasawa e60969
fukasawa e60969
uninstall-binPROGRAMS:
fukasawa e60969
	@$(NORMAL_UNINSTALL)
fukasawa e60969
	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
fukasawa e60969
	files=`for p in $$list; do echo "$$p"; done | \
fukasawa e60969
	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
fukasawa e60969
	      -e 's/$$/$(EXEEXT)/' \
fukasawa e60969
	`; \
fukasawa e60969
	test -n "$$list" || exit 0; \
fukasawa e60969
	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
fukasawa e60969
	cd "$(DESTDIR)$(bindir)" && rm -f $$files
fukasawa e60969
fukasawa e60969
clean-binPROGRAMS:
fukasawa e60969
	@list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
fukasawa e60969
	echo " rm -f" $$list; \
fukasawa e60969
	rm -f $$list || exit $$?; \
fukasawa e60969
	test -n "$(EXEEXT)" || exit 0; \
fukasawa e60969
	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
fukasawa e60969
	echo " rm -f" $$list; \
fukasawa e60969
	rm -f $$list
fukasawa e60969
fukasawa e60969
clean-checkPROGRAMS:
fukasawa e60969
	@list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
fukasawa e60969
	echo " rm -f" $$list; \
fukasawa e60969
	rm -f $$list || exit $$?; \
fukasawa e60969
	test -n "$(EXEEXT)" || exit 0; \
fukasawa e60969
	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
fukasawa e60969
	echo " rm -f" $$list; \
fukasawa e60969
	rm -f $$list
fukasawa e60969
contrib/tools/$(am__dirstamp):
fukasawa e60969
	@$(MKDIR_P) contrib/tools
fukasawa e60969
	@: > contrib/tools/$(am__dirstamp)
fukasawa e60969
contrib/tools/$(DEPDIR)/$(am__dirstamp):
fukasawa e60969
	@$(MKDIR_P) contrib/tools/$(DEPDIR)
fukasawa e60969
	@: > contrib/tools/$(DEPDIR)/$(am__dirstamp)
fukasawa e60969
contrib/tools/png-fix-itxt.$(OBJEXT): contrib/tools/$(am__dirstamp) \
fukasawa e60969
	contrib/tools/$(DEPDIR)/$(am__dirstamp)
fukasawa e60969
fukasawa e60969
png-fix-itxt$(EXEEXT): $(png_fix_itxt_OBJECTS) $(png_fix_itxt_DEPENDENCIES) $(EXTRA_png_fix_itxt_DEPENDENCIES) 
fukasawa e60969
	@rm -f png-fix-itxt$(EXEEXT)
fukasawa e60969
	$(AM_V_CCLD)$(LINK) $(png_fix_itxt_OBJECTS) $(png_fix_itxt_LDADD) $(LIBS)
fukasawa e60969
contrib/tools/pngfix.$(OBJEXT): contrib/tools/$(am__dirstamp) \
fukasawa e60969
	contrib/tools/$(DEPDIR)/$(am__dirstamp)
fukasawa e60969
fukasawa e60969
pngfix$(EXEEXT): $(pngfix_OBJECTS) $(pngfix_DEPENDENCIES) $(EXTRA_pngfix_DEPENDENCIES) 
fukasawa e60969
	@rm -f pngfix$(EXEEXT)
fukasawa e60969
	$(AM_V_CCLD)$(LINK) $(pngfix_OBJECTS) $(pngfix_LDADD) $(LIBS)
fukasawa e60969
contrib/libtests/$(am__dirstamp):
fukasawa e60969
	@$(MKDIR_P) contrib/libtests
fukasawa e60969
	@: > contrib/libtests/$(am__dirstamp)
fukasawa e60969
contrib/libtests/$(DEPDIR)/$(am__dirstamp):
fukasawa e60969
	@$(MKDIR_P) contrib/libtests/$(DEPDIR)
fukasawa e60969
	@: > contrib/libtests/$(DEPDIR)/$(am__dirstamp)
fukasawa e60969
contrib/libtests/pngimage.$(OBJEXT): contrib/libtests/$(am__dirstamp) \
fukasawa e60969
	contrib/libtests/$(DEPDIR)/$(am__dirstamp)
fukasawa e60969
fukasawa e60969
pngimage$(EXEEXT): $(pngimage_OBJECTS) $(pngimage_DEPENDENCIES) $(EXTRA_pngimage_DEPENDENCIES) 
fukasawa e60969
	@rm -f pngimage$(EXEEXT)
fukasawa e60969
	$(AM_V_CCLD)$(LINK) $(pngimage_OBJECTS) $(pngimage_LDADD) $(LIBS)
fukasawa e60969
contrib/libtests/pngstest.$(OBJEXT): contrib/libtests/$(am__dirstamp) \
fukasawa e60969
	contrib/libtests/$(DEPDIR)/$(am__dirstamp)
fukasawa e60969
fukasawa e60969
pngstest$(EXEEXT): $(pngstest_OBJECTS) $(pngstest_DEPENDENCIES) $(EXTRA_pngstest_DEPENDENCIES) 
fukasawa e60969
	@rm -f pngstest$(EXEEXT)
fukasawa e60969
	$(AM_V_CCLD)$(LINK) $(pngstest_OBJECTS) $(pngstest_LDADD) $(LIBS)
fukasawa e60969
fukasawa e60969
pngtest$(EXEEXT): $(pngtest_OBJECTS) $(pngtest_DEPENDENCIES) $(EXTRA_pngtest_DEPENDENCIES) 
fukasawa e60969
	@rm -f pngtest$(EXEEXT)
fukasawa e60969
	$(AM_V_CCLD)$(LINK) $(pngtest_OBJECTS) $(pngtest_LDADD) $(LIBS)
fukasawa e60969
contrib/libtests/pngunknown.$(OBJEXT):  \
fukasawa e60969
	contrib/libtests/$(am__dirstamp) \
fukasawa e60969
	contrib/libtests/$(DEPDIR)/$(am__dirstamp)
fukasawa e60969
fukasawa e60969
pngunknown$(EXEEXT): $(pngunknown_OBJECTS) $(pngunknown_DEPENDENCIES) $(EXTRA_pngunknown_DEPENDENCIES) 
fukasawa e60969
	@rm -f pngunknown$(EXEEXT)
fukasawa e60969
	$(AM_V_CCLD)$(LINK) $(pngunknown_OBJECTS) $(pngunknown_LDADD) $(LIBS)
fukasawa e60969
contrib/libtests/pngvalid.$(OBJEXT): contrib/libtests/$(am__dirstamp) \
fukasawa e60969
	contrib/libtests/$(DEPDIR)/$(am__dirstamp)
fukasawa e60969
fukasawa e60969
pngvalid$(EXEEXT): $(pngvalid_OBJECTS) $(pngvalid_DEPENDENCIES) $(EXTRA_pngvalid_DEPENDENCIES) 
fukasawa e60969
	@rm -f pngvalid$(EXEEXT)
fukasawa e60969
	$(AM_V_CCLD)$(LINK) $(pngvalid_OBJECTS) $(pngvalid_LDADD) $(LIBS)
fukasawa e60969
install-binSCRIPTS: $(bin_SCRIPTS)
fukasawa e60969
	@$(NORMAL_INSTALL)
fukasawa e60969
	@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
fukasawa e60969
	if test -n "$$list"; then \
fukasawa e60969
	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
fukasawa e60969
	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
fukasawa e60969
	fi; \
fukasawa e60969
	for p in $$list; do \
fukasawa e60969
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
fukasawa e60969
	  if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
fukasawa e60969
	done | \
fukasawa e60969
	sed -e 'p;s,.*/,,;n' \
fukasawa e60969
	    -e 'h;s|.*|.|' \
fukasawa e60969
	    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
fukasawa e60969
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
fukasawa e60969
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
fukasawa e60969
	    if ($$2 == $$4) { files[d] = files[d] " " $$1; \
fukasawa e60969
	      if (++n[d] == $(am__install_max)) { \
fukasawa e60969
		print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
fukasawa e60969
	    else { print "f", d "/" $$4, $$1 } } \
fukasawa e60969
	  END { for (d in files) print "f", d, files[d] }' | \
fukasawa e60969
	while read type dir files; do \
fukasawa e60969
	     if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
fukasawa e60969
	     test -z "$$files" || { \
fukasawa e60969
	       echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
fukasawa e60969
	       $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
fukasawa e60969
	     } \
fukasawa e60969
	; done
fukasawa e60969
fukasawa e60969
uninstall-binSCRIPTS:
fukasawa e60969
	@$(NORMAL_UNINSTALL)
fukasawa e60969
	@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
fukasawa e60969
	files=`for p in $$list; do echo "$$p"; done | \
fukasawa e60969
	       sed -e 's,.*/,,;$(transform)'`; \
fukasawa e60969
	dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
fukasawa e60969
fukasawa e60969
mostlyclean-compile:
fukasawa e60969
	-rm -f *.$(OBJEXT)
fukasawa e60969
	-rm -f arm/*.$(OBJEXT)
fukasawa e60969
	-rm -f arm/*.lo
fukasawa e60969
	-rm -f contrib/libtests/*.$(OBJEXT)
fukasawa e60969
	-rm -f contrib/tools/*.$(OBJEXT)
fukasawa e60969
fukasawa e60969
distclean-compile:
fukasawa e60969
	-rm -f *.tab.c
fukasawa e60969
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/png.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngerror.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngget.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngmem.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngpread.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngread.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrio.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrtran.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrutil.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngset.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngtest.Po@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngtrans.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwio.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwrite.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwtran.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwutil.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@arm/$(DEPDIR)/arm_init.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@arm/$(DEPDIR)/filter_neon.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@arm/$(DEPDIR)/filter_neon_intrinsics.Plo@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngimage.Po@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngstest.Po@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngunknown.Po@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngvalid.Po@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@contrib/tools/$(DEPDIR)/png-fix-itxt.Po@am__quote@
fukasawa e60969
@AMDEP_TRUE@@am__include@ @am__quote@contrib/tools/$(DEPDIR)/pngfix.Po@am__quote@
fukasawa e60969
fukasawa e60969
.S.o:
fukasawa e60969
@am__fastdepCCAS_TRUE@	$(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
fukasawa e60969
@am__fastdepCCAS_TRUE@	$(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
fukasawa e60969
@am__fastdepCCAS_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
fukasawa e60969
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
fukasawa e60969
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@	DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
fukasawa e60969
@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ $<
fukasawa e60969
fukasawa e60969
.S.obj:
fukasawa e60969
@am__fastdepCCAS_TRUE@	$(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
fukasawa e60969
@am__fastdepCCAS_TRUE@	$(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
fukasawa e60969
@am__fastdepCCAS_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
fukasawa e60969
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
fukasawa e60969
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@	DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
fukasawa e60969
@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
fukasawa e60969
fukasawa e60969
.S.lo:
fukasawa e60969
@am__fastdepCCAS_TRUE@	$(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
fukasawa e60969
@am__fastdepCCAS_TRUE@	$(LTCPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
fukasawa e60969
@am__fastdepCCAS_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Plo
fukasawa e60969
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
fukasawa e60969
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@	DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
fukasawa e60969
@am__fastdepCCAS_FALSE@	$(AM_V_CPPAS@am__nodep@)$(LTCPPASCOMPILE) -c -o $@ $<
fukasawa e60969
fukasawa e60969
.c.o:
fukasawa e60969
@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
fukasawa e60969
@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
fukasawa e60969
@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
fukasawa e60969
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
fukasawa e60969
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
fukasawa e60969
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
fukasawa e60969
fukasawa e60969
.c.obj:
fukasawa e60969
@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
fukasawa e60969
@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
fukasawa e60969
@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
fukasawa e60969
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
fukasawa e60969
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
fukasawa e60969
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
fukasawa e60969
fukasawa e60969
.c.lo:
fukasawa e60969
@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
fukasawa e60969
@am__fastdepCC_TRUE@	$(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
fukasawa e60969
@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Plo
fukasawa e60969
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
fukasawa e60969
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
fukasawa e60969
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
fukasawa e60969
fukasawa e60969
mostlyclean-libtool:
fukasawa e60969
	-rm -f *.lo
fukasawa e60969
fukasawa e60969
clean-libtool:
fukasawa e60969
	-rm -rf .libs _libs
fukasawa e60969
	-rm -rf arm/.libs arm/_libs
fukasawa e60969
fukasawa e60969
distclean-libtool:
fukasawa e60969
	-rm -f libtool config.lt
fukasawa e60969
install-man3: $(dist_man_MANS)
fukasawa e60969
	@$(NORMAL_INSTALL)
fukasawa e60969
	@list1=''; \
fukasawa e60969
	list2='$(dist_man_MANS)'; \
fukasawa e60969
	test -n "$(man3dir)" \
fukasawa e60969
	  && test -n "`echo $$list1$$list2`" \
fukasawa e60969
	  || exit 0; \
fukasawa e60969
	echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
fukasawa e60969
	$(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
fukasawa e60969
	{ for i in $$list1; do echo "$$i"; done;  \
fukasawa e60969
	if test -n "$$list2"; then \
fukasawa e60969
	  for i in $$list2; do echo "$$i"; done \
fukasawa e60969
	    | sed -n '/\.3[a-z]*$$/p'; \
fukasawa e60969
	fi; \
fukasawa e60969
	} | while read p; do \
fukasawa e60969
	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
fukasawa e60969
	  echo "$$d$$p"; echo "$$p"; \
fukasawa e60969
	done | \
fukasawa e60969
	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
fukasawa e60969
	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
fukasawa e60969
	sed 'N;N;s,\n, ,g' | { \
fukasawa e60969
	list=; while read file base inst; do \
fukasawa e60969
	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
fukasawa e60969
	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
fukasawa e60969
	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
fukasawa e60969
	  fi; \
fukasawa e60969
	done; \
fukasawa e60969
	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
fukasawa e60969
	while read files; do \
fukasawa e60969
	  test -z "$$files" || { \
fukasawa e60969
	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
fukasawa e60969
	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
fukasawa e60969
	done; }
fukasawa e60969
fukasawa e60969
uninstall-man3:
fukasawa e60969
	@$(NORMAL_UNINSTALL)
fukasawa e60969
	@list=''; test -n "$(man3dir)" || exit 0; \
fukasawa e60969
	files=`{ for i in $$list; do echo "$$i"; done; \
fukasawa e60969
	l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
fukasawa e60969
	  sed -n '/\.3[a-z]*$$/p'; \
fukasawa e60969
	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
fukasawa e60969
	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
fukasawa e60969
	dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
fukasawa e60969
install-man5: $(dist_man_MANS)
fukasawa e60969
	@$(NORMAL_INSTALL)
fukasawa e60969
	@list1=''; \
fukasawa e60969
	list2='$(dist_man_MANS)'; \
fukasawa e60969
	test -n "$(man5dir)" \
fukasawa e60969
	  && test -n "`echo $$list1$$list2`" \
fukasawa e60969
	  || exit 0; \
fukasawa e60969
	echo " $(MKDIR_P) '$(DESTDIR)$(man5dir)'"; \
fukasawa e60969
	$(MKDIR_P) "$(DESTDIR)$(man5dir)" || exit 1; \
fukasawa e60969
	{ for i in $$list1; do echo "$$i"; done;  \
fukasawa e60969
	if test -n "$$list2"; then \
fukasawa e60969
	  for i in $$list2; do echo "$$i"; done \
fukasawa e60969
	    | sed -n '/\.5[a-z]*$$/p'; \
fukasawa e60969
	fi; \
fukasawa e60969
	} | while read p; do \
fukasawa e60969
	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
fukasawa e60969
	  echo "$$d$$p"; echo "$$p"; \
fukasawa e60969
	done | \
fukasawa e60969
	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
fukasawa e60969
	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
fukasawa e60969
	sed 'N;N;s,\n, ,g' | { \
fukasawa e60969
	list=; while read file base inst; do \
fukasawa e60969
	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
fukasawa e60969
	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
fukasawa e60969
	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \
fukasawa e60969
	  fi; \
fukasawa e60969
	done; \
fukasawa e60969
	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
fukasawa e60969
	while read files; do \
fukasawa e60969
	  test -z "$$files" || { \
fukasawa e60969
	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \
fukasawa e60969
	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \
fukasawa e60969
	done; }
fukasawa e60969
fukasawa e60969
uninstall-man5:
fukasawa e60969
	@$(NORMAL_UNINSTALL)
fukasawa e60969
	@list=''; test -n "$(man5dir)" || exit 0; \
fukasawa e60969
	files=`{ for i in $$list; do echo "$$i"; done; \
fukasawa e60969
	l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
fukasawa e60969
	  sed -n '/\.5[a-z]*$$/p'; \
fukasawa e60969
	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
fukasawa e60969
	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
fukasawa e60969
	dir='$(DESTDIR)$(man5dir)'; $(am__uninstall_files_from_dir)
fukasawa e60969
install-pkgconfigDATA: $(pkgconfig_DATA)
fukasawa e60969
	@$(NORMAL_INSTALL)
fukasawa e60969
	@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
fukasawa e60969
	if test -n "$$list"; then \
fukasawa e60969
	  echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
fukasawa e60969
	  $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
fukasawa e60969
	fi; \
fukasawa e60969
	for p in $$list; do \
fukasawa e60969
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
fukasawa e60969
	  echo "$$d$$p"; \
fukasawa e60969
	done | $(am__base_list) | \
fukasawa e60969
	while read files; do \
fukasawa e60969
	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
fukasawa e60969
	  $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
fukasawa e60969
	done
fukasawa e60969
fukasawa e60969
uninstall-pkgconfigDATA:
fukasawa e60969
	@$(NORMAL_UNINSTALL)
fukasawa e60969
	@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
fukasawa e60969
	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
fukasawa e60969
	dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
fukasawa e60969
install-nodist_pkgincludeHEADERS: $(nodist_pkginclude_HEADERS)
fukasawa e60969
	@$(NORMAL_INSTALL)
fukasawa e60969
	@list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
fukasawa e60969
	if test -n "$$list"; then \
fukasawa e60969
	  echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \
fukasawa e60969
	  $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \
fukasawa e60969
	fi; \
fukasawa e60969
	for p in $$list; do \
fukasawa e60969
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
fukasawa e60969
	  echo "$$d$$p"; \
fukasawa e60969
	done | $(am__base_list) | \
fukasawa e60969
	while read files; do \
fukasawa e60969
	  echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
fukasawa e60969
	  $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
fukasawa e60969
	done
fukasawa e60969
fukasawa e60969
uninstall-nodist_pkgincludeHEADERS:
fukasawa e60969
	@$(NORMAL_UNINSTALL)
fukasawa e60969
	@list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
fukasawa e60969
	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
fukasawa e60969
	dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir)
fukasawa e60969
install-pkgincludeHEADERS: $(pkginclude_HEADERS)
fukasawa e60969
	@$(NORMAL_INSTALL)
fukasawa e60969
	@list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
fukasawa e60969
	if test -n "$$list"; then \
fukasawa e60969
	  echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \
fukasawa e60969
	  $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \
fukasawa e60969
	fi; \
fukasawa e60969
	for p in $$list; do \
fukasawa e60969
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
fukasawa e60969
	  echo "$$d$$p"; \
fukasawa e60969
	done | $(am__base_list) | \
fukasawa e60969
	while read files; do \
fukasawa e60969
	  echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
fukasawa e60969
	  $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
fukasawa e60969
	done
fukasawa e60969
fukasawa e60969
uninstall-pkgincludeHEADERS:
fukasawa e60969
	@$(NORMAL_UNINSTALL)
fukasawa e60969
	@list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
fukasawa e60969
	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
fukasawa e60969
	dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir)
fukasawa e60969
fukasawa e60969
ID: $(am__tagged_files)
fukasawa e60969
	$(am__define_uniq_tagged_files); mkid -fID $$unique
fukasawa e60969
tags: tags-am
fukasawa e60969
TAGS: tags
fukasawa e60969
fukasawa e60969
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
fukasawa e60969
	set x; \
fukasawa e60969
	here=`pwd`; \
fukasawa e60969
	$(am__define_uniq_tagged_files); \
fukasawa e60969
	shift; \
fukasawa e60969
	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
fukasawa e60969
	  test -n "$$unique" || unique=$$empty_fix; \
fukasawa e60969
	  if test $$# -gt 0; then \
fukasawa e60969
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
fukasawa e60969
	      "$$@" $$unique; \
fukasawa e60969
	  else \
fukasawa e60969
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
fukasawa e60969
	      $$unique; \
fukasawa e60969
	  fi; \
fukasawa e60969
	fi
fukasawa e60969
ctags: ctags-am
fukasawa e60969
fukasawa e60969
CTAGS: ctags
fukasawa e60969
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
fukasawa e60969
	$(am__define_uniq_tagged_files); \
fukasawa e60969
	test -z "$(CTAGS_ARGS)$$unique" \
fukasawa e60969
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
fukasawa e60969
	     $$unique
fukasawa e60969
fukasawa e60969
GTAGS:
fukasawa e60969
	here=`$(am__cd) $(top_builddir) && pwd` \
fukasawa e60969
	  && $(am__cd) $(top_srcdir) \
fukasawa e60969
	  && gtags -i $(GTAGS_ARGS) "$$here"
fukasawa e60969
cscope: cscope.files
fukasawa e60969
	test ! -s cscope.files \
fukasawa e60969
	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
fukasawa e60969
clean-cscope:
fukasawa e60969
	-rm -f cscope.files
fukasawa e60969
cscope.files: clean-cscope cscopelist
fukasawa e60969
cscopelist: cscopelist-am
fukasawa e60969
fukasawa e60969
cscopelist-am: $(am__tagged_files)
fukasawa e60969
	list='$(am__tagged_files)'; \
fukasawa e60969
	case "$(srcdir)" in \
fukasawa e60969
	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
fukasawa e60969
	  *) sdir=$(subdir)/$(srcdir) ;; \
fukasawa e60969
	esac; \
fukasawa e60969
	for i in $$list; do \
fukasawa e60969
	  if test -f "$$i"; then \
fukasawa e60969
	    echo "$(subdir)/$$i"; \
fukasawa e60969
	  else \
fukasawa e60969
	    echo "$$sdir/$$i"; \
fukasawa e60969
	  fi; \
fukasawa e60969
	done >> $(top_builddir)/cscope.files
fukasawa e60969
fukasawa e60969
distclean-tags:
fukasawa e60969
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
fukasawa e60969
	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
fukasawa e60969
fukasawa e60969
# Recover from deleted '.trs' file; this should ensure that
fukasawa e60969
# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
fukasawa e60969
# both 'foo.log' and 'foo.trs'.  Break the recipe in two subshells
fukasawa e60969
# to avoid problems with "make -n".
fukasawa e60969
.log.trs:
fukasawa e60969
	rm -f $< $@
fukasawa e60969
	$(MAKE) $(AM_MAKEFLAGS) $<
fukasawa e60969
fukasawa e60969
# Leading 'am--fnord' is there to ensure the list of targets does not
fukasawa e60969
# expand to empty, as could happen e.g. with make check TESTS=''.
fukasawa e60969
am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
fukasawa e60969
am--force-recheck:
fukasawa e60969
	@:
fukasawa e60969
fukasawa e60969
$(TEST_SUITE_LOG): $(TEST_LOGS)
fukasawa e60969
	@$(am__set_TESTS_bases); \
fukasawa e60969
	am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
fukasawa e60969
	redo_bases=`for i in $$bases; do \
fukasawa e60969
	              am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
fukasawa e60969
	            done`; \
fukasawa e60969
	if test -n "$$redo_bases"; then \
fukasawa e60969
	  redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
fukasawa e60969
	  redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
fukasawa e60969
	  if $(am__make_dryrun); then :; else \
fukasawa e60969
	    rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
fukasawa e60969
	  fi; \
fukasawa e60969
	fi; \
fukasawa e60969
	if test -n "$$am__remaking_logs"; then \
fukasawa e60969
	  echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
fukasawa e60969
	       "recursion detected" >&2; \
fukasawa e60969
	elif test -n "$$redo_logs"; then \
fukasawa e60969
	  am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
fukasawa e60969
	fi; \
fukasawa e60969
	if $(am__make_dryrun); then :; else \
fukasawa e60969
	  st=0;  \
fukasawa e60969
	  errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
fukasawa e60969
	  for i in $$redo_bases; do \
fukasawa e60969
	    test -f $$i.trs && test -r $$i.trs \
fukasawa e60969
	      || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
fukasawa e60969
	    test -f $$i.log && test -r $$i.log \
fukasawa e60969
	      || { echo "$$errmsg $$i.log" >&2; st=1; }; \
fukasawa e60969
	  done; \
fukasawa e60969
	  test $$st -eq 0 || exit 1; \
fukasawa e60969
	fi
fukasawa e60969
	@$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
fukasawa e60969
	ws='[ 	]'; \
fukasawa e60969
	results=`for b in $$bases; do echo $$b.trs; done`; \
fukasawa e60969
	test -n "$$results" || results=/dev/null; \
fukasawa e60969
	all=`  grep "^$$ws*:test-result:"           $$results | wc -l`; \
fukasawa e60969
	pass=` grep "^$$ws*:test-result:$$ws*PASS"  $$results | wc -l`; \
fukasawa e60969
	fail=` grep "^$$ws*:test-result:$$ws*FAIL"  $$results | wc -l`; \
fukasawa e60969
	skip=` grep "^$$ws*:test-result:$$ws*SKIP"  $$results | wc -l`; \
fukasawa e60969
	xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
fukasawa e60969
	xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
fukasawa e60969
	error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
fukasawa e60969
	if test `expr $$fail + $$xpass + $$error` -eq 0; then \
fukasawa e60969
	  success=true; \
fukasawa e60969
	else \
fukasawa e60969
	  success=false; \
fukasawa e60969
	fi; \
fukasawa e60969
	br='==================='; br=$$br$$br$$br$$br; \
fukasawa e60969
	result_count () \
fukasawa e60969
	{ \
fukasawa e60969
	    if test x"$$1" = x"--maybe-color"; then \
fukasawa e60969
	      maybe_colorize=yes; \
fukasawa e60969
	    elif test x"$$1" = x"--no-color"; then \
fukasawa e60969
	      maybe_colorize=no; \
fukasawa e60969
	    else \
fukasawa e60969
	      echo "$@: invalid 'result_count' usage" >&2; exit 4; \
fukasawa e60969
	    fi; \
fukasawa e60969
	    shift; \
fukasawa e60969
	    desc=$$1 count=$$2; \
fukasawa e60969
	    if test $$maybe_colorize = yes && test $$count -gt 0; then \
fukasawa e60969
	      color_start=$$3 color_end=$$std; \
fukasawa e60969
	    else \
fukasawa e60969
	      color_start= color_end=; \
fukasawa e60969
	    fi; \
fukasawa e60969
	    echo "$${color_start}# $$desc $$count$${color_end}"; \
fukasawa e60969
	}; \
fukasawa e60969
	create_testsuite_report () \
fukasawa e60969
	{ \
fukasawa e60969
	  result_count $$1 "TOTAL:" $$all   "$$brg"; \
fukasawa e60969
	  result_count $$1 "PASS: " $$pass  "$$grn"; \
fukasawa e60969
	  result_count $$1 "SKIP: " $$skip  "$$blu"; \
fukasawa e60969
	  result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
fukasawa e60969
	  result_count $$1 "FAIL: " $$fail  "$$red"; \
fukasawa e60969
	  result_count $$1 "XPASS:" $$xpass "$$red"; \
fukasawa e60969
	  result_count $$1 "ERROR:" $$error "$$mgn"; \
fukasawa e60969
	}; \
fukasawa e60969
	{								\
fukasawa e60969
	  echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |	\
fukasawa e60969
	    $(am__rst_title);						\
fukasawa e60969
	  create_testsuite_report --no-color;				\
fukasawa e60969
	  echo;								\
fukasawa e60969
	  echo ".. contents:: :depth: 2";				\
fukasawa e60969
	  echo;								\
fukasawa e60969
	  for b in $$bases; do echo $$b; done				\
fukasawa e60969
	    | $(am__create_global_log);					\
fukasawa e60969
	} >$(TEST_SUITE_LOG).tmp || exit 1;				\
fukasawa e60969
	mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);			\
fukasawa e60969
	if $$success; then						\
fukasawa e60969
	  col="$$grn";							\
fukasawa e60969
	 else								\
fukasawa e60969
	  col="$$red";							\
fukasawa e60969
	  test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG);		\
fukasawa e60969
	fi;								\
fukasawa e60969
	echo "$${col}$$br$${std}"; 					\
fukasawa e60969
	echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}";	\
fukasawa e60969
	echo "$${col}$$br$${std}"; 					\
fukasawa e60969
	create_testsuite_report --maybe-color;				\
fukasawa e60969
	echo "$$col$$br$$std";						\
fukasawa e60969
	if $$success; then :; else					\
fukasawa e60969
	  echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}";		\
fukasawa e60969
	  if test -n "$(PACKAGE_BUGREPORT)"; then			\
fukasawa e60969
	    echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}";	\
fukasawa e60969
	  fi;								\
fukasawa e60969
	  echo "$$col$$br$$std";					\
fukasawa e60969
	fi;								\
fukasawa e60969
	$$success || exit 1
fukasawa e60969
fukasawa e60969
check-TESTS:
fukasawa e60969
	@list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
fukasawa e60969
	@list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
fukasawa e60969
	@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
fukasawa e60969
	@set +e; $(am__set_TESTS_bases); \
fukasawa e60969
	log_list=`for i in $$bases; do echo $$i.log; done`; \
fukasawa e60969
	trs_list=`for i in $$bases; do echo $$i.trs; done`; \
fukasawa e60969
	log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
fukasawa e60969
	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
fukasawa e60969
	exit $$?;
fukasawa e60969
recheck: all $(check_PROGRAMS)
fukasawa e60969
	@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
fukasawa e60969
	@set +e; $(am__set_TESTS_bases); \
fukasawa e60969
	bases=`for i in $$bases; do echo $$i; done \
fukasawa e60969
	         | $(am__list_recheck_tests)` || exit 1; \
fukasawa e60969
	log_list=`for i in $$bases; do echo $$i.log; done`; \
fukasawa e60969
	log_list=`echo $$log_list`; \
fukasawa e60969
	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
fukasawa e60969
	        am__force_recheck=am--force-recheck \
fukasawa e60969
	        TEST_LOGS="$$log_list"; \
fukasawa e60969
	exit $$?
fukasawa e60969
tests/pngtest.log: tests/pngtest
fukasawa e60969
	@p='tests/pngtest'; \
fukasawa e60969
	b='tests/pngtest'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngvalid-gamma-16-to-8.log: tests/pngvalid-gamma-16-to-8
fukasawa e60969
	@p='tests/pngvalid-gamma-16-to-8'; \
fukasawa e60969
	b='tests/pngvalid-gamma-16-to-8'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngvalid-gamma-alpha-mode.log: tests/pngvalid-gamma-alpha-mode
fukasawa e60969
	@p='tests/pngvalid-gamma-alpha-mode'; \
fukasawa e60969
	b='tests/pngvalid-gamma-alpha-mode'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngvalid-gamma-background.log: tests/pngvalid-gamma-background
fukasawa e60969
	@p='tests/pngvalid-gamma-background'; \
fukasawa e60969
	b='tests/pngvalid-gamma-background'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngvalid-gamma-expand16-alpha-mode.log: tests/pngvalid-gamma-expand16-alpha-mode
fukasawa e60969
	@p='tests/pngvalid-gamma-expand16-alpha-mode'; \
fukasawa e60969
	b='tests/pngvalid-gamma-expand16-alpha-mode'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngvalid-gamma-expand16-background.log: tests/pngvalid-gamma-expand16-background
fukasawa e60969
	@p='tests/pngvalid-gamma-expand16-background'; \
fukasawa e60969
	b='tests/pngvalid-gamma-expand16-background'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngvalid-gamma-expand16-transform.log: tests/pngvalid-gamma-expand16-transform
fukasawa e60969
	@p='tests/pngvalid-gamma-expand16-transform'; \
fukasawa e60969
	b='tests/pngvalid-gamma-expand16-transform'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngvalid-gamma-sbit.log: tests/pngvalid-gamma-sbit
fukasawa e60969
	@p='tests/pngvalid-gamma-sbit'; \
fukasawa e60969
	b='tests/pngvalid-gamma-sbit'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngvalid-gamma-threshold.log: tests/pngvalid-gamma-threshold
fukasawa e60969
	@p='tests/pngvalid-gamma-threshold'; \
fukasawa e60969
	b='tests/pngvalid-gamma-threshold'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngvalid-gamma-transform.log: tests/pngvalid-gamma-transform
fukasawa e60969
	@p='tests/pngvalid-gamma-transform'; \
fukasawa e60969
	b='tests/pngvalid-gamma-transform'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngvalid-progressive-size.log: tests/pngvalid-progressive-size
fukasawa e60969
	@p='tests/pngvalid-progressive-size'; \
fukasawa e60969
	b='tests/pngvalid-progressive-size'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngvalid-progressive-interlace-standard.log: tests/pngvalid-progressive-interlace-standard
fukasawa e60969
	@p='tests/pngvalid-progressive-interlace-standard'; \
fukasawa e60969
	b='tests/pngvalid-progressive-interlace-standard'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngvalid-transform.log: tests/pngvalid-transform
fukasawa e60969
	@p='tests/pngvalid-transform'; \
fukasawa e60969
	b='tests/pngvalid-transform'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngvalid-progressive-standard.log: tests/pngvalid-progressive-standard
fukasawa e60969
	@p='tests/pngvalid-progressive-standard'; \
fukasawa e60969
	b='tests/pngvalid-progressive-standard'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngvalid-standard.log: tests/pngvalid-standard
fukasawa e60969
	@p='tests/pngvalid-standard'; \
fukasawa e60969
	b='tests/pngvalid-standard'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngstest-1.8.log: tests/pngstest-1.8
fukasawa e60969
	@p='tests/pngstest-1.8'; \
fukasawa e60969
	b='tests/pngstest-1.8'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngstest-1.8-alpha.log: tests/pngstest-1.8-alpha
fukasawa e60969
	@p='tests/pngstest-1.8-alpha'; \
fukasawa e60969
	b='tests/pngstest-1.8-alpha'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngstest-linear.log: tests/pngstest-linear
fukasawa e60969
	@p='tests/pngstest-linear'; \
fukasawa e60969
	b='tests/pngstest-linear'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngstest-linear-alpha.log: tests/pngstest-linear-alpha
fukasawa e60969
	@p='tests/pngstest-linear-alpha'; \
fukasawa e60969
	b='tests/pngstest-linear-alpha'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngstest-none.log: tests/pngstest-none
fukasawa e60969
	@p='tests/pngstest-none'; \
fukasawa e60969
	b='tests/pngstest-none'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngstest-none-alpha.log: tests/pngstest-none-alpha
fukasawa e60969
	@p='tests/pngstest-none-alpha'; \
fukasawa e60969
	b='tests/pngstest-none-alpha'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngstest-sRGB.log: tests/pngstest-sRGB
fukasawa e60969
	@p='tests/pngstest-sRGB'; \
fukasawa e60969
	b='tests/pngstest-sRGB'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngstest-sRGB-alpha.log: tests/pngstest-sRGB-alpha
fukasawa e60969
	@p='tests/pngstest-sRGB-alpha'; \
fukasawa e60969
	b='tests/pngstest-sRGB-alpha'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngunknown-IDAT.log: tests/pngunknown-IDAT
fukasawa e60969
	@p='tests/pngunknown-IDAT'; \
fukasawa e60969
	b='tests/pngunknown-IDAT'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngunknown-discard.log: tests/pngunknown-discard
fukasawa e60969
	@p='tests/pngunknown-discard'; \
fukasawa e60969
	b='tests/pngunknown-discard'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngunknown-if-safe.log: tests/pngunknown-if-safe
fukasawa e60969
	@p='tests/pngunknown-if-safe'; \
fukasawa e60969
	b='tests/pngunknown-if-safe'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngunknown-sAPI.log: tests/pngunknown-sAPI
fukasawa e60969
	@p='tests/pngunknown-sAPI'; \
fukasawa e60969
	b='tests/pngunknown-sAPI'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngunknown-sTER.log: tests/pngunknown-sTER
fukasawa e60969
	@p='tests/pngunknown-sTER'; \
fukasawa e60969
	b='tests/pngunknown-sTER'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngunknown-save.log: tests/pngunknown-save
fukasawa e60969
	@p='tests/pngunknown-save'; \
fukasawa e60969
	b='tests/pngunknown-save'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngunknown-vpAg.log: tests/pngunknown-vpAg
fukasawa e60969
	@p='tests/pngunknown-vpAg'; \
fukasawa e60969
	b='tests/pngunknown-vpAg'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngimage-quick.log: tests/pngimage-quick
fukasawa e60969
	@p='tests/pngimage-quick'; \
fukasawa e60969
	b='tests/pngimage-quick'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
tests/pngimage-full.log: tests/pngimage-full
fukasawa e60969
	@p='tests/pngimage-full'; \
fukasawa e60969
	b='tests/pngimage-full'; \
fukasawa e60969
	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
.test.log:
fukasawa e60969
	@p='$<'; \
fukasawa e60969
	$(am__set_b); \
fukasawa e60969
	$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
	$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
fukasawa e60969
	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
@am__EXEEXT_TRUE@.test$(EXEEXT).log:
fukasawa e60969
@am__EXEEXT_TRUE@	@p='$<'; \
fukasawa e60969
@am__EXEEXT_TRUE@	$(am__set_b); \
fukasawa e60969
@am__EXEEXT_TRUE@	$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
fukasawa e60969
@am__EXEEXT_TRUE@	--log-file $$b.log --trs-file $$b.trs \
fukasawa e60969
@am__EXEEXT_TRUE@	$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
fukasawa e60969
@am__EXEEXT_TRUE@	"$$tst" $(AM_TESTS_FD_REDIRECT)
fukasawa e60969
fukasawa e60969
distdir: $(DISTFILES)
fukasawa e60969
	$(am__remove_distdir)
fukasawa e60969
	test -d "$(distdir)" || mkdir "$(distdir)"
fukasawa e60969
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
fukasawa e60969
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
fukasawa e60969
	list='$(DISTFILES)'; \
fukasawa e60969
	  dist_files=`for file in $$list; do echo $$file; done | \
fukasawa e60969
	  sed -e "s|^$$srcdirstrip/||;t" \
fukasawa e60969
	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
fukasawa e60969
	case $$dist_files in \
fukasawa e60969
	  */*) $(MKDIR_P) `echo "$$dist_files" | \
fukasawa e60969
			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
fukasawa e60969
			   sort -u` ;; \
fukasawa e60969
	esac; \
fukasawa e60969
	for file in $$dist_files; do \
fukasawa e60969
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
fukasawa e60969
	  if test -d $$d/$$file; then \
fukasawa e60969
	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
fukasawa e60969
	    if test -d "$(distdir)/$$file"; then \
fukasawa e60969
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fukasawa e60969
	    fi; \
fukasawa e60969
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
fukasawa e60969
	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
fukasawa e60969
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fukasawa e60969
	    fi; \
fukasawa e60969
	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
fukasawa e60969
	  else \
fukasawa e60969
	    test -f "$(distdir)/$$file" \
fukasawa e60969
	    || cp -p $$d/$$file "$(distdir)/$$file" \
fukasawa e60969
	    || exit 1; \
fukasawa e60969
	  fi; \
fukasawa e60969
	done
fukasawa e60969
	$(MAKE) $(AM_MAKEFLAGS) \
fukasawa e60969
	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
fukasawa e60969
	  dist-hook
fukasawa e60969
	-test -n "$(am__skip_mode_fix)" \
fukasawa e60969
	|| find "$(distdir)" -type d ! -perm -755 \
fukasawa e60969
		-exec chmod u+rwx,go+rx {} \; -o \
fukasawa e60969
	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
fukasawa e60969
	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
fukasawa e60969
	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
fukasawa e60969
	|| chmod -R a+r "$(distdir)"
fukasawa e60969
dist-gzip: distdir
fukasawa e60969
	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
fukasawa e60969
	$(am__post_remove_distdir)
fukasawa e60969
fukasawa e60969
dist-bzip2: distdir
fukasawa e60969
	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
fukasawa e60969
	$(am__post_remove_distdir)
fukasawa e60969
fukasawa e60969
dist-lzip: distdir
fukasawa e60969
	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
fukasawa e60969
	$(am__post_remove_distdir)
fukasawa e60969
dist-xz: distdir
fukasawa e60969
	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
fukasawa e60969
	$(am__post_remove_distdir)
fukasawa e60969
fukasawa e60969
dist-tarZ: distdir
fukasawa e60969
	@echo WARNING: "Support for distribution archives compressed with" \
fukasawa e60969
		       "legacy program 'compress' is deprecated." >&2
fukasawa e60969
	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
fukasawa e60969
	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
fukasawa e60969
	$(am__post_remove_distdir)
fukasawa e60969
fukasawa e60969
dist-shar: distdir
fukasawa e60969
	@echo WARNING: "Support for shar distribution archives is" \
fukasawa e60969
	               "deprecated." >&2
fukasawa e60969
	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
fukasawa e60969
	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
fukasawa e60969
	$(am__post_remove_distdir)
fukasawa e60969
fukasawa e60969
dist-zip: distdir
fukasawa e60969
	-rm -f $(distdir).zip
fukasawa e60969
	zip -rq $(distdir).zip $(distdir)
fukasawa e60969
	$(am__post_remove_distdir)
fukasawa e60969
fukasawa e60969
dist dist-all:
fukasawa e60969
	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
fukasawa e60969
	$(am__post_remove_distdir)
fukasawa e60969
fukasawa e60969
# This target untars the dist file and tries a VPATH configuration.  Then
fukasawa e60969
# it guarantees that the distribution is self-contained by making another
fukasawa e60969
# tarfile.
fukasawa e60969
distcheck: dist
fukasawa e60969
	case '$(DIST_ARCHIVES)' in \
fukasawa e60969
	*.tar.gz*) \
fukasawa e60969
	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
fukasawa e60969
	*.tar.bz2*) \
fukasawa e60969
	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
fukasawa e60969
	*.tar.lz*) \
fukasawa e60969
	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
fukasawa e60969
	*.tar.xz*) \
fukasawa e60969
	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
fukasawa e60969
	*.tar.Z*) \
fukasawa e60969
	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
fukasawa e60969
	*.shar.gz*) \
fukasawa e60969
	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
fukasawa e60969
	*.zip*) \
fukasawa e60969
	  unzip $(distdir).zip ;;\
fukasawa e60969
	esac
fukasawa e60969
	chmod -R a-w $(distdir)
fukasawa e60969
	chmod u+w $(distdir)
fukasawa e60969
	mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
fukasawa e60969
	chmod a-w $(distdir)
fukasawa e60969
	test -d $(distdir)/_build || exit 0; \
fukasawa e60969
	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
fukasawa e60969
	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
fukasawa e60969
	  && am__cwd=`pwd` \
fukasawa e60969
	  && $(am__cd) $(distdir)/_build/sub \
fukasawa e60969
	  && ../../configure \
fukasawa e60969
	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
fukasawa e60969
	    $(DISTCHECK_CONFIGURE_FLAGS) \
fukasawa e60969
	    --srcdir=../.. --prefix="$$dc_install_base" \
fukasawa e60969
	  && $(MAKE) $(AM_MAKEFLAGS) \
fukasawa e60969
	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
fukasawa e60969
	  && $(MAKE) $(AM_MAKEFLAGS) check \
fukasawa e60969
	  && $(MAKE) $(AM_MAKEFLAGS) install \
fukasawa e60969
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
fukasawa e60969
	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
fukasawa e60969
	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
fukasawa e60969
	        distuninstallcheck \
fukasawa e60969
	  && chmod -R a-w "$$dc_install_base" \
fukasawa e60969
	  && ({ \
fukasawa e60969
	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
fukasawa e60969
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
fukasawa e60969
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
fukasawa e60969
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
fukasawa e60969
	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
fukasawa e60969
	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
fukasawa e60969
	  && rm -rf "$$dc_destdir" \
fukasawa e60969
	  && $(MAKE) $(AM_MAKEFLAGS) dist \
fukasawa e60969
	  && rm -rf $(DIST_ARCHIVES) \
fukasawa e60969
	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
fukasawa e60969
	  && cd "$$am__cwd" \
fukasawa e60969
	  || exit 1
fukasawa e60969
	$(am__post_remove_distdir)
fukasawa e60969
	@(echo "$(distdir) archives ready for distribution: "; \
fukasawa e60969
	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
fukasawa e60969
	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
fukasawa e60969
distuninstallcheck:
fukasawa e60969
	@test -n '$(distuninstallcheck_dir)' || { \
fukasawa e60969
	  echo 'ERROR: trying to run $@ with an empty' \
fukasawa e60969
	       '$$(distuninstallcheck_dir)' >&2; \
fukasawa e60969
	  exit 1; \
fukasawa e60969
	}; \
fukasawa e60969
	$(am__cd) '$(distuninstallcheck_dir)' || { \
fukasawa e60969
	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
fukasawa e60969
	  exit 1; \
fukasawa e60969
	}; \
fukasawa e60969
	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
fukasawa e60969
	   || { echo "ERROR: files left after uninstall:" ; \
fukasawa e60969
	        if test -n "$(DESTDIR)"; then \
fukasawa e60969
	          echo "  (check DESTDIR support)"; \
fukasawa e60969
	        fi ; \
fukasawa e60969
	        $(distuninstallcheck_listfiles) ; \
fukasawa e60969
	        exit 1; } >&2
fukasawa e60969
distcleancheck: distclean
fukasawa e60969
	@if test '$(srcdir)' = . ; then \
fukasawa e60969
	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
fukasawa e60969
	  exit 1 ; \
fukasawa e60969
	fi
fukasawa e60969
	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
fukasawa e60969
	  || { echo "ERROR: files left in build directory after distclean:" ; \
fukasawa e60969
	       $(distcleancheck_listfiles) ; \
fukasawa e60969
	       exit 1; } >&2
fukasawa e60969
check-am: all-am
fukasawa e60969
	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
fukasawa e60969
	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
fukasawa e60969
check: $(BUILT_SOURCES)
fukasawa e60969
	$(MAKE) $(AM_MAKEFLAGS) check-am
fukasawa e60969
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \
fukasawa e60969
		$(HEADERS) config.h
fukasawa e60969
install-binPROGRAMS: install-libLTLIBRARIES
fukasawa e60969
fukasawa e60969
installdirs:
fukasawa e60969
	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkgincludedir)" "$(DESTDIR)$(pkgincludedir)"; do \
fukasawa e60969
	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
fukasawa e60969
	done
fukasawa e60969
install: $(BUILT_SOURCES)
fukasawa e60969
	$(MAKE) $(AM_MAKEFLAGS) install-am
fukasawa e60969
install-exec: install-exec-am
fukasawa e60969
install-data: install-data-am
fukasawa e60969
uninstall: uninstall-am
fukasawa e60969
fukasawa e60969
install-am: all-am
fukasawa e60969
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
fukasawa e60969
fukasawa e60969
installcheck: installcheck-am
fukasawa e60969
install-strip:
fukasawa e60969
	if test -z '$(STRIP)'; then \
fukasawa e60969
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
fukasawa e60969
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
fukasawa e60969
	      install; \
fukasawa e60969
	else \
fukasawa e60969
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
fukasawa e60969
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
fukasawa e60969
	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fukasawa e60969
	fi
fukasawa e60969
mostlyclean-generic:
fukasawa e60969
	-test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
fukasawa e60969
	-test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
fukasawa e60969
	-test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
fukasawa e60969
fukasawa e60969
clean-generic:
fukasawa e60969
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
fukasawa e60969
fukasawa e60969
distclean-generic:
fukasawa e60969
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
fukasawa e60969
	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
fukasawa e60969
	-rm -f arm/$(DEPDIR)/$(am__dirstamp)
fukasawa e60969
	-rm -f arm/$(am__dirstamp)
fukasawa e60969
	-rm -f contrib/libtests/$(DEPDIR)/$(am__dirstamp)
fukasawa e60969
	-rm -f contrib/libtests/$(am__dirstamp)
fukasawa e60969
	-rm -f contrib/tools/$(DEPDIR)/$(am__dirstamp)
fukasawa e60969
	-rm -f contrib/tools/$(am__dirstamp)
fukasawa e60969
fukasawa e60969
maintainer-clean-generic:
fukasawa e60969
	@echo "This command is intended for maintainers to use"
fukasawa e60969
	@echo "it deletes files that may require special tools to rebuild."
fukasawa e60969
	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
fukasawa e60969
	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
fukasawa e60969
@DO_INSTALL_LIBPNG_CONFIG_FALSE@@DO_INSTALL_LINKS_FALSE@install-exec-hook:
fukasawa e60969
@DO_INSTALL_LIBPNG_PC_FALSE@@DO_INSTALL_LINKS_FALSE@install-data-hook:
fukasawa e60969
@DO_INSTALL_LIBPNG_CONFIG_FALSE@@DO_INSTALL_LIBPNG_PC_FALSE@@DO_INSTALL_LINKS_FALSE@uninstall-hook:
fukasawa e60969
clean: clean-am
fukasawa e60969
fukasawa e60969
clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
fukasawa e60969
	clean-libLTLIBRARIES clean-libtool mostlyclean-am
fukasawa e60969
fukasawa e60969
distclean: distclean-am
fukasawa e60969
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
fukasawa e60969
	-rm -rf ./$(DEPDIR) arm/$(DEPDIR) contrib/libtests/$(DEPDIR) contrib/tools/$(DEPDIR)
fukasawa e60969
	-rm -f Makefile
fukasawa e60969
distclean-am: clean-am distclean-compile distclean-generic \
fukasawa e60969
	distclean-hdr distclean-libtool distclean-tags
fukasawa e60969
fukasawa e60969
dvi: dvi-am
fukasawa e60969
fukasawa e60969
dvi-am:
fukasawa e60969
fukasawa e60969
html: html-am
fukasawa e60969
fukasawa e60969
html-am:
fukasawa e60969
fukasawa e60969
info: info-am
fukasawa e60969
fukasawa e60969
info-am:
fukasawa e60969
fukasawa e60969
install-data-am: install-man install-nodist_pkgincludeHEADERS \
fukasawa e60969
	install-pkgconfigDATA install-pkgincludeHEADERS
fukasawa e60969
	@$(NORMAL_INSTALL)
fukasawa e60969
	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
fukasawa e60969
install-dvi: install-dvi-am
fukasawa e60969
fukasawa e60969
install-dvi-am:
fukasawa e60969
fukasawa e60969
install-exec-am: install-binPROGRAMS install-binSCRIPTS \
fukasawa e60969
	install-libLTLIBRARIES
fukasawa e60969
	@$(NORMAL_INSTALL)
fukasawa e60969
	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
fukasawa e60969
install-html: install-html-am
fukasawa e60969
fukasawa e60969
install-html-am:
fukasawa e60969
fukasawa e60969
install-info: install-info-am
fukasawa e60969
fukasawa e60969
install-info-am:
fukasawa e60969
fukasawa e60969
install-man: install-man3 install-man5
fukasawa e60969
fukasawa e60969
install-pdf: install-pdf-am
fukasawa e60969
fukasawa e60969
install-pdf-am:
fukasawa e60969
fukasawa e60969
install-ps: install-ps-am
fukasawa e60969
fukasawa e60969
install-ps-am:
fukasawa e60969
fukasawa e60969
installcheck-am:
fukasawa e60969
fukasawa e60969
maintainer-clean: maintainer-clean-am
fukasawa e60969
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
fukasawa e60969
	-rm -rf $(top_srcdir)/autom4te.cache
fukasawa e60969
	-rm -rf ./$(DEPDIR) arm/$(DEPDIR) contrib/libtests/$(DEPDIR) contrib/tools/$(DEPDIR)
fukasawa e60969
	-rm -f Makefile
fukasawa e60969
maintainer-clean-am: distclean-am maintainer-clean-generic
fukasawa e60969
fukasawa e60969
mostlyclean: mostlyclean-am
fukasawa e60969
fukasawa e60969
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
fukasawa e60969
	mostlyclean-libtool
fukasawa e60969
fukasawa e60969
pdf: pdf-am
fukasawa e60969
fukasawa e60969
pdf-am:
fukasawa e60969
fukasawa e60969
ps: ps-am
fukasawa e60969
fukasawa e60969
ps-am:
fukasawa e60969
fukasawa e60969
uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
fukasawa e60969
	uninstall-libLTLIBRARIES uninstall-man \
fukasawa e60969
	uninstall-nodist_pkgincludeHEADERS uninstall-pkgconfigDATA \
fukasawa e60969
	uninstall-pkgincludeHEADERS
fukasawa e60969
	@$(NORMAL_INSTALL)
fukasawa e60969
	$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
fukasawa e60969
uninstall-man: uninstall-man3 uninstall-man5
fukasawa e60969
fukasawa e60969
.MAKE: all check check-am install install-am install-data-am \
fukasawa e60969
	install-exec-am install-strip uninstall-am
fukasawa e60969
fukasawa e60969
.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-TESTS \
fukasawa e60969
	check-am clean clean-binPROGRAMS clean-checkPROGRAMS \
fukasawa e60969
	clean-cscope clean-generic clean-libLTLIBRARIES clean-libtool \
fukasawa e60969
	cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
fukasawa e60969
	dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
fukasawa e60969
	dist-zip distcheck distclean distclean-compile \
fukasawa e60969
	distclean-generic distclean-hdr distclean-libtool \
fukasawa e60969
	distclean-tags distcleancheck distdir distuninstallcheck dvi \
fukasawa e60969
	dvi-am html html-am info info-am install install-am \
fukasawa e60969
	install-binPROGRAMS install-binSCRIPTS install-data \
fukasawa e60969
	install-data-am install-data-hook install-dvi install-dvi-am \
fukasawa e60969
	install-exec install-exec-am install-exec-hook install-html \
fukasawa e60969
	install-html-am install-info install-info-am \
fukasawa e60969
	install-libLTLIBRARIES install-man install-man3 install-man5 \
fukasawa e60969
	install-nodist_pkgincludeHEADERS install-pdf install-pdf-am \
fukasawa e60969
	install-pkgconfigDATA install-pkgincludeHEADERS install-ps \
fukasawa e60969
	install-ps-am install-strip installcheck installcheck-am \
fukasawa e60969
	installdirs maintainer-clean maintainer-clean-generic \
fukasawa e60969
	mostlyclean mostlyclean-compile mostlyclean-generic \
fukasawa e60969
	mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \
fukasawa e60969
	uninstall uninstall-am uninstall-binPROGRAMS \
fukasawa e60969
	uninstall-binSCRIPTS uninstall-hook uninstall-libLTLIBRARIES \
fukasawa e60969
	uninstall-man uninstall-man3 uninstall-man5 \
fukasawa e60969
	uninstall-nodist_pkgincludeHEADERS uninstall-pkgconfigDATA \
fukasawa e60969
	uninstall-pkgincludeHEADERS
fukasawa e60969
fukasawa e60969
.PRECIOUS: Makefile
fukasawa e60969
fukasawa e60969
fukasawa e60969
$(PNGLIB_BASENAME).pc: libpng.pc
fukasawa e60969
	cp libpng.pc $@
fukasawa e60969
fukasawa e60969
$(PNGLIB_BASENAME)-config: libpng-config
fukasawa e60969
	cp libpng-config $@
fukasawa e60969
fukasawa e60969
scripts/sym.out scripts/vers.out: png.h pngconf.h pnglibconf.h
fukasawa e60969
scripts/prefix.out: png.h pngconf.h pnglibconf.out
fukasawa e60969
scripts/symbols.out: png.h pngconf.h $(srcdir)/scripts/pnglibconf.h.prebuilt
fukasawa e60969
scripts/intprefix.out: pnglibconf.h
fukasawa e60969
fukasawa e60969
libpng.sym: scripts/sym.out
fukasawa e60969
	rm -f $@
fukasawa e60969
	cp $? $@
fukasawa e60969
libpng.vers: scripts/vers.out
fukasawa e60969
	rm -f $@
fukasawa e60969
	cp $? $@
fukasawa e60969
fukasawa e60969
# Rename functions in scripts/prefix.out with a PNG_PREFIX prefix.
fukasawa e60969
# Rename macros in scripts/macro.lst from PNG_PREFIXpng_ to PNG_ (the actual
fukasawa e60969
# implementation of the macro).
fukasawa e60969
@DO_PNG_PREFIX_TRUE@pnglibconf.h: pnglibconf.out scripts/prefix.out scripts/macro.lst
fukasawa e60969
@DO_PNG_PREFIX_TRUE@	rm -f $@
fukasawa e60969
@DO_PNG_PREFIX_TRUE@	$(AWK) 's==0 && NR>1{print prev}\
fukasawa e60969
@DO_PNG_PREFIX_TRUE@	   s==0{prev=$$0}\
fukasawa e60969
@DO_PNG_PREFIX_TRUE@	   s==1{print "#define", $$1, "@PNG_PREFIX@" $$1}\
fukasawa e60969
@DO_PNG_PREFIX_TRUE@	   s==2{print "#define @PNG_PREFIX@png_" $$1, "PNG_" $$1}\
fukasawa e60969
@DO_PNG_PREFIX_TRUE@	   END{print prev}' s=0 pnglibconf.out s=1 scripts/prefix.out\
fukasawa e60969
@DO_PNG_PREFIX_TRUE@	   s=2 ${srcdir}/scripts/macro.lst >pnglibconf.tf8
fukasawa e60969
@DO_PNG_PREFIX_TRUE@	mv pnglibconf.tf8 $@
fukasawa e60969
fukasawa e60969
@DO_PNG_PREFIX_TRUE@pngprefix.h: scripts/intprefix.out
fukasawa e60969
@DO_PNG_PREFIX_TRUE@	rm -f pngprefix.tf1
fukasawa e60969
@DO_PNG_PREFIX_TRUE@	$(AWK) '{print "#define", $$1, "@PNG_PREFIX@" $$1}' $? >pngprefix.tf1
fukasawa e60969
@DO_PNG_PREFIX_TRUE@	mv pngprefix.tf1 $@
fukasawa e60969
@DO_PNG_PREFIX_FALSE@pnglibconf.h: pnglibconf.out
fukasawa e60969
@DO_PNG_PREFIX_FALSE@	rm -f $@
fukasawa e60969
@DO_PNG_PREFIX_FALSE@	cp $? $@
fukasawa e60969
fukasawa e60969
@DO_PNG_PREFIX_FALSE@pngprefix.h: # is empty
fukasawa e60969
@DO_PNG_PREFIX_FALSE@	:>$@
fukasawa e60969
fukasawa e60969
$(srcdir)/scripts/pnglibconf.h.prebuilt:
fukasawa e60969
	@echo "Attempting to build $@" >&2
fukasawa e60969
	@echo "This is a machine generated file, but if you want to make" >&2
fukasawa e60969
	@echo "a new one simply make 'scripts/pnglibconf.out', copy that" >&2
fukasawa e60969
	@echo "AND set PNG_ZLIB_VERNUM to 0 (you MUST do this)" >&2
fukasawa e60969
	@exit 1
fukasawa e60969
fukasawa e60969
# The following is necessary to ensure that the local pnglibconf.h is used, not
fukasawa e60969
# an installed one (this can happen immediately after on a clean system if
fukasawa e60969
# 'make test' is the first thing the user does.)  Only files which include
fukasawa e60969
# one of the png source files (typically png.h or pngpriv.h) need to be listed
fukasawa e60969
# here:
fukasawa e60969
pngtest.o: pnglibconf.h
fukasawa e60969
fukasawa e60969
contrib/libtests/makepng.o: pnglibconf.h
fukasawa e60969
contrib/libtests/pngstest.o: pnglibconf.h
fukasawa e60969
contrib/libtests/pngunknown.o: pnglibconf.h
fukasawa e60969
contrib/libtests/pngimage.o: pnglibconf.h
fukasawa e60969
contrib/libtests/pngvalid.o: pnglibconf.h
fukasawa e60969
contrib/libtests/readpng.o: pnglibconf.h
fukasawa e60969
contrib/libtests/tarith.o: pnglibconf.h
fukasawa e60969
contrib/libtests/timepng.o: pnglibconf.h
fukasawa e60969
fukasawa e60969
contrib/tools/makesRGB.o: pnglibconf.h
fukasawa e60969
contrib/tools/pngfix.o: pnglibconf.h
fukasawa e60969
fukasawa e60969
.c.out:
fukasawa e60969
	rm -f $@ $*.tf[12]
fukasawa e60969
	test -d scripts || mkdir scripts || test -d scripts
fukasawa e60969
	$(DFNCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)\
fukasawa e60969
	    $(CPPFLAGS) $(SYMBOL_CFLAGS) $< > $*.tf1
fukasawa e60969
	$(AWK) -f "${srcdir}/scripts/dfn.awk" out="$*.tf2" $*.tf1 1>&2
fukasawa e60969
	rm -f $*.tf1
fukasawa e60969
	mv $*.tf2 $@
fukasawa e60969
fukasawa e60969
# The .c file for pnglibconf.h is machine generated
fukasawa e60969
pnglibconf.c: scripts/pnglibconf.dfa scripts/options.awk pngconf.h pngusr.dfa $(DFA_XTRA)
fukasawa e60969
	rm -f $@ $*.tf[45]
fukasawa e60969
	$(AWK) -f ${srcdir}/scripts/options.awk out=$*.tf4 version=search\
fukasawa e60969
	    ${srcdir}/pngconf.h ${srcdir}/scripts/pnglibconf.dfa\
fukasawa e60969
	    ${srcdir}/pngusr.dfa $(DFA_XTRA) 1>&2
fukasawa e60969
	$(AWK) -f ${srcdir}/scripts/options.awk out=$*.tf5 $*.tf4 1>&2
fukasawa e60969
	rm $*.tf4
fukasawa e60969
	mv $*.tf5 $@
fukasawa e60969
fukasawa e60969
# Symbol checks (.def and .out files should match)
fukasawa e60969
scripts/symbols.chk: scripts/checksym.awk scripts/symbols.def scripts/symbols.out
fukasawa e60969
fukasawa e60969
.out.chk:
fukasawa e60969
	rm -f $@ $*.new
fukasawa e60969
	$(AWK) -f ${srcdir}/scripts/checksym.awk ${srcdir}/scripts/${*F}.def\
fukasawa e60969
	    of="$*.new" $< >&2
fukasawa e60969
	mv $*.new $@
fukasawa e60969
fukasawa e60969
# used on demand to regenerate the standard header, CPPFLAGS should
fukasawa e60969
# be empty - no non-standard defines
fukasawa e60969
scripts/pnglibconf.c: scripts/pnglibconf.dfa scripts/options.awk pngconf.h
fukasawa e60969
	rm -f $@ pnglibconf.tf[67]
fukasawa e60969
	test -z "$(CPPFLAGS)"
fukasawa e60969
	echo "com @PNGLIB_VERSION@ STANDARD API DEFINITION" |\
fukasawa e60969
	$(AWK) -f ${srcdir}/scripts/options.awk out=pnglibconf.tf6\
fukasawa e60969
	    logunsupported=1 version=search ${srcdir}/pngconf.h -\
fukasawa e60969
	    ${srcdir}/scripts/pnglibconf.dfa 1>&2
fukasawa e60969
	$(AWK) -f ${srcdir}/scripts/options.awk out=pnglibconf.tf7\
fukasawa e60969
	    pnglibconf.tf6 1>&2
fukasawa e60969
	rm pnglibconf.tf6
fukasawa e60969
	mv pnglibconf.tf7 $@
fukasawa e60969
fukasawa e60969
$(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS): png.h pngconf.h \
fukasawa e60969
	pnglibconf.h pngpriv.h pngdebug.h pnginfo.h pngstruct.h pngprefix.h
fukasawa e60969
fukasawa e60969
test: check-am
fukasawa e60969
fukasawa e60969
# Extra checks
fukasawa e60969
check: scripts/symbols.chk
fukasawa e60969
fukasawa e60969
# Don't distribute the generated script files
fukasawa e60969
dist-hook:
fukasawa e60969
	cd '$(top_distdir)'; rm -f $(SCRIPT_CLEANFILES)
fukasawa e60969
fukasawa e60969
# Make links between installed files with release-specific names and the generic
fukasawa e60969
# file names.  If this install rule is run the generic names will be deleted and
fukasawa e60969
# recreated - this has obvious issues for systems with multiple installations.
fukasawa e60969
fukasawa e60969
install-header-links:
fukasawa e60969
	@set -ex; cd '$(DESTDIR)$(includedir)'; for f in $(HEADERS); do \
fukasawa e60969
	   rm -f "$$f"; $(LN_S) "$(PNGLIB_BASENAME)/$$f" "$$f"; done
fukasawa e60969
fukasawa e60969
uninstall-header-links:
fukasawa e60969
	cd '$(DESTDIR)$(includedir)'; rm -f $(HEADERS)
fukasawa e60969
fukasawa e60969
install-libpng-pc:
fukasawa e60969
	@set -ex; cd '$(DESTDIR)$(pkgconfigdir)'; rm -f libpng.pc; \
fukasawa e60969
	   $(LN_S) '$(PNGLIB_BASENAME).pc' libpng.pc
fukasawa e60969
fukasawa e60969
uninstall-libpng-pc:
fukasawa e60969
	rm -f '$(DESTDIR)$(pkgconfigdir)/libpng.pc'
fukasawa e60969
fukasawa e60969
install-library-links:
fukasawa e60969
	@set -x; cd '$(DESTDIR)$(libdir)';\
fukasawa e60969
	for ext in $(EXT_LIST); do\
fukasawa e60969
	   rm -f "libpng.$$ext";\
fukasawa e60969
           if test -f "$(PNGLIB_BASENAME).$$ext"; then\
fukasawa e60969
              $(LN_S) "$(PNGLIB_BASENAME).$$ext" "libpng.$$ext" || exit 1;\
fukasawa e60969
           fi;\
fukasawa e60969
	done
fukasawa e60969
fukasawa e60969
uninstall-library-links:
fukasawa e60969
	@set -x; cd '$(DESTDIR)$(libdir)'; for ext in $(EXT_LIST); do\
fukasawa e60969
	   rm -f "libpng.$$ext"; done
fukasawa e60969
fukasawa e60969
install-libpng-config:
fukasawa e60969
	@set -ex; cd '$(DESTDIR)$(bindir)'; rm -f libpng-config; \
fukasawa e60969
	   $(LN_S) '$(PNGLIB_BASENAME)-config' libpng-config
fukasawa e60969
fukasawa e60969
uninstall-libpng-config:
fukasawa e60969
	rm -f '$(DESTDIR)$(bindir)/libpng-config'
fukasawa e60969
fukasawa e60969
# If --enable-unversioned-links is specified the header and lib file links
fukasawa e60969
# will be automatically made on a 'make install':
fukasawa e60969
fukasawa e60969
@DO_INSTALL_LINKS_TRUE@install-data-hook: install-header-links
fukasawa e60969
@DO_INSTALL_LINKS_TRUE@uninstall-hook: uninstall-header-links
fukasawa e60969
@DO_INSTALL_LINKS_TRUE@install-exec-hook: install-library-links
fukasawa e60969
@DO_INSTALL_LINKS_TRUE@uninstall-hook: uninstall-library-links
fukasawa e60969
fukasawa e60969
# Likewise, --install-pc causes libpng.pc to be constructed:
fukasawa e60969
fukasawa e60969
@DO_INSTALL_LIBPNG_PC_TRUE@install-data-hook: install-libpng-pc
fukasawa e60969
@DO_INSTALL_LIBPNG_PC_TRUE@uninstall-hook: uninstall-libpng-pc
fukasawa e60969
fukasawa e60969
# And --install-config:
fukasawa e60969
fukasawa e60969
@DO_INSTALL_LIBPNG_CONFIG_TRUE@install-exec-hook: install-libpng-config
fukasawa e60969
@DO_INSTALL_LIBPNG_CONFIG_TRUE@uninstall-hook: uninstall-libpng-config
fukasawa e60969
fukasawa e60969
# The following addition ensures that 'make all' always builds the test programs
fukasawa e60969
# too.  It used to, but some change either in libpng or configure stopped this
fukasawa e60969
# working.
fukasawa e60969
all-am: $(check_PROGRAMS)
fukasawa e60969
fukasawa e60969
# Tell versions [3.59,3.63) of GNU make to not export all variables.
fukasawa e60969
# Otherwise a system limit (for SysV at least) may be exceeded.
fukasawa e60969
.NOEXPORT: