1#! smake
2# $Header: /cvsroot/osrs/libtiff/Makefile.in,v 1.46 2003/12/23 10:27:29 dron Exp $
3#
4# @WARNING@
5#
6# Tag Image File Format Library
7#
8# Copyright (c) 1988-1997 Sam Leffler
9# Copyright (c) 1991-1997 Silicon Graphics, Inc.
10#
11# Permission to use, copy, modify, distribute, and sell this software and
12# its documentation for any purpose is hereby granted without fee, provided
13# that (i) the above copyright notices and this permission notice appear in
14# all copies of the software and related documentation, and (ii) the names of
15# Sam Leffler and Silicon Graphics may not be used in any advertising or
16# publicity relating to the software without the specific, prior written
17# permission of Sam Leffler and Silicon Graphics.
18#
19# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
20# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
21# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
22#
23# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
24# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
25# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
26# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
27# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
28# OF THIS SOFTWARE.
29#
30
31SRCDIR	= @SRCDIR@
32
33#
34# VERSION:	@VERSION@
35# DATE:		@DATE@
36# TARGET:	@TARGET@
37# CCOMPILER:	@CCOMPILER@
38#
39@SETMAKE@
40SHELL	= @SCRIPT_SH@
41SCRIPT_SH = @SCRIPT_SH@
42NULL	=
43ECHO	= echo
44GENDIST	= ${TOOLROOT}/usr/sbin/gendist
45INSTALL	= @INSTALL@
46
47all default:
48	@if [ "@PORT@" = yes ]; then \
49	    ${ECHO} "= "port; cd port; ${MAKE} -${MAKEFLAGS}; \
50	else \
51	    true; \
52	fi
53	@${ECHO} "= "libtiff; cd libtiff; ${MAKE} -${MAKEFLAGS}
54	@${ECHO} "= "tools; cd tools; ${MAKE} -${MAKEFLAGS}
55	@${ECHO} "= "man; cd man; ${MAKE} -${MAKEFLAGS}
56
57install:
58	@${ECHO} "= "libtiff; cd libtiff; ${MAKE} install
59	@${ECHO} "= "tools; cd tools; ${MAKE} install
60	@${ECHO} "= "man; cd man; ${MAKE} install
61	@if [ "@HTML@" = yes ]; then \
62	    ${ECHO} "= "html; cd html; ${MAKE} install; \
63	else \
64	    true; \
65	fi
66
67install-private: install
68	@${ECHO} "= "libtiff; cd libtiff; ${MAKE} -${MAKEFLAGS} installPrivateHdrs
69
70clean:
71	@if [ "@PORT@" = yes ]; then \
72	    ${ECHO} "= "port; cd port; ${MAKE} -${MAKEFLAGS} clean; \
73	else \
74	    true; \
75	fi
76	@${ECHO} "= "libtiff; cd libtiff; ${MAKE} -${MAKEFLAGS} clean
77	@${ECHO} "= "tools; cd tools; ${MAKE} -${MAKEFLAGS} clean
78	@${ECHO} "= "man; cd man; ${MAKE} -${MAKEFLAGS} clean
79#	-cd contrib/dbs; ${MAKE} -${MAKEFLAGS} clean
80#	-cd contrib/dbs/xtiff; ${MAKE} -${MAKEFLAGS} clean
81
82clobber distclean: clean
83	rm -f Makefile libtiff/port.h config.log
84	rm -f libtiff/Makefile
85	rm -f tools/Makefile
86	rm -f man/Makefile
87	rm -f port/Makefile port/install.sh
88	rm -f html/Makefile
89
90#
91# The folllowing rule creates a binary distribution for IRIX.
92#
93installLink::
94	if [ @DIR_LIB@ != /usr/lib ]; then				\
95	    ${INSTALL} -idb tiff.sw.tools -F /usr/lib			\
96		-lns @DIR_LIB@/libtiff.@DSOSUF@ -O libtiff.@DSOSUF@;	\
97	else								\
98	    true;							\
99	fi
100product::
101	test -d dist || mkdir dist
102	rm -f dist/rawidb
103	SRC=`pwd` RAWIDB=`pwd`/dist/rawidb ${MAKE} -${MAKEFLAGS} install installLink
104	rm -f dist/idb
105	sort -u +4 dist/rawidb > dist/idb
106	${GENDIST} -v -dist dist -idb dist/idb \
107	    -sbase `pwd` -spec ${SRCDIR}/dist/tiff.spec
108
109#
110# These rules are used to create the source distribution images
111#
112
113HOST	= sgi
114COMPRESS= gzip
115ZIPSUF	= gz
116
117TIFFFILES=\
118	configure				\
119	config.guess				\
120	config.sub				\
121	config.site				\
122	Makefile.in				\
123	README					\
124	VERSION					\
125	RELEASE-DATE				\
126	COPYRIGHT				\
127	TODO					\
128	test_pics.sh				\
129	dist/tiff.spec				\
130	    dist/newalpha			\
131	    dist/newversion			\
132	libtiff/Makefile.in			\
133	    libtiff/Makefile.lcc		\
134	    libtiff/makefile.vc			\
135	    libtiff/libtiff.def			\
136	    libtiff/t4.h			\
137	    libtiff/tiff.h			\
138	    libtiff/tiffcomp.h			\
139	    libtiff/tiffconf.h			\
140	    libtiff/tiffio.h			\
141	    libtiff/tiffiop.h			\
142	    libtiff/uvcode.h			\
143	    libtiff/mkg3states.c		\
144	    libtiff/mkspans.c			\
145	    libtiff/mkversion.c			\
146	    libtiff/tif_acorn.c			\
147	    libtiff/tif_apple.c			\
148	    libtiff/tif_atari.c			\
149	    libtiff/tif_aux.c			\
150	    libtiff/tif_close.c			\
151	    libtiff/tif_codec.c			\
152	    libtiff/tif_compress.c		\
153	    libtiff/tif_color.c			\
154	    libtiff/tif_dir.h			\
155	    libtiff/tif_dir.c			\
156	    libtiff/tif_dirinfo.c		\
157	    libtiff/tif_dirread.c		\
158	    libtiff/tif_dirwrite.c		\
159	    libtiff/tif_dumpmode.c		\
160	    libtiff/tif_error.c			\
161	    libtiff/tif_extension.c		\
162	    libtiff/tif_fax3.c			\
163	    libtiff/fax3sm_winnt.c		\
164	    libtiff/tif_fax3.h			\
165	    libtiff/tif_flush.c			\
166	    libtiff/tif_getimage.c		\
167	    libtiff/tif_jpeg.c			\
168	    libtiff/tif_ojpeg.c			\
169	    libtiff/tif_luv.c			\
170	    libtiff/tif_lzw.c			\
171	    libtiff/tif_msdos.c			\
172	    libtiff/tif_next.c			\
173	    libtiff/tif_open.c			\
174	    libtiff/tif_packbits.c		\
175	    libtiff/tif_pixarlog.c		\
176	    libtiff/tif_predict.h		\
177	    libtiff/tif_predict.c		\
178	    libtiff/tif_print.c			\
179	    libtiff/tif_read.c			\
180	    libtiff/tif_strip.c			\
181	    libtiff/tif_swab.c			\
182	    libtiff/tif_thunder.c		\
183	    libtiff/tif_tile.c			\
184	    libtiff/tif_unix.c			\
185	    libtiff/tif_version.c		\
186	    libtiff/tiffvers.h			\
187	    libtiff/tif_vms.c			\
188	    libtiff/tif_warning.c		\
189	    libtiff/tif_win3.c			\
190	    libtiff/tif_win32.c			\
191	    libtiff/tif_write.c			\
192	    libtiff/tif_zip.c			\
193	port/Makefile.in			\
194	    port/getopt.c			\
195	    port/install.sh.in			\
196	    port/irix/so_locations		\
197	    port/strcasecmp.c			\
198	    port/strtoul.c			\
199	tools/Makefile.in			\
200	    tools/Makefile.vc			\
201	    tools/Makefile.lcc			\
202	    tools/fax2tiff.c			\
203	    tools/fax2ps.c			\
204	    tools/gif2tiff.c			\
205	    tools/pal2rgb.c			\
206	    tools/ppm2tiff.c			\
207	    tools/ras2tiff.c			\
208	    tools/rasterfile.h			\
209	    tools/raw2tiff.c			\
210	    tools/rgb2ycbcr.c			\
211	    tools/sgi2tiff.c			\
212	    tools/tiffgt.c			\
213	    tools/sgisv.c			\
214	    tools/thumbnail.c			\
215	    tools/tiff2bw.c			\
216	    tools/tiff2rgba.c			\
217	    tools/tiff2pdf.c			\
218	    tools/tiff2ps.c			\
219	    tools/tiffcmp.c			\
220	    tools/tiffcp.c			\
221	    tools/tiffdither.c			\
222	    tools/tiffdump.c			\
223	    tools/tiffinfo.c			\
224	    tools/tiffmedian.c			\
225	    tools/tiffsplit.c			\
226	    tools/tiffset.c			\
227	    tools/ycbcr.c			\
228	man/Makefile.in				\
229	    man/fax2tiff.1			\
230	    man/fax2ps.1			\
231	    man/gif2tiff.1			\
232	    man/pal2rgb.1			\
233	    man/ppm2tiff.1			\
234	    man/ras2tiff.1			\
235	    man/raw2tiff.1			\
236	    man/rgb2ycbcr.1			\
237	    man/sgi2tiff.1			\
238	    man/thumbnail.1			\
239	    man/tiff2bw.1			\
240	    man/tiff2rgba.1			\
241	    man/tiff2pdf.1			\
242	    man/tiff2ps.1			\
243	    man/tiffcmp.1			\
244	    man/tiffcp.1			\
245	    man/tiffdither.1			\
246	    man/tiffdump.1			\
247	    man/tiffgt.1			\
248	    man/tiffinfo.1			\
249	    man/tiffmedian.1			\
250	    man/tiffsplit.1			\
251	    man/tiffsv.1			\
252	    man/TIFFClose.3t			\
253	    man/TIFFDataWidth.3t		\
254	    man/TIFFError.3t			\
255	    man/TIFFFlush.3t			\
256	    man/TIFFGetField.3t			\
257	    man/TIFFOpen.3t			\
258	    man/TIFFPrintDirectory.3t		\
259	    man/TIFFReadDirectory.3t		\
260	    man/TIFFReadEncodedStrip.3t		\
261	    man/TIFFReadEncodedTile.3t		\
262	    man/TIFFReadRGBAImage.3t		\
263	    man/TIFFReadRGBAStrip.3t		\
264	    man/TIFFReadRGBATile.3t		\
265	    man/TIFFReadRawStrip.3t		\
266	    man/TIFFReadRawTile.3t		\
267	    man/TIFFReadScanline.3t		\
268	    man/TIFFReadTile.3t			\
269	    man/TIFFRGBAImage.3t		\
270	    man/TIFFSetDirectory.3t		\
271	    man/TIFFSetField.3t			\
272	    man/TIFFWarning.3t			\
273	    man/TIFFWriteDirectory.3t 		\
274	    man/TIFFWriteEncodedStrip.3t	\
275	    man/TIFFWriteEncodedTile.3t		\
276	    man/TIFFWriteTile.3t		\
277	    man/TIFFWriteRawStrip.3t		\
278	    man/TIFFWriteRawTile.3t		\
279	    man/TIFFWriteScanline.3t		\
280	    man/libtiff.3t			\
281	    man/TIFFbuffer.3t			\
282	    man/TIFFcodec.3t			\
283	    man/TIFFcolor.3t			\
284	    man/TIFFmemory.3t			\
285	    man/TIFFquery.3t			\
286	    man/TIFFsize.3t			\
287	    man/TIFFstrip.3t			\
288	    man/TIFFswab.3t			\
289	    man/TIFFtile.3t			\
290	    html/images				\
291	    html/images/back.gif				\
292	    html/images/bali.jpg				\
293	    html/images/cat.gif				\
294	    html/images/cover.jpg				\
295	    html/images/cramps.gif				\
296	    html/images/dave.gif				\
297	    html/images/info.gif				\
298	    html/images/jello.jpg				\
299	    html/images/jim.gif				\
300	    html/images/note.gif				\
301	    html/images/oxford.gif				\
302	    html/images/quad.jpg				\
303	    html/images/ring.gif				\
304	    html/images/smallliz.jpg				\
305	    html/images/strike.gif				\
306	    html/images/warning.gif				\
307	    html/Makefile.in				\
308	    html/bugs.html				\
309	    html/build.html				\
310	    html/contrib.html				\
311	    html/document.html				\
312	    html/images.html				\
313	    html/index.html				\
314	    html/internals.html				\
315	    html/intro.html				\
316	    html/libtiff.html				\
317	    html/misc.html				\
318	    html/support.html				\
319	    html/tools.html				\
320	    html/v3.4beta007.html				\
321	    html/v3.4beta016.html				\
322	    html/v3.4beta018.html				\
323	    html/v3.4beta024.html				\
324	    html/v3.4beta028.html				\
325	    html/v3.4beta029.html				\
326	    html/v3.4beta031.html				\
327	    html/v3.4beta032.html				\
328	    html/v3.4beta033.html				\
329	    html/v3.4beta034.html				\
330	    html/v3.4beta035.html				\
331	    html/v3.4beta036.html				\
332	    html/v3.5.1.html					\
333	    html/v3.5.2.html					\
334	    html/v3.5.3.html					\
335	    html/v3.5.4.html					\
336	    html/v3.5.5.html					\
337	    html/v3.5.6-beta.html				\
338	    html/v3.5.7.html					\
339	    html/v3.6.0.html					\
340	    html/v3.6.1.html					\
341	    html/man						\
342	    html/man/TIFFClose.3t.html				\
343	    html/man/TIFFDataWidth.3t.html			\
344	    html/man/TIFFError.3t.html				\
345	    html/man/TIFFFlush.3t.html				\
346	    html/man/TIFFGetField.3t.html				\
347	    html/man/TIFFOpen.3t.html				\
348	    html/man/TIFFPrintDirectory.3t.html				\
349	    html/man/TIFFRGBAImage.3t.html				\
350	    html/man/TIFFReadDirectory.3t.html				\
351	    html/man/TIFFReadEncodedStrip.3t.html				\
352	    html/man/TIFFReadEncodedTile.3t.html				\
353	    html/man/TIFFReadRGBAImage.3t.html				\
354	    html/man/TIFFReadRGBAStrip.3t.html				\
355	    html/man/TIFFReadRGBATile.3t.html				\
356	    html/man/TIFFReadRawStrip.3t.html				\
357	    html/man/TIFFReadRawTile.3t.html				\
358	    html/man/TIFFReadScanline.3t.html				\
359	    html/man/TIFFReadTile.3t.html				\
360	    html/man/TIFFSetDirectory.3t.html				\
361	    html/man/TIFFSetField.3t.html				\
362	    html/man/TIFFWarning.3t.html				\
363	    html/man/TIFFWriteDirectory.3t.html				\
364	    html/man/TIFFWriteEncodedStrip.3t.html				\
365	    html/man/TIFFWriteEncodedTile.3t.html				\
366	    html/man/TIFFWriteRawStrip.3t.html			\
367	    html/man/TIFFWriteRawTile.3t.html			\
368	    html/man/TIFFWriteScanline.3t.html			\
369	    html/man/TIFFbuffer.3t.html				\
370	    html/man/TIFFcodec.3t.html				\
371	    html/man/TIFFcolor.3t.html				\
372	    html/man/TIFFmemory.3t.html				\
373	    html/man/TIFFquery.3t.html				\
374	    html/man/TIFFsize.3t.html				\
375	    html/man/TIFFstrip.3t.html				\
376	    html/man/TIFFswab.3t.html				\
377	    html/man/TIFFtile.3t.html				\
378	    html/man/fax2ps.1.html				\
379	    html/man/fax2tiff.1.html				\
380	    html/man/gif2tiff.1.html				\
381	    html/man/libtiff.3t.html				\
382	    html/man/pal2rgb.1.html				\
383	    html/man/ppm2tiff.1.html				\
384	    html/man/ras2tiff.1.html				\
385	    html/man/raw2tiff.1.html				\
386	    html/man/rgb2ycbcr.1.html				\
387	    html/man/sgi2tiff.1.html				\
388	    html/man/thumbnail.1.html				\
389	    html/man/tiff2bw.1.html				\
390	    html/man/tiff2pdf.1.html				\
391	    html/man/tiff2ps.1.html				\
392	    html/man/tiff2rgba.1.html				\
393	    html/man/tiffcmp.1.html				\
394	    html/man/tiffcp.1.html				\
395	    html/man/tiffdither.1.html				\
396	    html/man/tiffdump.1.html				\
397	    html/man/tiffgt.1.html				\
398	    html/man/tiffinfo.1.html				\
399	    html/man/tiffmedian.1.html				\
400	    html/man/tiffsplit.1.html				\
401	    html/man/tiffsv.1.html				\
402	    html/man/index.html					\
403	    html/man/TIFFWriteTile.3t.html			\
404	    ${NULL}
405OTHERFILES=\
406	${NULL}
407CONTRIBFILES=\
408	contrib/dbs/README			\
409	    contrib/dbs/Imakefile		\
410	    contrib/dbs/tiff-bi.c		\
411	    contrib/dbs/tiff-grayscale.c	\
412	    contrib/dbs/tiff-palette.c		\
413	    contrib/dbs/tiff-rgb.c		\
414	    contrib/dbs/xtiff/README		\
415		contrib/dbs/xtiff/Imakefile	\
416		contrib/dbs/xtiff/patchlevel.h	\
417		contrib/dbs/xtiff/xtiff.c	\
418		contrib/dbs/xtiff/xtifficon.h	\
419	contrib/ras/README			\
420	    contrib/ras/ras2tif.c		\
421	    contrib/ras/tif2ras.c		\
422	contrib/ojpeg/README			\
423	    contrib/ojpeg/jdhuff_add.c		\
424	contrib/vms/libtiff/makevms.com		\
425	    contrib/vms/libtiff/tiff.opt	\
426	    contrib/vms/libtiff/tiffshraxp.opt	\
427	    contrib/vms/libtiff/tiffshrvax.opt	\
428	    contrib/vms/libtiff/tiffvec.mar	\
429	    contrib/vms/tools/makevms.com	\
430	contrib/tags/README			\
431	    contrib/tags/Makefile.gcc		\
432	    contrib/tags/Makefile.mpw		\
433	    contrib/tags/listtif.c		\
434	    contrib/tags/maketif.c		\
435	    contrib/tags/xtif_dir.c		\
436	    contrib/tags/xtiffio.h		\
437	    contrib/tags/xtiffiop.h		\
438	contrib/mac-mpw/README			\
439	    contrib/mac-mpw/BUILD.mpw		\
440	    contrib/mac-mpw/libtiff.make	\
441	    contrib/mac-mpw/mactrans.c		\
442	    contrib/mac-mpw/port.make		\
443	    contrib/mac-mpw/tools.make		\
444	    contrib/mac-mpw/top.make		\
445	contrib/acorn/ReadMe			\
446	    contrib/acorn/Makefile		\
447	    contrib/acorn/SetVars		\
448	    contrib/acorn/cleanlib		\
449	    contrib/acorn/convert		\
450	    contrib/acorn/install		\
451	contrib/win32/README			\
452	    contrib/win32/dllshell.c		\
453	    contrib/win32/libtiff.def		\
454	contrib/win_dib/README.tiff2dib		\
455	    contrib/win_dib/Makefile.w95	\
456	    contrib/win_dib/tiff2dib.c		\
457	    contrib/win_dib/README.Tiffile	\
458	    contrib/win_dib/Tiffile.cpp		\
459	contrib/winnt/README			\
460	    contrib/winnt/README.console	\
461	    contrib/winnt/fax3sm.c		\
462	    contrib/winnt/libtiff.def		\
463	    contrib/winnt/libtiff.mak		\
464	    contrib/winnt/libtiff.vcp		\
465	    contrib/winnt/version.h		\
466	contrib/mac-cw/README			\
467	    contrib/mac-cw/Makefile.script	\
468	    contrib/mac-cw/mac_main.c		\
469	    contrib/mac-cw/mac_main.h		\
470	    contrib/mac-cw/metrowerks.note	\
471	    contrib/mac-cw/mkg3_main.c		\
472	    contrib/mac-cw/version.h		\
473	contrib/dosdjgpp/README			\
474	    contrib/dosdjgpp/Makefile.lib	\
475	    contrib/dosdjgpp/Makefile.tools	\
476	    contrib/dosdjgpp/Makefile.top	\
477	    contrib/dosdjgpp/conf.bat		\
478	    contrib/dosdjgpp/port.h		\
479	contrib/mfs/README			\
480	    contrib/mfs/mfs_file.c		\
481	contrib/pds/README			\
482	    contrib/pds/tif_imageiter.c		\
483	    contrib/pds/tif_imageiter.h		\
484	    contrib/pds/tif_pdsdirread.c	\
485	    contrib/pds/tif_pdsdirwrite.c	\
486	contrib/addtiffo/README			\
487	    contrib/addtiffo/Makefile		\
488	    contrib/addtiffo/Makefile.vc	\
489	    contrib/addtiffo/addtiffo.c		\
490	    contrib/addtiffo/tif_overview.c	\
491	    contrib/addtiffo/tif_ovrcache.c	\
492	    contrib/addtiffo/tif_ovrcache.h	\
493	contrib/iptcutil/Makefile		\
494		contrib/iptcutil/iptcutil.c	\
495		contrib/iptcutil/test.iptc	\
496		contrib/iptcutil/test.txt	\
497	${NULL}
498
499DISTFILES=\
500	${TIFFFILES}				\
501	dist/tiff.alpha				\
502	dist/tiff.version			\
503	${OTHERFILES}				\
504	${CONTRIBFILES}				\
505	${NULL}
506
507CONFIG=\
508	-with-CC=cc \
509	-with-GCOPTS=" " \
510	-with-JPEG=yes \
511	-with-DIR_JPEG=../src/jpeg-5a \
512	-with-ZIP=yes \
513	-with-DIR_LIBGZ=../src/zlib \
514	${NULL}
515
516rcsclean:
517	rcsclean ${TIFFFILES} && co ${TIFFFILES}
518
519release:
520	(cd ${SRCDIR}/dist; sh newversion)
521	${MAKE}  -${MAKEFLAGS} release.stamp
522	(cd ${SRCDIR}/libtiff; ${MAKE} -${MAKEFLAGS} tiffvers.h)
523#	${SRCDIR}/configure ${CONFIG}
524#	${MAKE} -${MAKEFLAGS} product
525	${MAKE} -${MAKEFLAGS} release.tar.zip
526
527
528# stamp relevant files according to current alpha
529release.stamp:
530	date "+%m/%d/%Y" > RELEASE-DATE
531
532#diffs since last release
533releasediff:
534	-@for i in ${TIFFFILES}; do					\
535	    cvs diff -D`cat RELEASE-DATE` ${SRCDIR}/$$i;				\
536	done
537
538# create release or beta distribution archive
539release.tar.zip:
540	if test "@RELEASE@" = "" ; then					\
541	  VERSIONREL="@VERSION@";					\
542	else								\
543	  VERSIONREL="@VERSION@-@RELEASE@";				\
544	fi;								\
545	rm -f ../tiff-$$VERSIONREL $$VERSIONREL $$VERSIONREL-tar;			\
546	ln -s ${SRCDIR} tiff-$$VERSIONREL;					\
547	(for i in ${DISTFILES}; do					\
548	   echo $$i;							\
549	done) | sed "s;.*;tiff-$$VERSIONREL/&;" >$$VERSIONREL;		\
550	tar cvf $$VERSIONREL-tar `cat $$VERSIONREL`;				\
551	zip ../tiff-$$VERSIONREL.zip `cat $$VERSIONREL`; 				\
552	cat $$VERSIONREL-tar | ${COMPRESS} >../tiff-$$VERSIONREL.tar.${ZIPSUF};	\
553	rm -f tiff-$$VERSIONREL $$VERSIONREL $$VERSIONREL-tar;
554#
555#	Simple rule to run test suite assuming that pics directory is
556#	just below this one, and that .rpt files are available.
557#
558test:
559	${SRCDIR}/test_pics.sh pics/*.tif
560
561#
562# Create a package of the test images.
563#
564
565PICS=\
566	pics/README		 \
567	pics/cramps.tif		 \
568	pics/cramps-tile.tif	\
569	pics/fax2d.tif		\
570	pics/g3test.tif		\
571	pics/jello.tif		\
572	pics/jim___cg.tif	\
573	pics/jim___dg.tif	\
574	pics/jim___gg.tif	\
575	pics/jim___ah.tif	\
576	pics/strike.tif		\
577	pics/oxford.tif		\
578	pics/quad-lzw.tif	\
579	pics/quad-tile.tif	\
580	pics/text.tif		\
581	pics/ycbcr-cat.tif	\
582	pics/smallliz.tif	\
583	pics/zackthecat.tif	\
584	pics/fax2d.g3		\
585	pics/g3test.g3		\
586	${NULL}
587
588pics.tar:
589	tar cvf - ${PICS} | ${COMPRESS} > tiffpics.tar.${ZIPSUF}
590