xref: /libtiff-4.0.7/test/Makefile.in (revision 7f67da5d)
1# Makefile.in generated by automake 1.11.3 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6# Foundation, Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18# Tag Image File Format (TIFF) Software
19#
20# Copyright (C) 2004, Andrey Kiselev <[email protected]>
21#
22# Permission to use, copy, modify, distribute, and sell this software and
23# its documentation for any purpose is hereby granted without fee, provided
24# that (i) the above copyright notices and this permission notice appear in
25# all copies of the software and related documentation, and (ii) the names of
26# Sam Leffler and Silicon Graphics may not be used in any advertising or
27# publicity relating to the software without the specific, prior written
28# permission of Sam Leffler and Silicon Graphics.
29#
30# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
31# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
32# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
33#
34# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
35# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
36# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
37# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
38# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
39# OF THIS SOFTWARE.
40
41# Process this file with automake to produce Makefile.in.
42
43VPATH = @srcdir@
44pkgdatadir = $(datadir)/@PACKAGE@
45pkgincludedir = $(includedir)/@PACKAGE@
46pkglibdir = $(libdir)/@PACKAGE@
47pkglibexecdir = $(libexecdir)/@PACKAGE@
48am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
49install_sh_DATA = $(install_sh) -c -m 644
50install_sh_PROGRAM = $(install_sh) -c
51install_sh_SCRIPT = $(install_sh) -c
52INSTALL_HEADER = $(INSTALL_DATA)
53transform = $(program_transform_name)
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
60build_triplet = @build@
61host_triplet = @host@
62XFAIL_TESTS =
63check_PROGRAMS = ascii_tag$(EXEEXT) long_tag$(EXEEXT) \
64	short_tag$(EXEEXT) strip_rw$(EXEEXT) rewrite$(EXEEXT)
65subdir = test
66DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
67	$(srcdir)/Makefile.in
68ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
69am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
70	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
71	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
72	$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
73am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
74	$(ACLOCAL_M4)
75mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
76CONFIG_HEADER = $(top_builddir)/libtiff/tif_config.h \
77	$(top_builddir)/libtiff/tiffconf.h
78CONFIG_CLEAN_FILES =
79CONFIG_CLEAN_VPATH_FILES =
80am_ascii_tag_OBJECTS = ascii_tag.$(OBJEXT)
81ascii_tag_OBJECTS = $(am_ascii_tag_OBJECTS)
82ascii_tag_DEPENDENCIES = $(LIBTIFF)
83AM_V_lt = $(am__v_lt_@AM_V@)
84am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
85am__v_lt_0 = --silent
86am_long_tag_OBJECTS = long_tag.$(OBJEXT) check_tag.$(OBJEXT)
87long_tag_OBJECTS = $(am_long_tag_OBJECTS)
88long_tag_DEPENDENCIES = $(LIBTIFF)
89am_rewrite_OBJECTS = rewrite_tag.$(OBJEXT)
90rewrite_OBJECTS = $(am_rewrite_OBJECTS)
91rewrite_DEPENDENCIES = $(LIBTIFF)
92am_short_tag_OBJECTS = short_tag.$(OBJEXT) check_tag.$(OBJEXT)
93short_tag_OBJECTS = $(am_short_tag_OBJECTS)
94short_tag_DEPENDENCIES = $(LIBTIFF)
95am_strip_rw_OBJECTS = strip_rw.$(OBJEXT) strip.$(OBJEXT) \
96	test_arrays.$(OBJEXT)
97strip_rw_OBJECTS = $(am_strip_rw_OBJECTS)
98strip_rw_DEPENDENCIES = $(LIBTIFF)
99DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/libtiff
100depcomp = $(SHELL) $(top_srcdir)/config/depcomp
101am__depfiles_maybe = depfiles
102am__mv = mv -f
103COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
104	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
105LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
106	$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
107	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
108	$(AM_CFLAGS) $(CFLAGS)
109AM_V_CC = $(am__v_CC_@AM_V@)
110am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
111am__v_CC_0 = @echo "  CC    " $@;
112AM_V_at = $(am__v_at_@AM_V@)
113am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
114am__v_at_0 = @
115CCLD = $(CC)
116LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
117	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
118	$(AM_LDFLAGS) $(LDFLAGS) -o $@
119AM_V_CCLD = $(am__v_CCLD_@AM_V@)
120am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
121am__v_CCLD_0 = @echo "  CCLD  " $@;
122AM_V_GEN = $(am__v_GEN_@AM_V@)
123am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
124am__v_GEN_0 = @echo "  GEN   " $@;
125SOURCES = $(ascii_tag_SOURCES) $(long_tag_SOURCES) $(rewrite_SOURCES) \
126	$(short_tag_SOURCES) $(strip_rw_SOURCES)
127DIST_SOURCES = $(ascii_tag_SOURCES) $(long_tag_SOURCES) \
128	$(rewrite_SOURCES) $(short_tag_SOURCES) $(strip_rw_SOURCES)
129HEADERS = $(noinst_HEADERS)
130ETAGS = etags
131CTAGS = ctags
132# If stdout is a non-dumb tty, use colors.  If test -t is not supported,
133# then this fails; a conservative approach.  Of course do not redirect
134# stdout here, just stderr.
135am__tty_colors = \
136red=; grn=; lgn=; blu=; std=; \
137test "X$(AM_COLOR_TESTS)" != Xno \
138&& test "X$$TERM" != Xdumb \
139&& { test "X$(AM_COLOR_TESTS)" = Xalways || test -t 1 2>/dev/null; } \
140&& { \
141  red=''; \
142  grn=''; \
143  lgn=''; \
144  blu=''; \
145  std=''; \
146}
147am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
148am__vpath_adj = case $$p in \
149    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
150    *) f=$$p;; \
151  esac;
152am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
153am__install_max = 40
154am__nobase_strip_setup = \
155  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
156am__nobase_strip = \
157  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
158am__nobase_list = $(am__nobase_strip_setup); \
159  for p in $$list; do echo "$$p $$p"; done | \
160  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
161  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
162    if (++n[$$2] == $(am__install_max)) \
163      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
164    END { for (dir in files) print dir, files[dir] }'
165am__base_list = \
166  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
167  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
168am__uninstall_files_from_dir = { \
169  test -z "$$files" \
170    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
171    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
172         $(am__cd) "$$dir" && rm -f $$files; }; \
173  }
174# Restructured Text title and section.
175am__rst_title = sed 's/.*/   &   /;h;s/./=/g;p;x;p;g;p;s/.*//'
176am__rst_section = sed 'p;s/./=/g;p;g'
177# Put stdin (possibly several lines separated by ".  ") in a box.
178# Prefix each line by 'col' and terminate each with 'std', for coloring.
179# Multi line coloring is problematic with "less -R", so we really need
180# to color each line individually.
181am__text_box = $(AWK) '{			\
182  n = split($$0, lines, "\\.  "); max = 0;	\
183  for (i = 1; i <= n; ++i)			\
184    if (max < length(lines[i]))			\
185      max = length(lines[i]);			\
186  for (i = 0; i < max; ++i)			\
187    line = line "=";				\
188  print col line std;				\
189  for (i = 1; i <= n; ++i)			\
190    if (lines[i])				\
191      print col lines[i] std;			\
192  print col line std;				\
193}'
194# Solaris 10 'make', and several other traditional 'make' implementations,
195# pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
196# by disabling -e (using the XSI extension "set +e") if it's set.
197am__sh_e_setup = case $$- in *e*) set +e;; esac
198# To be inserted before the command running the test.  Creates the
199# directory for the log if needed.  Stores in $dir the directory
200# containing $f, in $tst the test, in $log the log, and passes
201# TESTS_ENVIRONMENT.  Save and restore TERM around use of
202# TESTS_ENVIRONMENT, in case that unsets it.
203am__check_pre = \
204$(am__sh_e_setup);					\
205$(am__vpath_adj_setup) $(am__vpath_adj)			\
206srcdir=$(srcdir); export srcdir;			\
207rm -f $@-t;						\
208am__trap='rm -f '\''$(abs_builddir)/$@-t'\''; (exit $$st); exit $$st'; \
209trap "st=129; $$am__trap" 1; trap "st=130; $$am__trap" 2;	\
210trap "st=141; $$am__trap" 13; trap "st=143; $$am__trap" 15; \
211am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;		\
212test "x$$am__odir" = x. || $(MKDIR_P) "$$am__odir" || exit $$?;	\
213if test -f "./$$f"; then dir=./;			\
214elif test -f "$$f"; then dir=;				\
215else dir="$(srcdir)/"; fi;				\
216tst=$$dir$$f; log='$@'; __SAVED_TERM=$$TERM;		\
217$(TESTS_ENVIRONMENT)
218# To be appended to the command running the test.  Handle the stdout
219# and stderr redirection, and catch the exit status.
220am__check_post = \
221>$@-t 2>&1;						\
222estatus=$$?;						\
223if test -n '$(DISABLE_HARD_ERRORS)'			\
224   && test $$estatus -eq 99; then			\
225  estatus=1;						\
226fi;							\
227TERM=$$__SAVED_TERM; export TERM;			\
228$(am__tty_colors);					\
229xfailed=PASS;						\
230case " $(XFAIL_TESTS) " in				\
231  *[\ \	]$$f[\ \	]* | *[\ \	]$$dir$$f[\ \	]*) \
232    xfailed=XFAIL;;					\
233esac;							\
234case $$estatus.$$xfailed in				\
235    0.XFAIL) col=$$red; res=XPASS;;			\
236    0.*)     col=$$grn; res=PASS ;;			\
237    77.*)    col=$$blu; res=SKIP ;;			\
238    99.*)    col=$$red; res=FAIL ;;			\
239    *.XFAIL) col=$$lgn; res=XFAIL;;			\
240    *.*)     col=$$red; res=FAIL ;;			\
241esac;							\
242echo "$${col}$$res$${std}: $$f";			\
243echo "$$res: $$f (exit: $$estatus)" |			\
244  $(am__rst_section) >$@;				\
245cat $@-t >>$@;						\
246rm -f $@-t
247RECHECK_LOGS = $(TEST_LOGS)
248AM_RECURSIVE_TARGETS = check recheck check-html recheck-html
249TEST_SUITE_HTML = $(TEST_SUITE_LOG:.log=.html)
250TEST_SUITE_LOG = test-suite.log
251TEST_EXTENSIONS = @EXEEXT@ .test
252LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
253am__test_logs1 = $(TESTS:=.log)
254am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
255TEST_LOGS = $(am__test_logs2:.test.log=.log)
256TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
257	$(TEST_LOG_FLAGS)
258TEST_LOGS_TMP = $(TEST_LOGS:.log=.log-t)
259DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
260ACLOCAL = @ACLOCAL@
261AMTAR = @AMTAR@
262AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
263AR = @AR@
264AS = @AS@
265AUTOCONF = @AUTOCONF@
266AUTOHEADER = @AUTOHEADER@
267AUTOMAKE = @AUTOMAKE@
268AWK = @AWK@
269CC = @CC@
270CCDEPMODE = @CCDEPMODE@
271CFLAGS = @CFLAGS@
272CPP = @CPP@
273CPPFLAGS = @CPPFLAGS@
274CXX = @CXX@
275CXXCPP = @CXXCPP@
276CXXDEPMODE = @CXXDEPMODE@
277CXXFLAGS = @CXXFLAGS@
278CYGPATH_W = @CYGPATH_W@
279DEFS = @DEFS@
280DEPDIR = @DEPDIR@
281DLLTOOL = @DLLTOOL@
282DSYMUTIL = @DSYMUTIL@
283DUMPBIN = @DUMPBIN@
284ECHO_C = @ECHO_C@
285ECHO_N = @ECHO_N@
286ECHO_T = @ECHO_T@
287EGREP = @EGREP@
288EXEEXT = @EXEEXT@
289FGREP = @FGREP@
290GLUT_CFLAGS = @GLUT_CFLAGS@
291GLUT_LIBS = @GLUT_LIBS@
292GLU_CFLAGS = @GLU_CFLAGS@
293GLU_LIBS = @GLU_LIBS@
294GL_CFLAGS = @GL_CFLAGS@
295GL_LIBS = @GL_LIBS@
296GREP = @GREP@
297INSTALL = @INSTALL@
298INSTALL_DATA = @INSTALL_DATA@
299INSTALL_PROGRAM = @INSTALL_PROGRAM@
300INSTALL_SCRIPT = @INSTALL_SCRIPT@
301INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
302LD = @LD@
303LDFLAGS = @LDFLAGS@
304LIBDIR = @LIBDIR@
305LIBOBJS = @LIBOBJS@
306LIBS = @LIBS@
307LIBTIFF_ALPHA_VERSION = @LIBTIFF_ALPHA_VERSION@
308LIBTIFF_DOCDIR = @LIBTIFF_DOCDIR@
309LIBTIFF_MAJOR_VERSION = @LIBTIFF_MAJOR_VERSION@
310LIBTIFF_MICRO_VERSION = @LIBTIFF_MICRO_VERSION@
311LIBTIFF_MINOR_VERSION = @LIBTIFF_MINOR_VERSION@
312LIBTIFF_RELEASE_DATE = @LIBTIFF_RELEASE_DATE@
313LIBTIFF_VERSION = @LIBTIFF_VERSION@
314LIBTIFF_VERSION_INFO = @LIBTIFF_VERSION_INFO@
315LIBTOOL = @LIBTOOL@
316LIPO = @LIPO@
317LN_S = @LN_S@
318LTLIBOBJS = @LTLIBOBJS@
319MAINT = @MAINT@
320MAKEINFO = @MAKEINFO@
321MANIFEST_TOOL = @MANIFEST_TOOL@
322MKDIR_P = @MKDIR_P@
323NM = @NM@
324NMEDIT = @NMEDIT@
325OBJDUMP = @OBJDUMP@
326OBJEXT = @OBJEXT@
327OTOOL = @OTOOL@
328OTOOL64 = @OTOOL64@
329PACKAGE = @PACKAGE@
330PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
331PACKAGE_NAME = @PACKAGE_NAME@
332PACKAGE_STRING = @PACKAGE_STRING@
333PACKAGE_TARNAME = @PACKAGE_TARNAME@
334PACKAGE_URL = @PACKAGE_URL@
335PACKAGE_VERSION = @PACKAGE_VERSION@
336PATH_SEPARATOR = @PATH_SEPARATOR@
337PTHREAD_CC = @PTHREAD_CC@
338PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
339PTHREAD_LIBS = @PTHREAD_LIBS@
340RANLIB = @RANLIB@
341SED = @SED@
342SET_MAKE = @SET_MAKE@
343SHELL = @SHELL@
344STRIP = @STRIP@
345VERSION = @VERSION@
346XMKMF = @XMKMF@
347X_CFLAGS = @X_CFLAGS@
348X_EXTRA_LIBS = @X_EXTRA_LIBS@
349X_LIBS = @X_LIBS@
350X_PRE_LIBS = @X_PRE_LIBS@
351abs_builddir = @abs_builddir@
352abs_srcdir = @abs_srcdir@
353abs_top_builddir = @abs_top_builddir@
354abs_top_srcdir = @abs_top_srcdir@
355ac_ct_AR = @ac_ct_AR@
356ac_ct_CC = @ac_ct_CC@
357ac_ct_CXX = @ac_ct_CXX@
358ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
359am__include = @am__include@
360am__leading_dot = @am__leading_dot@
361am__quote = @am__quote@
362am__tar = @am__tar@
363am__untar = @am__untar@
364ax_pthread_config = @ax_pthread_config@
365bindir = @bindir@
366build = @build@
367build_alias = @build_alias@
368build_cpu = @build_cpu@
369build_os = @build_os@
370build_vendor = @build_vendor@
371builddir = @builddir@
372datadir = @datadir@
373datarootdir = @datarootdir@
374docdir = @docdir@
375dvidir = @dvidir@
376exec_prefix = @exec_prefix@
377host = @host@
378host_alias = @host_alias@
379host_cpu = @host_cpu@
380host_os = @host_os@
381host_vendor = @host_vendor@
382htmldir = @htmldir@
383includedir = @includedir@
384infodir = @infodir@
385install_sh = @install_sh@
386libdir = @libdir@
387libexecdir = @libexecdir@
388localedir = @localedir@
389localstatedir = @localstatedir@
390mandir = @mandir@
391mkdir_p = @mkdir_p@
392oldincludedir = @oldincludedir@
393pdfdir = @pdfdir@
394prefix = @prefix@
395program_transform_name = @program_transform_name@
396psdir = @psdir@
397sbindir = @sbindir@
398sharedstatedir = @sharedstatedir@
399srcdir = @srcdir@
400sysconfdir = @sysconfdir@
401target_alias = @target_alias@
402tiff_libs_private = @tiff_libs_private@
403top_build_prefix = @top_build_prefix@
404top_builddir = @top_builddir@
405top_srcdir = @top_srcdir@
406AUTOMAKE_OPTIONS = 1.11 color-tests parallel-tests foreign
407LIBTIFF = $(top_builddir)/libtiff/libtiff.la
408
409# Environment parameters to be used during tests
410TESTS_ENVIRONMENT = \
411	MAKE="$(MAKE)" \
412	MAKEFLAGS="$(MAKEFLAGS)" \
413	MEMCHECK="$(MEMCHECK)"
414
415EXTRA_DIST = \
416	$(TESTSCRIPTS) \
417	$(IMAGES_EXTRA_DIST) \
418	common.sh
419
420
421# All of the tests to execute via 'make check'
422TESTS = $(check_PROGRAMS) $(TESTSCRIPTS)
423
424# Extra files which should be cleaned by 'make clean'
425CLEANFILES = test_packbits.tif o-*
426
427# Test scripts to execute
428TESTSCRIPTS = \
429	bmp2tiff_palette.sh \
430	bmp2tiff_rgb.sh \
431	gif2tiff.sh \
432	ppm2tiff_pbm.sh \
433	ppm2tiff_pgm.sh \
434	ppm2tiff_ppm.sh \
435	tiffcp-g3.sh \
436	tiffcp-g3-1d.sh \
437	tiffcp-g3-1d-fill.sh \
438	tiffcp-g3-2d.sh \
439	tiffcp-g3-2d-fill.sh \
440	tiffcp-g4.sh \
441	tiffcp-logluv.sh \
442	tiffcp-thumbnail.sh \
443	tiffdump.sh \
444	tiffinfo.sh \
445	tiffcp-split.sh \
446	tiffcp-split-join.sh \
447	tiff2ps-PS1.sh \
448	tiff2ps-PS2.sh \
449	tiff2ps-PS3.sh \
450	tiff2ps-EPS1.sh \
451	tiff2pdf.sh \
452	tiffcrop-doubleflip-logluv-3c-16b.sh \
453	tiffcrop-doubleflip-minisblack-1c-16b.sh \
454	tiffcrop-doubleflip-minisblack-1c-8b.sh \
455	tiffcrop-doubleflip-minisblack-2c-8b-alpha.sh \
456	tiffcrop-doubleflip-miniswhite-1c-1b.sh \
457	tiffcrop-doubleflip-palette-1c-1b.sh \
458	tiffcrop-doubleflip-palette-1c-4b.sh \
459	tiffcrop-doubleflip-palette-1c-8b.sh \
460	tiffcrop-doubleflip-rgb-3c-16b.sh \
461	tiffcrop-doubleflip-rgb-3c-8b.sh \
462	tiffcrop-extract-logluv-3c-16b.sh \
463	tiffcrop-extract-minisblack-1c-16b.sh \
464	tiffcrop-extract-minisblack-1c-8b.sh \
465	tiffcrop-extract-minisblack-2c-8b-alpha.sh \
466	tiffcrop-extract-miniswhite-1c-1b.sh \
467	tiffcrop-extract-palette-1c-1b.sh \
468	tiffcrop-extract-palette-1c-4b.sh \
469	tiffcrop-extract-palette-1c-8b.sh \
470	tiffcrop-extract-rgb-3c-16b.sh \
471	tiffcrop-extract-rgb-3c-8b.sh \
472	tiffcrop-extractz14-logluv-3c-16b.sh \
473	tiffcrop-extractz14-minisblack-1c-16b.sh \
474	tiffcrop-extractz14-minisblack-1c-8b.sh \
475	tiffcrop-extractz14-minisblack-2c-8b-alpha.sh \
476	tiffcrop-extractz14-miniswhite-1c-1b.sh \
477	tiffcrop-extractz14-palette-1c-1b.sh \
478	tiffcrop-extractz14-palette-1c-4b.sh \
479	tiffcrop-extractz14-palette-1c-8b.sh \
480	tiffcrop-extractz14-rgb-3c-16b.sh \
481	tiffcrop-extractz14-rgb-3c-8b.sh \
482	tiffcrop-R90-logluv-3c-16b.sh \
483	tiffcrop-R90-minisblack-1c-16b.sh \
484	tiffcrop-R90-minisblack-1c-8b.sh \
485	tiffcrop-R90-minisblack-2c-8b-alpha.sh \
486	tiffcrop-R90-miniswhite-1c-1b.sh \
487	tiffcrop-R90-palette-1c-1b.sh \
488	tiffcrop-R90-palette-1c-4b.sh \
489	tiffcrop-R90-palette-1c-8b.sh \
490	tiffcrop-R90-rgb-3c-16b.sh \
491	tiffcrop-R90-rgb-3c-8b.sh \
492	tiff2rgba-logluv-3c-16b.sh \
493	tiff2rgba-minisblack-1c-16b.sh \
494	tiff2rgba-minisblack-1c-8b.sh \
495	tiff2rgba-minisblack-2c-8b-alpha.sh \
496	tiff2rgba-miniswhite-1c-1b.sh \
497	tiff2rgba-palette-1c-1b.sh \
498	tiff2rgba-palette-1c-4b.sh \
499	tiff2rgba-palette-1c-8b.sh \
500	tiff2rgba-rgb-3c-16b.sh \
501	tiff2rgba-rgb-3c-8b.sh
502
503
504# This list should contain all of the TIFF files in the 'images'
505# subdirectory which are intended to be used as input images for
506# tests.  All of these files should use the extension ".tiff".
507TIFFIMAGES = \
508	images/logluv-3c-16b.tiff \
509	images/minisblack-1c-16b.tiff \
510	images/minisblack-1c-8b.tiff \
511	images/minisblack-2c-8b-alpha.tiff \
512	images/miniswhite-1c-1b.tiff \
513	images/palette-1c-1b.tiff \
514	images/palette-1c-4b.tiff \
515	images/palette-1c-8b.tiff \
516	images/rgb-3c-16b.tiff \
517	images/rgb-3c-8b.tiff
518
519BMPIMAGES = \
520	images/palette-1c-8b.bmp \
521	images/rgb-3c-8b.bmp
522
523GIFIMAGES = \
524	images/palette-1c-8b.gif
525
526PNMIMAGES = \
527	images/minisblack-1c-8b.pgm \
528	images/miniswhite-1c-1b.pbm \
529	images/rgb-3c-8b.ppm
530
531
532# This list should include all of the files in the 'images'
533# subdirectory which are intended to be distributed.  This may include
534# files which are not currently used by the tests.
535IMAGES_EXTRA_DIST = \
536	images/README.txt \
537	$(BMPIMAGES) \
538	$(GIFIMAGES) \
539	$(PNMIMAGES) \
540	$(TIFFIMAGES)
541
542noinst_HEADERS = tifftest.h
543ascii_tag_SOURCES = ascii_tag.c
544ascii_tag_LDADD = $(LIBTIFF)
545long_tag_SOURCES = long_tag.c check_tag.c
546long_tag_LDADD = $(LIBTIFF)
547short_tag_SOURCES = short_tag.c check_tag.c
548short_tag_LDADD = $(LIBTIFF)
549strip_rw_SOURCES = strip_rw.c strip.c test_arrays.c test_arrays.h
550strip_rw_LDADD = $(LIBTIFF)
551rewrite_SOURCES = rewrite_tag.c
552rewrite_LDADD = $(LIBTIFF)
553INCLUDES = -I$(top_srcdir)/libtiff
554all: all-am
555
556.SUFFIXES:
557.SUFFIXES: .c .html .lo .log .o .obj .test .test$(EXEEXT)
558$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
559	@for dep in $?; do \
560	  case '$(am__configure_deps)' in \
561	    *$$dep*) \
562	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
563	        && { if test -f $@; then exit 0; else break; fi; }; \
564	      exit 1;; \
565	  esac; \
566	done; \
567	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/Makefile'; \
568	$(am__cd) $(top_srcdir) && \
569	  $(AUTOMAKE) --foreign test/Makefile
570.PRECIOUS: Makefile
571Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
572	@case '$?' in \
573	  *config.status*) \
574	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
575	  *) \
576	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
577	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
578	esac;
579
580$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
581	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
582
583$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
584	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
585$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
586	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
587$(am__aclocal_m4_deps):
588
589clean-checkPROGRAMS:
590	@list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
591	echo " rm -f" $$list; \
592	rm -f $$list || exit $$?; \
593	test -n "$(EXEEXT)" || exit 0; \
594	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
595	echo " rm -f" $$list; \
596	rm -f $$list
597ascii_tag$(EXEEXT): $(ascii_tag_OBJECTS) $(ascii_tag_DEPENDENCIES) $(EXTRA_ascii_tag_DEPENDENCIES)
598	@rm -f ascii_tag$(EXEEXT)
599	$(AM_V_CCLD)$(LINK) $(ascii_tag_OBJECTS) $(ascii_tag_LDADD) $(LIBS)
600long_tag$(EXEEXT): $(long_tag_OBJECTS) $(long_tag_DEPENDENCIES) $(EXTRA_long_tag_DEPENDENCIES)
601	@rm -f long_tag$(EXEEXT)
602	$(AM_V_CCLD)$(LINK) $(long_tag_OBJECTS) $(long_tag_LDADD) $(LIBS)
603rewrite$(EXEEXT): $(rewrite_OBJECTS) $(rewrite_DEPENDENCIES) $(EXTRA_rewrite_DEPENDENCIES)
604	@rm -f rewrite$(EXEEXT)
605	$(AM_V_CCLD)$(LINK) $(rewrite_OBJECTS) $(rewrite_LDADD) $(LIBS)
606short_tag$(EXEEXT): $(short_tag_OBJECTS) $(short_tag_DEPENDENCIES) $(EXTRA_short_tag_DEPENDENCIES)
607	@rm -f short_tag$(EXEEXT)
608	$(AM_V_CCLD)$(LINK) $(short_tag_OBJECTS) $(short_tag_LDADD) $(LIBS)
609strip_rw$(EXEEXT): $(strip_rw_OBJECTS) $(strip_rw_DEPENDENCIES) $(EXTRA_strip_rw_DEPENDENCIES)
610	@rm -f strip_rw$(EXEEXT)
611	$(AM_V_CCLD)$(LINK) $(strip_rw_OBJECTS) $(strip_rw_LDADD) $(LIBS)
612
613mostlyclean-compile:
614	-rm -f *.$(OBJEXT)
615
616distclean-compile:
617	-rm -f *.tab.c
618
619@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ascii_tag.Po@am__quote@
620@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/check_tag.Po@am__quote@
621@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/long_tag.Po@am__quote@
622@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rewrite_tag.Po@am__quote@
623@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/short_tag.Po@am__quote@
624@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strip.Po@am__quote@
625@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strip_rw.Po@am__quote@
626@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_arrays.Po@am__quote@
627
628.c.o:
629@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
630@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
631@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
632@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
633@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
634
635.c.obj:
636@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
637@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
638@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
639@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
640@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
641
642.c.lo:
643@am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
644@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
645@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
646@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
647@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
648
649mostlyclean-libtool:
650	-rm -f *.lo
651
652clean-libtool:
653	-rm -rf .libs _libs
654
655ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
656	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
657	unique=`for i in $$list; do \
658	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
659	  done | \
660	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
661	      END { if (nonempty) { for (i in files) print i; }; }'`; \
662	mkid -fID $$unique
663tags: TAGS
664
665TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
666		$(TAGS_FILES) $(LISP)
667	set x; \
668	here=`pwd`; \
669	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
670	unique=`for i in $$list; do \
671	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
672	  done | \
673	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
674	      END { if (nonempty) { for (i in files) print i; }; }'`; \
675	shift; \
676	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
677	  test -n "$$unique" || unique=$$empty_fix; \
678	  if test $$# -gt 0; then \
679	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
680	      "$$@" $$unique; \
681	  else \
682	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
683	      $$unique; \
684	  fi; \
685	fi
686ctags: CTAGS
687CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
688		$(TAGS_FILES) $(LISP)
689	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
690	unique=`for i in $$list; do \
691	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
692	  done | \
693	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
694	      END { if (nonempty) { for (i in files) print i; }; }'`; \
695	test -z "$(CTAGS_ARGS)$$unique" \
696	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
697	     $$unique
698
699GTAGS:
700	here=`$(am__cd) $(top_builddir) && pwd` \
701	  && $(am__cd) $(top_srcdir) \
702	  && gtags -i $(GTAGS_ARGS) "$$here"
703
704distclean-tags:
705	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
706
707$(TEST_SUITE_LOG): $(TEST_LOGS)
708	@$(am__sh_e_setup);						\
709	list='$(TEST_LOGS)';						\
710	results=`for f in $$list; do					\
711		   test -r $$f && read line < $$f && echo "$$line"	\
712		     || echo FAIL;					\
713		 done`;							\
714	all=`echo "$$results" | sed '/^$$/d' | wc -l | sed -e 's/^[	 ]*//'`; \
715	fail=`echo "$$results" | grep -c '^FAIL'`;			\
716	pass=`echo "$$results" | grep -c '^PASS'`;			\
717	skip=`echo "$$results" | grep -c '^SKIP'`;			\
718	xfail=`echo "$$results" | grep -c '^XFAIL'`;			\
719	xpass=`echo "$$results" | grep -c '^XPASS'`;			\
720	failures=`expr $$fail + $$xpass`;				\
721	all=`expr $$all - $$skip`;					\
722	if test "$$all" -eq 1; then tests=test; All=;			\
723	else tests=tests; All="All "; fi;				\
724	case fail=$$fail:xpass=$$xpass:xfail=$$xfail in			\
725	  fail=0:xpass=0:xfail=0)					\
726	    msg="$$All$$all $$tests passed.  ";				\
727	    exit=true;;							\
728	  fail=0:xpass=0:xfail=*)					\
729	    msg="$$All$$all $$tests behaved as expected";		\
730	    if test "$$xfail" -eq 1; then xfailures=failure;		\
731	    else xfailures=failures; fi;				\
732	    msg="$$msg ($$xfail expected $$xfailures).  ";		\
733	    exit=true;;							\
734	  fail=*:xpass=0:xfail=*)					\
735	    msg="$$fail of $$all $$tests failed.  ";			\
736	    exit=false;;						\
737	  fail=*:xpass=*:xfail=*)					\
738	    msg="$$failures of $$all $$tests did not behave as expected"; \
739	    if test "$$xpass" -eq 1; then xpasses=pass;			\
740	    else xpasses=passes; fi;					\
741	    msg="$$msg ($$xpass unexpected $$xpasses).  ";		\
742	    exit=false;;						\
743	  *)								\
744	    echo >&2 "incorrect case"; exit 4;;				\
745	esac;								\
746	if test "$$skip" -ne 0; then					\
747	  if test "$$skip" -eq 1; then					\
748	    msg="$$msg($$skip test was not run).  ";			\
749	  else								\
750	    msg="$$msg($$skip tests were not run).  ";			\
751	  fi;								\
752	fi;								\
753	{								\
754	  echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |	\
755	    $(am__rst_title);						\
756	  echo "$$msg";							\
757	  echo;								\
758	  echo ".. contents:: :depth: 2";				\
759	  echo;								\
760	  for f in $$list; do						\
761	    test -r $$f && read line < $$f || line=;			\
762	    case $$line in						\
763	      PASS:*|XFAIL:*);;						\
764	      *) echo; cat $$f;;					\
765	    esac;							\
766	  done;								\
767	} >$(TEST_SUITE_LOG).tmp;					\
768	mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);			\
769	if test "$$failures" -ne 0; then				\
770	  msg="$${msg}See $(subdir)/$(TEST_SUITE_LOG).  ";		\
771	  if test -n "$(PACKAGE_BUGREPORT)"; then			\
772	    msg="$${msg}Please report to $(PACKAGE_BUGREPORT).  ";	\
773	  fi;								\
774	fi;								\
775	test x"$$VERBOSE" = x || $$exit || cat $(TEST_SUITE_LOG);	\
776	$(am__tty_colors);						\
777	if $$exit; then							\
778	  col="$$grn";							\
779	 else								\
780	  col="$$red";							\
781	fi;								\
782	echo "$$msg" | $(am__text_box) "col=$$col" "std=$$std";		\
783	$$exit || exit 1
784
785check-TESTS recheck:
786	@if test $@ != recheck; then \
787	   list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list; \
788	 fi
789	@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
790	@list='' list2='$(TEST_LOGS)'; for f in $$list2; do \
791	  test .log = $$f && continue; \
792	  if test $@ = recheck; then \
793	    test -f $$f || continue; \
794	    if test -r $$f && read line < $$f; then \
795	      case $$line in FAIL*|XPASS*) : ;; *) continue;; esac; \
796	    fi; \
797	  fi; \
798	  if test -z "$$list"; then list=$$f; else list="$$list $$f"; fi; \
799	done; \
800	if test $@ = recheck && test -n "$$list"; then \
801	  echo "am--clean: ; rm -f $$list" \
802	    | $(MAKE) $(AM_MAKEFLAGS) -f - am--clean || exit 1; \
803	fi; \
804	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$list"
805recheck: $(check_PROGRAMS)
806
807am--mostlyclean-test-html:
808	list='$(TEST_LOGS:.log=.html)'; test -z "$$list" || rm -f $$list
809	rm -f $(TEST_SUITE_HTML)
810
811.log.html:
812	@list='$(RST2HTML) $$RST2HTML rst2html rst2html.py';		\
813	for r2h in $$list; do						\
814	  if ($$r2h --version) >/dev/null 2>&1; then			\
815	    R2H=$$r2h;							\
816	  fi;								\
817	done;								\
818	if test -z "$$R2H"; then					\
819	  echo >&2 "cannot find rst2html, cannot create $@";		\
820	  exit 2;							\
821	fi;								\
822	$$R2H $< >$@.tmp
823	@mv $@.tmp $@
824
825# Be sure to run check first, and then to convert the result.
826# Beware of concurrent executions.  Run "check" not "check-TESTS", as
827# check-SCRIPTS and other dependencies are rebuilt by the former only.
828# And expect check to fail.
829check-html recheck-html:
830	@target=`echo $@ | sed 's/-html$$//'`; \
831	rv=0; $(MAKE) $(AM_MAKEFLAGS) $$target || rv=$$?; \
832	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_HTML) TEST_LOGS= || exit 4; \
833	exit $$rv
834ascii_tag.log: ascii_tag$(EXEEXT)
835	@p='ascii_tag$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
836long_tag.log: long_tag$(EXEEXT)
837	@p='long_tag$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
838short_tag.log: short_tag$(EXEEXT)
839	@p='short_tag$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
840strip_rw.log: strip_rw$(EXEEXT)
841	@p='strip_rw$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
842rewrite.log: rewrite$(EXEEXT)
843	@p='rewrite$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
844bmp2tiff_palette.sh.log: bmp2tiff_palette.sh
845	@p='bmp2tiff_palette.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
846bmp2tiff_rgb.sh.log: bmp2tiff_rgb.sh
847	@p='bmp2tiff_rgb.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
848gif2tiff.sh.log: gif2tiff.sh
849	@p='gif2tiff.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
850ppm2tiff_pbm.sh.log: ppm2tiff_pbm.sh
851	@p='ppm2tiff_pbm.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
852ppm2tiff_pgm.sh.log: ppm2tiff_pgm.sh
853	@p='ppm2tiff_pgm.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
854ppm2tiff_ppm.sh.log: ppm2tiff_ppm.sh
855	@p='ppm2tiff_ppm.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
856tiffcp-g3.sh.log: tiffcp-g3.sh
857	@p='tiffcp-g3.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
858tiffcp-g3-1d.sh.log: tiffcp-g3-1d.sh
859	@p='tiffcp-g3-1d.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
860tiffcp-g3-1d-fill.sh.log: tiffcp-g3-1d-fill.sh
861	@p='tiffcp-g3-1d-fill.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
862tiffcp-g3-2d.sh.log: tiffcp-g3-2d.sh
863	@p='tiffcp-g3-2d.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
864tiffcp-g3-2d-fill.sh.log: tiffcp-g3-2d-fill.sh
865	@p='tiffcp-g3-2d-fill.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
866tiffcp-g4.sh.log: tiffcp-g4.sh
867	@p='tiffcp-g4.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
868tiffcp-logluv.sh.log: tiffcp-logluv.sh
869	@p='tiffcp-logluv.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
870tiffcp-thumbnail.sh.log: tiffcp-thumbnail.sh
871	@p='tiffcp-thumbnail.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
872tiffdump.sh.log: tiffdump.sh
873	@p='tiffdump.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
874tiffinfo.sh.log: tiffinfo.sh
875	@p='tiffinfo.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
876tiffcp-split.sh.log: tiffcp-split.sh
877	@p='tiffcp-split.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
878tiffcp-split-join.sh.log: tiffcp-split-join.sh
879	@p='tiffcp-split-join.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
880tiff2ps-PS1.sh.log: tiff2ps-PS1.sh
881	@p='tiff2ps-PS1.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
882tiff2ps-PS2.sh.log: tiff2ps-PS2.sh
883	@p='tiff2ps-PS2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
884tiff2ps-PS3.sh.log: tiff2ps-PS3.sh
885	@p='tiff2ps-PS3.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
886tiff2ps-EPS1.sh.log: tiff2ps-EPS1.sh
887	@p='tiff2ps-EPS1.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
888tiff2pdf.sh.log: tiff2pdf.sh
889	@p='tiff2pdf.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
890tiffcrop-doubleflip-logluv-3c-16b.sh.log: tiffcrop-doubleflip-logluv-3c-16b.sh
891	@p='tiffcrop-doubleflip-logluv-3c-16b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
892tiffcrop-doubleflip-minisblack-1c-16b.sh.log: tiffcrop-doubleflip-minisblack-1c-16b.sh
893	@p='tiffcrop-doubleflip-minisblack-1c-16b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
894tiffcrop-doubleflip-minisblack-1c-8b.sh.log: tiffcrop-doubleflip-minisblack-1c-8b.sh
895	@p='tiffcrop-doubleflip-minisblack-1c-8b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
896tiffcrop-doubleflip-minisblack-2c-8b-alpha.sh.log: tiffcrop-doubleflip-minisblack-2c-8b-alpha.sh
897	@p='tiffcrop-doubleflip-minisblack-2c-8b-alpha.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
898tiffcrop-doubleflip-miniswhite-1c-1b.sh.log: tiffcrop-doubleflip-miniswhite-1c-1b.sh
899	@p='tiffcrop-doubleflip-miniswhite-1c-1b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
900tiffcrop-doubleflip-palette-1c-1b.sh.log: tiffcrop-doubleflip-palette-1c-1b.sh
901	@p='tiffcrop-doubleflip-palette-1c-1b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
902tiffcrop-doubleflip-palette-1c-4b.sh.log: tiffcrop-doubleflip-palette-1c-4b.sh
903	@p='tiffcrop-doubleflip-palette-1c-4b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
904tiffcrop-doubleflip-palette-1c-8b.sh.log: tiffcrop-doubleflip-palette-1c-8b.sh
905	@p='tiffcrop-doubleflip-palette-1c-8b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
906tiffcrop-doubleflip-rgb-3c-16b.sh.log: tiffcrop-doubleflip-rgb-3c-16b.sh
907	@p='tiffcrop-doubleflip-rgb-3c-16b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
908tiffcrop-doubleflip-rgb-3c-8b.sh.log: tiffcrop-doubleflip-rgb-3c-8b.sh
909	@p='tiffcrop-doubleflip-rgb-3c-8b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
910tiffcrop-extract-logluv-3c-16b.sh.log: tiffcrop-extract-logluv-3c-16b.sh
911	@p='tiffcrop-extract-logluv-3c-16b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
912tiffcrop-extract-minisblack-1c-16b.sh.log: tiffcrop-extract-minisblack-1c-16b.sh
913	@p='tiffcrop-extract-minisblack-1c-16b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
914tiffcrop-extract-minisblack-1c-8b.sh.log: tiffcrop-extract-minisblack-1c-8b.sh
915	@p='tiffcrop-extract-minisblack-1c-8b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
916tiffcrop-extract-minisblack-2c-8b-alpha.sh.log: tiffcrop-extract-minisblack-2c-8b-alpha.sh
917	@p='tiffcrop-extract-minisblack-2c-8b-alpha.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
918tiffcrop-extract-miniswhite-1c-1b.sh.log: tiffcrop-extract-miniswhite-1c-1b.sh
919	@p='tiffcrop-extract-miniswhite-1c-1b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
920tiffcrop-extract-palette-1c-1b.sh.log: tiffcrop-extract-palette-1c-1b.sh
921	@p='tiffcrop-extract-palette-1c-1b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
922tiffcrop-extract-palette-1c-4b.sh.log: tiffcrop-extract-palette-1c-4b.sh
923	@p='tiffcrop-extract-palette-1c-4b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
924tiffcrop-extract-palette-1c-8b.sh.log: tiffcrop-extract-palette-1c-8b.sh
925	@p='tiffcrop-extract-palette-1c-8b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
926tiffcrop-extract-rgb-3c-16b.sh.log: tiffcrop-extract-rgb-3c-16b.sh
927	@p='tiffcrop-extract-rgb-3c-16b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
928tiffcrop-extract-rgb-3c-8b.sh.log: tiffcrop-extract-rgb-3c-8b.sh
929	@p='tiffcrop-extract-rgb-3c-8b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
930tiffcrop-extractz14-logluv-3c-16b.sh.log: tiffcrop-extractz14-logluv-3c-16b.sh
931	@p='tiffcrop-extractz14-logluv-3c-16b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
932tiffcrop-extractz14-minisblack-1c-16b.sh.log: tiffcrop-extractz14-minisblack-1c-16b.sh
933	@p='tiffcrop-extractz14-minisblack-1c-16b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
934tiffcrop-extractz14-minisblack-1c-8b.sh.log: tiffcrop-extractz14-minisblack-1c-8b.sh
935	@p='tiffcrop-extractz14-minisblack-1c-8b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
936tiffcrop-extractz14-minisblack-2c-8b-alpha.sh.log: tiffcrop-extractz14-minisblack-2c-8b-alpha.sh
937	@p='tiffcrop-extractz14-minisblack-2c-8b-alpha.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
938tiffcrop-extractz14-miniswhite-1c-1b.sh.log: tiffcrop-extractz14-miniswhite-1c-1b.sh
939	@p='tiffcrop-extractz14-miniswhite-1c-1b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
940tiffcrop-extractz14-palette-1c-1b.sh.log: tiffcrop-extractz14-palette-1c-1b.sh
941	@p='tiffcrop-extractz14-palette-1c-1b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
942tiffcrop-extractz14-palette-1c-4b.sh.log: tiffcrop-extractz14-palette-1c-4b.sh
943	@p='tiffcrop-extractz14-palette-1c-4b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
944tiffcrop-extractz14-palette-1c-8b.sh.log: tiffcrop-extractz14-palette-1c-8b.sh
945	@p='tiffcrop-extractz14-palette-1c-8b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
946tiffcrop-extractz14-rgb-3c-16b.sh.log: tiffcrop-extractz14-rgb-3c-16b.sh
947	@p='tiffcrop-extractz14-rgb-3c-16b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
948tiffcrop-extractz14-rgb-3c-8b.sh.log: tiffcrop-extractz14-rgb-3c-8b.sh
949	@p='tiffcrop-extractz14-rgb-3c-8b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
950tiffcrop-R90-logluv-3c-16b.sh.log: tiffcrop-R90-logluv-3c-16b.sh
951	@p='tiffcrop-R90-logluv-3c-16b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
952tiffcrop-R90-minisblack-1c-16b.sh.log: tiffcrop-R90-minisblack-1c-16b.sh
953	@p='tiffcrop-R90-minisblack-1c-16b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
954tiffcrop-R90-minisblack-1c-8b.sh.log: tiffcrop-R90-minisblack-1c-8b.sh
955	@p='tiffcrop-R90-minisblack-1c-8b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
956tiffcrop-R90-minisblack-2c-8b-alpha.sh.log: tiffcrop-R90-minisblack-2c-8b-alpha.sh
957	@p='tiffcrop-R90-minisblack-2c-8b-alpha.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
958tiffcrop-R90-miniswhite-1c-1b.sh.log: tiffcrop-R90-miniswhite-1c-1b.sh
959	@p='tiffcrop-R90-miniswhite-1c-1b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
960tiffcrop-R90-palette-1c-1b.sh.log: tiffcrop-R90-palette-1c-1b.sh
961	@p='tiffcrop-R90-palette-1c-1b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
962tiffcrop-R90-palette-1c-4b.sh.log: tiffcrop-R90-palette-1c-4b.sh
963	@p='tiffcrop-R90-palette-1c-4b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
964tiffcrop-R90-palette-1c-8b.sh.log: tiffcrop-R90-palette-1c-8b.sh
965	@p='tiffcrop-R90-palette-1c-8b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
966tiffcrop-R90-rgb-3c-16b.sh.log: tiffcrop-R90-rgb-3c-16b.sh
967	@p='tiffcrop-R90-rgb-3c-16b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
968tiffcrop-R90-rgb-3c-8b.sh.log: tiffcrop-R90-rgb-3c-8b.sh
969	@p='tiffcrop-R90-rgb-3c-8b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
970tiff2rgba-logluv-3c-16b.sh.log: tiff2rgba-logluv-3c-16b.sh
971	@p='tiff2rgba-logluv-3c-16b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
972tiff2rgba-minisblack-1c-16b.sh.log: tiff2rgba-minisblack-1c-16b.sh
973	@p='tiff2rgba-minisblack-1c-16b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
974tiff2rgba-minisblack-1c-8b.sh.log: tiff2rgba-minisblack-1c-8b.sh
975	@p='tiff2rgba-minisblack-1c-8b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
976tiff2rgba-minisblack-2c-8b-alpha.sh.log: tiff2rgba-minisblack-2c-8b-alpha.sh
977	@p='tiff2rgba-minisblack-2c-8b-alpha.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
978tiff2rgba-miniswhite-1c-1b.sh.log: tiff2rgba-miniswhite-1c-1b.sh
979	@p='tiff2rgba-miniswhite-1c-1b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
980tiff2rgba-palette-1c-1b.sh.log: tiff2rgba-palette-1c-1b.sh
981	@p='tiff2rgba-palette-1c-1b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
982tiff2rgba-palette-1c-4b.sh.log: tiff2rgba-palette-1c-4b.sh
983	@p='tiff2rgba-palette-1c-4b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
984tiff2rgba-palette-1c-8b.sh.log: tiff2rgba-palette-1c-8b.sh
985	@p='tiff2rgba-palette-1c-8b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
986tiff2rgba-rgb-3c-16b.sh.log: tiff2rgba-rgb-3c-16b.sh
987	@p='tiff2rgba-rgb-3c-16b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
988tiff2rgba-rgb-3c-8b.sh.log: tiff2rgba-rgb-3c-8b.sh
989	@p='tiff2rgba-rgb-3c-8b.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
990.test.log:
991	@p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
992@am__EXEEXT_TRUE@.test$(EXEEXT).log:
993@am__EXEEXT_TRUE@	@p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
994
995distdir: $(DISTFILES)
996	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
997	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
998	list='$(DISTFILES)'; \
999	  dist_files=`for file in $$list; do echo $$file; done | \
1000	  sed -e "s|^$$srcdirstrip/||;t" \
1001	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1002	case $$dist_files in \
1003	  */*) $(MKDIR_P) `echo "$$dist_files" | \
1004			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1005			   sort -u` ;; \
1006	esac; \
1007	for file in $$dist_files; do \
1008	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1009	  if test -d $$d/$$file; then \
1010	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1011	    if test -d "$(distdir)/$$file"; then \
1012	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1013	    fi; \
1014	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1015	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1016	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1017	    fi; \
1018	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1019	  else \
1020	    test -f "$(distdir)/$$file" \
1021	    || cp -p $$d/$$file "$(distdir)/$$file" \
1022	    || exit 1; \
1023	  fi; \
1024	done
1025check-am: all-am
1026	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1027	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
1028check: check-am
1029all-am: Makefile $(HEADERS)
1030installdirs:
1031install: install-am
1032install-exec: install-exec-am
1033install-data: install-data-am
1034uninstall: uninstall-am
1035
1036install-am: all-am
1037	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1038
1039installcheck: installcheck-am
1040install-strip:
1041	if test -z '$(STRIP)'; then \
1042	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1043	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1044	      install; \
1045	else \
1046	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1047	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1048	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1049	fi
1050mostlyclean-generic:
1051	-test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1052	-test -z "$(TEST_LOGS_TMP)" || rm -f $(TEST_LOGS_TMP)
1053	-test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1054
1055clean-generic:
1056	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1057
1058distclean-generic:
1059	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1060	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1061
1062maintainer-clean-generic:
1063	@echo "This command is intended for maintainers to use"
1064	@echo "it deletes files that may require special tools to rebuild."
1065clean: clean-am
1066
1067clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
1068	mostlyclean-am
1069
1070distclean: distclean-am
1071	-rm -rf ./$(DEPDIR)
1072	-rm -f Makefile
1073distclean-am: clean-am distclean-compile distclean-generic \
1074	distclean-tags
1075
1076dvi: dvi-am
1077
1078dvi-am:
1079
1080html: html-am
1081
1082html-am:
1083
1084info: info-am
1085
1086info-am:
1087
1088install-data-am:
1089
1090install-dvi: install-dvi-am
1091
1092install-dvi-am:
1093
1094install-exec-am:
1095
1096install-html: install-html-am
1097
1098install-html-am:
1099
1100install-info: install-info-am
1101
1102install-info-am:
1103
1104install-man:
1105
1106install-pdf: install-pdf-am
1107
1108install-pdf-am:
1109
1110install-ps: install-ps-am
1111
1112install-ps-am:
1113
1114installcheck-am:
1115
1116maintainer-clean: maintainer-clean-am
1117	-rm -rf ./$(DEPDIR)
1118	-rm -f Makefile
1119maintainer-clean-am: distclean-am maintainer-clean-generic
1120
1121mostlyclean: mostlyclean-am
1122
1123mostlyclean-am: am--mostlyclean-test-html mostlyclean-compile \
1124	mostlyclean-generic mostlyclean-libtool
1125
1126pdf: pdf-am
1127
1128pdf-am:
1129
1130ps: ps-am
1131
1132ps-am:
1133
1134uninstall-am:
1135
1136.MAKE: check-am check-html install-am install-strip recheck-html
1137
1138.PHONY: CTAGS GTAGS all all-am am--mostlyclean-test-html check \
1139	check-TESTS check-am check-html clean clean-checkPROGRAMS \
1140	clean-generic clean-libtool ctags distclean distclean-compile \
1141	distclean-generic distclean-libtool distclean-tags distdir dvi \
1142	dvi-am html html-am info info-am install install-am \
1143	install-data install-data-am install-dvi install-dvi-am \
1144	install-exec install-exec-am install-html install-html-am \
1145	install-info install-info-am install-man install-pdf \
1146	install-pdf-am install-ps install-ps-am install-strip \
1147	installcheck installcheck-am installdirs maintainer-clean \
1148	maintainer-clean-generic mostlyclean mostlyclean-compile \
1149	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1150	recheck recheck-html tags uninstall uninstall-am
1151
1152
1153# memcheck: valgrind's memory access checker
1154memcheck:
1155	$(MAKE) MEMCHECK='valgrind --tool=memcheck --leak-check=full --read-var-info=yes --track-origins=yes --num-callers=12 --quiet $(VALGRIND_EXTRA_OPTS)' check
1156
1157# ptrcheck: valgrind's experimental pointer checking tool.
1158ptrcheck:
1159	$(MAKE) MEMCHECK='valgrind --tool=exp-ptrcheck --quiet $(VALGRIND_EXTRA_OPTS)' check
1160
1161generate-tiff2rgba-tests:
1162	for file in $(TIFFIMAGES) ; \
1163	do \
1164	base=`basename $$file .tiff` ; \
1165	testscript=$(srcdir)/tiff2rgba-$$base.sh ; \
1166	( \
1167	  echo "#!/bin/sh" ; \
1168	  echo "# Generated file, master is Makefile.am" ; \
1169	  echo ". \$${srcdir:-.}/common.sh" ; \
1170	  echo "infile=\"\$$srcdir/$$file\"" ; \
1171	  echo "outfile=\"o-tiff2rgba-$$base.tiff\"" ; \
1172	  echo "f_test_convert \"\$$TIFF2RGBA\" \$$infile \$$outfile" ; \
1173	  echo "f_tiffinfo_validate \$$outfile" ; \
1174	) > $$testscript ; \
1175	chmod +x $$testscript ; \
1176	done
1177
1178# Test rotations
1179generate-tiffcrop-R90-tests:
1180	for file in $(TIFFIMAGES) ; \
1181	do \
1182	base=`basename $$file .tiff` ; \
1183	testscript=$(srcdir)/tiffcrop-R90-$$base.sh ; \
1184	( \
1185	  echo "#!/bin/sh" ; \
1186	  echo "# Generated file, master is Makefile.am" ; \
1187	  echo ". \$${srcdir:-.}/common.sh" ; \
1188	  echo "infile=\"\$$srcdir/$$file\"" ; \
1189	  echo "outfile=\"o-tiffcrop-R90-$$base.tiff\"" ; \
1190	  echo "f_test_convert \"\$$TIFFCROP -R90\" \$$infile \$$outfile" ; \
1191	  echo "f_tiffinfo_validate \$$outfile" ; \
1192	) > $$testscript ; \
1193	chmod +x $$testscript ; \
1194	done
1195
1196# Test flip (mirror)
1197generate-tiffcrop-doubleflip-tests:
1198	for file in $(TIFFIMAGES) ; \
1199	do \
1200	base=`basename $$file .tiff` ; \
1201	testscript=$(srcdir)/tiffcrop-doubleflip-$$base.sh ; \
1202	( \
1203	  echo "#!/bin/sh" ; \
1204	  echo "# Generated file, master is Makefile.am" ; \
1205	  echo ". \$${srcdir:-.}/common.sh" ; \
1206	  echo "infile=\"\$$srcdir/$$file\"" ; \
1207	  echo "outfile=\"o-tiffcrop-doubleflip-$$base.tiff\"" ; \
1208	  echo "f_test_convert \"\$$TIFFCROP -F both\" \$$infile \$$outfile" ; \
1209	  echo "f_tiffinfo_validate \$$outfile" ; \
1210	) > $$testscript ; \
1211	chmod +x $$testscript ; \
1212	done
1213
1214# Test extracting a section 100 pixels wide and 100 pixels high
1215generate-tiffcrop-extract-tests:
1216	for file in $(TIFFIMAGES) ; \
1217	do \
1218	base=`basename $$file .tiff` ; \
1219	testscript=$(srcdir)/tiffcrop-extract-$$base.sh ; \
1220	( \
1221	  echo "#!/bin/sh" ; \
1222	  echo "# Generated file, master is Makefile.am" ; \
1223	  echo ". \$${srcdir:-.}/common.sh" ; \
1224	  echo "infile=\"\$$srcdir/$$file\"" ; \
1225	  echo "outfile=\"o-tiffcrop-extract-$$base.tiff\"" ; \
1226	  echo "f_test_convert \"\$$TIFFCROP -U px -E top -X 60 -Y 60\" \$$infile \$$outfile" ; \
1227	  echo "f_tiffinfo_validate \$$outfile" ; \
1228	) > $$testscript ; \
1229	chmod +x $$testscript ; \
1230	done
1231
1232# Test extracting the first and fourth quarters from the left side.
1233generate-tiffcrop-extractz14-tests:
1234	for file in $(TIFFIMAGES) ; \
1235	do \
1236	base=`basename $$file .tiff` ; \
1237	testscript=$(srcdir)/tiffcrop-extractz14-$$base.sh ; \
1238	( \
1239	  echo "#!/bin/sh" ; \
1240	  echo "# Generated file, master is Makefile.am" ; \
1241	  echo ". \$${srcdir:-.}/common.sh" ; \
1242	  echo "infile=\"\$$srcdir/$$file\"" ; \
1243	  echo "outfile=\"o-tiffcrop-extractz14-$$base.tiff\"" ; \
1244	  echo "f_test_convert \"\$$TIFFCROP -E left -Z1:4,2:4\" \$$infile \$$outfile" ; \
1245	  echo "f_tiffinfo_validate \$$outfile" ; \
1246	) > $$testscript ; \
1247	chmod +x $$testscript ; \
1248	done
1249
1250generate-tiffcrop-tests: \
1251	generate-tiffcrop-R90-tests \
1252	generate-tiffcrop-doubleflip-tests \
1253	generate-tiffcrop-extract-tests \
1254	generate-tiffcrop-extractz14-tests
1255
1256generate-tests: \
1257	generate-tiff2rgba-tests \
1258	generate-tiffcrop-tests
1259
1260# Tell versions [3.59,3.63) of GNU make to not export all variables.
1261# Otherwise a system limit (for SysV at least) may be exceeded.
1262.NOEXPORT:
1263