home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
modcomp
/
bldker.
next >
Wrap
Text File
|
1987-01-25
|
2KB
|
94 lines
$PROD BLDKER,,,,NONE
$NOP
$IFN %1=HELP,P/$GOTO NOHELP
$GOTO HELP
$TAG ARGERR
$NOP ** MISSING A REQUIRED ARGUMENT **
$TAG HELP
$NOP
$NOP ***** PROCEDURE TO COMPLETELY BUILD MODCOMP KERMIT *****
$NOP
$NOP *** ARG 1 = NAME OF SOURCE LIBRARY (NO DEFAULT)
$NOP *** ARG 2 = NAME OF OBJECT LIBRARY (NO DEFAULT)
$NOP *** ARG 3 = NAME OF LOAD MODULE FILE (NO DEFAULT)
$NOP *** ARG 4 = LIST OPTION; IF <> NONE, FORTRAN LISTINGS
$NOP *** AND A LINK MAP ARE PRODUCED (DEFAULT = %4)
$NOP
$NOP *** EXAMPLE --> $BLDKER USL,UL,LM,LO
$NOP
$ENDDO
$NOP
$TAG NOHELP
$IFM %1,P/$GOTO ARGERR
$IFM %2,P/$GOTO ARGERR
$IFM %3,P/$GOTO ARGERR
$DOFR5 BUFEMP,%1,%4,,%2
$DOFR5 BUFILL,%1,%4,,%2
$DOFR5 CTL,%1,%4,,%2
$DOFR5 CTOI,%1,%4,,%2
$DOFR5 DGETCH,%1,%4,,%2
$DOFR5 DGETLI,%1,%4,,%2
$DOFR5 DPUTCH,%1,%4,,%2
$DOFR5 DPUTLI,%1,%4,,%2
$DOFR5 FINDLN,%1,%4,,%2
$DOFR5 FXFILE,%1,%4,,%2
$DOFR5 GETLIN,%1,%4,,%2
$DOFR5 PACK,%1,%4,,%2
$DOFR5 PARSER,%1,%4,,%2
$IF %4=NONE,P/$DOM5A POSUSL,%1,NOLO,%2
$IFN %4=NONE,P/$DOM5A POSUSL,%1,LO,%2
$DOFR5 RDATA,%1,%4,,%2
$DOFR5 RECSW,%1,%4,,%2
$DOFR5 RFILE,%1,%4,,%2
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