Google
 

Trailing-Edge - PDP-10 Archives - BB-D608D-SB_1982 - algol.ctl
There are 8 other files named algol.ctl in the archive. Click here to see a list.
;	Control file to build DECsystem-10 ALGOL
;	.SUBMIT ALGOL/TIME:0:30:0/RESTART:YES


;COPYRIGHT (C) 1974,1981,1982 BY
;DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.

;THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY ONLY BE USED
;AND COPIED IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE AND WITH
;THE INCLUSION OF THE ABOVE COPYRIGHT NOTICE.

;	VERSION 10.2	ALGOL.CTL	22-Dec-81

;This control file describes the procedures used to build the distributed
;software.   It  is  unlikely  that  this  control  file can be submitted
;without  modification  on  customer  systems.   Submit  times  may  vary
;depending  on  system  configuration  and  load.   The  availability  of
;sufficient disk space and core is mandatory.  This control file has  not
;been  extensively  tested on alternate configurations.  It has been used
;successfully  for  its  intended  purpose:   to  build  the  distributed
;software on our development systems.
;
;	This control file builds either a KI or KA version of ALGOL.
;	The default is to build a KI version.
;	To force compilation and produce cross reference listings for
;	the KI version, Submit ALGOL.CTL with switch /TAG:LIST.
;	To compile (or compile and get listings) of a KA version, Submit
;	ALGOL.CTL with switch /TAG:ALGKA or /TAG:LISKA respectively.

;
;	Required system files:
;
;	SYS:		COMPIL.EXE
;			CREF.EXE
;			DIRECT.EXE
;			LINK.EXE
;			MACRO.EXE
;			MAKLIB.EXE
;			PIP.EXE
;			RUNOFF.EXE
;
;	REL:		HELPER.REL
;
;	Input files:
;
;	DSK:		ALGCOD.MAC
;			ALGCON.MAC
;			ALGDDT.HLP
;			ALGDDT.MAC
;			ALGDEC.MAC
;			ALGEXP.MAC
;			ALGFOR.MAC
;			ALGFUN.MAC
;			ALGLIB.MAC
;			ALGMAC.MAC
;			ALGOL.CTL
;			ALGOL.HLP
;			ALGOL.RNB
;			ALGOL.RND
;			ALGOTS.MAC
;			ALGPRM.MAC
;			ALGSER.MAC
;			ALGSTB.MAC
;			ALGSTM.MAC
;			ALGSYS.MAC
;			ALGUTL.MAC
;
;	Output files:
;
;	DSK:		ALG310.EXE
;			ALGCOD.REL
;			ALGCON.REL
;			ALGDDT.REL
;			ALGDEC.REL
;			ALGEXP.REL
;			ALGFOR.REL
;			ALGFUN.REL
;			ALGLIB.REL
;			ALGMAC.REL
;			ALGMAC.UNV
;			ALGOL.BWR
;			ALGOL.DOC
;			ALGOL.EXE
;			ALGOL.LOG
;			ALGOTS.REL
;			ALGPRM.REL
;			ALGPRM.UNV
;			ALGSER.REL
;			ALGSTB.REL
;			ALGSTM.REL
;			ALGSYS.REL
;			ALGSYS.UNV
;			ALGUTL.REL
;
;	Listings if requested:
;
;			ALGCOD.LST
;			ALGCON.LST
;			ALGDDT.LST
;			ALGDEC.LST
;			ALGEXP.LST
;			ALGFOR.LST
;			ALGFUN.LST
;			ALGLIB.LST
;			ALGMAC.LST
;			ALGOTS.LST
;			ALGPRM.LST
;			ALGSER.LST
;			ALGSTB.LST
;			ALGSTM.LST
;			ALGSYS.LST
;			ALGUTL.LST

ALGOL::
.CHKPNT ALGOL

;	Setup logical names
;
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:

;	Indicate system software versions
;
.DIRECT SYS:MACRO.EXE,SYS:LINK.EXE,SYS:CREF.EXE,SYS:MAKLIB.EXE/CHECKSUM
.DIRECT SYS:RUNOFF.EXE,SYS:COMPIL.EXE,SYS:PIP.EXE,REL:HELPER.REL/CHECKSUM
.R LINK
*REL:HELPER.REL
*/VALUE:%HELPR
*^Z

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

.GOTO COMP

ALGKA::
.CHKPNT ALGKA

;	Setup logical names
;
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:

;	Setup for KA version
;
.COPY ALG.CPU=TTY:
*	PROC=KA10
*^Z


COMP::

;	Checksum input files
;
.DIRECT /CHECKSUM -
*ALGCOD.MAC, -
*ALGCON.MAC, -
*ALGDDT.HLP, -
*ALGDDT.MAC, -
*ALGDEC.MAC, -
*ALGEXP.MAC, -
*ALGFOR.MAC, -
*ALGFUN.MAC, -
*ALGLIB.MAC, -
*ALGMAC.MAC, -
*ALGOL.CTL, -
*ALGOL.HLP, -
*ALGOL.RNB, -
*ALGOL.RND, -
*ALGOTS.MAC, -
*ALGPRM.MAC, -
*ALGSER.MAC, -
*ALGSTB.MAC, -
*ALGSTM.MAC, -
*ALGSYS.MAC, -
*ALGUTL.MAC

