]> pd.if.org Git - pccts/blob - install.mpw
auto commit for import
[pccts] / install.mpw
1 # Note: this script assumes that your MPW and PCCTS directories are
2 #       of a standard configuration.
3
4 # To install PCCTS: 'Set Directory' to the directory containing this
5 # file (should be the main PCCTS directory) and execute this script.
6 #
7 # By default, it will install ANTLR and DLG in your {MPW}Tools folder.
8 #
9 # ANTLR and DLG have Commando interfaces, check them out.
10 #
11 # Report MPW-Specific problems to Scott Haney at haney@random.llnl.gov.
12
13 Echo "# `Date -t` ----- Building PCCTS v1.33 for MPW."
14
15 # Make 'Macintosh' folders to hold object files.
16
17 Echo "# `Date -t` -----   Making Object File Folders."
18 If (!`exists :dlg:Macintosh:`)
19   NewFolder :dlg:Macintosh:
20 End
21 If (!`exists :antlr:Macintosh:`)
22   NewFolder :antlr:Macintosh:
23 End
24 If (!`exists :support:set:Macintosh:`)
25   NewFolder :support:set:Macintosh:
26 End
27 If (!`exists :support:sym:Macintosh:`)
28   NewFolder :support:sym:Macintosh:
29 End
30
31 Echo "# `Date -t` -----   Done."
32 Echo "#"
33
34 # DLG build commands
35
36 Echo "# `Date -t` -----   Building DLG."
37 Echo "# `Date -t` -----     Analyzing dependencies."
38 Directory :dlg:
39 Begin
40         If (!`exists dlg.make`)
41                 Move -y makefile.mpw dlg.make
42         End
43         If (!`exists dlg.r`)
44                 Move -y dlg.mpw.r dlg.r
45         End
46         Echo "Set Echo 1"
47         Make Install -f dlg.make
48 End > dlg.makeout
49 Echo "# `Date -t` -----     Executing build commands."
50 dlg.makeout
51 Delete dlg.makeout
52 Echo "# `Date -t` -----   Done."
53 Echo "#"
54 Directory ::
55
56 # ANTLR build commands
57
58 Echo "# `Date -t` -----   Building ANTLR."
59 Echo "# `Date -t` -----     Analyzing dependencies."
60 Directory :antlr:
61 Begin
62         If (!`exists antlr.make`)
63                 Move -y makefile.mpw antlr.make
64         End
65         If (!`exists antlr.r`)
66                 Move -y antlr.mpw.r antlr.r
67         End
68         Echo "Set Echo 1"
69         Make Install -f antlr.make
70 End > antlr.makeout
71 Echo "# `Date -t` -----     Executing build commands."
72 antlr.makeout
73 Delete antlr.makeout
74 Echo "# `Date -t` -----   Done."
75 Echo "#"
76 Directory ::
77
78 # Done
79
80 Echo "# `Date -t` ----- Done Building PCCTS v1.33. Have a nice day."