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