;	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+ALGPRM.MAC
.COMPILE ALGSYS.MAC
.COMPILE ALGDDT.MAC
.COMPILE ALGLIB.MAC
.COMPILE ALGOTS.MAC

;	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.
;
.COMPILE ALGMAC.MAC
.COMPILE ALGCOD.MAC
.COMPILE ALGCON.MAC
.COMPILE ALGDEC.MAC
.COMPILE ALGEXP.MAC
.COMPILE ALGFOR.MAC
.COMPILE ALGFUN.MAC
.COMPILE ALGSER.MAC
.COMPILE ALGSTB.MAC
.COMPILE ALGSTM.MAC
.COMPILE ALGUTL.MAC

.GOTO LOAD

LIST::

.CHKPNT LIST

;	Setup logical names
;
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:

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

.GOTO LISTC

LISKA::
.CHKPNT LISKA

;	Setup logical names
;
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:

;	Setup for KA version
;
.COPY ALG.CPU=TTY:
*	PROC==KA10
*^Z


LISTC::

;	Assemble and CREF the OTS and library. Note that ALGPRM and ALGSYS
;	produce Universal files and must always be assembled in order before
;	any other modules.
;
.COMPILE ALG.CPU+ALGPRM.MAC/COMPILE/CREF
.COMPILE ALGSYS.MAC/COMPILE/CREF
.COMPILE ALGLIB.MAC/COMPILE/CREF
.COMPILE ALGDDT.MAC/COMPILE/CREF
.COMPILE ALGOTS.MAC/COMPILE/CREF

;	Assemble and CREF the compiler.
;
.COMPILE ALGMAC.MAC/COMPILE/CREF
.COMPILE ALGCON.MAC/COMPILE/CREF
.COMPILE ALGSTB.MAC/COMPILE/CREF
.COMPILE ALGDEC.MAC/COMPILE/CREF
.COMPILE ALGSTM.MAC/COMPILE/CREF
.COMPILE ALGEXP.MAC/COMPILE/CREF
.COMPILE ALGFOR.MAC/COMPILE/CREF
.COMPILE ALGUTL.MAC/COMPILE/CREF
.COMPILE ALGSER.MAC/COMPILE/CREF
.COMPILE ALGCOD.MAC/COMPILE/CREF
.COMPILE ALGFUN.MAC/COMPILE/CREF

;	Produce CREF listings
;
.R CREF
*ALGPRM=ALGPRM
*ALGSYS=ALGSYS
*ALGOTS=ALGOTS
*ALGDDT=ALGDDT
*ALGLIB=ALGLIB
*ALGCON=ALGCON
*ALGSTB=ALGSTB
*ALGMAC=ALGMAC
*ALGDEC=ALGDEC
*ALGSTM=ALGSTM
*ALGEXP=ALGEXP
*ALGFOR=ALGFOR
*ALGUTL=ALGUTL
*ALGSER=ALGSER
*ALGCOD=ALGCOD
*ALGFUN=ALGFUN
*^Z


LOAD::
.CHKPNT LOAD

;	Setup logical names
;
.ASSIGN DEC: SYS:
.ASSIGN DEC: REL:

;	Generate ALGLIB library
;
.R MAKLIB
*ALGLIB=ALGLIB,ALGDDT/APPEND
*ALGLIB=ALGLIB,ALGOTS/APPEND
*ALGLIB=ALGLIB/INDEX
*/EXIT

;	Build the OTS
;
.R LINK
*ALG310/SSAVE
*ALGOTS/SEGMENT:HIGH
*ALGDDT/SEGMENT:HIGH
*/GO

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

;	Delete CPU parameter file
;
.DELETE ALG.CPU

;	RUNOFF documentation
;
.NOERROR
.R RUNOFF (ALGOL.BWR=ALGOL.RNB)
.R RUNOFF (ALGOL.DOC=ALGOL.RND)
.ERROR

;	Final directory of output files
;
.DIRECT /CHECKSUM -
*ALG310.EXE, -
*ALGCOD.REL, -
*ALGCON.REL, -
*ALGDDT.REL, -
*ALGDEC.REL, -
*ALGEXP.REL, -
*ALGFOR.REL, -
*ALGFUN.REL, -
*ALGLIB.REL, -
*ALGMAC.REL, -
*ALGMAC.UNV, -
*ALGOL.BWR, -
*ALGOL.DOC, -
*ALGOL.EXE, -
*ALGOL.LOG, -
*ALGOTS.REL, -
*ALGPRM.REL, -
*ALGPRM.UNV, -
*ALGSER.REL, -
*ALGSTB.REL, -
*ALGSTM.REL, -
*ALGSYS.REL, -
*ALGSYS.UNV, -
*ALGUTL.REL

.DIRECT /CHECKSUM ALG*.LST

.GOTO FINIS

%ERR::
.
.GOTO FINIS

FINIS::
%FIN::