	;  File: [12,25]MC2MODBLD.CMD
	;
	.; If P1 = "NO"  Do not update INS.OLB & MCR.OLB now.
	.ENABLE SUBSTITUTION
	.SETS SC ""
	.SETS PSC ""
	.IF P1 EQ "NO" .SETS PSC ".;	"
	.IF P1 EQ "NO" .SETS SC ";	"
	.SETS CUIC <UIC>
	ASN SY:=LB:
	ASN SY:=OU:
	ASN SY:=LI:
	ASN SY:=IN:
	;
	SET /UIC=[12,41]
	SLP @MC2INSMOD.SLP
	SLP @MC2MCRMOD.SLP
	SET /UIC=[1,1]
	ASN SY:=SD:
	SLP @[11,41]DREIF.SLP
	SLP @[12,41]INSBLDBLD.SLP
	SET /UIC=[12,25]
	MAC @MC2.ASM
	MAC @INSMODS.ASM
	MAC @MCRMODS.ASM
	; Build MC2MODINS.OBM/(INS.OLB) & MC2MODMCR.OBM/(MCR.OLB)
	PIP MC2MODINS.OBM;1/ME/SU=INSHD.OBJ,INSLB,INSPS
	PIP MC2MODMCR.OBM;1/ME/SU=MCRDIS.OBJ,FIXOV,MCROOT,ERROV,ERRMSG,PR1OV
	PIP MC2MODMCR.OBM;1/AP=ALTOV.OBJ,ATLOV,CLIOV,LUNOV,OPEOV,RAPOV
	PIP MC2MODMCR.OBM;1/AP=RUNOV.OBJ,ST1OV,RPSOV,TASOV
	PIP *.OBJ;*/DE/LD
	;
	;  SPSOV gets ASM''d in SYSGEN & /RP in MCR.OLB during SYSGEN2
	;
	.SETS SPS ""
'PSC'MAC SPSOV,[12,35]SPSOV.LST;1/CR/-SP=[1,1]EXEMC/ML,[11,10]RSXMC,[12,10]SPSOV
'PSC'.SETS SPS ",SPSOV.OBJ"
	;
	SET /UIC=[1,24]
	;
	; Update INS.OLB & MCR.OLB
'SC'LBR [1,24]INS.OLB/RP/-EP=[12,25]MC2MODINS.OBM
'SC'LBR [1,24]MCR.OLB/RP/-EP=[12,25]MC2MODMCR.OBM'SPS'
	.IF SPS NE "" PIP [12,25]SPSOV.OBJ;0/DE
'SC'PIP [1,24]SYSROT.OBJ;2/SU=[12,25]SYSROT.OBM;1
	;
.2ND:	; Task Build MC2
	TKB @[12,25]MC2.TKB
	;
	SET /UIC='CUIC'
	ASN =OU:
	ASN =LI:
	ASN =IN:
	ASN =SD:
	ASN =LB:
