xref: /libtiff-4.0.7/test/Makefile.am (revision a042a8d4)
1# Tag Image File Format (TIFF) Software
2#
3# Copyright (C) 2004, Andrey Kiselev <[email protected]>
4#
5# Permission to use, copy, modify, distribute, and sell this software and
6# its documentation for any purpose is hereby granted without fee, provided
7# that (i) the above copyright notices and this permission notice appear in
8# all copies of the software and related documentation, and (ii) the names of
9# Sam Leffler and Silicon Graphics may not be used in any advertising or
10# publicity relating to the software without the specific, prior written
11# permission of Sam Leffler and Silicon Graphics.
12#
13# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
14# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
15# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
16#
17# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
18# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
19# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
20# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
21# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
22# OF THIS SOFTWARE.
23
24# Process this file with automake to produce Makefile.in.
25
26LIBTIFF = $(top_builddir)/libtiff/libtiff.la
27
28EXTRA_DIST = \
29	$(TESTSCRIPTS) \
30	$(IMAGES) \
31	common.sh
32
33# All of the tests to execute via 'make check'
34TESTS = $(check_PROGRAMS) $(TESTSCRIPTS)
35
36CLEANFILES = test_packbits.tif deleteme*
37
38# Executable programs which need to be built in order to support tests
39check_PROGRAMS = ascii_tag long_tag short_tag strip_rw rewrite
40
41# Test scripts to execute
42TESTSCRIPTS = \
43	tiffcp-g3.sh \
44	tiffcp-g3-1d.sh \
45	tiffcp-g3-1d-fill.sh \
46	tiffcp-g3-2d.sh \
47	tiffcp-g3-2d-fill.sh \
48	tiffcp-g4.sh \
49	tiffcp-thumbnail.sh \
50	tiffdump.sh \
51	tiffinfo.sh \
52	tiffcp-split.sh \
53	tiffcp-split-join.sh \
54	tiff2ps-PS1.sh \
55	tiff2ps-PS2.sh \
56	tiff2ps-PS3.sh \
57	tiff2ps-EPS1.sh \
58	tiff2pdf.sh \
59	tiffcrop.sh \
60	tiff2rgba.sh
61
62IMAGES = \
63	images/minisblack-1c-16b.tiff \
64	images/minisblack-1c-8b.tiff \
65	images/miniswhite-1c-1b.tiff \
66	images/miniswhite-2c-8b-alpha.tiff \
67	images/palette-1c-1b.tiff \
68	images/palette-1c-4b.tiff \
69	images/palette-1c-8b.tiff \
70	images/README.txt \
71	images/rgb-3c-16b.tiff \
72	images/rgb-3c-8b.tiff
73
74noinst_HEADERS = tifftest.h
75
76ascii_tag_SOURCES = ascii_tag.c
77ascii_tag_LDADD = $(LIBTIFF)
78long_tag_SOURCES = long_tag.c check_tag.c
79long_tag_LDADD = $(LIBTIFF)
80short_tag_SOURCES = short_tag.c check_tag.c
81short_tag_LDADD = $(LIBTIFF)
82strip_rw_SOURCES = strip_rw.c strip.c test_arrays.c test_arrays.h
83strip_rw_LDADD = $(LIBTIFF)
84rewrite_SOURCES = rewrite_tag.c
85rewrite_LDADD = $(LIBTIFF)
86
87INCLUDES = -I$(top_srcdir)/libtiff
88
89