]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/libpng/lib/dist/Makefile.in
update
[l4.git] / l4 / pkg / libpng / lib / dist / Makefile.in
1 # Makefile.in generated by automake 1.13 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2012 Free Software Foundation, Inc.
5
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 # Makefile.am:
18 #   Source file for Makefile.in (and hence Makefile)
19 #
20
21
22
23
24 VPATH = @srcdir@
25 am__make_dryrun = \
26   { \
27     am__dry=no; \
28     case $$MAKEFLAGS in \
29       *\\[\ \   ]*) \
30         echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
31           | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
32       *) \
33         for am__flg in $$MAKEFLAGS; do \
34           case $$am__flg in \
35             *=*|--*) ;; \
36             *n*) am__dry=yes; break;; \
37           esac; \
38         done;; \
39     esac; \
40     test $$am__dry = yes; \
41   }
42 pkgdatadir = $(datadir)/@PACKAGE@
43 pkglibdir = $(libdir)/@PACKAGE@
44 pkglibexecdir = $(libexecdir)/@PACKAGE@
45 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
46 install_sh_DATA = $(install_sh) -c -m 644
47 install_sh_PROGRAM = $(install_sh) -c
48 install_sh_SCRIPT = $(install_sh) -c
49 INSTALL_HEADER = $(INSTALL_DATA)
50 transform = $(program_transform_name)
51 NORMAL_INSTALL = :
52 PRE_INSTALL = :
53 POST_INSTALL = :
54 NORMAL_UNINSTALL = :
55 PRE_UNINSTALL = :
56 POST_UNINSTALL = :
57 build_triplet = @build@
58 host_triplet = @host@
59 check_PROGRAMS = pngtest$(EXEEXT) pngvalid$(EXEEXT) pngstest$(EXEEXT) \
60         pngunknown$(EXEEXT)
61 @PNG_ARM_NEON_TRUE@am__append_1 = arm/arm_init.c\
62 @PNG_ARM_NEON_TRUE@     arm/filter_neon.S
63
64
65 #   Versioned symbols and restricted exports
66 @HAVE_LD_VERSION_SCRIPT_TRUE@@HAVE_SOLARIS_LD_TRUE@am__append_2 = -Wl,-M -Wl,libpng.vers
67 @HAVE_LD_VERSION_SCRIPT_TRUE@@HAVE_SOLARIS_LD_FALSE@am__append_3 = -Wl,--version-script=libpng.vers
68 #   Only restricted exports when possible
69 @HAVE_LD_VERSION_SCRIPT_FALSE@am__append_4 = -export-symbols libpng.sym
70 @DO_PNG_PREFIX_TRUE@am__append_5 = -DPNG_PREFIX='@PNG_PREFIX@'
71 subdir = .
72 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
73         $(top_srcdir)/configure $(am__configure_deps) \
74         $(srcdir)/config.h.in $(srcdir)/libpng.pc.in \
75         $(srcdir)/libpng-config.in depcomp $(dist_man_MANS) \
76         $(pkginclude_HEADERS) INSTALL README TODO config.guess \
77         config.sub install-sh missing ltmain.sh
78 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
79 am__aclocal_m4_deps = $(top_srcdir)/scripts/libtool.m4 \
80         $(top_srcdir)/scripts/ltoptions.m4 \
81         $(top_srcdir)/scripts/ltsugar.m4 \
82         $(top_srcdir)/scripts/ltversion.m4 \
83         $(top_srcdir)/scripts/lt~obsolete.m4 \
84         $(top_srcdir)/configure.ac
85 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
86         $(ACLOCAL_M4)
87 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
88  configure.lineno config.status.lineno
89 mkinstalldirs = $(install_sh) -d
90 CONFIG_HEADER = config.h
91 CONFIG_CLEAN_FILES = libpng.pc libpng-config
92 CONFIG_CLEAN_VPATH_FILES =
93 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
94 am__vpath_adj = case $$p in \
95     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
96     *) f=$$p;; \
97   esac;
98 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
99 am__install_max = 40
100 am__nobase_strip_setup = \
101   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
102 am__nobase_strip = \
103   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
104 am__nobase_list = $(am__nobase_strip_setup); \
105   for p in $$list; do echo "$$p $$p"; done | \
106   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
107   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
108     if (++n[$$2] == $(am__install_max)) \
109       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
110     END { for (dir in files) print dir, files[dir] }'
111 am__base_list = \
112   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
113   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
114 am__uninstall_files_from_dir = { \
115   test -z "$$files" \
116     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
117     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
118          $(am__cd) "$$dir" && rm -f $$files; }; \
119   }
120 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
121         "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" \
122         "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkgincludedir)" \
123         "$(DESTDIR)$(pkgincludedir)"
124 LTLIBRARIES = $(lib_LTLIBRARIES)
125 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LIBADD =
126 am__libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES_DIST = png.c \
127         pngerror.c pngget.c pngmem.c pngpread.c pngread.c pngrio.c \
128         pngrtran.c pngrutil.c pngset.c pngtrans.c pngwio.c pngwrite.c \
129         pngwtran.c pngwutil.c png.h pngconf.h pngdebug.h pnginfo.h \
130         pngpriv.h pngstruct.h pngusr.dfa arm/arm_init.c \
131         arm/filter_neon.S
132 @PNG_ARM_NEON_TRUE@am__objects_1 = arm_init.lo filter_neon.lo
133 am_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS = png.lo pngerror.lo \
134         pngget.lo pngmem.lo pngpread.lo pngread.lo pngrio.lo \
135         pngrtran.lo pngrutil.lo pngset.lo pngtrans.lo pngwio.lo \
136         pngwrite.lo pngwtran.lo pngwutil.lo $(am__objects_1)
137 nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS =
138 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS =  \
139         $(am_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS) \
140         $(nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS)
141 AM_V_lt = $(am__v_lt_@AM_V@)
142 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
143 am__v_lt_0 = --silent
144 am__v_lt_1 = 
145 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LINK = $(LIBTOOL) $(AM_V_lt) \
146         --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
147         $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
148         $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS) $(LDFLAGS) -o \
149         $@
150 am_pngstest_OBJECTS = pngstest.$(OBJEXT)
151 pngstest_OBJECTS = $(am_pngstest_OBJECTS)
152 pngstest_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
153 am_pngtest_OBJECTS = pngtest.$(OBJEXT)
154 pngtest_OBJECTS = $(am_pngtest_OBJECTS)
155 pngtest_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
156 am_pngunknown_OBJECTS = pngunknown.$(OBJEXT)
157 pngunknown_OBJECTS = $(am_pngunknown_OBJECTS)
158 pngunknown_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
159 am_pngvalid_OBJECTS = pngvalid.$(OBJEXT)
160 pngvalid_OBJECTS = $(am_pngvalid_OBJECTS)
161 pngvalid_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
162 SCRIPTS = $(bin_SCRIPTS)
163 AM_V_P = $(am__v_P_@AM_V@)
164 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
165 am__v_P_0 = false
166 am__v_P_1 = :
167 AM_V_GEN = $(am__v_GEN_@AM_V@)
168 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
169 am__v_GEN_0 = @echo "  GEN     " $@;
170 am__v_GEN_1 = 
171 AM_V_at = $(am__v_at_@AM_V@)
172 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
173 am__v_at_0 = @
174 am__v_at_1 = 
175 DEFAULT_INCLUDES = -I.@am__isrc@
176 depcomp = $(SHELL) $(top_srcdir)/depcomp
177 am__depfiles_maybe = depfiles
178 am__mv = mv -f
179 CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
180         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
181 LTCPPASCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \
182         $(LIBTOOLFLAGS) --mode=compile $(CCAS) $(DEFS) \
183         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
184         $(AM_CCASFLAGS) $(CCASFLAGS)
185 AM_V_CPPAS = $(am__v_CPPAS_@AM_V@)
186 am__v_CPPAS_ = $(am__v_CPPAS_@AM_DEFAULT_V@)
187 am__v_CPPAS_0 = @echo "  CPPAS   " $@;
188 am__v_CPPAS_1 = 
189 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
190         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
191 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
192         $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
193         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
194         $(AM_CFLAGS) $(CFLAGS)
195 AM_V_CC = $(am__v_CC_@AM_V@)
196 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
197 am__v_CC_0 = @echo "  CC      " $@;
198 am__v_CC_1 = 
199 CCLD = $(CC)
200 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
201         $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
202         $(AM_LDFLAGS) $(LDFLAGS) -o $@
203 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
204 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
205 am__v_CCLD_0 = @echo "  CCLD    " $@;
206 am__v_CCLD_1 = 
207 SOURCES = $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES) \
208         $(nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES) \
209         $(pngstest_SOURCES) $(pngtest_SOURCES) $(pngunknown_SOURCES) \
210         $(pngvalid_SOURCES)
211 DIST_SOURCES =  \
212         $(am__libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES_DIST) \
213         $(pngstest_SOURCES) $(pngtest_SOURCES) $(pngunknown_SOURCES) \
214         $(pngvalid_SOURCES)
215 am__can_run_installinfo = \
216   case $$AM_UPDATE_INFO_DIR in \
217     n|no|NO) false;; \
218     *) (install-info --version) >/dev/null 2>&1;; \
219   esac
220 man3dir = $(mandir)/man3
221 man5dir = $(mandir)/man5
222 NROFF = nroff
223 MANS = $(dist_man_MANS)
224 DATA = $(pkgconfig_DATA)
225 HEADERS = $(nodist_pkginclude_HEADERS) $(pkginclude_HEADERS)
226 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
227         $(LISP)config.h.in
228 # Read a list of newline-separated strings from the standard input,
229 # and print each of them once, without duplicates.  Input order is
230 # *not* preserved.
231 am__uniquify_input = $(AWK) '\
232   BEGIN { nonempty = 0; } \
233   { items[$$0] = 1; nonempty = 1; } \
234   END { if (nonempty) { for (i in items) print i; }; } \
235 '
236 # Make sure the list of sources is unique.  This is necessary because,
237 # e.g., the same source file might be shared among _SOURCES variables
238 # for different programs/libraries.
239 am__define_uniq_tagged_files = \
240   list='$(am__tagged_files)'; \
241   unique=`for i in $$list; do \
242     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
243   done | $(am__uniquify_input)`
244 ETAGS = etags
245 CTAGS = ctags
246 CSCOPE = cscope
247 AM_RECURSIVE_TARGETS = cscope
248 am__tty_colors_dummy = \
249   mgn= red= grn= lgn= blu= brg= std=; \
250   am__color_tests=no
251 am__tty_colors = { \
252   $(am__tty_colors_dummy); \
253   if test "X$(AM_COLOR_TESTS)" = Xno; then \
254     am__color_tests=no; \
255   elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
256     am__color_tests=yes; \
257   elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
258     am__color_tests=yes; \
259   fi; \
260   if test $$am__color_tests = yes; then \
261     red='\e[0;31m'; \
262     grn='\e[0;32m'; \
263     lgn='\e[1;32m'; \
264     blu='\e[1;34m'; \
265     mgn='\e[0;35m'; \
266     brg='\e[1m'; \
267     std='\e[m'; \
268   fi; \
269 }
270 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
271 distdir = $(PACKAGE)-$(VERSION)
272 top_distdir = $(distdir)
273 am__remove_distdir = \
274   if test -d "$(distdir)"; then \
275     find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
276       && rm -rf "$(distdir)" \
277       || { sleep 5 && rm -rf "$(distdir)"; }; \
278   else :; fi
279 am__post_remove_distdir = $(am__remove_distdir)
280 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz
281 GZIP_ENV = --best
282 DIST_TARGETS = dist-xz dist-gzip
283 distuninstallcheck_listfiles = find . -type f -print
284 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
285   | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
286 distcleancheck_listfiles = find . -type f -print
287
288 #distribute headers in /usr/include/libpng/*
289 pkgincludedir = $(includedir)/$(PNGLIB_BASENAME)
290 ACLOCAL = @ACLOCAL@
291 AMTAR = @AMTAR@
292 AM_CCASFLAGS = @AM_CCASFLAGS@
293 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
294 AR = @AR@
295 AS = @AS@
296 AUTOCONF = @AUTOCONF@
297 AUTOHEADER = @AUTOHEADER@
298 AUTOMAKE = @AUTOMAKE@
299 AWK = @AWK@
300 CC = @CC@
301 CCAS = @CCAS@
302 CCASDEPMODE = @CCASDEPMODE@
303 CCASFLAGS = @CCASFLAGS@
304 CCDEPMODE = @CCDEPMODE@
305 CFLAGS = @CFLAGS@
306 CPP = @CPP@
307 CPPFLAGS = @CPPFLAGS@
308 CYGPATH_W = @CYGPATH_W@
309 DEFS = @DEFS@
310 DEPDIR = @DEPDIR@
311
312 # DFNCPP is normally just CPP - the C preprocessor - but on Solaris and maybe
313 # other operating systems (NeXT?) the C preprocessor selected by configure
314 # checks input tokens for validity - effectively it performs part of the ANSI-C
315 # parsing - and therefore fails with the .df files.  configure.ac has special
316 # checks for this and sets DFNCPP appropriately.
317 DFNCPP = @DFNCPP@
318 DLLTOOL = @DLLTOOL@
319 DSYMUTIL = @DSYMUTIL@
320 DUMPBIN = @DUMPBIN@
321 ECHO_C = @ECHO_C@
322 ECHO_N = @ECHO_N@
323 ECHO_T = @ECHO_T@
324 EGREP = @EGREP@
325 EXEEXT = @EXEEXT@
326 FGREP = @FGREP@
327 GREP = @GREP@
328 INSTALL = @INSTALL@
329 INSTALL_DATA = @INSTALL_DATA@
330 INSTALL_PROGRAM = @INSTALL_PROGRAM@
331 INSTALL_SCRIPT = @INSTALL_SCRIPT@
332 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
333 LD = @LD@
334 LDFLAGS = @LDFLAGS@
335 LIBOBJS = @LIBOBJS@
336 LIBS = @LIBS@
337 LIBTOOL = @LIBTOOL@
338 LIPO = @LIPO@
339 LN_S = @LN_S@
340 LTLIBOBJS = @LTLIBOBJS@
341 MAINT = @MAINT@
342 MAKEINFO = @MAKEINFO@
343 MANIFEST_TOOL = @MANIFEST_TOOL@
344 MKDIR_P = @MKDIR_P@
345 NM = @NM@
346 NMEDIT = @NMEDIT@
347 OBJDUMP = @OBJDUMP@
348 OBJEXT = @OBJEXT@
349 OTOOL = @OTOOL@
350 OTOOL64 = @OTOOL64@
351 PACKAGE = @PACKAGE@
352 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
353 PACKAGE_NAME = @PACKAGE_NAME@
354 PACKAGE_STRING = @PACKAGE_STRING@
355 PACKAGE_TARNAME = @PACKAGE_TARNAME@
356 PACKAGE_URL = @PACKAGE_URL@
357 PACKAGE_VERSION = @PACKAGE_VERSION@
358 PATH_SEPARATOR = @PATH_SEPARATOR@
359 PNGLIB_MAJOR = @PNGLIB_MAJOR@
360 PNGLIB_MINOR = @PNGLIB_MINOR@
361 PNGLIB_RELEASE = @PNGLIB_RELEASE@
362 PNGLIB_VERSION = @PNGLIB_VERSION@
363
364 # PNG_COPTS give extra options for the C compiler to be used on all compilation
365 # steps (unless targe_CFLAGS is specified; that will take precedence over
366 # AM_CFLAGS)
367 PNG_COPTS = @PNG_COPTS@
368 PNG_PREFIX = @PNG_PREFIX@
369 POW_LIB = @POW_LIB@
370 RANLIB = @RANLIB@
371 SED = @SED@
372 SET_MAKE = @SET_MAKE@
373 SHELL = @SHELL@
374 STRIP = @STRIP@
375 SYMBOL_PREFIX = @SYMBOL_PREFIX@
376 VERSION = @VERSION@
377 abs_builddir = @abs_builddir@
378 abs_srcdir = @abs_srcdir@
379 abs_top_builddir = @abs_top_builddir@
380 abs_top_srcdir = @abs_top_srcdir@
381 ac_ct_AR = @ac_ct_AR@
382 ac_ct_CC = @ac_ct_CC@
383 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
384 am__include = @am__include@
385 am__leading_dot = @am__leading_dot@
386 am__quote = @am__quote@
387 am__tar = @am__tar@
388 am__untar = @am__untar@
389
390 # generate the -config scripts if required
391 binconfigs = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config
392 bindir = @bindir@
393 build = @build@
394 build_alias = @build_alias@
395 build_cpu = @build_cpu@
396 build_os = @build_os@
397 build_vendor = @build_vendor@
398 builddir = @builddir@
399 datadir = @datadir@
400 datarootdir = @datarootdir@
401 docdir = @docdir@
402 dvidir = @dvidir@
403 exec_prefix = @exec_prefix@
404 host = @host@
405 host_alias = @host_alias@
406 host_cpu = @host_cpu@
407 host_os = @host_os@
408 host_vendor = @host_vendor@
409 htmldir = @htmldir@
410 includedir = @includedir@
411 infodir = @infodir@
412 install_sh = @install_sh@
413 libdir = @libdir@
414 libexecdir = @libexecdir@
415 localedir = @localedir@
416 localstatedir = @localstatedir@
417 mandir = @mandir@
418 mkdir_p = @mkdir_p@
419 oldincludedir = @oldincludedir@
420 pdfdir = @pdfdir@
421
422 # pkg-config stuff, note that libpng.pc is always required in order
423 # to get the correct library
424 pkgconfigdir = @pkgconfigdir@
425 prefix = @prefix@
426 program_transform_name = @program_transform_name@
427 psdir = @psdir@
428 sbindir = @sbindir@
429 sharedstatedir = @sharedstatedir@
430 srcdir = @srcdir@
431 sysconfdir = @sysconfdir@
432 target_alias = @target_alias@
433 top_build_prefix = @top_build_prefix@
434 top_builddir = @top_builddir@
435 top_srcdir = @top_srcdir@
436 PNGLIB_BASENAME = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
437 ACLOCAL_AMFLAGS = -I scripts
438
439 # test programs - run on make check, make distcheck
440 TESTS_ENVIRONMENT = srcdir=$(srcdir)
441 pngtest_SOURCES = pngtest.c
442 pngtest_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
443 TESTS = test-pngtest.sh contrib/libtests/test-pngunknown.sh \
444         contrib/libtests/test-pngvalid-simple.sh \
445         contrib/libtests/test-pngvalid-full.sh \
446         contrib/libtests/test-pngstest.sh
447 pngvalid_SOURCES = contrib/libtests/pngvalid.c
448 pngstest_SOURCES = contrib/libtests/pngstest.c
449 pngunknown_SOURCES = contrib/libtests/pngunknown.c
450 pngvalid_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
451 pngstest_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
452 pngunknown_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
453
454 # man pages
455 dist_man_MANS = libpng.3 libpngpf.3 png.5
456 EXTRA_SCRIPTS = libpng-config libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config
457 bin_SCRIPTS = @binconfigs@
458
459 # rules to build libpng, only build the old library on request
460 lib_LTLIBRARIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
461 # EXTRA_LTLIBRARIES= libpng.la
462 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES = png.c pngerror.c \
463         pngget.c pngmem.c pngpread.c pngread.c pngrio.c pngrtran.c \
464         pngrutil.c pngset.c pngtrans.c pngwio.c pngwrite.c pngwtran.c \
465         pngwutil.c png.h pngconf.h pngdebug.h pnginfo.h pngpriv.h \
466         pngstruct.h pngusr.dfa $(am__append_1)
467 nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES = pnglibconf.h
468 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS = -no-undefined \
469         -export-dynamic -version-number \
470         @PNGLIB_MAJOR@@PNGLIB_MINOR@:@PNGLIB_RELEASE@:0 \
471         $(am__append_2) $(am__append_3) $(am__append_4)
472 @HAVE_LD_VERSION_SCRIPT_FALSE@libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.sym
473 @HAVE_LD_VERSION_SCRIPT_TRUE@libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.vers
474 pkginclude_HEADERS = png.h pngconf.h
475 nodist_pkginclude_HEADERS = pnglibconf.h
476 pkgconfig_DATA = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc
477
478 #extra source distribution files.
479 EXTRA_DIST = \
480         ANNOUNCE CHANGES INSTALL LICENSE README TODO \
481         pngtest.png pngbar.png pngnow.png pngbar.jpg autogen.sh \
482         ${srcdir}/contrib ${srcdir}/projects ${srcdir}/scripts \
483         $(TESTS) \
484         CMakeLists.txt example.c libpng-manual.txt
485
486 SCRIPT_CLEANFILES = scripts/*.out scripts/*.chk scripts/pnglibconf.dfn
487 CLEANFILES = *.tf? pngout.png libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc \
488         libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config libpng.vers libpng.sym \
489         check.new pnglibconf.* pngprefix.h symbols.new pngtest-log.txt \
490         $(SCRIPT_CLEANFILES)
491
492 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
493 config.sub configure depcomp install-sh ltmain.sh missing
494
495 AM_CFLAGS = ${PNG_COPTS}
496 SUFFIXES = .chk .dfn .out
497
498 # We must use -DPNG_NO_USE_READ_MACROS here even when the library may actually
499 # be built with PNG_USE_READ_MACROS; this prevents the read macros from
500 # interfering with the symbol file format.
501 SYMBOL_CFLAGS = -DPNGLIB_LIBNAME='PNG@PNGLIB_MAJOR@@PNGLIB_MINOR@_0' \
502         -DPNGLIB_VERSION='@PNGLIB_VERSION@' \
503         -DSYMBOL_PREFIX='$(SYMBOL_PREFIX)' -DPNG_NO_USE_READ_MACROS \
504         -DPNG_BUILDING_SYMBOL_TABLE $(am__append_5)
505 all: config.h
506         $(MAKE) $(AM_MAKEFLAGS) all-am
507
508 .SUFFIXES:
509 .SUFFIXES: .chk .dfn .out .S .c .lo .o .obj
510 am--refresh: Makefile
511         @:
512 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
513         @for dep in $?; do \
514           case '$(am__configure_deps)' in \
515             *$$dep*) \
516               echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
517               $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
518                 && exit 0; \
519               exit 1;; \
520           esac; \
521         done; \
522         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
523         $(am__cd) $(top_srcdir) && \
524           $(AUTOMAKE) --foreign Makefile
525 .PRECIOUS: Makefile
526 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
527         @case '$?' in \
528           *config.status*) \
529             echo ' $(SHELL) ./config.status'; \
530             $(SHELL) ./config.status;; \
531           *) \
532             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
533             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
534         esac;
535
536 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
537         $(SHELL) ./config.status --recheck
538
539 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
540         $(am__cd) $(srcdir) && $(AUTOCONF)
541 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
542         $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
543 $(am__aclocal_m4_deps):
544
545 config.h: stamp-h1
546         @if test ! -f $@; then rm -f stamp-h1; else :; fi
547         @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
548
549 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
550         @rm -f stamp-h1
551         cd $(top_builddir) && $(SHELL) ./config.status config.h
552 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
553         ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
554         rm -f stamp-h1
555         touch $@
556
557 distclean-hdr:
558         -rm -f config.h stamp-h1
559 libpng.pc: $(top_builddir)/config.status $(srcdir)/libpng.pc.in
560         cd $(top_builddir) && $(SHELL) ./config.status $@
561 libpng-config: $(top_builddir)/config.status $(srcdir)/libpng-config.in
562         cd $(top_builddir) && $(SHELL) ./config.status $@
563
564 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
565         @$(NORMAL_INSTALL)
566         @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
567         list2=; for p in $$list; do \
568           if test -f $$p; then \
569             list2="$$list2 $$p"; \
570           else :; fi; \
571         done; \
572         test -z "$$list2" || { \
573           echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
574           $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
575           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
576           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
577         }
578
579 uninstall-libLTLIBRARIES:
580         @$(NORMAL_UNINSTALL)
581         @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
582         for p in $$list; do \
583           $(am__strip_dir) \
584           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
585           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
586         done
587
588 clean-libLTLIBRARIES:
589         -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
590         @list='$(lib_LTLIBRARIES)'; \
591         locs=`for p in $$list; do echo $$p; done | \
592               sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
593               sort -u`; \
594         test -z "$$locs" || { \
595           echo rm -f $${locs}; \
596           rm -f $${locs}; \
597         }
598 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) 
599         $(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)
600
601 clean-checkPROGRAMS:
602         @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
603         echo " rm -f" $$list; \
604         rm -f $$list || exit $$?; \
605         test -n "$(EXEEXT)" || exit 0; \
606         list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
607         echo " rm -f" $$list; \
608         rm -f $$list
609 pngstest$(EXEEXT): $(pngstest_OBJECTS) $(pngstest_DEPENDENCIES) $(EXTRA_pngstest_DEPENDENCIES) 
610         @rm -f pngstest$(EXEEXT)
611         $(AM_V_CCLD)$(LINK) $(pngstest_OBJECTS) $(pngstest_LDADD) $(LIBS)
612 pngtest$(EXEEXT): $(pngtest_OBJECTS) $(pngtest_DEPENDENCIES) $(EXTRA_pngtest_DEPENDENCIES) 
613         @rm -f pngtest$(EXEEXT)
614         $(AM_V_CCLD)$(LINK) $(pngtest_OBJECTS) $(pngtest_LDADD) $(LIBS)
615 pngunknown$(EXEEXT): $(pngunknown_OBJECTS) $(pngunknown_DEPENDENCIES) $(EXTRA_pngunknown_DEPENDENCIES) 
616         @rm -f pngunknown$(EXEEXT)
617         $(AM_V_CCLD)$(LINK) $(pngunknown_OBJECTS) $(pngunknown_LDADD) $(LIBS)
618 pngvalid$(EXEEXT): $(pngvalid_OBJECTS) $(pngvalid_DEPENDENCIES) $(EXTRA_pngvalid_DEPENDENCIES) 
619         @rm -f pngvalid$(EXEEXT)
620         $(AM_V_CCLD)$(LINK) $(pngvalid_OBJECTS) $(pngvalid_LDADD) $(LIBS)
621 install-binSCRIPTS: $(bin_SCRIPTS)
622         @$(NORMAL_INSTALL)
623         @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
624         if test -n "$$list"; then \
625           echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
626           $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
627         fi; \
628         for p in $$list; do \
629           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
630           if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
631         done | \
632         sed -e 'p;s,.*/,,;n' \
633             -e 'h;s|.*|.|' \
634             -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
635         $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
636           { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
637             if ($$2 == $$4) { files[d] = files[d] " " $$1; \
638               if (++n[d] == $(am__install_max)) { \
639                 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
640             else { print "f", d "/" $$4, $$1 } } \
641           END { for (d in files) print "f", d, files[d] }' | \
642         while read type dir files; do \
643              if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
644              test -z "$$files" || { \
645                echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
646                $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
647              } \
648         ; done
649
650 uninstall-binSCRIPTS:
651         @$(NORMAL_UNINSTALL)
652         @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
653         files=`for p in $$list; do echo "$$p"; done | \
654                sed -e 's,.*/,,;$(transform)'`; \
655         dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
656
657 mostlyclean-compile:
658         -rm -f *.$(OBJEXT)
659
660 distclean-compile:
661         -rm -f *.tab.c
662
663 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arm_init.Plo@am__quote@
664 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filter_neon.Plo@am__quote@
665 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/png.Plo@am__quote@
666 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngerror.Plo@am__quote@
667 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngget.Plo@am__quote@
668 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngmem.Plo@am__quote@
669 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngpread.Plo@am__quote@
670 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngread.Plo@am__quote@
671 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrio.Plo@am__quote@
672 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrtran.Plo@am__quote@
673 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrutil.Plo@am__quote@
674 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngset.Plo@am__quote@
675 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngstest.Po@am__quote@
676 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngtest.Po@am__quote@
677 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngtrans.Plo@am__quote@
678 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngunknown.Po@am__quote@
679 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngvalid.Po@am__quote@
680 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwio.Plo@am__quote@
681 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwrite.Plo@am__quote@
682 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwtran.Plo@am__quote@
683 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwutil.Plo@am__quote@
684
685 .S.o:
686 @am__fastdepCCAS_TRUE@  $(AM_V_CPPAS)$(CPPASCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
687 @am__fastdepCCAS_TRUE@  $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
688 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@     $(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
689 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@     DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
690 @am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ $<
691
692 .S.obj:
693 @am__fastdepCCAS_TRUE@  $(AM_V_CPPAS)$(CPPASCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
694 @am__fastdepCCAS_TRUE@  $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
695 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@     $(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
696 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@     DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
697 @am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
698
699 .S.lo:
700 @am__fastdepCCAS_TRUE@  $(AM_V_CPPAS)$(LTCPPASCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
701 @am__fastdepCCAS_TRUE@  $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
702 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@     $(AM_V_CPPAS)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
703 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@     DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
704 @am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(LTCPPASCOMPILE) -c -o $@ $<
705
706 filter_neon.lo: arm/filter_neon.S
707 @am__fastdepCCAS_TRUE@  $(AM_V_CPPAS)$(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS) -MT filter_neon.lo -MD -MP -MF $(DEPDIR)/filter_neon.Tpo -c -o filter_neon.lo `test -f 'arm/filter_neon.S' || echo '$(srcdir)/'`arm/filter_neon.S
708 @am__fastdepCCAS_TRUE@  $(AM_V_at)$(am__mv) $(DEPDIR)/filter_neon.Tpo $(DEPDIR)/filter_neon.Plo
709 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@     $(AM_V_CPPAS)source='arm/filter_neon.S' object='filter_neon.lo' libtool=yes @AMDEPBACKSLASH@
710 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@     DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
711 @am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS) -c -o filter_neon.lo `test -f 'arm/filter_neon.S' || echo '$(srcdir)/'`arm/filter_neon.S
712
713 .c.o:
714 @am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
715 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
716 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
717 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
718 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
719
720 .c.obj:
721 @am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
722 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
723 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
724 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
725 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
726
727 .c.lo:
728 @am__fastdepCC_TRUE@    $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
729 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
730 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
731 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
732 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
733
734 arm_init.lo: arm/arm_init.c
735 @am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT arm_init.lo -MD -MP -MF $(DEPDIR)/arm_init.Tpo -c -o arm_init.lo `test -f 'arm/arm_init.c' || echo '$(srcdir)/'`arm/arm_init.c
736 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/arm_init.Tpo $(DEPDIR)/arm_init.Plo
737 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='arm/arm_init.c' object='arm_init.lo' libtool=yes @AMDEPBACKSLASH@
738 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
739 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o arm_init.lo `test -f 'arm/arm_init.c' || echo '$(srcdir)/'`arm/arm_init.c
740
741 pngstest.o: contrib/libtests/pngstest.c
742 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT pngstest.o -MD -MP -MF $(DEPDIR)/pngstest.Tpo -c -o pngstest.o `test -f 'contrib/libtests/pngstest.c' || echo '$(srcdir)/'`contrib/libtests/pngstest.c
743 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/pngstest.Tpo $(DEPDIR)/pngstest.Po
744 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='contrib/libtests/pngstest.c' object='pngstest.o' libtool=no @AMDEPBACKSLASH@
745 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
746 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o pngstest.o `test -f 'contrib/libtests/pngstest.c' || echo '$(srcdir)/'`contrib/libtests/pngstest.c
747
748 pngstest.obj: contrib/libtests/pngstest.c
749 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT pngstest.obj -MD -MP -MF $(DEPDIR)/pngstest.Tpo -c -o pngstest.obj `if test -f 'contrib/libtests/pngstest.c'; then $(CYGPATH_W) 'contrib/libtests/pngstest.c'; else $(CYGPATH_W) '$(srcdir)/contrib/libtests/pngstest.c'; fi`
750 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/pngstest.Tpo $(DEPDIR)/pngstest.Po
751 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='contrib/libtests/pngstest.c' object='pngstest.obj' libtool=no @AMDEPBACKSLASH@
752 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
753 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o pngstest.obj `if test -f 'contrib/libtests/pngstest.c'; then $(CYGPATH_W) 'contrib/libtests/pngstest.c'; else $(CYGPATH_W) '$(srcdir)/contrib/libtests/pngstest.c'; fi`
754
755 pngunknown.o: contrib/libtests/pngunknown.c
756 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT pngunknown.o -MD -MP -MF $(DEPDIR)/pngunknown.Tpo -c -o pngunknown.o `test -f 'contrib/libtests/pngunknown.c' || echo '$(srcdir)/'`contrib/libtests/pngunknown.c
757 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/pngunknown.Tpo $(DEPDIR)/pngunknown.Po
758 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='contrib/libtests/pngunknown.c' object='pngunknown.o' libtool=no @AMDEPBACKSLASH@
759 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
760 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o pngunknown.o `test -f 'contrib/libtests/pngunknown.c' || echo '$(srcdir)/'`contrib/libtests/pngunknown.c
761
762 pngunknown.obj: contrib/libtests/pngunknown.c
763 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT pngunknown.obj -MD -MP -MF $(DEPDIR)/pngunknown.Tpo -c -o pngunknown.obj `if test -f 'contrib/libtests/pngunknown.c'; then $(CYGPATH_W) 'contrib/libtests/pngunknown.c'; else $(CYGPATH_W) '$(srcdir)/contrib/libtests/pngunknown.c'; fi`
764 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/pngunknown.Tpo $(DEPDIR)/pngunknown.Po
765 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='contrib/libtests/pngunknown.c' object='pngunknown.obj' libtool=no @AMDEPBACKSLASH@
766 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
767 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o pngunknown.obj `if test -f 'contrib/libtests/pngunknown.c'; then $(CYGPATH_W) 'contrib/libtests/pngunknown.c'; else $(CYGPATH_W) '$(srcdir)/contrib/libtests/pngunknown.c'; fi`
768
769 pngvalid.o: contrib/libtests/pngvalid.c
770 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT pngvalid.o -MD -MP -MF $(DEPDIR)/pngvalid.Tpo -c -o pngvalid.o `test -f 'contrib/libtests/pngvalid.c' || echo '$(srcdir)/'`contrib/libtests/pngvalid.c
771 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/pngvalid.Tpo $(DEPDIR)/pngvalid.Po
772 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='contrib/libtests/pngvalid.c' object='pngvalid.o' libtool=no @AMDEPBACKSLASH@
773 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
774 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o pngvalid.o `test -f 'contrib/libtests/pngvalid.c' || echo '$(srcdir)/'`contrib/libtests/pngvalid.c
775
776 pngvalid.obj: contrib/libtests/pngvalid.c
777 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT pngvalid.obj -MD -MP -MF $(DEPDIR)/pngvalid.Tpo -c -o pngvalid.obj `if test -f 'contrib/libtests/pngvalid.c'; then $(CYGPATH_W) 'contrib/libtests/pngvalid.c'; else $(CYGPATH_W) '$(srcdir)/contrib/libtests/pngvalid.c'; fi`
778 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/pngvalid.Tpo $(DEPDIR)/pngvalid.Po
779 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='contrib/libtests/pngvalid.c' object='pngvalid.obj' libtool=no @AMDEPBACKSLASH@
780 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
781 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o pngvalid.obj `if test -f 'contrib/libtests/pngvalid.c'; then $(CYGPATH_W) 'contrib/libtests/pngvalid.c'; else $(CYGPATH_W) '$(srcdir)/contrib/libtests/pngvalid.c'; fi`
782
783 mostlyclean-libtool:
784         -rm -f *.lo
785
786 clean-libtool:
787         -rm -rf .libs _libs
788
789 distclean-libtool:
790         -rm -f libtool config.lt
791 install-man3: $(dist_man_MANS)
792         @$(NORMAL_INSTALL)
793         @list1=''; \
794         list2='$(dist_man_MANS)'; \
795         test -n "$(man3dir)" \
796           && test -n "`echo $$list1$$list2`" \
797           || exit 0; \
798         echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
799         $(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
800         { for i in $$list1; do echo "$$i"; done;  \
801         if test -n "$$list2"; then \
802           for i in $$list2; do echo "$$i"; done \
803             | sed -n '/\.3[a-z]*$$/p'; \
804         fi; \
805         } | while read p; do \
806           if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
807           echo "$$d$$p"; echo "$$p"; \
808         done | \
809         sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
810               -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
811         sed 'N;N;s,\n, ,g' | { \
812         list=; while read file base inst; do \
813           if test "$$base" = "$$inst"; then list="$$list $$file"; else \
814             echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
815             $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
816           fi; \
817         done; \
818         for i in $$list; do echo "$$i"; done | $(am__base_list) | \
819         while read files; do \
820           test -z "$$files" || { \
821             echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
822             $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
823         done; }
824
825 uninstall-man3:
826         @$(NORMAL_UNINSTALL)
827         @list=''; test -n "$(man3dir)" || exit 0; \
828         files=`{ for i in $$list; do echo "$$i"; done; \
829         l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
830           sed -n '/\.3[a-z]*$$/p'; \
831         } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
832               -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
833         dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
834 install-man5: $(dist_man_MANS)
835         @$(NORMAL_INSTALL)
836         @list1=''; \
837         list2='$(dist_man_MANS)'; \
838         test -n "$(man5dir)" \
839           && test -n "`echo $$list1$$list2`" \
840           || exit 0; \
841         echo " $(MKDIR_P) '$(DESTDIR)$(man5dir)'"; \
842         $(MKDIR_P) "$(DESTDIR)$(man5dir)" || exit 1; \
843         { for i in $$list1; do echo "$$i"; done;  \
844         if test -n "$$list2"; then \
845           for i in $$list2; do echo "$$i"; done \
846             | sed -n '/\.5[a-z]*$$/p'; \
847         fi; \
848         } | while read p; do \
849           if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
850           echo "$$d$$p"; echo "$$p"; \
851         done | \
852         sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
853               -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
854         sed 'N;N;s,\n, ,g' | { \
855         list=; while read file base inst; do \
856           if test "$$base" = "$$inst"; then list="$$list $$file"; else \
857             echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
858             $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \
859           fi; \
860         done; \
861         for i in $$list; do echo "$$i"; done | $(am__base_list) | \
862         while read files; do \
863           test -z "$$files" || { \
864             echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \
865             $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \
866         done; }
867
868 uninstall-man5:
869         @$(NORMAL_UNINSTALL)
870         @list=''; test -n "$(man5dir)" || exit 0; \
871         files=`{ for i in $$list; do echo "$$i"; done; \
872         l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
873           sed -n '/\.5[a-z]*$$/p'; \
874         } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
875               -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
876         dir='$(DESTDIR)$(man5dir)'; $(am__uninstall_files_from_dir)
877 install-pkgconfigDATA: $(pkgconfig_DATA)
878         @$(NORMAL_INSTALL)
879         @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
880         if test -n "$$list"; then \
881           echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
882           $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
883         fi; \
884         for p in $$list; do \
885           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
886           echo "$$d$$p"; \
887         done | $(am__base_list) | \
888         while read files; do \
889           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
890           $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
891         done
892
893 uninstall-pkgconfigDATA:
894         @$(NORMAL_UNINSTALL)
895         @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
896         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
897         dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
898 install-nodist_pkgincludeHEADERS: $(nodist_pkginclude_HEADERS)
899         @$(NORMAL_INSTALL)
900         @list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
901         if test -n "$$list"; then \
902           echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \
903           $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \
904         fi; \
905         for p in $$list; do \
906           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
907           echo "$$d$$p"; \
908         done | $(am__base_list) | \
909         while read files; do \
910           echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
911           $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
912         done
913
914 uninstall-nodist_pkgincludeHEADERS:
915         @$(NORMAL_UNINSTALL)
916         @list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
917         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
918         dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir)
919 install-pkgincludeHEADERS: $(pkginclude_HEADERS)
920         @$(NORMAL_INSTALL)
921         @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
922         if test -n "$$list"; then \
923           echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \
924           $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \
925         fi; \
926         for p in $$list; do \
927           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
928           echo "$$d$$p"; \
929         done | $(am__base_list) | \
930         while read files; do \
931           echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
932           $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
933         done
934
935 uninstall-pkgincludeHEADERS:
936         @$(NORMAL_UNINSTALL)
937         @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
938         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
939         dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir)
940
941 ID: $(am__tagged_files)
942         $(am__define_uniq_tagged_files); mkid -fID $$unique
943 tags: tags-am
944 TAGS: tags
945
946 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
947         set x; \
948         here=`pwd`; \
949         $(am__define_uniq_tagged_files); \
950         shift; \
951         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
952           test -n "$$unique" || unique=$$empty_fix; \
953           if test $$# -gt 0; then \
954             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
955               "$$@" $$unique; \
956           else \
957             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
958               $$unique; \
959           fi; \
960         fi
961 ctags: ctags-am
962
963 CTAGS: ctags
964 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
965         $(am__define_uniq_tagged_files); \
966         test -z "$(CTAGS_ARGS)$$unique" \
967           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
968              $$unique
969
970 GTAGS:
971         here=`$(am__cd) $(top_builddir) && pwd` \
972           && $(am__cd) $(top_srcdir) \
973           && gtags -i $(GTAGS_ARGS) "$$here"
974 cscope: cscope.files
975         test ! -s cscope.files \
976           || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
977 clean-cscope:
978         -rm -f cscope.files
979 cscope.files: clean-cscope cscopelist
980 cscopelist: cscopelist-am
981
982 cscopelist-am: $(am__tagged_files)
983         list='$(am__tagged_files)'; \
984         case "$(srcdir)" in \
985           [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
986           *) sdir=$(subdir)/$(srcdir) ;; \
987         esac; \
988         for i in $$list; do \
989           if test -f "$$i"; then \
990             echo "$(subdir)/$$i"; \
991           else \
992             echo "$$sdir/$$i"; \
993           fi; \
994         done >> $(top_builddir)/cscope.files
995
996 distclean-tags:
997         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
998         -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
999
1000 check-TESTS: $(TESTS)
1001         @failed=0; all=0; xfail=0; xpass=0; skip=0; \
1002         srcdir=$(srcdir); export srcdir; \
1003         list=' $(TESTS) '; \
1004         $(am__tty_colors); \
1005         if test -n "$$list"; then \
1006           for tst in $$list; do \
1007             if test -f ./$$tst; then dir=./; \
1008             elif test -f $$tst; then dir=; \
1009             else dir="$(srcdir)/"; fi; \
1010             if $(TESTS_ENVIRONMENT) $${dir}$$tst $(AM_TESTS_FD_REDIRECT); then \
1011               all=`expr $$all + 1`; \
1012               case " $(XFAIL_TESTS) " in \
1013               *[\ \     ]$$tst[\ \      ]*) \
1014                 xpass=`expr $$xpass + 1`; \
1015                 failed=`expr $$failed + 1`; \
1016                 col=$$red; res=XPASS; \
1017               ;; \
1018               *) \
1019                 col=$$grn; res=PASS; \
1020               ;; \
1021               esac; \
1022             elif test $$? -ne 77; then \
1023               all=`expr $$all + 1`; \
1024               case " $(XFAIL_TESTS) " in \
1025               *[\ \     ]$$tst[\ \      ]*) \
1026                 xfail=`expr $$xfail + 1`; \
1027                 col=$$lgn; res=XFAIL; \
1028               ;; \
1029               *) \
1030                 failed=`expr $$failed + 1`; \
1031                 col=$$red; res=FAIL; \
1032               ;; \
1033               esac; \
1034             else \
1035               skip=`expr $$skip + 1`; \
1036               col=$$blu; res=SKIP; \
1037             fi; \
1038             echo "$${col}$$res$${std}: $$tst"; \
1039           done; \
1040           if test "$$all" -eq 1; then \
1041             tests="test"; \
1042             All=""; \
1043           else \
1044             tests="tests"; \
1045             All="All "; \
1046           fi; \
1047           if test "$$failed" -eq 0; then \
1048             if test "$$xfail" -eq 0; then \
1049               banner="$$All$$all $$tests passed"; \
1050             else \
1051               if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
1052               banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
1053             fi; \
1054           else \
1055             if test "$$xpass" -eq 0; then \
1056               banner="$$failed of $$all $$tests failed"; \
1057             else \
1058               if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
1059               banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
1060             fi; \
1061           fi; \
1062           dashes="$$banner"; \
1063           skipped=""; \
1064           if test "$$skip" -ne 0; then \
1065             if test "$$skip" -eq 1; then \
1066               skipped="($$skip test was not run)"; \
1067             else \
1068               skipped="($$skip tests were not run)"; \
1069             fi; \
1070             test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
1071               dashes="$$skipped"; \
1072           fi; \
1073           report=""; \
1074           if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
1075             report="Please report to $(PACKAGE_BUGREPORT)"; \
1076             test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
1077               dashes="$$report"; \
1078           fi; \
1079           dashes=`echo "$$dashes" | sed s/./=/g`; \
1080           if test "$$failed" -eq 0; then \
1081             col="$$grn"; \
1082           else \
1083             col="$$red"; \
1084           fi; \
1085           echo "$${col}$$dashes$${std}"; \
1086           echo "$${col}$$banner$${std}"; \
1087           test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
1088           test -z "$$report" || echo "$${col}$$report$${std}"; \
1089           echo "$${col}$$dashes$${std}"; \
1090           test "$$failed" -eq 0; \
1091         else :; fi
1092
1093 distdir: $(DISTFILES)
1094         $(am__remove_distdir)
1095         test -d "$(distdir)" || mkdir "$(distdir)"
1096         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1097         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1098         list='$(DISTFILES)'; \
1099           dist_files=`for file in $$list; do echo $$file; done | \
1100           sed -e "s|^$$srcdirstrip/||;t" \
1101               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1102         case $$dist_files in \
1103           */*) $(MKDIR_P) `echo "$$dist_files" | \
1104                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1105                            sort -u` ;; \
1106         esac; \
1107         for file in $$dist_files; do \
1108           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1109           if test -d $$d/$$file; then \
1110             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1111             if test -d "$(distdir)/$$file"; then \
1112               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1113             fi; \
1114             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1115               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1116               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1117             fi; \
1118             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1119           else \
1120             test -f "$(distdir)/$$file" \
1121             || cp -p $$d/$$file "$(distdir)/$$file" \
1122             || exit 1; \
1123           fi; \
1124         done
1125         $(MAKE) $(AM_MAKEFLAGS) \
1126           top_distdir="$(top_distdir)" distdir="$(distdir)" \
1127           dist-hook
1128         -test -n "$(am__skip_mode_fix)" \
1129         || find "$(distdir)" -type d ! -perm -755 \
1130                 -exec chmod u+rwx,go+rx {} \; -o \
1131           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1132           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1133           ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1134         || chmod -R a+r "$(distdir)"
1135 dist-gzip: distdir
1136         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1137         $(am__post_remove_distdir)
1138
1139 dist-bzip2: distdir
1140         tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1141         $(am__post_remove_distdir)
1142
1143 dist-lzip: distdir
1144         tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1145         $(am__post_remove_distdir)
1146 dist-xz: distdir
1147         tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1148         $(am__post_remove_distdir)
1149
1150 dist-tarZ: distdir
1151         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1152         $(am__post_remove_distdir)
1153
1154 dist-shar: distdir
1155         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1156         $(am__post_remove_distdir)
1157
1158 dist-zip: distdir
1159         -rm -f $(distdir).zip
1160         zip -rq $(distdir).zip $(distdir)
1161         $(am__post_remove_distdir)
1162
1163 dist dist-all:
1164         $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1165         $(am__post_remove_distdir)
1166
1167 # This target untars the dist file and tries a VPATH configuration.  Then
1168 # it guarantees that the distribution is self-contained by making another
1169 # tarfile.
1170 distcheck: dist
1171         case '$(DIST_ARCHIVES)' in \
1172         *.tar.gz*) \
1173           GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1174         *.tar.bz2*) \
1175           bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1176         *.tar.lz*) \
1177           lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1178         *.tar.xz*) \
1179           xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1180         *.tar.Z*) \
1181           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1182         *.shar.gz*) \
1183           GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1184         *.zip*) \
1185           unzip $(distdir).zip ;;\
1186         esac
1187         chmod -R a-w $(distdir)
1188         chmod u+w $(distdir)
1189         mkdir $(distdir)/_build $(distdir)/_inst
1190         chmod a-w $(distdir)
1191         test -d $(distdir)/_build || exit 0; \
1192         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1193           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1194           && am__cwd=`pwd` \
1195           && $(am__cd) $(distdir)/_build \
1196           && ../configure --srcdir=.. --prefix="$$dc_install_base" \
1197             $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1198             $(DISTCHECK_CONFIGURE_FLAGS) \
1199           && $(MAKE) $(AM_MAKEFLAGS) \
1200           && $(MAKE) $(AM_MAKEFLAGS) dvi \
1201           && $(MAKE) $(AM_MAKEFLAGS) check \
1202           && $(MAKE) $(AM_MAKEFLAGS) install \
1203           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1204           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1205           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1206                 distuninstallcheck \
1207           && chmod -R a-w "$$dc_install_base" \
1208           && ({ \
1209                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1210                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1211                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1212                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1213                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1214               } || { rm -rf "$$dc_destdir"; exit 1; }) \
1215           && rm -rf "$$dc_destdir" \
1216           && $(MAKE) $(AM_MAKEFLAGS) dist \
1217           && rm -rf $(DIST_ARCHIVES) \
1218           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1219           && cd "$$am__cwd" \
1220           || exit 1
1221         $(am__post_remove_distdir)
1222         @(echo "$(distdir) archives ready for distribution: "; \
1223           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1224           sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1225 distuninstallcheck:
1226         @test -n '$(distuninstallcheck_dir)' || { \
1227           echo 'ERROR: trying to run $@ with an empty' \
1228                '$$(distuninstallcheck_dir)' >&2; \
1229           exit 1; \
1230         }; \
1231         $(am__cd) '$(distuninstallcheck_dir)' || { \
1232           echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1233           exit 1; \
1234         }; \
1235         test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1236            || { echo "ERROR: files left after uninstall:" ; \
1237                 if test -n "$(DESTDIR)"; then \
1238                   echo "  (check DESTDIR support)"; \
1239                 fi ; \
1240                 $(distuninstallcheck_listfiles) ; \
1241                 exit 1; } >&2
1242 distcleancheck: distclean
1243         @if test '$(srcdir)' = . ; then \
1244           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1245           exit 1 ; \
1246         fi
1247         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1248           || { echo "ERROR: files left in build directory after distclean:" ; \
1249                $(distcleancheck_listfiles) ; \
1250                exit 1; } >&2
1251 check-am: all-am
1252         $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1253         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1254 check: check-am
1255 all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) $(MANS) $(DATA) $(HEADERS) \
1256                 config.h
1257 installdirs:
1258         for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkgincludedir)" "$(DESTDIR)$(pkgincludedir)"; do \
1259           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1260         done
1261 install: install-am
1262 install-exec: install-exec-am
1263 install-data: install-data-am
1264 uninstall: uninstall-am
1265
1266 install-am: all-am
1267         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1268
1269 installcheck: installcheck-am
1270 install-strip:
1271         if test -z '$(STRIP)'; then \
1272           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1273             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1274               install; \
1275         else \
1276           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1277             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1278             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1279         fi
1280 mostlyclean-generic:
1281
1282 clean-generic:
1283         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1284
1285 distclean-generic:
1286         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1287         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1288
1289 maintainer-clean-generic:
1290         @echo "This command is intended for maintainers to use"
1291         @echo "it deletes files that may require special tools to rebuild."
1292         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
1293 clean: clean-am
1294
1295 clean-am: clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \
1296         clean-libtool mostlyclean-am
1297
1298 distclean: distclean-am
1299         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1300         -rm -rf ./$(DEPDIR)
1301         -rm -f Makefile
1302 distclean-am: clean-am distclean-compile distclean-generic \
1303         distclean-hdr distclean-libtool distclean-tags
1304
1305 dvi: dvi-am
1306
1307 dvi-am:
1308
1309 html: html-am
1310
1311 html-am:
1312
1313 info: info-am
1314
1315 info-am:
1316
1317 install-data-am: install-man install-nodist_pkgincludeHEADERS \
1318         install-pkgconfigDATA install-pkgincludeHEADERS
1319         @$(NORMAL_INSTALL)
1320         $(MAKE) $(AM_MAKEFLAGS) install-data-hook
1321 install-dvi: install-dvi-am
1322
1323 install-dvi-am:
1324
1325 install-exec-am: install-binSCRIPTS install-libLTLIBRARIES
1326         @$(NORMAL_INSTALL)
1327         $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
1328 install-html: install-html-am
1329
1330 install-html-am:
1331
1332 install-info: install-info-am
1333
1334 install-info-am:
1335
1336 install-man: install-man3 install-man5
1337
1338 install-pdf: install-pdf-am
1339
1340 install-pdf-am:
1341
1342 install-ps: install-ps-am
1343
1344 install-ps-am:
1345
1346 installcheck-am:
1347
1348 maintainer-clean: maintainer-clean-am
1349         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1350         -rm -rf $(top_srcdir)/autom4te.cache
1351         -rm -rf ./$(DEPDIR)
1352         -rm -f Makefile
1353 maintainer-clean-am: distclean-am maintainer-clean-generic
1354
1355 mostlyclean: mostlyclean-am
1356
1357 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1358         mostlyclean-libtool
1359
1360 pdf: pdf-am
1361
1362 pdf-am:
1363
1364 ps: ps-am
1365
1366 ps-am:
1367
1368 uninstall-am: uninstall-binSCRIPTS uninstall-libLTLIBRARIES \
1369         uninstall-man uninstall-nodist_pkgincludeHEADERS \
1370         uninstall-pkgconfigDATA uninstall-pkgincludeHEADERS
1371         @$(NORMAL_INSTALL)
1372         $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
1373 uninstall-man: uninstall-man3 uninstall-man5
1374
1375 .MAKE: all check-am install-am install-data-am install-exec-am \
1376         install-strip uninstall-am
1377
1378 .PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-TESTS \
1379         check-am clean clean-checkPROGRAMS clean-cscope clean-generic \
1380         clean-libLTLIBRARIES clean-libtool cscope cscopelist-am ctags \
1381         ctags-am dist dist-all dist-bzip2 dist-gzip dist-hook \
1382         dist-lzip dist-shar dist-tarZ dist-xz dist-zip distcheck \
1383         distclean distclean-compile distclean-generic distclean-hdr \
1384         distclean-libtool distclean-tags distcleancheck distdir \
1385         distuninstallcheck dvi dvi-am html html-am info info-am \
1386         install install-am install-binSCRIPTS install-data \
1387         install-data-am install-data-hook install-dvi install-dvi-am \
1388         install-exec install-exec-am install-exec-hook install-html \
1389         install-html-am install-info install-info-am \
1390         install-libLTLIBRARIES install-man install-man3 install-man5 \
1391         install-nodist_pkgincludeHEADERS install-pdf install-pdf-am \
1392         install-pkgconfigDATA install-pkgincludeHEADERS install-ps \
1393         install-ps-am install-strip installcheck installcheck-am \
1394         installdirs maintainer-clean maintainer-clean-generic \
1395         mostlyclean mostlyclean-compile mostlyclean-generic \
1396         mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
1397         uninstall-am uninstall-binSCRIPTS uninstall-hook \
1398         uninstall-libLTLIBRARIES uninstall-man uninstall-man3 \
1399         uninstall-man5 uninstall-nodist_pkgincludeHEADERS \
1400         uninstall-pkgconfigDATA uninstall-pkgincludeHEADERS
1401
1402
1403 $(PNGLIB_BASENAME).pc: libpng.pc
1404         cp libpng.pc $@
1405
1406 $(PNGLIB_BASENAME)-config: libpng-config
1407         cp libpng-config $@
1408
1409 scripts/sym.out scripts/vers.out: png.h pngconf.h pnglibconf.h
1410 scripts/prefix.out: png.h pngconf.h pnglibconf.out
1411 scripts/symbols.out: png.h pngconf.h $(srcdir)/scripts/pnglibconf.h.prebuilt
1412 scripts/intprefix.out: pnglibconf.h
1413
1414 libpng.sym: scripts/sym.out
1415         rm -f $@
1416         cp $? $@
1417 libpng.vers: scripts/vers.out
1418         rm -f $@
1419         cp $? $@
1420
1421 # Rename functions in scripts/prefix.out with a PNG_PREFIX prefix.
1422 # Rename macros in scripts/macro.lst from PNG_PREFIXpng_ to PNG_ (the actual
1423 # implementation of the macro).
1424 @DO_PNG_PREFIX_TRUE@pnglibconf.h: pnglibconf.out scripts/prefix.out scripts/macro.lst
1425 @DO_PNG_PREFIX_TRUE@    rm -f $@
1426 @DO_PNG_PREFIX_TRUE@    $(AWK) 's==0 && NR>1{print prev}\
1427 @DO_PNG_PREFIX_TRUE@       s==0{prev=$$0}\
1428 @DO_PNG_PREFIX_TRUE@       s==1{print "#define", $$1, "@PNG_PREFIX@" $$1}\
1429 @DO_PNG_PREFIX_TRUE@       s==2{print "#define @PNG_PREFIX@png_" $$1, "PNG_" $$1}\
1430 @DO_PNG_PREFIX_TRUE@       END{print prev}' s=0 pnglibconf.out s=1 scripts/prefix.out\
1431 @DO_PNG_PREFIX_TRUE@       s=2 ${srcdir}/scripts/macro.lst >pnglibconf.tf8
1432 @DO_PNG_PREFIX_TRUE@    mv pnglibconf.tf8 $@
1433
1434 @DO_PNG_PREFIX_TRUE@pngprefix.h: scripts/intprefix.out
1435 @DO_PNG_PREFIX_TRUE@    rm -f pngprefix.tf1
1436 @DO_PNG_PREFIX_TRUE@    $(AWK) '{print "#define", $$1, "@PNG_PREFIX@" $$1}' $? >pngprefix.tf1
1437 @DO_PNG_PREFIX_TRUE@    mv pngprefix.tf1 $@
1438 @DO_PNG_PREFIX_FALSE@pnglibconf.h: pnglibconf.out
1439 @DO_PNG_PREFIX_FALSE@   rm -f $@
1440 @DO_PNG_PREFIX_FALSE@   cp $? $@
1441
1442 @DO_PNG_PREFIX_FALSE@pngprefix.h: # is empty
1443 @DO_PNG_PREFIX_FALSE@   :>$@
1444
1445 $(srcdir)/scripts/pnglibconf.h.prebuilt:
1446         @echo "Attempting to build $@" >&2
1447         @echo "This is a machine generated file, but if you want to make" >&2
1448         @echo "a new one simply make 'scripts/pnglibconf.out' and copy that" >&2
1449         @exit 1
1450
1451 # The following is necessary to ensure that the local pnglibconf.h is used, not
1452 # an installed one (this can happen immediately after on a clean system if
1453 # 'make test' is the first thing the user does.)
1454 contrib/libtests/pngstest.o contrib/libtests/pngvalid.o pngtest.o: pnglibconf.h
1455 contrib/libtests/pngunknown.o: pnglibconf.h
1456
1457 .dfn.out:
1458         rm -f $@ $*.c $*.tf[123]
1459         test -d scripts || mkdir scripts
1460         echo '#include "$<"' >$*.c
1461         $(DFNCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)\
1462             $(CPPFLAGS) $(SYMBOL_CFLAGS) $*.c > $*.tf1
1463         $(SED) -n -e 's|^.*PNG_DEFN_MAGIC *-\(.*\)- *PNG_DEFN_END.*$$|\1|p'\
1464             $*.tf1 >$*.tf2
1465         $(SED) -e 's| *PNG_JOIN *||g' -e 's| *$$||' $*.tf2 >$*.tf3
1466         rm -f $*.c $*.tf[12]
1467         mv $*.tf3 $@
1468
1469 # The .dfn file for pnglibconf.h is machine generated
1470 pnglibconf.dfn: scripts/pnglibconf.dfa scripts/options.awk pngconf.h pngusr.dfa $(DFA_XTRA)
1471         rm -f $@ $*.tf[45]
1472         $(AWK) -f ${srcdir}/scripts/options.awk out=$*.tf4 version=search\
1473             ${srcdir}/pngconf.h ${srcdir}/scripts/pnglibconf.dfa\
1474             ${srcdir}/pngusr.dfa $(DFA_XTRA) 1>&2
1475         $(AWK) -f ${srcdir}/scripts/options.awk out=$*.tf5 $*.tf4 1>&2
1476         rm $*.tf4
1477         mv $*.tf5 $@
1478
1479 # Symbol checks (.def and .out files should match)
1480 scripts/symbols.chk: scripts/checksym.awk scripts/symbols.def scripts/symbols.out
1481
1482 .out.chk:
1483         rm -f $@ $*.new
1484         $(AWK) -f ${srcdir}/scripts/checksym.awk ${srcdir}/scripts/${*F}.def\
1485             of="$*.new" $< >&2
1486         mv $*.new $@
1487
1488 # used on demand to regenerate the standard header, CPPFLAGS should
1489 # be empty - no non-standard defines
1490 scripts/pnglibconf.dfn: scripts/pnglibconf.dfa scripts/options.awk pngconf.h
1491         rm -f $@ pnglibconf.tf[67]
1492         test -z "$(CPPFLAGS)"
1493         echo "com @PNGLIB_VERSION@ STANDARD API DEFINITION" |\
1494         $(AWK) -f ${srcdir}/scripts/options.awk out=pnglibconf.tf6\
1495             logunsupported=1 version=search ${srcdir}/pngconf.h -\
1496             ${srcdir}/scripts/pnglibconf.dfa 1>&2
1497         $(AWK) -f ${srcdir}/scripts/options.awk out=pnglibconf.tf7\
1498             pnglibconf.tf6 1>&2
1499         rm pnglibconf.tf6
1500         mv pnglibconf.tf7 $@
1501
1502 $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS): png.h pngconf.h \
1503         pnglibconf.h pngpriv.h pngdebug.h pnginfo.h pngstruct.h pngprefix.h
1504
1505 test: check-am
1506
1507 # Extra checks
1508 check: scripts/symbols.chk
1509
1510 # Don't distribute the generated script files
1511 dist-hook:
1512         cd '$(top_distdir)'; rm -f $(SCRIPT_CLEANFILES)
1513
1514 # install the .../include headers as links to the new ones
1515 install-data-hook:
1516         cd '$(DESTDIR)$(includedir)'; rm -f png.h pngconf.h pnglibconf.h
1517         cd '$(DESTDIR)$(includedir)'; $(LN_S) $(PNGLIB_BASENAME)/png.h png.h
1518         cd '$(DESTDIR)$(includedir)'; $(LN_S) $(PNGLIB_BASENAME)/pngconf.h \
1519                 pngconf.h
1520         cd '$(DESTDIR)$(includedir)'; $(LN_S) $(PNGLIB_BASENAME)/pnglibconf.h \
1521                 pnglibconf.h
1522         cd '$(DESTDIR)$(pkgconfigdir)'; rm -f libpng.pc
1523         cd '$(DESTDIR)$(pkgconfigdir)'; $(LN_S) $(PNGLIB_BASENAME).pc libpng.pc
1524
1525 # do evil things to libpng to cause libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ to be used
1526 install-exec-hook:
1527         cd '$(DESTDIR)$(bindir)'; rm -f libpng-config
1528         cd '$(DESTDIR)$(bindir)';\
1529            $(LN_S) $(PNGLIB_BASENAME)-config libpng-config
1530         @set -x;\
1531         cd '$(DESTDIR)$(libdir)';\
1532         for ext in a la so so.@PNGLIB_MAJOR@@PNGLIB_MINOR@.@PNGLIB_RELEASE@\
1533            sl dylib dll.a; do\
1534                 rm -f libpng.$$ext;\
1535                 if test -f $(PNGLIB_BASENAME).$$ext; then\
1536                        $(LN_S) $(PNGLIB_BASENAME).$$ext libpng.$$ext;\
1537                 fi;\
1538         done
1539
1540 uninstall-hook:
1541         cd '$(DESTDIR)$(includedir)'; rm -f png.h pngconf.h pnglibconf.h
1542         rm -f '$(DESTDIR)$(pkgconfigdir)/libpng.pc'
1543         rm -f '$(DESTDIR)$(bindir)/libpng-config'
1544         rm -f '$(DESTDIR)$(libdir)/libpng.a'
1545         rm -f '$(DESTDIR)$(libdir)/libpng.la'
1546         rm -f '$(DESTDIR)$(libdir)/libpng.so'
1547         rm -f '$(DESTDIR)$(libdir)/libpng.so.@PNGLIB_MAJOR@@PNGLIB_MINOR@.@PNGLIB_RELEASE@'
1548         rm -f '$(DESTDIR)$(libdir)/libpng.sl'
1549         rm -f '$(DESTDIR)$(libdir)/libpng.dylib'
1550         rm -f '$(DESTDIR)$(libdir)/libpng.dll.a'
1551
1552 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1553 # Otherwise a system limit (for SysV at least) may be exceeded.
1554 .NOEXPORT: