2 # Tag Image File Format Library
4 # Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994 Sam Leffler
5 # Copyright (c) 1991, 1992, 1993, 1994 Silicon Graphics, Inc.
7 # Permission to use, copy, modify, distribute, and sell this software and
8 # its documentation for any purpose is hereby granted without fee, provided
9 # that (i) the above copyright notices and this permission notice appear in
10 # all copies of the software and related documentation, and (ii) the names of
11 # Sam Leffler and Silicon Graphics may not be used in any advertising or
12 # publicity relating to the software without the specific, prior written
13 # permission of Stanford and Silicon Graphics.
15 # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
16 # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
17 # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
19 # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
20 # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
21 # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
22 # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
23 # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
28 # Makefile for Mac using MPW 3.2.3 and MPW C 3.2.4
33 {C} {COPTS} {CFLAGS} -s {Default} {DepDir}{Default}.c -o {TargDir}{Default}.c.o
44 CFLAGS= -w -m {IPATH} {CONF_LIBRARY}
46 LIBPORT= ::port:libport.o
48 LOptions= -model far -w -srt -d -c 'MPS ' -t MPST
50 LIBTIFF= ::libtiff:libtiff.o
54 "{CLibraries}"CSANELib.o %b6
55 "{CLibraries}"Math.o %b6
56 "{CLibraries}"StdClib.o %b6
57 "{Libraries}"Stubs.o %b6
58 "{Libraries}"Runtime.o %b6
59 "{Libraries}"Interface.o %b6
60 "{Libraries}"ToolLibs.o %b6
94 tiffinfo %c4 tiffinfo.c.o {LIBTIFF}
95 Link {LOptions} tiffinfo.c.o {LIBS} -o tiffinfo
97 tiffcmp %c4 tiffcmp.c.o {LIBTIFF}
98 Link {LOptions} tiffcmp.c.o {LIBS} -o tiffcmp
100 tiffcp %c4 tiffcp.c.o {LIBTIFF}
101 Link {LOptions} tiffcp.c.o {LIBS} -o tiffcp
103 tiffdump %c4 tiffdump.c.o {LIBTIFF}
104 Link {LOptions} tiffdump.c.o {LIBS} -o tiffdump
106 tiffmedian %c4 tiffmedian.c.o {LIBTIFF}
107 Link {LOptions} tiffmedian.c.o {LIBS} -o tiffmedian
109 tiff2ps %c4 tiff2ps.c.o {LIBTIFF}
110 Link {LOptions} tiff2ps.c.o {LIBS} -o tiff2ps
113 # convert RGB image to B&W
114 tiff2bw %c4 tiff2bw.c.o {LIBTIFF}
115 Link {LOptions} tiff2bw.c.o {LIBS} -o tiff2bw
117 # convert B&W image to bilevel w/ FS dithering
118 tiffdither %c4 tiffdither.c.o {LIBTIFF}
119 Link {LOptions} tiffdither.c.o {LIBS} -o tiffdither
122 gif2tiff %c4 gif2tiff.c.o {LIBTIFF}
123 Link {LOptions} gif2tiff.c.o {LIBS} -o gif2tiff
125 # convert Palette image to RGB
126 pal2rgb %c4 pal2rgb.c.o {LIBTIFF}
127 Link {LOptions} pal2rgb.c.o {LIBS} -o pal2rgb
129 # Sun rasterfile converter
130 ras2tiff %c4 ras2tiff.c.o {LIBTIFF}
131 Link {LOptions} ras2tiff.c.o {LIBS} -o ras2tiff
133 # generate thumbnail images from fax
134 thumbnail %c4 thumbnail.c.o {LIBTIFF}
135 Link {LOptions} thumbnail.c.o {LIBS} -o thumbnail
138 {RM} {ALL} %c5.c.o ycbcr