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
31 # Written by: Niles D. Ritter
38 CONTRIB=:contrib:mac-mpw:
40 MACTRANS="{CONTRIB}mactrans"
50 all %c4 PORT LIBTIFF TOOLS
52 MAKEFILES %c4 {MAKEFILES}
57 # Create the port routines
58 PORT %c4 {PORT}Makefile
60 (make || set status 0) > build.mpw
64 {RM} build.mpw || set status 0
67 # Create the port routines
68 LIBTIFF %c4 {LIBTIFF}Makefile
70 (make || set status 0) > build.mpw
74 {RM} build.mpw || set status 0
78 TOOLS %c4 {TOOLS}Makefile
80 (make || set status 0) > build.mpw
84 {RM} build.mpw || set status 0
87 # Makefile dependencies
88 {PORT}Makefile %c4 {CONTRIB}port.make
89 catenate {CONTRIB}port.make | {MACTRANS} > {PORT}Makefile
91 {LIBTIFF}Makefile %c4 {CONTRIB}libtiff.make
92 catenate {CONTRIB}libtiff.make | {MACTRANS} > {LIBTIFF}Makefile
94 {TOOLS}Makefile %c4 {CONTRIB}tools.make
95 catenate {CONTRIB}tools.make | {MACTRANS} > {TOOLS}Makefile
98 clean %c4 clean.port clean.contrib clean.libtiff clean.tools clean.make
102 (make clean || set status 0) > purge
104 {RM} purge || set status 0
105 {RM} Makefile || set status 0
106 {RM} build.mpw || set status 0
110 {RM} {MACTRANS} || set status 0
114 (make clean || set status 0) > purge
116 {RM} purge || set status 0
117 {RM} Makefile || set status 0
118 {RM} build.mpw || set status 0
123 (make clean || set status 0) > purge
125 {RM} purge || set status 0
126 {RM} Makefile || set status 0
127 {RM} build.mpw || set status 0
131 {RM} {MAKEFILES} || set status 0
132 {RM} build.mpw || set status 0