1 # Note: this script assumes that your MPW and PCCTS directories are
2 # of a standard configuration.
4 # To install PCCTS: 'Set Directory' to the directory containing this
5 # file (should be the main PCCTS directory) and execute this script.
7 # By default, it will install ANTLR and DLG in your {MPW}Tools folder.
9 # ANTLR and DLG have Commando interfaces, check them out.
11 # Report MPW-Specific problems to Scott Haney at haney@random.llnl.gov.
13 Echo "# `Date -t` ----- Building PCCTS v1.33 for MPW."
15 # Make 'Macintosh' folders to hold object files.
17 Echo "# `Date -t` ----- Making Object File Folders."
18 If (!`exists :dlg:Macintosh:`)
19 NewFolder :dlg:Macintosh:
21 If (!`exists :antlr:Macintosh:`)
22 NewFolder :antlr:Macintosh:
24 If (!`exists :support:set:Macintosh:`)
25 NewFolder :support:set:Macintosh:
27 If (!`exists :support:sym:Macintosh:`)
28 NewFolder :support:sym:Macintosh:
31 Echo "# `Date -t` ----- Done."
36 Echo "# `Date -t` ----- Building DLG."
37 Echo "# `Date -t` ----- Analyzing dependencies."
40 If (!`exists dlg.make`)
41 Move -y makefile.mpw dlg.make
44 Move -y dlg.mpw.r dlg.r
47 Make Install -f dlg.make
49 Echo "# `Date -t` ----- Executing build commands."
52 Echo "# `Date -t` ----- Done."
56 # ANTLR build commands
58 Echo "# `Date -t` ----- Building ANTLR."
59 Echo "# `Date -t` ----- Analyzing dependencies."
62 If (!`exists antlr.make`)
63 Move -y makefile.mpw antlr.make
65 If (!`exists antlr.r`)
66 Move -y antlr.mpw.r antlr.r
69 Make Install -f antlr.make
71 Echo "# `Date -t` ----- Executing build commands."
74 Echo "# `Date -t` ----- Done."
80 Echo "# `Date -t` ----- Done Building PCCTS v1.33. Have a nice day."