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