]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/contrib/mac-mpw/BUILD.mpw
xti changes
[wxWidgets.git] / src / tiff / contrib / mac-mpw / BUILD.mpw
CommitLineData
8414a40c
VZ
1# BUILD.mpw:
2#
3# Full build for Apple Macintosh Programmer's Workshop (MPW).
4#
5# This is an executable MPW script which creates various
6# utilities, sets up the MPW makefiles and runs the builds.
7# This script should be run at the top level TIFF directory with:
8#
9# directory :::
10# :contrib:mac-mpw:BUILD.mpw
11#
12# NOTE: The full build requires that MPW have at least 6 MB
13# allocated to it to compile the CCITT Fax codec tables. To
14# deactivate CCITT compression edit the file :contrib:mac:libtiff.make
15# first and follow the directions for disabling Fax decoding.
16#
17# All TIFF tools are built as MPW tools, executable from the
18# MPW shell or other compatible tool server.
19#
20# Written by: Niles Ritter (ndr@tazboy.jpl.nasa.gov).
21#
22
23echo "############# Full Scratch Build for MPW #############"
24
25# Create the ascii->mpw translation tool; this is used to
26# convert standard ASCII files into ones using the special
27# MPW characters, which don't live comfortably in unix tar files.
28#
29echo "######## Creating ASCII->MPW translator ########"
30set contrib ':contrib:mac-mpw:'
31directory {contrib}
32createmake -tool mactrans mactrans.c > dev:null
33make -f mactrans.make | streamedit -e "/CSANELib/||/Math/||/ToolLibs/ del" > mactrans.bld
34execute mactrans.bld > dev:null
35delete -y mactrans.make mactrans.bld mactrans.c.o || set status 0
36directory ::: #An mpw trick for going up two levels
37
38# Create the top-level Makefile and run it
39echo "######## Creating Makefile ########"
40catenate {contrib}top.make | {contrib}mactrans > Makefile
41
42echo "######## Running Makefile ########"
43make > build.mpw
44execute build.mpw
45echo "############# MPW Build Complete #############"
46exit 0
47