Google
 

Trailing-Edge - PDP-10 Archives - bb-d868a-bm - 3-sources/macro.ctl
There are 23 other files named macro.ctl in the archive. Click here to see a list.
!
! NAME: MACRO.CTL
! DATE:	1-MAR-78
!
!THIS CONTROL FILE IS PROVIDED FOR INFORMATION PURPOSES ONLY.  THE
!PURPOSE OF THE FILE IS TO DOCUMENT THE PROCEDURES USED TO BUILD
!THE DISTRIBUTED SOFTWARE.  IT IS UNLIKELY THAT THIS CONTROL FILE
!WILL BE ABLE TO BE SUBMITTED WITHOUT MODIFICATION ON CONSUMER
!SYSTEMS.  PARTICULAR ATTENTION SHOULD BE GIVEN TO ERSATZ DEVICES
!AND STRUCTURE NAMES, PPN'S, AND OTHER SUCH PARAMETERS.  SUBMIT
!TIMES MAY VARY DEPENDING ON SYSTEM CONFIGURATION AND LOAD.  THE
!AVAILABILITY OF SUFFICIENT DISK SPACE AND CORE IS MANDATORY.
!
! FUNCTION:	THIS CONTROL FILE BUILDS MACRO FROM ITS BASIC 
!		SOURCES.  THE FILES CREATED BY THIS JOB ARE:
!				MACRO.EXE
!
!	THIS CONTROL FILE IS TO BE SUBMITTED THEWW TIMES:  THE FIRST TIME
!	A MACRO V53 IS BUILT WITH MACRO V52 AND LINK V3A.  THE OTHER
!	TIMES MUST COME AFTER A VERSION OF LINK V4 IS BUILT, AND A
!	MACRO V53 IS BUILT WITH MACRO V53 AND LINK V4.  IN BETWEEN
!	THE SUBMISSIONS, THE PREVIOUS MACRO V53 WILL BE COPIED
!	TO A DIFFERENT NAME, SO THAT A FILCOM CAN BE DONE LATER.
;	THE COMPARISON IS DONE BY SUBMITTING M53-L4-FILCOM.CTL.
!
! SUBMIT WITH THE SWITCH "/TAG:CREF" TO OBTAIN
!   A .CRF LISTING OF THE SOURCE FILE
!
@DEF FOO: NUL:
@DEF SYS: DSK,PS:<FIELD-IMAGE>,PS:<REL>
@GOTO A
!
CREF:: @DEF FOO: DSK:
!
!
A::
!
! TAKE A CHECKSUMMED DIRECTORY OF ALL THE INPUT FILES
!
@VDIRECT SYS:MACRO.EXE,SYS:LINK.EXE,SYS:CREF.EXE,MACRO.MAC,SYS:HELPER.REL,
@CHECKSUM SEQ
@
@GET SYS:MACRO
@I VER
@GET SYS:LINK
@I VER
@GET SYS:CREF
@I VER
!
@COPY TTY: TOPS20.MAC
TOPS20==1
@^Z
!
@COMPILE /CREF TOPS20+MACRO.MAC
!
@R CREF
*FOO:MACRO.LST=MACRO.CRF
!
! ASSUMES HELPER.REL IS ON SYS:
@LOAD MACRO

!
@SAVE MACRO
!
!NOW GET THE NEW VERSION #
@I VER
@DIRECT MACRO.EXE,
@CHECKSUM SEQ
@
!
@DELETE MACRO.REL,TOPS20.MAC