1
# File name installPPC.mpw
3
# Description This script builds PPC version of antlr, dlg and sor.
4
# and install them into Tools folder in your MPW.
5
# They have commando interfaces.
7
# Installation Set Directory to the directory containing this file.
8
# Enter "installPPC.mpw" and press enter key.
10
# Requirements MrC(for PPC) compiler
11
# http://developer.apple.com/dev/tools/mpw-tools/compilers/index.html
13
# Author Kenji Tanaka (kentar@osa.att.ne.jp)
14
# http://www.geocities.com/SiliconValley/Platform/5502/pccts
18
Echo "# `Date -t` ----- Building PPC version of PCCTS tools."
20
# Make 'Macintosh' folders to hold object files.
22
Echo "# `Date -t` ----- Making Object File Folders."
23
If (!`exists :dlg:Obj:`)
26
If (!`exists :antlr:Obj:`)
29
If (!`exists :sorcerer:Obj:`)
30
NewFolder :sorcerer:Obj:
33
Echo "# `Date -t` ----- Done."
38
Echo "# `Date -t` ----- Building DLG."
39
Echo "# `Date -t` ----- Analyzing dependencies."
43
Make Install -f dlgPPC.make
45
Echo "# `Date -t` ----- Executing build commands."
50
Echo "# `Date -t` ----- Done."
54
# ANTLR build commands
56
Echo "# `Date -t` ----- Building ANTLR."
57
Echo "# `Date -t` ----- Analyzing dependencies."
61
Make Install -f antlrPPC.make
66
Echo "# `Date -t` ----- Done."
70
# SORCERER build commands
72
Echo "# `Date -t` ----- Building SORCERER."
73
Echo "# `Date -t` ----- Analyzing dependencies."
77
Make Install -f sorPPC.make
78
End > sorcerer.makeout
80
Delete sorcerer.makeout
82
Echo "# `Date -t` ----- Done."
89
Echo "# `Date -t` ----- Done Building PPC version of PCCTS tools."