Google
 

Trailing-Edge - PDP-10 Archives - bb-bt99p-bb - mx10.ctl
There are 12 other files named mx10.ctl in the archive. Click here to see a list.
!++
!   MX10.CTL
!
!       This file is used to build MX. It assumes all the sources will be
!	in the connected directory.
!
!       The EXE and all the RELs will be created in the connected directory.
!	MX.REL will be created with the appropriate copyright protection.
!
!	The following tags are supported:
!       .submit MX10            - Force a rebuild of all the sources,
!				  including the libraries
!       .submit MX10/TAG:NOLIB  - Rebuild everything except the libraries
!       .submit MX10/TAG:MX     - Just recompile the MX logic modules
!	.submit MX10/TAG:LINK   - Relink, but do not recompile anything
!	.submit MX10/TAG:DEBUG	- Like /TAG:LINK, but builds a standalone
!				  version of MX
!--
.GOTO BEGIN
DEBUG::
.COPY MXDBUG.CCL=TTY:
^Z
.GOTO LINK
BEGIN::
!
! We force the recompilation of the libraries, and all of the other modules
! in MX.
!
.R BLISS
*MONSYM=MONSYM/LIB
*MXNLIB=MXNLIB/LIB
*MXLIB=MXLIB/LIB
*TBL=TBL/LIB
*^Z
.NOERROR
.DELETE *.REL
BEGIN::
!
!Compile the nml-based modules
!
.ERROR ?
.R BLISS
*M10INT=M10INT
*MXNMEM=MXNMEM
*MXNPAG=MXNPAG
*MXNQUE=MXNQUE
*MXNTBL=MXNTBL
*MXNTXT=MXNTXT
*M10IPC=M10IPC
*^Z
!
!Compile the mx logic modules
!
MX::
.R BLISS
*MXDATA=MXDATA
*MXHOST=MXHOST
*MXLCL=MXLCL
*MXQMAN=MXQMAN
*MXUFIL=MXUFIL
*TBL=TBL
*MXERR=MXERR
*MXDCNT=MXDCNT
*MXNSKD=MXNSKD
*MXNNET=MXNNET
*^Z
!
!Assemble the macro modules.
!
MACS::
.COMPILE CPYRYT.MAC,SENVAX.MAC,LISVAX.MAC,SMTSEN.MAC,MXUT10.MAC
.COMPILE SMTLIS.MAC,MXNT10.MAC,MXVER.MAC,NETTAB.MAC
!
!Create MX.REL
!
LINK::
.COPY MX.REL=CPYRYT.REL,M10INT.REL,M10IPC.REL,MXNMEM.REL,MXNPAG.REL,MXUT10.REL
.COPY MX.REL=MX.REL,MXNQUE.REL,MXNSKD.REL,MXNT10.REL,MXNTBL.REL,MXNTXT.REL
.COPY MX.REL=MX.REL,MXNNET.REL,MXDATA.REL,MXHOST.REL,MXLCL.REL,MXQMAN.REL
.COPY MX.REL=MX.REL,MXUFIL.REL,MXERR.REL,MXDCNT.REL,TBL.REL,MXVER.REL
.COPY MX.REL=MX.REL,SMTLIS.REL,SMTSEN.REL,SENVAX.REL,LISVAX.REL
!
!Link all modules
!
.R LINK
*/MAP: MX
*/SYMSEG:HIGH
*/LOCALS
*MX,
*NETTAB
*/save MX
*/go
.ERROR %
.DELETE MXDBUG.CCL
.IF (ERROR) GOTO DONE
.ERROR ?
.COPY MXDBUG.EXE=MX.EXE
.R FILDDT
*MXDBUG.EXE/P
*DEBUG/DB.GLX
*NSMTP/0
*NVM11/0
*^Z
DONE::
.