]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/contrib/mac-mpw/tools.make
xti changes
[wxWidgets.git] / src / tiff / contrib / mac-mpw / tools.make
CommitLineData
8414a40c
VZ
1#
2# Tag Image File Format Library
3#
4# Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994 Sam Leffler
5# Copyright (c) 1991, 1992, 1993, 1994 Silicon Graphics, Inc.
6#
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.
14#
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.
18#
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
24# OF THIS SOFTWARE.
25#
26
27#
28# Makefile for Mac using MPW 3.2.3 and MPW C 3.2.4
29#
30COPTS = -model far
31
32.c.o %c4 .c
33 {C} {COPTS} {CFLAGS} -s {Default} {DepDir}{Default}.c -o {TargDir}{Default}.c.o
34
35RM = delete -y -i
36
37CONF_LIBRARY= %b6
38 -d USE_CONST=0 %b6
39 -d BSDTYPES
40NULL=
41
42IPATH= -I ::libtiff
43
44CFLAGS= -w -m {IPATH} {CONF_LIBRARY}
45
46LIBPORT= ::port:libport.o
47
48LOptions= -model far -w -srt -d -c 'MPS ' -t MPST
49
50LIBTIFF= ::libtiff:libtiff.o
51
52LIBS= {LIBTIFF} %b6
53 {LIBPORT} %b6
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
61 {NULL}
62
63SRCS= %b6
64 pal2rgb.c %b6
65 ras2tiff.c %b6
66 thumbnail.c %b6
67 tiff2bw.c %b6
68 tiff2ps.c %b6
69 tiffcmp.c %b6
70 tiffcp.c %b6
71 tiffdither.c %b6
72 tiffdump.c %b6
73 tiffinfo.c %b6
74 tiffmedian.c %b6
75 {NULL}
76
77MACHALL=ras2tiff
78
79ALL= %b6
80 tiffinfo %b6
81 tiffcmp %b6
82 tiffcp %b6
83 tiffdump %b6
84 tiffmedian %b6
85 tiff2bw %b6
86 tiffdither %b6
87 tiff2ps %b6
88 pal2rgb %b6
89 gif2tiff %b6
90 {MACHALL}
91
92all %c4 {ALL}
93
94tiffinfo %c4 tiffinfo.c.o {LIBTIFF}
95 Link {LOptions} tiffinfo.c.o {LIBS} -o tiffinfo
96
97tiffcmp %c4 tiffcmp.c.o {LIBTIFF}
98 Link {LOptions} tiffcmp.c.o {LIBS} -o tiffcmp
99
100tiffcp %c4 tiffcp.c.o {LIBTIFF}
101 Link {LOptions} tiffcp.c.o {LIBS} -o tiffcp
102
103tiffdump %c4 tiffdump.c.o {LIBTIFF}
104 Link {LOptions} tiffdump.c.o {LIBS} -o tiffdump
105
106tiffmedian %c4 tiffmedian.c.o {LIBTIFF}
107 Link {LOptions} tiffmedian.c.o {LIBS} -o tiffmedian
108
109tiff2ps %c4 tiff2ps.c.o {LIBTIFF}
110 Link {LOptions} tiff2ps.c.o {LIBS} -o tiff2ps
111
112# junky stuff...
113# convert RGB image to B&W
114tiff2bw %c4 tiff2bw.c.o {LIBTIFF}
115 Link {LOptions} tiff2bw.c.o {LIBS} -o tiff2bw
116
117# convert B&W image to bilevel w/ FS dithering
118tiffdither %c4 tiffdither.c.o {LIBTIFF}
119 Link {LOptions} tiffdither.c.o {LIBS} -o tiffdither
120
121# GIF converter
122gif2tiff %c4 gif2tiff.c.o {LIBTIFF}
123 Link {LOptions} gif2tiff.c.o {LIBS} -o gif2tiff
124
125# convert Palette image to RGB
126pal2rgb %c4 pal2rgb.c.o {LIBTIFF}
127 Link {LOptions} pal2rgb.c.o {LIBS} -o pal2rgb
128
129# Sun rasterfile converter
130ras2tiff %c4 ras2tiff.c.o {LIBTIFF}
131 Link {LOptions} ras2tiff.c.o {LIBS} -o ras2tiff
132
133# generate thumbnail images from fax
134thumbnail %c4 thumbnail.c.o {LIBTIFF}
135 Link {LOptions} thumbnail.c.o {LIBS} -o thumbnail
136
137clean %c4
138 {RM} {ALL} %c5.c.o ycbcr