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