blob: aae22574314dc292afe853e5abcd05db7eb7fcf3 [file] [log] [blame]
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301# Makefile.in generated by automake 1.14.1 from Makefile.am.
The Android Open Source Project893912b2009-03-03 19:30:05 -08002# @configure_input@
3
Sireesh Tripurarib478e662014-05-09 15:15:10 +05304# Copyright (C) 1994-2013 Free Software Foundation, Inc.
Chris Craikb50c2172013-07-29 15:28:30 -07005
The Android Open Source Project893912b2009-03-03 19:30:05 -08006# 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#
Chris Craikb50c2172013-07-29 15:28:30 -070020
The Android Open Source Project893912b2009-03-03 19:30:05 -080021
22
23
24
25VPATH = @srcdir@
Sireesh Tripurarib478e662014-05-09 15:15:10 +053026am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
27am__make_running_with_option = \
28 case $${target_option-} in \
29 ?) ;; \
30 *) echo "am__make_running_with_option: internal error: invalid" \
31 "target option '$${target_option-}' specified" >&2; \
32 exit 1;; \
33 esac; \
34 has_opt=no; \
35 sane_makeflags=$$MAKEFLAGS; \
36 if $(am__is_gnu_make); then \
37 sane_makeflags=$$MFLAGS; \
38 else \
Chris Craikb50c2172013-07-29 15:28:30 -070039 case $$MAKEFLAGS in \
40 *\\[\ \ ]*) \
Sireesh Tripurarib478e662014-05-09 15:15:10 +053041 bs=\\; \
42 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
43 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
Chris Craikb50c2172013-07-29 15:28:30 -070044 esac; \
Sireesh Tripurarib478e662014-05-09 15:15:10 +053045 fi; \
46 skip_next=no; \
47 strip_trailopt () \
48 { \
49 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
50 }; \
51 for flg in $$sane_makeflags; do \
52 test $$skip_next = yes && { skip_next=no; continue; }; \
53 case $$flg in \
54 *=*|--*) continue;; \
55 -*I) strip_trailopt 'I'; skip_next=yes;; \
56 -*I?*) strip_trailopt 'I';; \
57 -*O) strip_trailopt 'O'; skip_next=yes;; \
58 -*O?*) strip_trailopt 'O';; \
59 -*l) strip_trailopt 'l'; skip_next=yes;; \
60 -*l?*) strip_trailopt 'l';; \
61 -[dEDm]) skip_next=yes;; \
62 -[JT]) skip_next=yes;; \
63 esac; \
64 case $$flg in \
65 *$$target_option*) has_opt=yes; break;; \
66 esac; \
67 done; \
68 test $$has_opt = yes
69am__make_dryrun = (target_option=n; $(am__make_running_with_option))
70am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
The Android Open Source Project893912b2009-03-03 19:30:05 -080071pkgdatadir = $(datadir)/@PACKAGE@
72pkglibdir = $(libdir)/@PACKAGE@
Patrick Scott5f6bd842010-06-28 16:55:16 -040073pkglibexecdir = $(libexecdir)/@PACKAGE@
The Android Open Source Project893912b2009-03-03 19:30:05 -080074am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
75install_sh_DATA = $(install_sh) -c -m 644
76install_sh_PROGRAM = $(install_sh) -c
77install_sh_SCRIPT = $(install_sh) -c
78INSTALL_HEADER = $(INSTALL_DATA)
79transform = $(program_transform_name)
80NORMAL_INSTALL = :
81PRE_INSTALL = :
82POST_INSTALL = :
83NORMAL_UNINSTALL = :
84PRE_UNINSTALL = :
85POST_UNINSTALL = :
86build_triplet = @build@
87host_triplet = @host@
Chris Craikb50c2172013-07-29 15:28:30 -070088check_PROGRAMS = pngtest$(EXEEXT) pngunknown$(EXEEXT) \
Sireesh Tripurarib478e662014-05-09 15:15:10 +053089 pngstest$(EXEEXT) pngvalid$(EXEEXT) pngimage$(EXEEXT)
Chris Craikb50c2172013-07-29 15:28:30 -070090bin_PROGRAMS = pngfix$(EXEEXT) png-fix-itxt$(EXEEXT)
91@PNG_ARM_NEON_TRUE@am__append_1 = arm/arm_init.c\
Sireesh Tripurarib478e662014-05-09 15:15:10 +053092@PNG_ARM_NEON_TRUE@ arm/filter_neon.S arm/filter_neon_intrinsics.c
Chris Craikb50c2172013-07-29 15:28:30 -070093
94
95# Versioned symbols and restricted exports
96@HAVE_LD_VERSION_SCRIPT_TRUE@@HAVE_SOLARIS_LD_TRUE@am__append_2 = -Wl,-M -Wl,libpng.vers
97@HAVE_LD_VERSION_SCRIPT_TRUE@@HAVE_SOLARIS_LD_FALSE@am__append_3 = -Wl,--version-script=libpng.vers
98# Only restricted exports when possible
99@HAVE_LD_VERSION_SCRIPT_FALSE@am__append_4 = -export-symbols libpng.sym
100@DO_PNG_PREFIX_TRUE@am__append_5 = -DPNG_PREFIX='@PNG_PREFIX@'
The Android Open Source Project893912b2009-03-03 19:30:05 -0800101subdir = .
Chris Craikb50c2172013-07-29 15:28:30 -0700102DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
103 $(top_srcdir)/configure $(am__configure_deps) \
104 $(srcdir)/config.h.in $(srcdir)/libpng.pc.in \
105 $(srcdir)/libpng-config.in depcomp $(dist_man_MANS) \
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530106 $(pkginclude_HEADERS) test-driver INSTALL README TODO compile \
Chris Craikb50c2172013-07-29 15:28:30 -0700107 config.guess config.sub install-sh missing ltmain.sh
The Android Open Source Project893912b2009-03-03 19:30:05 -0800108ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
Chris Craikb50c2172013-07-29 15:28:30 -0700109am__aclocal_m4_deps = $(top_srcdir)/scripts/libtool.m4 \
110 $(top_srcdir)/scripts/ltoptions.m4 \
111 $(top_srcdir)/scripts/ltsugar.m4 \
112 $(top_srcdir)/scripts/ltversion.m4 \
113 $(top_srcdir)/scripts/lt~obsolete.m4 \
114 $(top_srcdir)/configure.ac
The Android Open Source Project893912b2009-03-03 19:30:05 -0800115am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
116 $(ACLOCAL_M4)
117am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
118 configure.lineno config.status.lineno
Chris Craikb50c2172013-07-29 15:28:30 -0700119mkinstalldirs = $(install_sh) -d
The Android Open Source Project893912b2009-03-03 19:30:05 -0800120CONFIG_HEADER = config.h
121CONFIG_CLEAN_FILES = libpng.pc libpng-config
Patrick Scott5f6bd842010-06-28 16:55:16 -0400122CONFIG_CLEAN_VPATH_FILES =
The Android Open Source Project893912b2009-03-03 19:30:05 -0800123am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
124am__vpath_adj = case $$p in \
125 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
126 *) f=$$p;; \
127 esac;
Patrick Scott5f6bd842010-06-28 16:55:16 -0400128am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
129am__install_max = 40
130am__nobase_strip_setup = \
131 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
132am__nobase_strip = \
133 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
134am__nobase_list = $(am__nobase_strip_setup); \
135 for p in $$list; do echo "$$p $$p"; done | \
136 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
137 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
138 if (++n[$$2] == $(am__install_max)) \
139 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
140 END { for (dir in files) print dir, files[dir] }'
141am__base_list = \
142 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
143 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
Chris Craikb50c2172013-07-29 15:28:30 -0700144am__uninstall_files_from_dir = { \
145 test -z "$$files" \
146 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
147 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
148 $(am__cd) "$$dir" && rm -f $$files; }; \
149 }
The Android Open Source Project893912b2009-03-03 19:30:05 -0800150am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
Chris Craikb50c2172013-07-29 15:28:30 -0700151 "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man3dir)" \
152 "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(pkgconfigdir)" \
153 "$(DESTDIR)$(pkgincludedir)" "$(DESTDIR)$(pkgincludedir)"
The Android Open Source Project893912b2009-03-03 19:30:05 -0800154LTLIBRARIES = $(lib_LTLIBRARIES)
Chris Craikb50c2172013-07-29 15:28:30 -0700155libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LIBADD =
156am__libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES_DIST = png.c \
157 pngerror.c pngget.c pngmem.c pngpread.c pngread.c pngrio.c \
158 pngrtran.c pngrutil.c pngset.c pngtrans.c pngwio.c pngwrite.c \
159 pngwtran.c pngwutil.c png.h pngconf.h pngdebug.h pnginfo.h \
160 pngpriv.h pngstruct.h pngusr.dfa arm/arm_init.c \
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530161 arm/filter_neon.S arm/filter_neon_intrinsics.c
162am__dirstamp = $(am__leading_dot)dirstamp
163@PNG_ARM_NEON_TRUE@am__objects_1 = arm/arm_init.lo arm/filter_neon.lo \
164@PNG_ARM_NEON_TRUE@ arm/filter_neon_intrinsics.lo
Chris Craikb50c2172013-07-29 15:28:30 -0700165am_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS = png.lo pngerror.lo \
166 pngget.lo pngmem.lo pngpread.lo pngread.lo pngrio.lo \
167 pngrtran.lo pngrutil.lo pngset.lo pngtrans.lo pngwio.lo \
168 pngwrite.lo pngwtran.lo pngwutil.lo $(am__objects_1)
169nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS =
170libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS = \
171 $(am_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS) \
172 $(nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS)
173AM_V_lt = $(am__v_lt_@AM_V@)
174am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
175am__v_lt_0 = --silent
176am__v_lt_1 =
177libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LINK = $(LIBTOOL) $(AM_V_lt) \
178 --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
179 $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
180 $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS) $(LDFLAGS) -o \
181 $@
182PROGRAMS = $(bin_PROGRAMS)
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530183am_png_fix_itxt_OBJECTS = contrib/tools/png-fix-itxt.$(OBJEXT)
Chris Craikb50c2172013-07-29 15:28:30 -0700184png_fix_itxt_OBJECTS = $(am_png_fix_itxt_OBJECTS)
185png_fix_itxt_LDADD = $(LDADD)
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530186am_pngfix_OBJECTS = contrib/tools/pngfix.$(OBJEXT)
Chris Craikb50c2172013-07-29 15:28:30 -0700187pngfix_OBJECTS = $(am_pngfix_OBJECTS)
188pngfix_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530189am_pngimage_OBJECTS = contrib/libtests/pngimage.$(OBJEXT)
190pngimage_OBJECTS = $(am_pngimage_OBJECTS)
191pngimage_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
192am_pngstest_OBJECTS = contrib/libtests/pngstest.$(OBJEXT)
Chris Craikb50c2172013-07-29 15:28:30 -0700193pngstest_OBJECTS = $(am_pngstest_OBJECTS)
194pngstest_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
The Android Open Source Project893912b2009-03-03 19:30:05 -0800195am_pngtest_OBJECTS = pngtest.$(OBJEXT)
196pngtest_OBJECTS = $(am_pngtest_OBJECTS)
Chris Craikb50c2172013-07-29 15:28:30 -0700197pngtest_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530198am_pngunknown_OBJECTS = contrib/libtests/pngunknown.$(OBJEXT)
Chris Craikb50c2172013-07-29 15:28:30 -0700199pngunknown_OBJECTS = $(am_pngunknown_OBJECTS)
200pngunknown_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530201am_pngvalid_OBJECTS = contrib/libtests/pngvalid.$(OBJEXT)
Chris Craikb50c2172013-07-29 15:28:30 -0700202pngvalid_OBJECTS = $(am_pngvalid_OBJECTS)
203pngvalid_DEPENDENCIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
The Android Open Source Project893912b2009-03-03 19:30:05 -0800204SCRIPTS = $(bin_SCRIPTS)
Chris Craikb50c2172013-07-29 15:28:30 -0700205AM_V_P = $(am__v_P_@AM_V@)
206am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
207am__v_P_0 = false
208am__v_P_1 = :
209AM_V_GEN = $(am__v_GEN_@AM_V@)
210am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
211am__v_GEN_0 = @echo " GEN " $@;
212am__v_GEN_1 =
213AM_V_at = $(am__v_at_@AM_V@)
214am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
215am__v_at_0 = @
216am__v_at_1 =
The Android Open Source Project893912b2009-03-03 19:30:05 -0800217DEFAULT_INCLUDES = -I.@am__isrc@
218depcomp = $(SHELL) $(top_srcdir)/depcomp
219am__depfiles_maybe = depfiles
Patrick Scott5f6bd842010-06-28 16:55:16 -0400220am__mv = mv -f
Chris Craikb50c2172013-07-29 15:28:30 -0700221CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
222 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
223LTCPPASCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \
224 $(LIBTOOLFLAGS) --mode=compile $(CCAS) $(DEFS) \
225 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
226 $(AM_CCASFLAGS) $(CCASFLAGS)
227AM_V_CPPAS = $(am__v_CPPAS_@AM_V@)
228am__v_CPPAS_ = $(am__v_CPPAS_@AM_DEFAULT_V@)
229am__v_CPPAS_0 = @echo " CPPAS " $@;
230am__v_CPPAS_1 =
The Android Open Source Project893912b2009-03-03 19:30:05 -0800231COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
232 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
Chris Craikb50c2172013-07-29 15:28:30 -0700233LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
234 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
235 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
236 $(AM_CFLAGS) $(CFLAGS)
237AM_V_CC = $(am__v_CC_@AM_V@)
238am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
239am__v_CC_0 = @echo " CC " $@;
240am__v_CC_1 =
The Android Open Source Project893912b2009-03-03 19:30:05 -0800241CCLD = $(CC)
Chris Craikb50c2172013-07-29 15:28:30 -0700242LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
243 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
244 $(AM_LDFLAGS) $(LDFLAGS) -o $@
245AM_V_CCLD = $(am__v_CCLD_@AM_V@)
246am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
247am__v_CCLD_0 = @echo " CCLD " $@;
248am__v_CCLD_1 =
249SOURCES = $(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES) \
250 $(nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES) \
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530251 $(png_fix_itxt_SOURCES) $(pngfix_SOURCES) $(pngimage_SOURCES) \
252 $(pngstest_SOURCES) $(pngtest_SOURCES) $(pngunknown_SOURCES) \
253 $(pngvalid_SOURCES)
Chris Craikb50c2172013-07-29 15:28:30 -0700254DIST_SOURCES = \
255 $(am__libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES_DIST) \
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530256 $(png_fix_itxt_SOURCES) $(pngfix_SOURCES) $(pngimage_SOURCES) \
257 $(pngstest_SOURCES) $(pngtest_SOURCES) $(pngunknown_SOURCES) \
258 $(pngvalid_SOURCES)
Chris Craikb50c2172013-07-29 15:28:30 -0700259am__can_run_installinfo = \
260 case $$AM_UPDATE_INFO_DIR in \
261 n|no|NO) false;; \
262 *) (install-info --version) >/dev/null 2>&1;; \
263 esac
The Android Open Source Project893912b2009-03-03 19:30:05 -0800264man3dir = $(mandir)/man3
265man5dir = $(mandir)/man5
266NROFF = nroff
267MANS = $(dist_man_MANS)
The Android Open Source Project893912b2009-03-03 19:30:05 -0800268DATA = $(pkgconfig_DATA)
Chris Craikb50c2172013-07-29 15:28:30 -0700269HEADERS = $(nodist_pkginclude_HEADERS) $(pkginclude_HEADERS)
270am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
271 $(LISP)config.h.in
272# Read a list of newline-separated strings from the standard input,
273# and print each of them once, without duplicates. Input order is
274# *not* preserved.
275am__uniquify_input = $(AWK) '\
276 BEGIN { nonempty = 0; } \
277 { items[$$0] = 1; nonempty = 1; } \
278 END { if (nonempty) { for (i in items) print i; }; } \
279'
280# Make sure the list of sources is unique. This is necessary because,
281# e.g., the same source file might be shared among _SOURCES variables
282# for different programs/libraries.
283am__define_uniq_tagged_files = \
284 list='$(am__tagged_files)'; \
285 unique=`for i in $$list; do \
286 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
287 done | $(am__uniquify_input)`
The Android Open Source Project893912b2009-03-03 19:30:05 -0800288ETAGS = etags
289CTAGS = ctags
Chris Craikb50c2172013-07-29 15:28:30 -0700290CSCOPE = cscope
291AM_RECURSIVE_TARGETS = cscope check recheck
292am__tty_colors_dummy = \
293 mgn= red= grn= lgn= blu= brg= std=; \
294 am__color_tests=no
295am__tty_colors = { \
296 $(am__tty_colors_dummy); \
297 if test "X$(AM_COLOR_TESTS)" = Xno; then \
298 am__color_tests=no; \
299 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
300 am__color_tests=yes; \
301 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
302 am__color_tests=yes; \
303 fi; \
304 if test $$am__color_tests = yes; then \
305 red=''; \
306 grn=''; \
307 lgn=''; \
308 blu=''; \
309 mgn=''; \
310 brg=''; \
311 std=''; \
312 fi; \
313}
314am__recheck_rx = ^[ ]*:recheck:[ ]*
315am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
316am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
317# A command that, given a newline-separated list of test names on the
318# standard input, print the name of the tests that are to be re-run
319# upon "make recheck".
320am__list_recheck_tests = $(AWK) '{ \
321 recheck = 1; \
322 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
323 { \
324 if (rc < 0) \
325 { \
326 if ((getline line2 < ($$0 ".log")) < 0) \
327 recheck = 0; \
328 break; \
329 } \
330 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
331 { \
332 recheck = 0; \
333 break; \
334 } \
335 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
336 { \
337 break; \
338 } \
339 }; \
340 if (recheck) \
341 print $$0; \
342 close ($$0 ".trs"); \
343 close ($$0 ".log"); \
344}'
345# A command that, given a newline-separated list of test names on the
346# standard input, create the global log from their .trs and .log files.
347am__create_global_log = $(AWK) ' \
348function fatal(msg) \
349{ \
350 print "fatal: making $@: " msg | "cat >&2"; \
351 exit 1; \
352} \
353function rst_section(header) \
354{ \
355 print header; \
356 len = length(header); \
357 for (i = 1; i <= len; i = i + 1) \
358 printf "="; \
359 printf "\n\n"; \
360} \
361{ \
362 copy_in_global_log = 1; \
363 global_test_result = "RUN"; \
364 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
365 { \
366 if (rc < 0) \
367 fatal("failed to read from " $$0 ".trs"); \
368 if (line ~ /$(am__global_test_result_rx)/) \
369 { \
370 sub("$(am__global_test_result_rx)", "", line); \
371 sub("[ ]*$$", "", line); \
372 global_test_result = line; \
373 } \
374 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
375 copy_in_global_log = 0; \
376 }; \
377 if (copy_in_global_log) \
378 { \
379 rst_section(global_test_result ": " $$0); \
380 while ((rc = (getline line < ($$0 ".log"))) != 0) \
381 { \
382 if (rc < 0) \
383 fatal("failed to read from " $$0 ".log"); \
384 print line; \
385 }; \
386 printf "\n"; \
387 }; \
388 close ($$0 ".trs"); \
389 close ($$0 ".log"); \
390}'
391# Restructured Text title.
392am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
393# Solaris 10 'make', and several other traditional 'make' implementations,
394# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
395# by disabling -e (using the XSI extension "set +e") if it's set.
396am__sh_e_setup = case $$- in *e*) set +e;; esac
397# Default flags passed to test drivers.
398am__common_driver_flags = \
399 --color-tests "$$am__color_tests" \
400 --enable-hard-errors "$$am__enable_hard_errors" \
401 --expect-failure "$$am__expect_failure"
402# To be inserted before the command running the test. Creates the
403# directory for the log if needed. Stores in $dir the directory
404# containing $f, in $tst the test, in $log the log. Executes the
405# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
406# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
407# will run the test scripts (or their associated LOG_COMPILER, if
408# thy have one).
409am__check_pre = \
410$(am__sh_e_setup); \
411$(am__vpath_adj_setup) $(am__vpath_adj) \
412$(am__tty_colors); \
413srcdir=$(srcdir); export srcdir; \
414case "$@" in \
415 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
416 *) am__odir=.;; \
417esac; \
418test "x$$am__odir" = x"." || test -d "$$am__odir" \
419 || $(MKDIR_P) "$$am__odir" || exit $$?; \
420if test -f "./$$f"; then dir=./; \
421elif test -f "$$f"; then dir=; \
422else dir="$(srcdir)/"; fi; \
423tst=$$dir$$f; log='$@'; \
424if test -n '$(DISABLE_HARD_ERRORS)'; then \
425 am__enable_hard_errors=no; \
426else \
427 am__enable_hard_errors=yes; \
428fi; \
429case " $(XFAIL_TESTS) " in \
430 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
431 am__expect_failure=yes;; \
432 *) \
433 am__expect_failure=no;; \
434esac; \
435$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
436# A shell command to get the names of the tests scripts with any registered
437# extension removed (i.e., equivalently, the names of the test logs, with
438# the '.log' extension removed). The result is saved in the shell variable
439# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
440# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
441# since that might cause problem with VPATH rewrites for suffix-less tests.
442# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
443am__set_TESTS_bases = \
444 bases='$(TEST_LOGS)'; \
445 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
446 bases=`echo $$bases`
447RECHECK_LOGS = $(TEST_LOGS)
448TEST_SUITE_LOG = test-suite.log
449TEST_EXTENSIONS = @EXEEXT@ .test
450LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
451LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
452am__set_b = \
453 case '$@' in \
454 */*) \
455 case '$*' in \
456 */*) b='$*';; \
457 *) b=`echo '$@' | sed 's/\.log$$//'`; \
458 esac;; \
459 *) \
460 b='$*';; \
461 esac
462am__test_logs1 = $(TESTS:=.log)
463am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
464TEST_LOGS = $(am__test_logs2:.test.log=.log)
465TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
466TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
467 $(TEST_LOG_FLAGS)
The Android Open Source Project893912b2009-03-03 19:30:05 -0800468DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
469distdir = $(PACKAGE)-$(VERSION)
470top_distdir = $(distdir)
471am__remove_distdir = \
Chris Craikb50c2172013-07-29 15:28:30 -0700472 if test -d "$(distdir)"; then \
473 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
474 && rm -rf "$(distdir)" \
475 || { sleep 5 && rm -rf "$(distdir)"; }; \
476 else :; fi
477am__post_remove_distdir = $(am__remove_distdir)
478DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz
The Android Open Source Project893912b2009-03-03 19:30:05 -0800479GZIP_ENV = --best
Chris Craikb50c2172013-07-29 15:28:30 -0700480DIST_TARGETS = dist-xz dist-gzip
The Android Open Source Project893912b2009-03-03 19:30:05 -0800481distuninstallcheck_listfiles = find . -type f -print
Chris Craikb50c2172013-07-29 15:28:30 -0700482am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
483 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
The Android Open Source Project893912b2009-03-03 19:30:05 -0800484distcleancheck_listfiles = find . -type f -print
485
486#distribute headers in /usr/include/libpng/*
487pkgincludedir = $(includedir)/$(PNGLIB_BASENAME)
488ACLOCAL = @ACLOCAL@
489AMTAR = @AMTAR@
Chris Craikb50c2172013-07-29 15:28:30 -0700490AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
The Android Open Source Project893912b2009-03-03 19:30:05 -0800491AR = @AR@
492AS = @AS@
493AUTOCONF = @AUTOCONF@
494AUTOHEADER = @AUTOHEADER@
495AUTOMAKE = @AUTOMAKE@
496AWK = @AWK@
497CC = @CC@
Chris Craikb50c2172013-07-29 15:28:30 -0700498CCAS = @CCAS@
499CCASDEPMODE = @CCASDEPMODE@
500CCASFLAGS = @CCASFLAGS@
The Android Open Source Project893912b2009-03-03 19:30:05 -0800501CCDEPMODE = @CCDEPMODE@
502CFLAGS = @CFLAGS@
503CPP = @CPP@
504CPPFLAGS = @CPPFLAGS@
505CYGPATH_W = @CYGPATH_W@
506DEFS = @DEFS@
507DEPDIR = @DEPDIR@
Chris Craikb50c2172013-07-29 15:28:30 -0700508
509# DFNCPP is normally just CPP - the C preprocessor - but on Solaris and maybe
510# other operating systems (NeXT?) the C preprocessor selected by configure
511# checks input tokens for validity - effectively it performs part of the ANSI-C
512# parsing - and therefore fails with the .df files. configure.ac has special
513# checks for this and sets DFNCPP appropriately.
514DFNCPP = @DFNCPP@
The Android Open Source Project893912b2009-03-03 19:30:05 -0800515DLLTOOL = @DLLTOOL@
516DSYMUTIL = @DSYMUTIL@
517DUMPBIN = @DUMPBIN@
518ECHO_C = @ECHO_C@
519ECHO_N = @ECHO_N@
520ECHO_T = @ECHO_T@
521EGREP = @EGREP@
522EXEEXT = @EXEEXT@
523FGREP = @FGREP@
524GREP = @GREP@
525INSTALL = @INSTALL@
526INSTALL_DATA = @INSTALL_DATA@
527INSTALL_PROGRAM = @INSTALL_PROGRAM@
528INSTALL_SCRIPT = @INSTALL_SCRIPT@
529INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
530LD = @LD@
531LDFLAGS = @LDFLAGS@
532LIBOBJS = @LIBOBJS@
The Android Open Source Project893912b2009-03-03 19:30:05 -0800533LIBS = @LIBS@
534LIBTOOL = @LIBTOOL@
535LIPO = @LIPO@
536LN_S = @LN_S@
537LTLIBOBJS = @LTLIBOBJS@
538MAINT = @MAINT@
539MAKEINFO = @MAKEINFO@
Chris Craikb50c2172013-07-29 15:28:30 -0700540MANIFEST_TOOL = @MANIFEST_TOOL@
The Android Open Source Project893912b2009-03-03 19:30:05 -0800541MKDIR_P = @MKDIR_P@
542NM = @NM@
543NMEDIT = @NMEDIT@
544OBJDUMP = @OBJDUMP@
545OBJEXT = @OBJEXT@
Patrick Scott5f6bd842010-06-28 16:55:16 -0400546OTOOL = @OTOOL@
547OTOOL64 = @OTOOL64@
The Android Open Source Project893912b2009-03-03 19:30:05 -0800548PACKAGE = @PACKAGE@
549PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
550PACKAGE_NAME = @PACKAGE_NAME@
551PACKAGE_STRING = @PACKAGE_STRING@
552PACKAGE_TARNAME = @PACKAGE_TARNAME@
Patrick Scott5f6bd842010-06-28 16:55:16 -0400553PACKAGE_URL = @PACKAGE_URL@
The Android Open Source Project893912b2009-03-03 19:30:05 -0800554PACKAGE_VERSION = @PACKAGE_VERSION@
555PATH_SEPARATOR = @PATH_SEPARATOR@
556PNGLIB_MAJOR = @PNGLIB_MAJOR@
557PNGLIB_MINOR = @PNGLIB_MINOR@
558PNGLIB_RELEASE = @PNGLIB_RELEASE@
559PNGLIB_VERSION = @PNGLIB_VERSION@
Chris Craikb50c2172013-07-29 15:28:30 -0700560
561# PNG_COPTS give extra options for the C compiler to be used on all compilation
562# steps (unless targe_CFLAGS is specified; that will take precedence over
563# AM_CFLAGS)
564PNG_COPTS = @PNG_COPTS@
565PNG_PREFIX = @PNG_PREFIX@
The Android Open Source Project893912b2009-03-03 19:30:05 -0800566POW_LIB = @POW_LIB@
567RANLIB = @RANLIB@
568SED = @SED@
569SET_MAKE = @SET_MAKE@
570SHELL = @SHELL@
571STRIP = @STRIP@
572SYMBOL_PREFIX = @SYMBOL_PREFIX@
573VERSION = @VERSION@
574abs_builddir = @abs_builddir@
575abs_srcdir = @abs_srcdir@
576abs_top_builddir = @abs_top_builddir@
577abs_top_srcdir = @abs_top_srcdir@
Chris Craikb50c2172013-07-29 15:28:30 -0700578ac_ct_AR = @ac_ct_AR@
The Android Open Source Project893912b2009-03-03 19:30:05 -0800579ac_ct_CC = @ac_ct_CC@
580ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
581am__include = @am__include@
582am__leading_dot = @am__leading_dot@
583am__quote = @am__quote@
584am__tar = @am__tar@
585am__untar = @am__untar@
586
587# generate the -config scripts if required
Chris Craikb50c2172013-07-29 15:28:30 -0700588binconfigs = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config
The Android Open Source Project893912b2009-03-03 19:30:05 -0800589bindir = @bindir@
590build = @build@
591build_alias = @build_alias@
592build_cpu = @build_cpu@
593build_os = @build_os@
594build_vendor = @build_vendor@
595builddir = @builddir@
The Android Open Source Project893912b2009-03-03 19:30:05 -0800596datadir = @datadir@
597datarootdir = @datarootdir@
598docdir = @docdir@
599dvidir = @dvidir@
600exec_prefix = @exec_prefix@
601host = @host@
602host_alias = @host_alias@
603host_cpu = @host_cpu@
604host_os = @host_os@
605host_vendor = @host_vendor@
606htmldir = @htmldir@
607includedir = @includedir@
608infodir = @infodir@
609install_sh = @install_sh@
610libdir = @libdir@
611libexecdir = @libexecdir@
612localedir = @localedir@
613localstatedir = @localstatedir@
The Android Open Source Project893912b2009-03-03 19:30:05 -0800614mandir = @mandir@
615mkdir_p = @mkdir_p@
616oldincludedir = @oldincludedir@
617pdfdir = @pdfdir@
618
619# pkg-config stuff, note that libpng.pc is always required in order
620# to get the correct library
621pkgconfigdir = @pkgconfigdir@
622prefix = @prefix@
623program_transform_name = @program_transform_name@
624psdir = @psdir@
625sbindir = @sbindir@
626sharedstatedir = @sharedstatedir@
627srcdir = @srcdir@
628sysconfdir = @sysconfdir@
629target_alias = @target_alias@
630top_build_prefix = @top_build_prefix@
631top_builddir = @top_builddir@
632top_srcdir = @top_srcdir@
633PNGLIB_BASENAME = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
Chris Craikb50c2172013-07-29 15:28:30 -0700634ACLOCAL_AMFLAGS = -I scripts
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530635
636# This ensures that pnglibconf.h gets built at the start of 'make all' or
637# 'make check', but it does not add dependencies to the individual programs,
638# this is done below.
639#
640# IMPORTANT: always add the object modules of new programs to the list below
641# because otherwise the sequence 'configure; make new-program' will *sometimes*
642# result in the installed (system) pnglibconf.h being used and the result is
643# always wrong and always very confusing.
644BUILT_SOURCES = pnglibconf.h
The Android Open Source Project893912b2009-03-03 19:30:05 -0800645pngtest_SOURCES = pngtest.c
Chris Craikb50c2172013-07-29 15:28:30 -0700646pngtest_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
647pngvalid_SOURCES = contrib/libtests/pngvalid.c
648pngvalid_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
649pngstest_SOURCES = contrib/libtests/pngstest.c
650pngstest_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
651pngunknown_SOURCES = contrib/libtests/pngunknown.c
652pngunknown_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530653pngimage_SOURCES = contrib/libtests/pngimage.c
654pngimage_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
Chris Craikb50c2172013-07-29 15:28:30 -0700655pngfix_SOURCES = contrib/tools/pngfix.c
656pngfix_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
657png_fix_itxt_SOURCES = contrib/tools/png-fix-itxt.c
658
659# Generally these are single line shell scripts to run a test with a particular
660# set of parameters:
661TESTS = \
662 tests/pngtest\
663 tests/pngvalid-gamma-16-to-8 tests/pngvalid-gamma-alpha-mode\
664 tests/pngvalid-gamma-background tests/pngvalid-gamma-expand16-alpha-mode\
665 tests/pngvalid-gamma-expand16-background\
666 tests/pngvalid-gamma-expand16-transform tests/pngvalid-gamma-sbit\
667 tests/pngvalid-gamma-threshold tests/pngvalid-gamma-transform\
668 tests/pngvalid-progressive-interlace-size\
669 tests/pngvalid-progressive-interlace-standard\
670 tests/pngvalid-progressive-interlace-transform\
671 tests/pngvalid-progressive-standard tests/pngvalid-standard\
672 tests/pngstest-0g01 tests/pngstest-0g02 tests/pngstest-0g04\
673 tests/pngstest-0g08 tests/pngstest-0g16 tests/pngstest-2c08\
674 tests/pngstest-2c16 tests/pngstest-3p01 tests/pngstest-3p02\
675 tests/pngstest-3p04 tests/pngstest-3p08 tests/pngstest-4a08\
676 tests/pngstest-4a16 tests/pngstest-6a08 tests/pngstest-6a16\
677 tests/pngstest-error tests/pngunknown-IDAT\
678 tests/pngunknown-discard tests/pngunknown-if-safe tests/pngunknown-sAPI\
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530679 tests/pngunknown-sTER tests/pngunknown-save tests/pngunknown-vpAg\
680 tests/pngimage-quick tests/pngimage-full
Chris Craikb50c2172013-07-29 15:28:30 -0700681
682
683# These tests are expected, and required, to fail:
684XFAIL_TESTS = tests/pngstest-error
The Android Open Source Project893912b2009-03-03 19:30:05 -0800685
686# man pages
687dist_man_MANS = libpng.3 libpngpf.3 png.5
Chris Craikb50c2172013-07-29 15:28:30 -0700688EXTRA_SCRIPTS = libpng-config libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config
The Android Open Source Project893912b2009-03-03 19:30:05 -0800689bin_SCRIPTS = @binconfigs@
690
691# rules to build libpng, only build the old library on request
Chris Craikb50c2172013-07-29 15:28:30 -0700692lib_LTLIBRARIES = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
693# EXTRA_LTLIBRARIES= libpng.la
694libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES = png.c pngerror.c \
695 pngget.c pngmem.c pngpread.c pngread.c pngrio.c pngrtran.c \
696 pngrutil.c pngset.c pngtrans.c pngwio.c pngwrite.c pngwtran.c \
697 pngwutil.c png.h pngconf.h pngdebug.h pnginfo.h pngpriv.h \
698 pngstruct.h pngusr.dfa $(am__append_1)
699nodist_libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES = pnglibconf.h
700libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS = -no-undefined \
701 -export-dynamic -version-number \
702 @PNGLIB_MAJOR@@PNGLIB_MINOR@:@PNGLIB_RELEASE@:0 \
703 $(am__append_2) $(am__append_3) $(am__append_4)
704@HAVE_LD_VERSION_SCRIPT_FALSE@libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.sym
705@HAVE_LD_VERSION_SCRIPT_TRUE@libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.vers
The Android Open Source Project893912b2009-03-03 19:30:05 -0800706pkginclude_HEADERS = png.h pngconf.h
Chris Craikb50c2172013-07-29 15:28:30 -0700707nodist_pkginclude_HEADERS = pnglibconf.h
708pkgconfig_DATA = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc
The Android Open Source Project893912b2009-03-03 19:30:05 -0800709
Chris Craikb50c2172013-07-29 15:28:30 -0700710# Extra source distribution files, '${srcdir}' is used below to stop build files
711# from those directories being included. This only works if the configure is
712# not done in the source directory!
The Android Open Source Project893912b2009-03-03 19:30:05 -0800713EXTRA_DIST = \
Chris Craikb50c2172013-07-29 15:28:30 -0700714 ANNOUNCE CHANGES INSTALL LICENSE README TODO \
The Android Open Source Project893912b2009-03-03 19:30:05 -0800715 pngtest.png pngbar.png pngnow.png pngbar.jpg autogen.sh \
Chris Craikb50c2172013-07-29 15:28:30 -0700716 ${srcdir}/contrib ${srcdir}/projects ${srcdir}/scripts \
717 $(TESTS) $(XFAIL_TESTS) tests/pngstest \
718 CMakeLists.txt example.c libpng-manual.txt
The Android Open Source Project893912b2009-03-03 19:30:05 -0800719
Chris Craikb50c2172013-07-29 15:28:30 -0700720SCRIPT_CLEANFILES = scripts/*.out scripts/*.chk scripts/pnglibconf.dfn
721CLEANFILES = *.tf? pngout.png libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.pc \
722 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config libpng.vers libpng.sym \
723 check.new pnglibconf.* pngprefix.h symbols.new pngtest-log.txt \
724 $(SCRIPT_CLEANFILES)
The Android Open Source Project893912b2009-03-03 19:30:05 -0800725
726MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
727config.sub configure depcomp install-sh ltmain.sh missing
728
Chris Craikb50c2172013-07-29 15:28:30 -0700729AM_CFLAGS = ${PNG_COPTS}
730SUFFIXES = .chk .dfn .out
731
732# We must use -DPNG_NO_USE_READ_MACROS here even when the library may actually
733# be built with PNG_USE_READ_MACROS; this prevents the read macros from
734# interfering with the symbol file format.
735SYMBOL_CFLAGS = -DPNGLIB_LIBNAME='PNG@PNGLIB_MAJOR@@PNGLIB_MINOR@_0' \
736 -DPNGLIB_VERSION='@PNGLIB_VERSION@' \
737 -DSYMBOL_PREFIX='$(SYMBOL_PREFIX)' -DPNG_NO_USE_READ_MACROS \
738 -DPNG_BUILDING_SYMBOL_TABLE $(am__append_5)
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530739
740# EXT_LIST is a list of the possibly library directory extensions, this exists
741# because we can't find a good way of discovering the file extensions that are
742# actually installed on a given system, so instead we check for every extension
743# we have seen.
744EXT_LIST = a dll.a so so.@PNGLIB_MAJOR@@PNGLIB_MINOR@.@PNGLIB_RELEASE@ la sl dylib
745all: $(BUILT_SOURCES) config.h
The Android Open Source Project893912b2009-03-03 19:30:05 -0800746 $(MAKE) $(AM_MAKEFLAGS) all-am
747
748.SUFFIXES:
Chris Craikb50c2172013-07-29 15:28:30 -0700749.SUFFIXES: .chk .dfn .out .S .c .lo .log .o .obj .test .test$(EXEEXT) .trs
750am--refresh: Makefile
The Android Open Source Project893912b2009-03-03 19:30:05 -0800751 @:
752$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
753 @for dep in $?; do \
754 case '$(am__configure_deps)' in \
755 *$$dep*) \
Patrick Scott5f6bd842010-06-28 16:55:16 -0400756 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
757 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
The Android Open Source Project893912b2009-03-03 19:30:05 -0800758 && exit 0; \
759 exit 1;; \
760 esac; \
761 done; \
Patrick Scott5f6bd842010-06-28 16:55:16 -0400762 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
763 $(am__cd) $(top_srcdir) && \
764 $(AUTOMAKE) --foreign Makefile
The Android Open Source Project893912b2009-03-03 19:30:05 -0800765.PRECIOUS: Makefile
766Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
767 @case '$?' in \
768 *config.status*) \
769 echo ' $(SHELL) ./config.status'; \
770 $(SHELL) ./config.status;; \
771 *) \
772 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
773 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
774 esac;
775
776$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
777 $(SHELL) ./config.status --recheck
778
779$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
Patrick Scott5f6bd842010-06-28 16:55:16 -0400780 $(am__cd) $(srcdir) && $(AUTOCONF)
The Android Open Source Project893912b2009-03-03 19:30:05 -0800781$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
Patrick Scott5f6bd842010-06-28 16:55:16 -0400782 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
783$(am__aclocal_m4_deps):
The Android Open Source Project893912b2009-03-03 19:30:05 -0800784
785config.h: stamp-h1
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530786 @test -f $@ || rm -f stamp-h1
787 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
The Android Open Source Project893912b2009-03-03 19:30:05 -0800788
789stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
790 @rm -f stamp-h1
791 cd $(top_builddir) && $(SHELL) ./config.status config.h
Chris Craikb50c2172013-07-29 15:28:30 -0700792$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
Patrick Scott5f6bd842010-06-28 16:55:16 -0400793 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
The Android Open Source Project893912b2009-03-03 19:30:05 -0800794 rm -f stamp-h1
795 touch $@
796
797distclean-hdr:
798 -rm -f config.h stamp-h1
Chris Craikb50c2172013-07-29 15:28:30 -0700799libpng.pc: $(top_builddir)/config.status $(srcdir)/libpng.pc.in
The Android Open Source Project893912b2009-03-03 19:30:05 -0800800 cd $(top_builddir) && $(SHELL) ./config.status $@
Chris Craikb50c2172013-07-29 15:28:30 -0700801libpng-config: $(top_builddir)/config.status $(srcdir)/libpng-config.in
The Android Open Source Project893912b2009-03-03 19:30:05 -0800802 cd $(top_builddir) && $(SHELL) ./config.status $@
Chris Craikb50c2172013-07-29 15:28:30 -0700803
The Android Open Source Project893912b2009-03-03 19:30:05 -0800804install-libLTLIBRARIES: $(lib_LTLIBRARIES)
805 @$(NORMAL_INSTALL)
Patrick Scott5f6bd842010-06-28 16:55:16 -0400806 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
807 list2=; for p in $$list; do \
The Android Open Source Project893912b2009-03-03 19:30:05 -0800808 if test -f $$p; then \
Patrick Scott5f6bd842010-06-28 16:55:16 -0400809 list2="$$list2 $$p"; \
The Android Open Source Project893912b2009-03-03 19:30:05 -0800810 else :; fi; \
Patrick Scott5f6bd842010-06-28 16:55:16 -0400811 done; \
812 test -z "$$list2" || { \
Chris Craikb50c2172013-07-29 15:28:30 -0700813 echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
814 $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
Patrick Scott5f6bd842010-06-28 16:55:16 -0400815 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
816 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
817 }
The Android Open Source Project893912b2009-03-03 19:30:05 -0800818
819uninstall-libLTLIBRARIES:
820 @$(NORMAL_UNINSTALL)
Patrick Scott5f6bd842010-06-28 16:55:16 -0400821 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
822 for p in $$list; do \
823 $(am__strip_dir) \
824 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
825 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
The Android Open Source Project893912b2009-03-03 19:30:05 -0800826 done
827
828clean-libLTLIBRARIES:
829 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
Chris Craikb50c2172013-07-29 15:28:30 -0700830 @list='$(lib_LTLIBRARIES)'; \
831 locs=`for p in $$list; do echo $$p; done | \
832 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
833 sort -u`; \
834 test -z "$$locs" || { \
835 echo rm -f $${locs}; \
836 rm -f $${locs}; \
837 }
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530838arm/$(am__dirstamp):
839 @$(MKDIR_P) arm
840 @: > arm/$(am__dirstamp)
841arm/$(DEPDIR)/$(am__dirstamp):
842 @$(MKDIR_P) arm/$(DEPDIR)
843 @: > arm/$(DEPDIR)/$(am__dirstamp)
844arm/arm_init.lo: arm/$(am__dirstamp) arm/$(DEPDIR)/$(am__dirstamp)
845arm/filter_neon.lo: arm/$(am__dirstamp) arm/$(DEPDIR)/$(am__dirstamp)
846arm/filter_neon_intrinsics.lo: arm/$(am__dirstamp) \
847 arm/$(DEPDIR)/$(am__dirstamp)
848
Chris Craikb50c2172013-07-29 15:28:30 -0700849libpng@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)
850 $(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)
851install-binPROGRAMS: $(bin_PROGRAMS)
852 @$(NORMAL_INSTALL)
853 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
854 if test -n "$$list"; then \
855 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
856 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
857 fi; \
858 for p in $$list; do echo "$$p $$p"; done | \
859 sed 's/$(EXEEXT)$$//' | \
860 while read p p1; do if test -f $$p \
861 || test -f $$p1 \
862 ; then echo "$$p"; echo "$$p"; else :; fi; \
863 done | \
864 sed -e 'p;s,.*/,,;n;h' \
865 -e 's|.*|.|' \
866 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
867 sed 'N;N;N;s,\n, ,g' | \
868 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
869 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
870 if ($$2 == $$4) files[d] = files[d] " " $$1; \
871 else { print "f", $$3 "/" $$4, $$1; } } \
872 END { for (d in files) print "f", d, files[d] }' | \
873 while read type dir files; do \
874 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
875 test -z "$$files" || { \
876 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
877 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
878 } \
879 ; done
880
881uninstall-binPROGRAMS:
882 @$(NORMAL_UNINSTALL)
883 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
884 files=`for p in $$list; do echo "$$p"; done | \
885 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
886 -e 's/$$/$(EXEEXT)/' \
887 `; \
888 test -n "$$list" || exit 0; \
889 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
890 cd "$(DESTDIR)$(bindir)" && rm -f $$files
891
892clean-binPROGRAMS:
893 @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
894 echo " rm -f" $$list; \
895 rm -f $$list || exit $$?; \
896 test -n "$(EXEEXT)" || exit 0; \
897 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
898 echo " rm -f" $$list; \
899 rm -f $$list
The Android Open Source Project893912b2009-03-03 19:30:05 -0800900
901clean-checkPROGRAMS:
Patrick Scott5f6bd842010-06-28 16:55:16 -0400902 @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
903 echo " rm -f" $$list; \
904 rm -f $$list || exit $$?; \
905 test -n "$(EXEEXT)" || exit 0; \
906 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
907 echo " rm -f" $$list; \
908 rm -f $$list
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530909contrib/tools/$(am__dirstamp):
910 @$(MKDIR_P) contrib/tools
911 @: > contrib/tools/$(am__dirstamp)
912contrib/tools/$(DEPDIR)/$(am__dirstamp):
913 @$(MKDIR_P) contrib/tools/$(DEPDIR)
914 @: > contrib/tools/$(DEPDIR)/$(am__dirstamp)
915contrib/tools/png-fix-itxt.$(OBJEXT): contrib/tools/$(am__dirstamp) \
916 contrib/tools/$(DEPDIR)/$(am__dirstamp)
917
Chris Craikb50c2172013-07-29 15:28:30 -0700918png-fix-itxt$(EXEEXT): $(png_fix_itxt_OBJECTS) $(png_fix_itxt_DEPENDENCIES) $(EXTRA_png_fix_itxt_DEPENDENCIES)
919 @rm -f png-fix-itxt$(EXEEXT)
920 $(AM_V_CCLD)$(LINK) $(png_fix_itxt_OBJECTS) $(png_fix_itxt_LDADD) $(LIBS)
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530921contrib/tools/pngfix.$(OBJEXT): contrib/tools/$(am__dirstamp) \
922 contrib/tools/$(DEPDIR)/$(am__dirstamp)
923
Chris Craikb50c2172013-07-29 15:28:30 -0700924pngfix$(EXEEXT): $(pngfix_OBJECTS) $(pngfix_DEPENDENCIES) $(EXTRA_pngfix_DEPENDENCIES)
925 @rm -f pngfix$(EXEEXT)
926 $(AM_V_CCLD)$(LINK) $(pngfix_OBJECTS) $(pngfix_LDADD) $(LIBS)
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530927contrib/libtests/$(am__dirstamp):
928 @$(MKDIR_P) contrib/libtests
929 @: > contrib/libtests/$(am__dirstamp)
930contrib/libtests/$(DEPDIR)/$(am__dirstamp):
931 @$(MKDIR_P) contrib/libtests/$(DEPDIR)
932 @: > contrib/libtests/$(DEPDIR)/$(am__dirstamp)
933contrib/libtests/pngimage.$(OBJEXT): contrib/libtests/$(am__dirstamp) \
934 contrib/libtests/$(DEPDIR)/$(am__dirstamp)
935
936pngimage$(EXEEXT): $(pngimage_OBJECTS) $(pngimage_DEPENDENCIES) $(EXTRA_pngimage_DEPENDENCIES)
937 @rm -f pngimage$(EXEEXT)
938 $(AM_V_CCLD)$(LINK) $(pngimage_OBJECTS) $(pngimage_LDADD) $(LIBS)
939contrib/libtests/pngstest.$(OBJEXT): contrib/libtests/$(am__dirstamp) \
940 contrib/libtests/$(DEPDIR)/$(am__dirstamp)
941
Chris Craikb50c2172013-07-29 15:28:30 -0700942pngstest$(EXEEXT): $(pngstest_OBJECTS) $(pngstest_DEPENDENCIES) $(EXTRA_pngstest_DEPENDENCIES)
943 @rm -f pngstest$(EXEEXT)
944 $(AM_V_CCLD)$(LINK) $(pngstest_OBJECTS) $(pngstest_LDADD) $(LIBS)
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530945
Chris Craikb50c2172013-07-29 15:28:30 -0700946pngtest$(EXEEXT): $(pngtest_OBJECTS) $(pngtest_DEPENDENCIES) $(EXTRA_pngtest_DEPENDENCIES)
The Android Open Source Project893912b2009-03-03 19:30:05 -0800947 @rm -f pngtest$(EXEEXT)
Chris Craikb50c2172013-07-29 15:28:30 -0700948 $(AM_V_CCLD)$(LINK) $(pngtest_OBJECTS) $(pngtest_LDADD) $(LIBS)
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530949contrib/libtests/pngunknown.$(OBJEXT): \
950 contrib/libtests/$(am__dirstamp) \
951 contrib/libtests/$(DEPDIR)/$(am__dirstamp)
952
Chris Craikb50c2172013-07-29 15:28:30 -0700953pngunknown$(EXEEXT): $(pngunknown_OBJECTS) $(pngunknown_DEPENDENCIES) $(EXTRA_pngunknown_DEPENDENCIES)
954 @rm -f pngunknown$(EXEEXT)
955 $(AM_V_CCLD)$(LINK) $(pngunknown_OBJECTS) $(pngunknown_LDADD) $(LIBS)
Sireesh Tripurarib478e662014-05-09 15:15:10 +0530956contrib/libtests/pngvalid.$(OBJEXT): contrib/libtests/$(am__dirstamp) \
957 contrib/libtests/$(DEPDIR)/$(am__dirstamp)
958
Chris Craikb50c2172013-07-29 15:28:30 -0700959pngvalid$(EXEEXT): $(pngvalid_OBJECTS) $(pngvalid_DEPENDENCIES) $(EXTRA_pngvalid_DEPENDENCIES)
960 @rm -f pngvalid$(EXEEXT)
961 $(AM_V_CCLD)$(LINK) $(pngvalid_OBJECTS) $(pngvalid_LDADD) $(LIBS)
The Android Open Source Project893912b2009-03-03 19:30:05 -0800962install-binSCRIPTS: $(bin_SCRIPTS)
963 @$(NORMAL_INSTALL)
Patrick Scott5f6bd842010-06-28 16:55:16 -0400964 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
Chris Craikb50c2172013-07-29 15:28:30 -0700965 if test -n "$$list"; then \
966 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
967 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
968 fi; \
Patrick Scott5f6bd842010-06-28 16:55:16 -0400969 for p in $$list; do \
The Android Open Source Project893912b2009-03-03 19:30:05 -0800970 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
Patrick Scott5f6bd842010-06-28 16:55:16 -0400971 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
972 done | \
973 sed -e 'p;s,.*/,,;n' \
974 -e 'h;s|.*|.|' \
975 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
976 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
977 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
978 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
979 if (++n[d] == $(am__install_max)) { \
980 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
981 else { print "f", d "/" $$4, $$1 } } \
982 END { for (d in files) print "f", d, files[d] }' | \
983 while read type dir files; do \
984 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
985 test -z "$$files" || { \
986 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
987 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
988 } \
989 ; done
The Android Open Source Project893912b2009-03-03 19:30:05 -0800990
991uninstall-binSCRIPTS:
992 @$(NORMAL_UNINSTALL)
Patrick Scott5f6bd842010-06-28 16:55:16 -0400993 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
994 files=`for p in $$list; do echo "$$p"; done | \
995 sed -e 's,.*/,,;$(transform)'`; \
Chris Craikb50c2172013-07-29 15:28:30 -0700996 dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
The Android Open Source Project893912b2009-03-03 19:30:05 -0800997
998mostlyclean-compile:
999 -rm -f *.$(OBJEXT)
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301000 -rm -f arm/*.$(OBJEXT)
1001 -rm -f arm/*.lo
1002 -rm -f contrib/libtests/*.$(OBJEXT)
1003 -rm -f contrib/tools/*.$(OBJEXT)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001004
1005distclean-compile:
1006 -rm -f *.tab.c
1007
Chris Craikb50c2172013-07-29 15:28:30 -07001008@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/png.Plo@am__quote@
1009@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngerror.Plo@am__quote@
Chris Craikb50c2172013-07-29 15:28:30 -07001010@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngget.Plo@am__quote@
1011@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngmem.Plo@am__quote@
1012@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngpread.Plo@am__quote@
1013@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngread.Plo@am__quote@
1014@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrio.Plo@am__quote@
1015@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrtran.Plo@am__quote@
1016@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngrutil.Plo@am__quote@
1017@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngset.Plo@am__quote@
The Android Open Source Project893912b2009-03-03 19:30:05 -08001018@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngtest.Po@am__quote@
Chris Craikb50c2172013-07-29 15:28:30 -07001019@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngtrans.Plo@am__quote@
Chris Craikb50c2172013-07-29 15:28:30 -07001020@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwio.Plo@am__quote@
1021@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwrite.Plo@am__quote@
1022@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwtran.Plo@am__quote@
1023@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngwutil.Plo@am__quote@
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301024@AMDEP_TRUE@@am__include@ @am__quote@arm/$(DEPDIR)/arm_init.Plo@am__quote@
1025@AMDEP_TRUE@@am__include@ @am__quote@arm/$(DEPDIR)/filter_neon.Plo@am__quote@
1026@AMDEP_TRUE@@am__include@ @am__quote@arm/$(DEPDIR)/filter_neon_intrinsics.Plo@am__quote@
1027@AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngimage.Po@am__quote@
1028@AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngstest.Po@am__quote@
1029@AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngunknown.Po@am__quote@
1030@AMDEP_TRUE@@am__include@ @am__quote@contrib/libtests/$(DEPDIR)/pngvalid.Po@am__quote@
1031@AMDEP_TRUE@@am__include@ @am__quote@contrib/tools/$(DEPDIR)/png-fix-itxt.Po@am__quote@
1032@AMDEP_TRUE@@am__include@ @am__quote@contrib/tools/$(DEPDIR)/pngfix.Po@am__quote@
Chris Craikb50c2172013-07-29 15:28:30 -07001033
1034.S.o:
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301035@am__fastdepCCAS_TRUE@ $(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
1036@am__fastdepCCAS_TRUE@ $(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1037@am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
Chris Craikb50c2172013-07-29 15:28:30 -07001038@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1039@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1040@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ $<
1041
1042.S.obj:
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301043@am__fastdepCCAS_TRUE@ $(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
1044@am__fastdepCCAS_TRUE@ $(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
1045@am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
Chris Craikb50c2172013-07-29 15:28:30 -07001046@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1047@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1048@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1049
1050.S.lo:
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301051@am__fastdepCCAS_TRUE@ $(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
1052@am__fastdepCCAS_TRUE@ $(LTCPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1053@am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
Chris Craikb50c2172013-07-29 15:28:30 -07001054@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
1055@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1056@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(LTCPPASCOMPILE) -c -o $@ $<
1057
The Android Open Source Project893912b2009-03-03 19:30:05 -08001058.c.o:
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301059@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
1060@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1061@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
Chris Craikb50c2172013-07-29 15:28:30 -07001062@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
The Android Open Source Project893912b2009-03-03 19:30:05 -08001063@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301064@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
The Android Open Source Project893912b2009-03-03 19:30:05 -08001065
1066.c.obj:
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301067@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
1068@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
1069@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
Chris Craikb50c2172013-07-29 15:28:30 -07001070@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
The Android Open Source Project893912b2009-03-03 19:30:05 -08001071@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301072@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
The Android Open Source Project893912b2009-03-03 19:30:05 -08001073
1074.c.lo:
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301075@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
1076@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
1077@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
Chris Craikb50c2172013-07-29 15:28:30 -07001078@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
The Android Open Source Project893912b2009-03-03 19:30:05 -08001079@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
Chris Craikb50c2172013-07-29 15:28:30 -07001080@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
The Android Open Source Project893912b2009-03-03 19:30:05 -08001081
The Android Open Source Project893912b2009-03-03 19:30:05 -08001082mostlyclean-libtool:
1083 -rm -f *.lo
1084
1085clean-libtool:
1086 -rm -rf .libs _libs
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301087 -rm -rf arm/.libs arm/_libs
The Android Open Source Project893912b2009-03-03 19:30:05 -08001088
1089distclean-libtool:
Patrick Scott5f6bd842010-06-28 16:55:16 -04001090 -rm -f libtool config.lt
1091install-man3: $(dist_man_MANS)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001092 @$(NORMAL_INSTALL)
Chris Craikb50c2172013-07-29 15:28:30 -07001093 @list1=''; \
1094 list2='$(dist_man_MANS)'; \
1095 test -n "$(man3dir)" \
1096 && test -n "`echo $$list1$$list2`" \
1097 || exit 0; \
1098 echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
1099 $(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
1100 { for i in $$list1; do echo "$$i"; done; \
1101 if test -n "$$list2"; then \
1102 for i in $$list2; do echo "$$i"; done \
1103 | sed -n '/\.3[a-z]*$$/p'; \
1104 fi; \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001105 } | while read p; do \
1106 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
1107 echo "$$d$$p"; echo "$$p"; \
1108 done | \
1109 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
1110 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
1111 sed 'N;N;s,\n, ,g' | { \
1112 list=; while read file base inst; do \
1113 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
1114 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
1115 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
1116 fi; \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001117 done; \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001118 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
1119 while read files; do \
1120 test -z "$$files" || { \
1121 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
1122 $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
1123 done; }
1124
The Android Open Source Project893912b2009-03-03 19:30:05 -08001125uninstall-man3:
1126 @$(NORMAL_UNINSTALL)
Patrick Scott5f6bd842010-06-28 16:55:16 -04001127 @list=''; test -n "$(man3dir)" || exit 0; \
1128 files=`{ for i in $$list; do echo "$$i"; done; \
1129 l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1130 sed -n '/\.3[a-z]*$$/p'; \
1131 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
1132 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
Chris Craikb50c2172013-07-29 15:28:30 -07001133 dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
Patrick Scott5f6bd842010-06-28 16:55:16 -04001134install-man5: $(dist_man_MANS)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001135 @$(NORMAL_INSTALL)
Chris Craikb50c2172013-07-29 15:28:30 -07001136 @list1=''; \
1137 list2='$(dist_man_MANS)'; \
1138 test -n "$(man5dir)" \
1139 && test -n "`echo $$list1$$list2`" \
1140 || exit 0; \
1141 echo " $(MKDIR_P) '$(DESTDIR)$(man5dir)'"; \
1142 $(MKDIR_P) "$(DESTDIR)$(man5dir)" || exit 1; \
1143 { for i in $$list1; do echo "$$i"; done; \
1144 if test -n "$$list2"; then \
1145 for i in $$list2; do echo "$$i"; done \
1146 | sed -n '/\.5[a-z]*$$/p'; \
1147 fi; \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001148 } | while read p; do \
1149 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
1150 echo "$$d$$p"; echo "$$p"; \
1151 done | \
1152 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
1153 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
1154 sed 'N;N;s,\n, ,g' | { \
1155 list=; while read file base inst; do \
1156 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
1157 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
1158 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \
1159 fi; \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001160 done; \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001161 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
1162 while read files; do \
1163 test -z "$$files" || { \
1164 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \
1165 $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \
1166 done; }
1167
The Android Open Source Project893912b2009-03-03 19:30:05 -08001168uninstall-man5:
1169 @$(NORMAL_UNINSTALL)
Patrick Scott5f6bd842010-06-28 16:55:16 -04001170 @list=''; test -n "$(man5dir)" || exit 0; \
1171 files=`{ for i in $$list; do echo "$$i"; done; \
1172 l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1173 sed -n '/\.5[a-z]*$$/p'; \
1174 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
1175 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
Chris Craikb50c2172013-07-29 15:28:30 -07001176 dir='$(DESTDIR)$(man5dir)'; $(am__uninstall_files_from_dir)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001177install-pkgconfigDATA: $(pkgconfig_DATA)
1178 @$(NORMAL_INSTALL)
Patrick Scott5f6bd842010-06-28 16:55:16 -04001179 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
Chris Craikb50c2172013-07-29 15:28:30 -07001180 if test -n "$$list"; then \
1181 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
1182 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
1183 fi; \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001184 for p in $$list; do \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001185 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001186 echo "$$d$$p"; \
1187 done | $(am__base_list) | \
1188 while read files; do \
1189 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
1190 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001191 done
1192
1193uninstall-pkgconfigDATA:
1194 @$(NORMAL_UNINSTALL)
Patrick Scott5f6bd842010-06-28 16:55:16 -04001195 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
1196 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
Chris Craikb50c2172013-07-29 15:28:30 -07001197 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
1198install-nodist_pkgincludeHEADERS: $(nodist_pkginclude_HEADERS)
1199 @$(NORMAL_INSTALL)
1200 @list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
1201 if test -n "$$list"; then \
1202 echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \
1203 $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \
1204 fi; \
1205 for p in $$list; do \
1206 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1207 echo "$$d$$p"; \
1208 done | $(am__base_list) | \
1209 while read files; do \
1210 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
1211 $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
1212 done
1213
1214uninstall-nodist_pkgincludeHEADERS:
1215 @$(NORMAL_UNINSTALL)
1216 @list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
1217 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1218 dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001219install-pkgincludeHEADERS: $(pkginclude_HEADERS)
1220 @$(NORMAL_INSTALL)
Patrick Scott5f6bd842010-06-28 16:55:16 -04001221 @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
Chris Craikb50c2172013-07-29 15:28:30 -07001222 if test -n "$$list"; then \
1223 echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \
1224 $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \
1225 fi; \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001226 for p in $$list; do \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001227 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001228 echo "$$d$$p"; \
1229 done | $(am__base_list) | \
1230 while read files; do \
1231 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
1232 $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001233 done
1234
1235uninstall-pkgincludeHEADERS:
1236 @$(NORMAL_UNINSTALL)
Patrick Scott5f6bd842010-06-28 16:55:16 -04001237 @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
1238 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
Chris Craikb50c2172013-07-29 15:28:30 -07001239 dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001240
Chris Craikb50c2172013-07-29 15:28:30 -07001241ID: $(am__tagged_files)
1242 $(am__define_uniq_tagged_files); mkid -fID $$unique
1243tags: tags-am
1244TAGS: tags
The Android Open Source Project893912b2009-03-03 19:30:05 -08001245
Chris Craikb50c2172013-07-29 15:28:30 -07001246tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
Patrick Scott5f6bd842010-06-28 16:55:16 -04001247 set x; \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001248 here=`pwd`; \
Chris Craikb50c2172013-07-29 15:28:30 -07001249 $(am__define_uniq_tagged_files); \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001250 shift; \
1251 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001252 test -n "$$unique" || unique=$$empty_fix; \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001253 if test $$# -gt 0; then \
1254 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1255 "$$@" $$unique; \
1256 else \
1257 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1258 $$unique; \
1259 fi; \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001260 fi
Chris Craikb50c2172013-07-29 15:28:30 -07001261ctags: ctags-am
1262
1263CTAGS: ctags
1264ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1265 $(am__define_uniq_tagged_files); \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001266 test -z "$(CTAGS_ARGS)$$unique" \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001267 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001268 $$unique
The Android Open Source Project893912b2009-03-03 19:30:05 -08001269
1270GTAGS:
1271 here=`$(am__cd) $(top_builddir) && pwd` \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001272 && $(am__cd) $(top_srcdir) \
1273 && gtags -i $(GTAGS_ARGS) "$$here"
Chris Craikb50c2172013-07-29 15:28:30 -07001274cscope: cscope.files
1275 test ! -s cscope.files \
1276 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
1277clean-cscope:
1278 -rm -f cscope.files
1279cscope.files: clean-cscope cscopelist
1280cscopelist: cscopelist-am
1281
1282cscopelist-am: $(am__tagged_files)
1283 list='$(am__tagged_files)'; \
1284 case "$(srcdir)" in \
1285 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1286 *) sdir=$(subdir)/$(srcdir) ;; \
1287 esac; \
1288 for i in $$list; do \
1289 if test -f "$$i"; then \
1290 echo "$(subdir)/$$i"; \
1291 else \
1292 echo "$$sdir/$$i"; \
1293 fi; \
1294 done >> $(top_builddir)/cscope.files
The Android Open Source Project893912b2009-03-03 19:30:05 -08001295
1296distclean-tags:
1297 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
Chris Craikb50c2172013-07-29 15:28:30 -07001298 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
The Android Open Source Project893912b2009-03-03 19:30:05 -08001299
Chris Craikb50c2172013-07-29 15:28:30 -07001300# Recover from deleted '.trs' file; this should ensure that
1301# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
1302# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
1303# to avoid problems with "make -n".
1304.log.trs:
1305 rm -f $< $@
1306 $(MAKE) $(AM_MAKEFLAGS) $<
1307
1308# Leading 'am--fnord' is there to ensure the list of targets does not
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301309# expand to empty, as could happen e.g. with make check TESTS=''.
Chris Craikb50c2172013-07-29 15:28:30 -07001310am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
1311am--force-recheck:
1312 @:
1313
1314$(TEST_SUITE_LOG): $(TEST_LOGS)
1315 @$(am__set_TESTS_bases); \
1316 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
1317 redo_bases=`for i in $$bases; do \
1318 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
1319 done`; \
1320 if test -n "$$redo_bases"; then \
1321 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
1322 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
1323 if $(am__make_dryrun); then :; else \
1324 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
1325 fi; \
1326 fi; \
1327 if test -n "$$am__remaking_logs"; then \
1328 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
1329 "recursion detected" >&2; \
1330 else \
1331 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
1332 fi; \
1333 if $(am__make_dryrun); then :; else \
1334 st=0; \
1335 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
1336 for i in $$redo_bases; do \
1337 test -f $$i.trs && test -r $$i.trs \
1338 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
1339 test -f $$i.log && test -r $$i.log \
1340 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001341 done; \
Chris Craikb50c2172013-07-29 15:28:30 -07001342 test $$st -eq 0 || exit 1; \
1343 fi
1344 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
1345 ws='[ ]'; \
1346 results=`for b in $$bases; do echo $$b.trs; done`; \
1347 test -n "$$results" || results=/dev/null; \
1348 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
1349 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
1350 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
1351 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
1352 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
1353 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
1354 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
1355 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
1356 success=true; \
1357 else \
1358 success=false; \
1359 fi; \
1360 br='==================='; br=$$br$$br$$br$$br; \
1361 result_count () \
1362 { \
1363 if test x"$$1" = x"--maybe-color"; then \
1364 maybe_colorize=yes; \
1365 elif test x"$$1" = x"--no-color"; then \
1366 maybe_colorize=no; \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001367 else \
Chris Craikb50c2172013-07-29 15:28:30 -07001368 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001369 fi; \
Chris Craikb50c2172013-07-29 15:28:30 -07001370 shift; \
1371 desc=$$1 count=$$2; \
1372 if test $$maybe_colorize = yes && test $$count -gt 0; then \
1373 color_start=$$3 color_end=$$std; \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001374 else \
Chris Craikb50c2172013-07-29 15:28:30 -07001375 color_start= color_end=; \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001376 fi; \
Chris Craikb50c2172013-07-29 15:28:30 -07001377 echo "$${color_start}# $$desc $$count$${color_end}"; \
1378 }; \
1379 create_testsuite_report () \
1380 { \
1381 result_count $$1 "TOTAL:" $$all "$$brg"; \
1382 result_count $$1 "PASS: " $$pass "$$grn"; \
1383 result_count $$1 "SKIP: " $$skip "$$blu"; \
1384 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
1385 result_count $$1 "FAIL: " $$fail "$$red"; \
1386 result_count $$1 "XPASS:" $$xpass "$$red"; \
1387 result_count $$1 "ERROR:" $$error "$$mgn"; \
1388 }; \
1389 { \
1390 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
1391 $(am__rst_title); \
1392 create_testsuite_report --no-color; \
1393 echo; \
1394 echo ".. contents:: :depth: 2"; \
1395 echo; \
1396 for b in $$bases; do echo $$b; done \
1397 | $(am__create_global_log); \
1398 } >$(TEST_SUITE_LOG).tmp || exit 1; \
1399 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
1400 if $$success; then \
1401 col="$$grn"; \
1402 else \
1403 col="$$red"; \
1404 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
1405 fi; \
1406 echo "$${col}$$br$${std}"; \
1407 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
1408 echo "$${col}$$br$${std}"; \
1409 create_testsuite_report --maybe-color; \
1410 echo "$$col$$br$$std"; \
1411 if $$success; then :; else \
1412 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
1413 if test -n "$(PACKAGE_BUGREPORT)"; then \
1414 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
1415 fi; \
1416 echo "$$col$$br$$std"; \
1417 fi; \
1418 $$success || exit 1
1419
1420check-TESTS:
1421 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
1422 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
1423 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1424 @set +e; $(am__set_TESTS_bases); \
1425 log_list=`for i in $$bases; do echo $$i.log; done`; \
1426 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
1427 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
1428 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1429 exit $$?;
1430recheck: all $(check_PROGRAMS)
1431 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1432 @set +e; $(am__set_TESTS_bases); \
1433 bases=`for i in $$bases; do echo $$i; done \
1434 | $(am__list_recheck_tests)` || exit 1; \
1435 log_list=`for i in $$bases; do echo $$i.log; done`; \
1436 log_list=`echo $$log_list`; \
1437 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
1438 am__force_recheck=am--force-recheck \
1439 TEST_LOGS="$$log_list"; \
1440 exit $$?
1441tests/pngtest.log: tests/pngtest
1442 @p='tests/pngtest'; \
1443 b='tests/pngtest'; \
1444 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1445 --log-file $$b.log --trs-file $$b.trs \
1446 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1447 "$$tst" $(AM_TESTS_FD_REDIRECT)
1448tests/pngvalid-gamma-16-to-8.log: tests/pngvalid-gamma-16-to-8
1449 @p='tests/pngvalid-gamma-16-to-8'; \
1450 b='tests/pngvalid-gamma-16-to-8'; \
1451 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1452 --log-file $$b.log --trs-file $$b.trs \
1453 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1454 "$$tst" $(AM_TESTS_FD_REDIRECT)
1455tests/pngvalid-gamma-alpha-mode.log: tests/pngvalid-gamma-alpha-mode
1456 @p='tests/pngvalid-gamma-alpha-mode'; \
1457 b='tests/pngvalid-gamma-alpha-mode'; \
1458 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1459 --log-file $$b.log --trs-file $$b.trs \
1460 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1461 "$$tst" $(AM_TESTS_FD_REDIRECT)
1462tests/pngvalid-gamma-background.log: tests/pngvalid-gamma-background
1463 @p='tests/pngvalid-gamma-background'; \
1464 b='tests/pngvalid-gamma-background'; \
1465 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1466 --log-file $$b.log --trs-file $$b.trs \
1467 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1468 "$$tst" $(AM_TESTS_FD_REDIRECT)
1469tests/pngvalid-gamma-expand16-alpha-mode.log: tests/pngvalid-gamma-expand16-alpha-mode
1470 @p='tests/pngvalid-gamma-expand16-alpha-mode'; \
1471 b='tests/pngvalid-gamma-expand16-alpha-mode'; \
1472 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1473 --log-file $$b.log --trs-file $$b.trs \
1474 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1475 "$$tst" $(AM_TESTS_FD_REDIRECT)
1476tests/pngvalid-gamma-expand16-background.log: tests/pngvalid-gamma-expand16-background
1477 @p='tests/pngvalid-gamma-expand16-background'; \
1478 b='tests/pngvalid-gamma-expand16-background'; \
1479 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1480 --log-file $$b.log --trs-file $$b.trs \
1481 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1482 "$$tst" $(AM_TESTS_FD_REDIRECT)
1483tests/pngvalid-gamma-expand16-transform.log: tests/pngvalid-gamma-expand16-transform
1484 @p='tests/pngvalid-gamma-expand16-transform'; \
1485 b='tests/pngvalid-gamma-expand16-transform'; \
1486 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1487 --log-file $$b.log --trs-file $$b.trs \
1488 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1489 "$$tst" $(AM_TESTS_FD_REDIRECT)
1490tests/pngvalid-gamma-sbit.log: tests/pngvalid-gamma-sbit
1491 @p='tests/pngvalid-gamma-sbit'; \
1492 b='tests/pngvalid-gamma-sbit'; \
1493 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1494 --log-file $$b.log --trs-file $$b.trs \
1495 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1496 "$$tst" $(AM_TESTS_FD_REDIRECT)
1497tests/pngvalid-gamma-threshold.log: tests/pngvalid-gamma-threshold
1498 @p='tests/pngvalid-gamma-threshold'; \
1499 b='tests/pngvalid-gamma-threshold'; \
1500 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1501 --log-file $$b.log --trs-file $$b.trs \
1502 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1503 "$$tst" $(AM_TESTS_FD_REDIRECT)
1504tests/pngvalid-gamma-transform.log: tests/pngvalid-gamma-transform
1505 @p='tests/pngvalid-gamma-transform'; \
1506 b='tests/pngvalid-gamma-transform'; \
1507 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1508 --log-file $$b.log --trs-file $$b.trs \
1509 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1510 "$$tst" $(AM_TESTS_FD_REDIRECT)
1511tests/pngvalid-progressive-interlace-size.log: tests/pngvalid-progressive-interlace-size
1512 @p='tests/pngvalid-progressive-interlace-size'; \
1513 b='tests/pngvalid-progressive-interlace-size'; \
1514 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1515 --log-file $$b.log --trs-file $$b.trs \
1516 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1517 "$$tst" $(AM_TESTS_FD_REDIRECT)
1518tests/pngvalid-progressive-interlace-standard.log: tests/pngvalid-progressive-interlace-standard
1519 @p='tests/pngvalid-progressive-interlace-standard'; \
1520 b='tests/pngvalid-progressive-interlace-standard'; \
1521 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1522 --log-file $$b.log --trs-file $$b.trs \
1523 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1524 "$$tst" $(AM_TESTS_FD_REDIRECT)
1525tests/pngvalid-progressive-interlace-transform.log: tests/pngvalid-progressive-interlace-transform
1526 @p='tests/pngvalid-progressive-interlace-transform'; \
1527 b='tests/pngvalid-progressive-interlace-transform'; \
1528 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1529 --log-file $$b.log --trs-file $$b.trs \
1530 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1531 "$$tst" $(AM_TESTS_FD_REDIRECT)
1532tests/pngvalid-progressive-standard.log: tests/pngvalid-progressive-standard
1533 @p='tests/pngvalid-progressive-standard'; \
1534 b='tests/pngvalid-progressive-standard'; \
1535 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1536 --log-file $$b.log --trs-file $$b.trs \
1537 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1538 "$$tst" $(AM_TESTS_FD_REDIRECT)
1539tests/pngvalid-standard.log: tests/pngvalid-standard
1540 @p='tests/pngvalid-standard'; \
1541 b='tests/pngvalid-standard'; \
1542 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1543 --log-file $$b.log --trs-file $$b.trs \
1544 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1545 "$$tst" $(AM_TESTS_FD_REDIRECT)
1546tests/pngstest-0g01.log: tests/pngstest-0g01
1547 @p='tests/pngstest-0g01'; \
1548 b='tests/pngstest-0g01'; \
1549 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1550 --log-file $$b.log --trs-file $$b.trs \
1551 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1552 "$$tst" $(AM_TESTS_FD_REDIRECT)
1553tests/pngstest-0g02.log: tests/pngstest-0g02
1554 @p='tests/pngstest-0g02'; \
1555 b='tests/pngstest-0g02'; \
1556 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1557 --log-file $$b.log --trs-file $$b.trs \
1558 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1559 "$$tst" $(AM_TESTS_FD_REDIRECT)
1560tests/pngstest-0g04.log: tests/pngstest-0g04
1561 @p='tests/pngstest-0g04'; \
1562 b='tests/pngstest-0g04'; \
1563 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1564 --log-file $$b.log --trs-file $$b.trs \
1565 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1566 "$$tst" $(AM_TESTS_FD_REDIRECT)
1567tests/pngstest-0g08.log: tests/pngstest-0g08
1568 @p='tests/pngstest-0g08'; \
1569 b='tests/pngstest-0g08'; \
1570 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1571 --log-file $$b.log --trs-file $$b.trs \
1572 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1573 "$$tst" $(AM_TESTS_FD_REDIRECT)
1574tests/pngstest-0g16.log: tests/pngstest-0g16
1575 @p='tests/pngstest-0g16'; \
1576 b='tests/pngstest-0g16'; \
1577 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1578 --log-file $$b.log --trs-file $$b.trs \
1579 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1580 "$$tst" $(AM_TESTS_FD_REDIRECT)
1581tests/pngstest-2c08.log: tests/pngstest-2c08
1582 @p='tests/pngstest-2c08'; \
1583 b='tests/pngstest-2c08'; \
1584 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1585 --log-file $$b.log --trs-file $$b.trs \
1586 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1587 "$$tst" $(AM_TESTS_FD_REDIRECT)
1588tests/pngstest-2c16.log: tests/pngstest-2c16
1589 @p='tests/pngstest-2c16'; \
1590 b='tests/pngstest-2c16'; \
1591 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1592 --log-file $$b.log --trs-file $$b.trs \
1593 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1594 "$$tst" $(AM_TESTS_FD_REDIRECT)
1595tests/pngstest-3p01.log: tests/pngstest-3p01
1596 @p='tests/pngstest-3p01'; \
1597 b='tests/pngstest-3p01'; \
1598 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1599 --log-file $$b.log --trs-file $$b.trs \
1600 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1601 "$$tst" $(AM_TESTS_FD_REDIRECT)
1602tests/pngstest-3p02.log: tests/pngstest-3p02
1603 @p='tests/pngstest-3p02'; \
1604 b='tests/pngstest-3p02'; \
1605 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1606 --log-file $$b.log --trs-file $$b.trs \
1607 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1608 "$$tst" $(AM_TESTS_FD_REDIRECT)
1609tests/pngstest-3p04.log: tests/pngstest-3p04
1610 @p='tests/pngstest-3p04'; \
1611 b='tests/pngstest-3p04'; \
1612 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1613 --log-file $$b.log --trs-file $$b.trs \
1614 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1615 "$$tst" $(AM_TESTS_FD_REDIRECT)
1616tests/pngstest-3p08.log: tests/pngstest-3p08
1617 @p='tests/pngstest-3p08'; \
1618 b='tests/pngstest-3p08'; \
1619 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1620 --log-file $$b.log --trs-file $$b.trs \
1621 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1622 "$$tst" $(AM_TESTS_FD_REDIRECT)
1623tests/pngstest-4a08.log: tests/pngstest-4a08
1624 @p='tests/pngstest-4a08'; \
1625 b='tests/pngstest-4a08'; \
1626 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1627 --log-file $$b.log --trs-file $$b.trs \
1628 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1629 "$$tst" $(AM_TESTS_FD_REDIRECT)
1630tests/pngstest-4a16.log: tests/pngstest-4a16
1631 @p='tests/pngstest-4a16'; \
1632 b='tests/pngstest-4a16'; \
1633 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1634 --log-file $$b.log --trs-file $$b.trs \
1635 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1636 "$$tst" $(AM_TESTS_FD_REDIRECT)
1637tests/pngstest-6a08.log: tests/pngstest-6a08
1638 @p='tests/pngstest-6a08'; \
1639 b='tests/pngstest-6a08'; \
1640 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1641 --log-file $$b.log --trs-file $$b.trs \
1642 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1643 "$$tst" $(AM_TESTS_FD_REDIRECT)
1644tests/pngstest-6a16.log: tests/pngstest-6a16
1645 @p='tests/pngstest-6a16'; \
1646 b='tests/pngstest-6a16'; \
1647 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1648 --log-file $$b.log --trs-file $$b.trs \
1649 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1650 "$$tst" $(AM_TESTS_FD_REDIRECT)
1651tests/pngstest-error.log: tests/pngstest-error
1652 @p='tests/pngstest-error'; \
1653 b='tests/pngstest-error'; \
1654 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1655 --log-file $$b.log --trs-file $$b.trs \
1656 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1657 "$$tst" $(AM_TESTS_FD_REDIRECT)
1658tests/pngunknown-IDAT.log: tests/pngunknown-IDAT
1659 @p='tests/pngunknown-IDAT'; \
1660 b='tests/pngunknown-IDAT'; \
1661 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1662 --log-file $$b.log --trs-file $$b.trs \
1663 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1664 "$$tst" $(AM_TESTS_FD_REDIRECT)
1665tests/pngunknown-discard.log: tests/pngunknown-discard
1666 @p='tests/pngunknown-discard'; \
1667 b='tests/pngunknown-discard'; \
1668 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1669 --log-file $$b.log --trs-file $$b.trs \
1670 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1671 "$$tst" $(AM_TESTS_FD_REDIRECT)
1672tests/pngunknown-if-safe.log: tests/pngunknown-if-safe
1673 @p='tests/pngunknown-if-safe'; \
1674 b='tests/pngunknown-if-safe'; \
1675 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1676 --log-file $$b.log --trs-file $$b.trs \
1677 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1678 "$$tst" $(AM_TESTS_FD_REDIRECT)
1679tests/pngunknown-sAPI.log: tests/pngunknown-sAPI
1680 @p='tests/pngunknown-sAPI'; \
1681 b='tests/pngunknown-sAPI'; \
1682 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1683 --log-file $$b.log --trs-file $$b.trs \
1684 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1685 "$$tst" $(AM_TESTS_FD_REDIRECT)
1686tests/pngunknown-sTER.log: tests/pngunknown-sTER
1687 @p='tests/pngunknown-sTER'; \
1688 b='tests/pngunknown-sTER'; \
1689 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1690 --log-file $$b.log --trs-file $$b.trs \
1691 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1692 "$$tst" $(AM_TESTS_FD_REDIRECT)
1693tests/pngunknown-save.log: tests/pngunknown-save
1694 @p='tests/pngunknown-save'; \
1695 b='tests/pngunknown-save'; \
1696 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1697 --log-file $$b.log --trs-file $$b.trs \
1698 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1699 "$$tst" $(AM_TESTS_FD_REDIRECT)
1700tests/pngunknown-vpAg.log: tests/pngunknown-vpAg
1701 @p='tests/pngunknown-vpAg'; \
1702 b='tests/pngunknown-vpAg'; \
1703 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1704 --log-file $$b.log --trs-file $$b.trs \
1705 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1706 "$$tst" $(AM_TESTS_FD_REDIRECT)
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301707tests/pngimage-quick.log: tests/pngimage-quick
1708 @p='tests/pngimage-quick'; \
1709 b='tests/pngimage-quick'; \
1710 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1711 --log-file $$b.log --trs-file $$b.trs \
1712 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1713 "$$tst" $(AM_TESTS_FD_REDIRECT)
1714tests/pngimage-full.log: tests/pngimage-full
1715 @p='tests/pngimage-full'; \
1716 b='tests/pngimage-full'; \
1717 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1718 --log-file $$b.log --trs-file $$b.trs \
1719 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1720 "$$tst" $(AM_TESTS_FD_REDIRECT)
Chris Craikb50c2172013-07-29 15:28:30 -07001721.test.log:
1722 @p='$<'; \
1723 $(am__set_b); \
1724 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1725 --log-file $$b.log --trs-file $$b.trs \
1726 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1727 "$$tst" $(AM_TESTS_FD_REDIRECT)
1728@am__EXEEXT_TRUE@.test$(EXEEXT).log:
1729@am__EXEEXT_TRUE@ @p='$<'; \
1730@am__EXEEXT_TRUE@ $(am__set_b); \
1731@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1732@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
1733@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1734@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001735
1736distdir: $(DISTFILES)
1737 $(am__remove_distdir)
Patrick Scott5f6bd842010-06-28 16:55:16 -04001738 test -d "$(distdir)" || mkdir "$(distdir)"
The Android Open Source Project893912b2009-03-03 19:30:05 -08001739 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1740 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1741 list='$(DISTFILES)'; \
1742 dist_files=`for file in $$list; do echo $$file; done | \
1743 sed -e "s|^$$srcdirstrip/||;t" \
1744 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1745 case $$dist_files in \
1746 */*) $(MKDIR_P) `echo "$$dist_files" | \
1747 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1748 sort -u` ;; \
1749 esac; \
1750 for file in $$dist_files; do \
1751 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1752 if test -d $$d/$$file; then \
1753 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001754 if test -d "$(distdir)/$$file"; then \
1755 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001756 fi; \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001757 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1758 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1759 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1760 fi; \
1761 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001762 else \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001763 test -f "$(distdir)/$$file" \
1764 || cp -p $$d/$$file "$(distdir)/$$file" \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001765 || exit 1; \
1766 fi; \
1767 done
Chris Craikb50c2172013-07-29 15:28:30 -07001768 $(MAKE) $(AM_MAKEFLAGS) \
1769 top_distdir="$(top_distdir)" distdir="$(distdir)" \
1770 dist-hook
Patrick Scott5f6bd842010-06-28 16:55:16 -04001771 -test -n "$(am__skip_mode_fix)" \
Chris Craikb50c2172013-07-29 15:28:30 -07001772 || find "$(distdir)" -type d ! -perm -755 \
1773 -exec chmod u+rwx,go+rx {} \; -o \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001774 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1775 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1776 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001777 || chmod -R a+r "$(distdir)"
The Android Open Source Project893912b2009-03-03 19:30:05 -08001778dist-gzip: distdir
1779 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
Chris Craikb50c2172013-07-29 15:28:30 -07001780 $(am__post_remove_distdir)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001781
1782dist-bzip2: distdir
Chris Craikb50c2172013-07-29 15:28:30 -07001783 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1784 $(am__post_remove_distdir)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001785
Chris Craikb50c2172013-07-29 15:28:30 -07001786dist-lzip: distdir
1787 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1788 $(am__post_remove_distdir)
Patrick Scott5f6bd842010-06-28 16:55:16 -04001789dist-xz: distdir
Chris Craikb50c2172013-07-29 15:28:30 -07001790 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1791 $(am__post_remove_distdir)
Patrick Scott5f6bd842010-06-28 16:55:16 -04001792
The Android Open Source Project893912b2009-03-03 19:30:05 -08001793dist-tarZ: distdir
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301794 @echo WARNING: "Support for shar distribution archives is" \
1795 "deprecated." >&2
1796 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
The Android Open Source Project893912b2009-03-03 19:30:05 -08001797 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
Chris Craikb50c2172013-07-29 15:28:30 -07001798 $(am__post_remove_distdir)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001799
1800dist-shar: distdir
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301801 @echo WARNING: "Support for distribution archives compressed with" \
1802 "legacy program 'compress' is deprecated." >&2
1803 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
The Android Open Source Project893912b2009-03-03 19:30:05 -08001804 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
Chris Craikb50c2172013-07-29 15:28:30 -07001805 $(am__post_remove_distdir)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001806
1807dist-zip: distdir
1808 -rm -f $(distdir).zip
1809 zip -rq $(distdir).zip $(distdir)
Chris Craikb50c2172013-07-29 15:28:30 -07001810 $(am__post_remove_distdir)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001811
Chris Craikb50c2172013-07-29 15:28:30 -07001812dist dist-all:
1813 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1814 $(am__post_remove_distdir)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001815
1816# This target untars the dist file and tries a VPATH configuration. Then
1817# it guarantees that the distribution is self-contained by making another
1818# tarfile.
1819distcheck: dist
1820 case '$(DIST_ARCHIVES)' in \
1821 *.tar.gz*) \
Chris Craikb50c2172013-07-29 15:28:30 -07001822 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
The Android Open Source Project893912b2009-03-03 19:30:05 -08001823 *.tar.bz2*) \
Chris Craikb50c2172013-07-29 15:28:30 -07001824 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1825 *.tar.lz*) \
1826 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
Patrick Scott5f6bd842010-06-28 16:55:16 -04001827 *.tar.xz*) \
1828 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
The Android Open Source Project893912b2009-03-03 19:30:05 -08001829 *.tar.Z*) \
1830 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1831 *.shar.gz*) \
Chris Craikb50c2172013-07-29 15:28:30 -07001832 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
The Android Open Source Project893912b2009-03-03 19:30:05 -08001833 *.zip*) \
1834 unzip $(distdir).zip ;;\
1835 esac
Chris Craikb50c2172013-07-29 15:28:30 -07001836 chmod -R a-w $(distdir)
1837 chmod u+w $(distdir)
1838 mkdir $(distdir)/_build $(distdir)/_inst
The Android Open Source Project893912b2009-03-03 19:30:05 -08001839 chmod a-w $(distdir)
Patrick Scott5f6bd842010-06-28 16:55:16 -04001840 test -d $(distdir)/_build || exit 0; \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001841 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1842 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001843 && am__cwd=`pwd` \
1844 && $(am__cd) $(distdir)/_build \
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301845 && ../configure \
Chris Craikb50c2172013-07-29 15:28:30 -07001846 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001847 $(DISTCHECK_CONFIGURE_FLAGS) \
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301848 --srcdir=.. --prefix="$$dc_install_base" \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001849 && $(MAKE) $(AM_MAKEFLAGS) \
1850 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1851 && $(MAKE) $(AM_MAKEFLAGS) check \
1852 && $(MAKE) $(AM_MAKEFLAGS) install \
1853 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1854 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1855 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1856 distuninstallcheck \
1857 && chmod -R a-w "$$dc_install_base" \
1858 && ({ \
1859 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1860 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1861 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1862 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1863 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1864 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1865 && rm -rf "$$dc_destdir" \
1866 && $(MAKE) $(AM_MAKEFLAGS) dist \
1867 && rm -rf $(DIST_ARCHIVES) \
Patrick Scott5f6bd842010-06-28 16:55:16 -04001868 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1869 && cd "$$am__cwd" \
1870 || exit 1
Chris Craikb50c2172013-07-29 15:28:30 -07001871 $(am__post_remove_distdir)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001872 @(echo "$(distdir) archives ready for distribution: "; \
1873 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1874 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1875distuninstallcheck:
Chris Craikb50c2172013-07-29 15:28:30 -07001876 @test -n '$(distuninstallcheck_dir)' || { \
1877 echo 'ERROR: trying to run $@ with an empty' \
1878 '$$(distuninstallcheck_dir)' >&2; \
1879 exit 1; \
1880 }; \
1881 $(am__cd) '$(distuninstallcheck_dir)' || { \
1882 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1883 exit 1; \
1884 }; \
1885 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001886 || { echo "ERROR: files left after uninstall:" ; \
1887 if test -n "$(DESTDIR)"; then \
1888 echo " (check DESTDIR support)"; \
1889 fi ; \
1890 $(distuninstallcheck_listfiles) ; \
1891 exit 1; } >&2
1892distcleancheck: distclean
1893 @if test '$(srcdir)' = . ; then \
1894 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1895 exit 1 ; \
1896 fi
1897 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1898 || { echo "ERROR: files left in build directory after distclean:" ; \
1899 $(distcleancheck_listfiles) ; \
1900 exit 1; } >&2
1901check-am: all-am
1902 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1903 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301904check: $(BUILT_SOURCES)
1905 $(MAKE) $(AM_MAKEFLAGS) check-am
Chris Craikb50c2172013-07-29 15:28:30 -07001906all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \
1907 $(HEADERS) config.h
1908install-binPROGRAMS: install-libLTLIBRARIES
1909
The Android Open Source Project893912b2009-03-03 19:30:05 -08001910installdirs:
Chris Craikb50c2172013-07-29 15:28:30 -07001911 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkgincludedir)" "$(DESTDIR)$(pkgincludedir)"; do \
The Android Open Source Project893912b2009-03-03 19:30:05 -08001912 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1913 done
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301914install: $(BUILT_SOURCES)
1915 $(MAKE) $(AM_MAKEFLAGS) install-am
The Android Open Source Project893912b2009-03-03 19:30:05 -08001916install-exec: install-exec-am
1917install-data: install-data-am
1918uninstall: uninstall-am
1919
1920install-am: all-am
1921 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1922
1923installcheck: installcheck-am
1924install-strip:
Chris Craikb50c2172013-07-29 15:28:30 -07001925 if test -z '$(STRIP)'; then \
1926 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1927 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1928 install; \
1929 else \
1930 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1931 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1932 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1933 fi
The Android Open Source Project893912b2009-03-03 19:30:05 -08001934mostlyclean-generic:
Chris Craikb50c2172013-07-29 15:28:30 -07001935 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1936 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
1937 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001938
1939clean-generic:
1940 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1941
1942distclean-generic:
1943 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
Patrick Scott5f6bd842010-06-28 16:55:16 -04001944 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301945 -rm -f arm/$(DEPDIR)/$(am__dirstamp)
1946 -rm -f arm/$(am__dirstamp)
1947 -rm -f contrib/libtests/$(DEPDIR)/$(am__dirstamp)
1948 -rm -f contrib/libtests/$(am__dirstamp)
1949 -rm -f contrib/tools/$(DEPDIR)/$(am__dirstamp)
1950 -rm -f contrib/tools/$(am__dirstamp)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001951
1952maintainer-clean-generic:
1953 @echo "This command is intended for maintainers to use"
1954 @echo "it deletes files that may require special tools to rebuild."
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301955 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001956 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301957@DO_INSTALL_LIBPNG_CONFIG_FALSE@@DO_INSTALL_LINKS_FALSE@install-exec-hook:
1958@DO_INSTALL_LIBPNG_PC_FALSE@@DO_INSTALL_LINKS_FALSE@install-data-hook:
1959@DO_INSTALL_LIBPNG_CONFIG_FALSE@@DO_INSTALL_LIBPNG_PC_FALSE@@DO_INSTALL_LINKS_FALSE@uninstall-hook:
The Android Open Source Project893912b2009-03-03 19:30:05 -08001960clean: clean-am
1961
Chris Craikb50c2172013-07-29 15:28:30 -07001962clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
1963 clean-libLTLIBRARIES clean-libtool mostlyclean-am
The Android Open Source Project893912b2009-03-03 19:30:05 -08001964
1965distclean: distclean-am
1966 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
Sireesh Tripurarib478e662014-05-09 15:15:10 +05301967 -rm -rf ./$(DEPDIR) arm/$(DEPDIR) contrib/libtests/$(DEPDIR) contrib/tools/$(DEPDIR)
The Android Open Source Project893912b2009-03-03 19:30:05 -08001968 -rm -f Makefile
1969distclean-am: clean-am distclean-compile distclean-generic \
1970 distclean-hdr distclean-libtool distclean-tags
1971
1972dvi: dvi-am
1973
1974dvi-am:
1975
1976html: html-am
1977
Patrick Scott5f6bd842010-06-28 16:55:16 -04001978html-am:
1979
The Android Open Source Project893912b2009-03-03 19:30:05 -08001980info: info-am
1981
1982info-am:
1983
Chris Craikb50c2172013-07-29 15:28:30 -07001984install-data-am: install-man install-nodist_pkgincludeHEADERS \
1985 install-pkgconfigDATA install-pkgincludeHEADERS
The Android Open Source Project893912b2009-03-03 19:30:05 -08001986 @$(NORMAL_INSTALL)
1987 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
The Android Open Source Project893912b2009-03-03 19:30:05 -08001988install-dvi: install-dvi-am
1989
Patrick Scott5f6bd842010-06-28 16:55:16 -04001990install-dvi-am:
1991
Chris Craikb50c2172013-07-29 15:28:30 -07001992install-exec-am: install-binPROGRAMS install-binSCRIPTS \
1993 install-libLTLIBRARIES
The Android Open Source Project893912b2009-03-03 19:30:05 -08001994 @$(NORMAL_INSTALL)
1995 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
The Android Open Source Project893912b2009-03-03 19:30:05 -08001996install-html: install-html-am
1997
Patrick Scott5f6bd842010-06-28 16:55:16 -04001998install-html-am:
1999
The Android Open Source Project893912b2009-03-03 19:30:05 -08002000install-info: install-info-am
2001
Patrick Scott5f6bd842010-06-28 16:55:16 -04002002install-info-am:
2003
The Android Open Source Project893912b2009-03-03 19:30:05 -08002004install-man: install-man3 install-man5
2005
2006install-pdf: install-pdf-am
2007
Patrick Scott5f6bd842010-06-28 16:55:16 -04002008install-pdf-am:
2009
The Android Open Source Project893912b2009-03-03 19:30:05 -08002010install-ps: install-ps-am
2011
Patrick Scott5f6bd842010-06-28 16:55:16 -04002012install-ps-am:
2013
The Android Open Source Project893912b2009-03-03 19:30:05 -08002014installcheck-am:
2015
2016maintainer-clean: maintainer-clean-am
2017 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
2018 -rm -rf $(top_srcdir)/autom4te.cache
Sireesh Tripurarib478e662014-05-09 15:15:10 +05302019 -rm -rf ./$(DEPDIR) arm/$(DEPDIR) contrib/libtests/$(DEPDIR) contrib/tools/$(DEPDIR)
The Android Open Source Project893912b2009-03-03 19:30:05 -08002020 -rm -f Makefile
2021maintainer-clean-am: distclean-am maintainer-clean-generic
2022
2023mostlyclean: mostlyclean-am
2024
2025mostlyclean-am: mostlyclean-compile mostlyclean-generic \
2026 mostlyclean-libtool
2027
2028pdf: pdf-am
2029
2030pdf-am:
2031
2032ps: ps-am
2033
2034ps-am:
2035
Chris Craikb50c2172013-07-29 15:28:30 -07002036uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
2037 uninstall-libLTLIBRARIES uninstall-man \
2038 uninstall-nodist_pkgincludeHEADERS uninstall-pkgconfigDATA \
The Android Open Source Project893912b2009-03-03 19:30:05 -08002039 uninstall-pkgincludeHEADERS
2040 @$(NORMAL_INSTALL)
2041 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
The Android Open Source Project893912b2009-03-03 19:30:05 -08002042uninstall-man: uninstall-man3 uninstall-man5
2043
Sireesh Tripurarib478e662014-05-09 15:15:10 +05302044.MAKE: all check check-am install install-am install-data-am \
2045 install-exec-am install-strip uninstall-am
The Android Open Source Project893912b2009-03-03 19:30:05 -08002046
Chris Craikb50c2172013-07-29 15:28:30 -07002047.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-TESTS \
2048 check-am clean clean-binPROGRAMS clean-checkPROGRAMS \
2049 clean-cscope clean-generic clean-libLTLIBRARIES clean-libtool \
2050 cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
2051 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
2052 dist-zip distcheck distclean distclean-compile \
2053 distclean-generic distclean-hdr distclean-libtool \
2054 distclean-tags distcleancheck distdir distuninstallcheck dvi \
2055 dvi-am html html-am info info-am install install-am \
2056 install-binPROGRAMS install-binSCRIPTS install-data \
The Android Open Source Project893912b2009-03-03 19:30:05 -08002057 install-data-am install-data-hook install-dvi install-dvi-am \
2058 install-exec install-exec-am install-exec-hook install-html \
2059 install-html-am install-info install-info-am \
2060 install-libLTLIBRARIES install-man install-man3 install-man5 \
Chris Craikb50c2172013-07-29 15:28:30 -07002061 install-nodist_pkgincludeHEADERS install-pdf install-pdf-am \
2062 install-pkgconfigDATA install-pkgincludeHEADERS install-ps \
2063 install-ps-am install-strip installcheck installcheck-am \
2064 installdirs maintainer-clean maintainer-clean-generic \
2065 mostlyclean mostlyclean-compile mostlyclean-generic \
2066 mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \
2067 uninstall uninstall-am uninstall-binPROGRAMS \
The Android Open Source Project893912b2009-03-03 19:30:05 -08002068 uninstall-binSCRIPTS uninstall-hook uninstall-libLTLIBRARIES \
2069 uninstall-man uninstall-man3 uninstall-man5 \
Chris Craikb50c2172013-07-29 15:28:30 -07002070 uninstall-nodist_pkgincludeHEADERS uninstall-pkgconfigDATA \
2071 uninstall-pkgincludeHEADERS
The Android Open Source Project893912b2009-03-03 19:30:05 -08002072
2073
The Android Open Source Project893912b2009-03-03 19:30:05 -08002074$(PNGLIB_BASENAME).pc: libpng.pc
2075 cp libpng.pc $@
2076
2077$(PNGLIB_BASENAME)-config: libpng-config
2078 cp libpng-config $@
2079
Chris Craikb50c2172013-07-29 15:28:30 -07002080scripts/sym.out scripts/vers.out: png.h pngconf.h pnglibconf.h
2081scripts/prefix.out: png.h pngconf.h pnglibconf.out
2082scripts/symbols.out: png.h pngconf.h $(srcdir)/scripts/pnglibconf.h.prebuilt
2083scripts/intprefix.out: pnglibconf.h
The Android Open Source Project893912b2009-03-03 19:30:05 -08002084
Chris Craikb50c2172013-07-29 15:28:30 -07002085libpng.sym: scripts/sym.out
2086 rm -f $@
2087 cp $? $@
2088libpng.vers: scripts/vers.out
2089 rm -f $@
2090 cp $? $@
The Android Open Source Project893912b2009-03-03 19:30:05 -08002091
Chris Craikb50c2172013-07-29 15:28:30 -07002092# Rename functions in scripts/prefix.out with a PNG_PREFIX prefix.
2093# Rename macros in scripts/macro.lst from PNG_PREFIXpng_ to PNG_ (the actual
2094# implementation of the macro).
2095@DO_PNG_PREFIX_TRUE@pnglibconf.h: pnglibconf.out scripts/prefix.out scripts/macro.lst
2096@DO_PNG_PREFIX_TRUE@ rm -f $@
2097@DO_PNG_PREFIX_TRUE@ $(AWK) 's==0 && NR>1{print prev}\
2098@DO_PNG_PREFIX_TRUE@ s==0{prev=$$0}\
2099@DO_PNG_PREFIX_TRUE@ s==1{print "#define", $$1, "@PNG_PREFIX@" $$1}\
2100@DO_PNG_PREFIX_TRUE@ s==2{print "#define @PNG_PREFIX@png_" $$1, "PNG_" $$1}\
2101@DO_PNG_PREFIX_TRUE@ END{print prev}' s=0 pnglibconf.out s=1 scripts/prefix.out\
2102@DO_PNG_PREFIX_TRUE@ s=2 ${srcdir}/scripts/macro.lst >pnglibconf.tf8
2103@DO_PNG_PREFIX_TRUE@ mv pnglibconf.tf8 $@
2104
2105@DO_PNG_PREFIX_TRUE@pngprefix.h: scripts/intprefix.out
2106@DO_PNG_PREFIX_TRUE@ rm -f pngprefix.tf1
2107@DO_PNG_PREFIX_TRUE@ $(AWK) '{print "#define", $$1, "@PNG_PREFIX@" $$1}' $? >pngprefix.tf1
2108@DO_PNG_PREFIX_TRUE@ mv pngprefix.tf1 $@
2109@DO_PNG_PREFIX_FALSE@pnglibconf.h: pnglibconf.out
2110@DO_PNG_PREFIX_FALSE@ rm -f $@
2111@DO_PNG_PREFIX_FALSE@ cp $? $@
2112
2113@DO_PNG_PREFIX_FALSE@pngprefix.h: # is empty
2114@DO_PNG_PREFIX_FALSE@ :>$@
2115
2116$(srcdir)/scripts/pnglibconf.h.prebuilt:
2117 @echo "Attempting to build $@" >&2
2118 @echo "This is a machine generated file, but if you want to make" >&2
2119 @echo "a new one simply make 'scripts/pnglibconf.out', copy that" >&2
2120 @echo "AND set PNG_ZLIB_VERNUM to 0 (you MUST do this)" >&2
2121 @exit 1
2122
2123# The following is necessary to ensure that the local pnglibconf.h is used, not
2124# an installed one (this can happen immediately after on a clean system if
Sireesh Tripurarib478e662014-05-09 15:15:10 +05302125# 'make test' is the first thing the user does.) Only files which include
2126# one of the png source files (typically png.h or pngpriv.h) need to be listed
2127# here:
2128pngtest.o: pnglibconf.h
2129
2130contrib/libtests/makepng.o: pnglibconf.h
2131contrib/libtests/pngstest.o: pnglibconf.h
2132contrib/libtests/pngunknown.o: pnglibconf.h
2133contrib/libtests/pngimage.o: pnglibconf.h
2134contrib/libtests/pngvalid.o: pnglibconf.h
2135contrib/libtests/readpng.o: pnglibconf.h
2136contrib/libtests/tarith.o: pnglibconf.h
2137contrib/libtests/timepng.o: pnglibconf.h
2138
2139contrib/tools/makesRGB.o: pnglibconf.h
2140contrib/tools/pngfix.o: pnglibconf.h
Chris Craikb50c2172013-07-29 15:28:30 -07002141
2142.dfn.out:
2143 rm -f $@ $*.c $*.tf[12]
2144 test -d scripts || mkdir scripts || test -d scripts
2145 echo '#include "$<"' >$*.c
2146 $(DFNCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)\
2147 $(CPPFLAGS) $(SYMBOL_CFLAGS) $*.c > $*.tf1
2148 $(AWK) -f "${srcdir}/scripts/dfn.awk" out="$*.tf2" $*.tf1 1>&2
2149 rm -f $*.c $*.tf1
2150 mv $*.tf2 $@
2151
2152# The .dfn file for pnglibconf.h is machine generated
2153pnglibconf.dfn: scripts/pnglibconf.dfa scripts/options.awk pngconf.h pngusr.dfa $(DFA_XTRA)
2154 rm -f $@ $*.tf[45]
2155 $(AWK) -f ${srcdir}/scripts/options.awk out=$*.tf4 version=search\
2156 ${srcdir}/pngconf.h ${srcdir}/scripts/pnglibconf.dfa\
2157 ${srcdir}/pngusr.dfa $(DFA_XTRA) 1>&2
2158 $(AWK) -f ${srcdir}/scripts/options.awk out=$*.tf5 $*.tf4 1>&2
2159 rm $*.tf4
2160 mv $*.tf5 $@
2161
2162# Symbol checks (.def and .out files should match)
2163scripts/symbols.chk: scripts/checksym.awk scripts/symbols.def scripts/symbols.out
2164
2165.out.chk:
2166 rm -f $@ $*.new
2167 $(AWK) -f ${srcdir}/scripts/checksym.awk ${srcdir}/scripts/${*F}.def\
2168 of="$*.new" $< >&2
2169 mv $*.new $@
2170
2171# used on demand to regenerate the standard header, CPPFLAGS should
2172# be empty - no non-standard defines
2173scripts/pnglibconf.dfn: scripts/pnglibconf.dfa scripts/options.awk pngconf.h
2174 rm -f $@ pnglibconf.tf[67]
2175 test -z "$(CPPFLAGS)"
2176 echo "com @PNGLIB_VERSION@ STANDARD API DEFINITION" |\
2177 $(AWK) -f ${srcdir}/scripts/options.awk out=pnglibconf.tf6\
2178 logunsupported=1 version=search ${srcdir}/pngconf.h -\
2179 ${srcdir}/scripts/pnglibconf.dfa 1>&2
2180 $(AWK) -f ${srcdir}/scripts/options.awk out=pnglibconf.tf7\
2181 pnglibconf.tf6 1>&2
2182 rm pnglibconf.tf6
2183 mv pnglibconf.tf7 $@
2184
2185$(libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_OBJECTS): png.h pngconf.h \
2186 pnglibconf.h pngpriv.h pngdebug.h pnginfo.h pngstruct.h pngprefix.h
2187
2188test: check-am
2189
2190# Extra checks
2191check: scripts/symbols.chk
2192
2193# Don't distribute the generated script files
2194dist-hook:
2195 cd '$(top_distdir)'; rm -f $(SCRIPT_CLEANFILES)
The Android Open Source Project893912b2009-03-03 19:30:05 -08002196
Sireesh Tripurarib478e662014-05-09 15:15:10 +05302197# Make links between installed files with release-specific names and the generic
2198# file names. If this install rule is run the generic names will be deleted and
2199# recreated - this has obvious issues for systems with multiple installations.
The Android Open Source Project893912b2009-03-03 19:30:05 -08002200
Sireesh Tripurarib478e662014-05-09 15:15:10 +05302201install-header-links:
2202 @set -ex; cd '$(DESTDIR)$(includedir)'; for f in $(HEADERS); do \
2203 rm -f "$$f"; $(LN_S) "$(PNGLIB_BASENAME)/$$f" "$$f"; done
2204
2205uninstall-header-links:
2206 cd '$(DESTDIR)$(includedir)'; rm -f $(HEADERS)
2207
2208install-libpng-pc:
2209 @set -ex; cd '$(DESTDIR)$(pkgconfigdir)'; rm -f libpng.pc; \
2210 $(LN_S) '$(PNGLIB_BASENAME).pc' libpng.pc
2211
2212uninstall-libpng-pc:
2213 rm -f '$(DESTDIR)$(pkgconfigdir)/libpng.pc'
2214
2215install-library-links:
2216 @set -x; cd '$(DESTDIR)$(libdir)';\
2217 for ext in $(EXT_LIST); do\
2218 rm -f "libpng.$$ext";\
2219 if test -f "$(PNGLIB_BASENAME).$$ext"; then\
2220 $(LN_S) "$(PNGLIB_BASENAME).$$ext" "libpng.$$ext" || exit 1;\
2221 fi;\
The Android Open Source Project893912b2009-03-03 19:30:05 -08002222 done
2223
Sireesh Tripurarib478e662014-05-09 15:15:10 +05302224uninstall-library-links:
2225 @set -x; cd '$(DESTDIR)$(libdir)'; for ext in $(EXT_LIST); do\
2226 rm -f "libpng.$$ext"; done
2227
2228install-libpng-config:
2229 @set -ex; cd '$(DESTDIR)$(bindir)'; rm -f libpng-config; \
2230 $(LN_S) '$(PNGLIB_BASENAME)-config' libpng-config
2231
2232uninstall-libpng-config:
Chris Craikb50c2172013-07-29 15:28:30 -07002233 rm -f '$(DESTDIR)$(bindir)/libpng-config'
Sireesh Tripurarib478e662014-05-09 15:15:10 +05302234
2235# If --enable-unversioned-links is specified the header and lib file links
2236# will be automatically made on a 'make install':
2237
2238@DO_INSTALL_LINKS_TRUE@install-data-hook: install-header-links
2239@DO_INSTALL_LINKS_TRUE@uninstall-hook: uninstall-header-links
2240@DO_INSTALL_LINKS_TRUE@install-exec-hook: install-library-links
2241@DO_INSTALL_LINKS_TRUE@uninstall-hook: uninstall-library-links
2242
2243# Likewise, --install-pc causes libpng.pc to be constructed:
2244
2245@DO_INSTALL_LIBPNG_PC_TRUE@install-data-hook: install-libpng-pc
2246@DO_INSTALL_LIBPNG_PC_TRUE@uninstall-hook: uninstall-libpng-pc
2247
2248# And --install-config:
2249
2250@DO_INSTALL_LIBPNG_CONFIG_TRUE@install-exec-hook: install-libpng-config
2251@DO_INSTALL_LIBPNG_CONFIG_TRUE@uninstall-hook: uninstall-libpng-config
2252
2253# The following addition ensures that 'make all' always builds the test programs
2254# too. It used to, but some change either in libpng or configure stopped this
2255# working.
2256all-am: $(check_PROGRAMS)
Patrick Scott5f6bd842010-06-28 16:55:16 -04002257
The Android Open Source Project893912b2009-03-03 19:30:05 -08002258# Tell versions [3.59,3.63) of GNU make to not export all variables.
2259# Otherwise a system limit (for SysV at least) may be exceeded.
2260.NOEXPORT: