Google
 

Trailing-Edge - PDP-10 Archives - bb-bt99l-bb - alg10b.ctl
There are 10 other files named alg10b.ctl in the archive. Click here to see a list.
;	Control file to build DECsystem-10 ALGOL

;		COPYRIGHT (C) 1974, 1983, 1984, 1985 BY
;		DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
;
;   THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE  USED
;   AND  COPIED  ONLY  IN  ACCORDANCE  WITH  THE  TERMS OF SUCH
;   LICENSE AND WITH  THE  INCLUSION  OF  THE  ABOVE  COPYRIGHT
;   NOTICE.   THIS SOFTWARE OR ANY OTHER COPIES THEREOF MAY NOT
;   BE PROVIDED  OR  OTHERWISE	MADE  AVAILABLE  TO  ANY  OTHER
;   PERSON.   NO  TITLE  TO  AND  OWNERSHIP  OF THE SOFTWARE IS
;   HEREBY TRANSFERRED.
;
;   THE INFORMATION IN	THIS  SOFTWARE	IS  SUBJECT  TO  CHANGE
;   WITHOUT  NOTICE AND SHOULD NOT BE CONSTRUED AS A COMMITMENT
;   BY DIGITAL EQUIPMENT CORPORATION.
;
;   DIGITAL  ASSUMES  NO  RESPONSIBILITY   FOR	 THE   USE   OR
;   RELIABILITY  OF  ITS  SOFTWARE  ON	EQUIPMENT  WHICH IS NOT
;   SUPPLIED BY DIGITAL.
;

;	ALG10B.CTL	VERSION 10.2	18-Jan-83
;
;	This control file builds either a KL/KI or KA version of ALGOL.
;	As supplied, the default is to build a KL/KI version.  To build
;	a KA version, change the text "PROC==KI10" to "PROC==KA10".
;
;
;	Required system files:
;
;	ASL:		COMPIL.EXE
;			DIRECT.EXE
;			HELPER.REL
;			LINK.EXE
;			MACRO.EXE
;			MAKLIB.EXE
;			PIP.EXE
;
;	Required source files:
;
;	ASL:		ALG10B.CTL
;			ALGCOD.MAC
;			ALGCON.MAC
;			ALGDDT.HLP
;			ALGDDT.MAC
;			ALGDEC.MAC
;			ALGEXP.MAC
;			ALGFOR.MAC
;			ALGFUN.MAC
;			ALGLIB.MAC
;			ALGMAC.MAC
;			ALGOL.HLP
;			ALGOTS.MAC
;			ALGPRM.MAC
;			ALGSER.MAC
;			ALGSTB.MAC
;			ALGSTM.MAC
;			ALGSYS.MAC
;			ALGUTL.MAC
;
;	Output files:
;
;	ASL:		ALG10B.LOG
;			ALGCOD.REL
;			ALGCON.REL
;			ALGDDT.REL
;			ALGDEC.REL
;			ALGEXP.REL
;			ALGFOR.REL
;			ALGFUN.REL
;			ALGLIB.REL
;			ALGMAC.REL
;			ALGMAC.UNV
;			ALGOL.EXE
;			ALGOTS.EXE
;			ALGOTS.REL
;			ALGPRM.REL
;			ALGPRM.UNV
;			ALGSER.REL
;			ALGSTB.REL
;			ALGSTM.REL
;			ALGSYS.REL
;			ALGSYS.UNV
;			ALGUTL.REL
;


.R PEPB
*INITIALIZE ALGOL-10-V10B
*EXIT

.RUN ASL: LINK
*ASL:HELPER.REL
*/VALUE:%HELPR
*^Z

;	Delete any source modules left in PAT:
;
.DELETE PAT:ALG*.MAC

;	Update sources
;
.RUN ASL: UPDATE
*@PAT:ALG10B.PCF

COMP::

;	Setup for KL/KI version
;
.COPY ALG.CPU=TTY:
*	PROC==KI10
*^Z

;	Assemble the OTS and library. Note that ALGPRM and ALGSYS produce
;	.UNV files and must always be assembled in order before any other
;	modules.  If any changes are made to ALGPRM or ALG.CPU (i.e., if
;	the processor type is changed), all ALGOL source files must be
;	reassembled.  If any changes are made to ALGSYS, the 3 files
;	following it and ALGCON must be reassembled.
;

.COMPILE ALG.CPU+ASL:ALGPRM.MAC
.COMPILE ASL:ALGSYS.MAC/COMPILE
.COMPILE ASL:ALGLIB.MAC/COMPILE
.COMPILE ASL:ALGDDT.MAC/COMPILE
.COMPILE ASL:ALGOTS.MAC/COMPILE

;	Assemble the compiler.  Note that ALGMAC produces a .UNV file and
;	must be assembled first.  If any changes are made to ALGMAC,
;	the 10 files following it must be reassembled.
;
COMP2::

.COMPILE ASL:ALGMAC.MAC/COMPILE
.COMPILE ASL:ALGCOD.MAC/COMPILE
.COMPILE ASL:ALGCON.MAC/COMPILE
.COMPILE ASL:ALGDEC.MAC/COMPILE
.COMPILE ASL:ALGEXP.MAC/COMPILE
.COMPILE ASL:ALGFOR.MAC/COMPILE
.COMPILE ASL:ALGFUN.MAC/COMPILE
.COMPILE ASL:ALGSER.MAC/COMPILE
.COMPILE ASL:ALGSTB.MAC/COMPILE
.COMPILE ASL:ALGSTM.MAC/COMPILE
.COMPILE ASL:ALGUTL.MAC/COMPILE

LOAD::

;	Generate ALGLIB library
;
.RUN ASL: MAKLIB
*ALGLIB=ALGLIB,ALGDDT/APPEND
*ALGLIB=ALGLIB,ALGOTS/APPEND
*ALGLIB=ALGLIB/INDEX
*/EXIT

;	Build the OTS
;
.RUN ASL: LINK
*ALGOTS/SSAVE
*ALGOTS/SEGMENT:HIGH/SYMSEG:HIGH/LOCALS
*ALGDDT/SEGMENT:HIGH/SYMSEG:HIGH/LOCALS
*/GO

;	Build the compiler
;
.RUN ASL: LINK
*ALGOL/SSAVE
*ALGCON,ALGSTB,ALGMAC,ALGDEC,ALGSTM,ALGEXP
*ALGFOR,ALGUTL,ALGSER,ALGCOD,ALGFUN
*REL:HELPER
*/GO

;	Delete CPU parameter file
;
.DELETE ALG.CPU

.R PEPB
*SIGNAL-SUCCESS ALGOL-10-V10B
.GOTO FIN

%ERR::
.GOTO ERROR
%CERR::
.GOTO ERROR
%TERR::
ERROR::
.DELETE ALG.CPU
.R PEPB
*SIGNAL-FAILURE ALGOL-10-V10B
*EXIT

FIN::
%FIN::