1#	File name		installPPC.mpw
2#
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.
6#
7#	Installation	Set Directory to the directory containing this file.
8#					Enter "installPPC.mpw" and press enter key.
9#
10#   Requirements 	MrC(for PPC) compiler
11#					http://developer.apple.com/dev/tools/mpw-tools/compilers/index.html
12#
13#	Author			Kenji Tanaka (kentar@osa.att.ne.jp)
14#					http://www.geocities.com/SiliconValley/Platform/5502/pccts
15#	Created			06/16/98
16#	Modified		12/14/98
17
18Echo "# `Date -t` ----- Building PPC version of PCCTS tools."
19
20# Make 'Macintosh' folders to hold object files.
21
22Echo "# `Date -t` -----   Making Object File Folders."
23If (!`exists :dlg:Obj:`)
24  NewFolder :dlg:Obj:
25End
26If (!`exists :antlr:Obj:`)
27  NewFolder :antlr:Obj:
28End
29If (!`exists :sorcerer:Obj:`)
30  NewFolder :sorcerer:Obj:
31End
32
33Echo "# `Date -t` -----   Done."
34Echo "#"
35
36# DLG build commands
37
38Echo "# `Date -t` -----   Building DLG."
39Echo "# `Date -t` -----     Analyzing dependencies."
40Directory :dlg:
41Begin
42	Echo "Set Echo 1"
43	Make Install -f dlgPPC.make
44End > dlg.makeout
45Echo "# `Date -t` -----     Executing build commands."
46dlg.makeout
47Delete dlg.makeout
48Delete -y Obj
49
50Echo "# `Date -t` -----   Done."
51Echo "#"
52Directory ::
53
54# ANTLR build commands
55
56Echo "# `Date -t` -----   Building ANTLR."
57Echo "# `Date -t` -----     Analyzing dependencies."
58Directory :antlr:
59Begin
60	Echo "Set Echo 1"
61	Make Install -f antlrPPC.make
62End > antlr.makeout
63antlr.makeout
64Delete antlr.makeout
65Delete -y Obj
66Echo "# `Date -t` -----   Done."
67Echo "#"
68Directory ::
69
70# SORCERER build commands
71
72Echo "# `Date -t` -----   Building SORCERER."
73Echo "# `Date -t` -----     Analyzing dependencies."
74Directory :sorcerer:
75Begin
76	Echo "Set Echo 1"
77	Make Install -f sorPPC.make
78End > sorcerer.makeout
79sorcerer.makeout
80Delete sorcerer.makeout
81Delete -y Obj
82Echo "# `Date -t` -----   Done."
83Echo "#"
84Directory ::
85
86
87# Done
88
89Echo "# `Date -t` ----- Done Building PPC version of PCCTS tools."
90