;*****
;
;	MBDRV.CMD - Procedure to create all required MACRO and OBJECT
;	 libraries, and link the RSX-11M inter-task Mailbox Driver (MB:).
;	 This procedure assumes the system's pre-assembly file (RSXMC.MAC)
;	 and symbol table (RSX11M.STB) are under the current system UIC.
;	
;				* * * NOTE * * *
;
;	 	All programs, information and copies are provided "As
;		Is".  American Electric Power Service Corporation and
;		the contributor disclaim all warranties on the programs,
;		including without limitation, all implied warranties
;		of merchantibility and fitness.
;
;*****
.enable substitution
.setf inslbr
.ifnins	...LBR .sett inslbr
.ift inslbr INS $LBR
LBR MBDRV.MLB/CR:10.::64.:MAC=DDBDEF.MAC,MBIOFN.MAC
.open MBDRVASM.CMD
.enable data
;
; *** MBDRVASM.CMD - Indirect command file to assemble MB: device driver
;	and driver data base
;
MBDRV,MBDRV/-SP=LB:[1,1]EXEMC/ML,SY:'<SYSUIC>'RSXMC/PA:1,'<UIC>'MBDRV/ML,MBDRV
MBTAB,MBTAB/-SP=LB:[1,1]EXEMC/ML,SY:'<SYSUIC>'RSXMC/PA:1,'<UIC>'MBDRV/ML,MBTAB
MBIOFN=MBIOFN
.disable data
.close
MAC @MBDRVASM
LBR MBDRV/CR:20.=MBDRV.OBJ,MBTAB.OBJ,MBIOFN.OBJ
.ift inslbr REM ...LBR
PIP MB*.OBJ;*/DE/NM
.open MBDRVBLD.CMD
.enable data
;
; *** MBDRVBLD.CMD - Indirect command file to task build MB: driver
;
MBDRV/-HD/-MM,MBDRV/-SP,MBDRV=MBDRV/LB:MBDRV:MBTAB
'<SYSUIC>'RSX11M.STB/SS,LB:[1,1]EXELIB/LB
/
STACK=0
PAR=DRVPAR:120000:12000
//
.disable data
.close
TKB @MBDRVBLD
PIP *.*/PU
PIP '<SYSUIC>'/NV/FO=MBDRV.TSK,MBDRV.STB
