blob: cb92b758f64911eef9ffe5942fbb564d66736a8a [file] [log] [blame] [raw]
#
# DESCRIP.MMS
# Written By: Robert Alan Byer
# byer@mail.ourservers.net
#
# This MMS/MMK build script is used to compile the various simulators in
# the SIMH package for OpenVMS using DEC C v6.0-001.
#
# Notes: On VAX, the PDP-10 and VAX simulator will not be built due to the
# fact that INT64 is required for those simulators.
#
# When using DEC's MMS on an Alpha you must use
# /MACRO=("__ALPHA__=1") to compile properly.
#
# This build script will accept the following build options.
#
# ALL Just Build "Everything".
# ALTAIR Just Build The MITS Altair.
# ALTAIRZ80 Just Build The MITS Altair Z80.
# ECLIPSE Just Build The Data General Eclipse.
# GRI Just Build The GRI Corporation GRI-909.
# H316 Just Build The Honewell 316/516.
# HP2100 Just Build The Hewlett-Packard HP-2100.
# I1401 Just Build The IBM 1401.
# IBM1130 Just Build The IBM 1130.
# ID16 Just Build The Interdata 16-bit CPU.
# ID32 Just Build The Interdata 32-bit CPU.
# NOVA Just Build The Data General Nova.
# PDP1 Just Build The DEC PDP-1.
# PDP4 Just Build The DEC PDP-4.
# PDP7 Just Build The DEC PDP-7.
# PDP8 Just Build The DEC PDP-8.
# PDP9 Just Build The DEC PDP-9.
# PDP10 Just Build The DEC PDP-10.
# PDP11 Just Build The DEC PDP-11.
# PDP15 Just Build The DEC PDP-15.
# S3 Just Build The IBM System 3.
# SDS Just Build The SDS 940.
# VAX Just Build The DEC VAX.
#
# To build with debugging enabled (which will also enable traceback
# information) use..
#
# MMK/FORCE/MACRO=(DEBUG=1)
#
#
# Define The BIN Directory Where The Executables Will Go.
#
BIN_DIR = SYS$DISK:[.BIN]
#
# Define Our Library Directory.
#
LIB_DIR = SYS$DISK:[.LIB]
#
# Let's See If We Are Going To Build With DEBUG Enabled.
#
.IFDEF DEBUG
CC_DEBUG = /DEBUG
LINK_DEBUG = /DEBUG/TRACEBACK
CC_OPTIMIZE = /NOOPTIMIZE
.ELSE
CC_DEBUG = /NODEBUG
LINK_DEBUG = /NODEBUG/NOTRACEBACK
.IFDEF __ALPHA__
CC_OPTIMIZE = /OPTIMIZE=(LEVEL=5,TUNE=HOST)/ARCH=HOST
CC_FLAGS = /PREFIX=ALL
ARCH = AXP
.ELSE
CC_OPTIMIZE = /OPTIMIZE
ARCH = VAX
.ENDIF
.ENDIF
#
# Define Our Compiler Flags.
#
CC_FLAGS = $(CC_FLAGS)$(CC_OPTIMIZE)/NEST=PRIMARY/NAME=(AS_IS,SHORTENED)
#
# Define The Compile Command.
#
CC = CC $(CC_FLAGS)
#
# First, Let's Check To Make Sure We Have A SYS$DISK:[.BIN] And
# SYS$DISK:[.LIB] Directory.
#
.FIRST
@ IF (F$SEARCH("SYS$DISK:[]BIN.DIR").EQS."") THEN CREATE/DIRECTORY $(BIN_DIR)
@ IF (F$SEARCH("SYS$DISK:[]LIB.DIR").EQS."") THEN CREATE/DIRECTORY $(LIB_DIR)
#
# Core SIMH File Definitions.
#
SIMH_DIR = SYS$DISK:[]
SIMH_LIB = $(LIB_DIR)SIMH-$(ARCH).OLB
SIMH_SOURCE = $(SIMH_DIR)SCP_TTY.C,$(SIMH_DIR)SIM_SOCK.C,\
$(SIMH_DIR)SIM_TMXR.C,$(SIMH_DIR)SIM_ETHER.C
SIMH_OBJS = $(SIMH_DIR)SCP_TTY.OBJ,$(SIMH_DIR)SIM_SOCK.OBJ,\
$(SIMH_DIR)SIM_TMXR.OBJ,$(SIMH_DIR)SIM_ETHER.OBJ
#
# MITS Altair Simulator Definitions.
#
ALTAIR_DIR = SYS$DISK:[.ALTAIR]
ALTAIR_LIB = $(LIB_DIR)ALTAIR-$(ARCH).OLB
ALTAIR_SOURCE = $(ALTAIR_DIR)ALTAIR_SIO.C,$(ALTAIR_DIR)ALTAIR_CPU.C,\
$(ALTAIR_DIR)ALTAIR_DSK.C,$(ALTAIR_DIR)ALTAIR_SYS.C
ALTAIR_OBJS = $(ALTAIR_DIR)ALTAIR_SIO.OBJ,$(ALTAIR_DIR)ALTAIR_CPU.OBJ,\
$(ALT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DIR = SYS$DISK:[.GRI]
GRI_LIB = $(LIB_DIR)GRI-$(ARCH).OLB
GRI_SOURCE = $(GRI_DIR)GRI_CPU.C,$(GRI_DIR)GRI_STDDEV.C,$(GRI_DIR)GRI_SYS.C
GRI_OBJS = $(GRI_DIR)GRI_CPU.OBJ,$(GRI_DIR)GRI_STDDEV.OBJ,\
$(GRI_DIR)GRI_SYS.OBJ
GRI_OPTIONS = /INCLUDE=($(SIMH_DIR),$(GRI_DIR))
#
# Honeywell 316/516 Simulator Definitions.
#
H316_DIR = SYS$DISK:[.H316]
H316_LIB = $(LIB_DIR)H316-$(ARCH).OLB
H316_SOURCE = $(H316_DIR)H316_STDDEV.C,$(H316_DIR)H316_LP.C,\
$(H316_DIR)H316_CPU.C,$(H316_DIR)H316_SYS.C
H316_OBJS = $(H316_DIR)H316_STDDEV.OBJ,$(H316_DIR)H316_LP.OBJ,\
$(H316_DIR)H316_CPU.OBJ,$(H316_DIR)H316_SYS.OBJ
H316_OPTIONS = /INCLUDE=($(SIMH_DIR),$(H316_DIR))
#
# Hewlett-Packard HP-2100 Simulator Definitions.
#
HP2100_DIR = SYS$DISK:[.HP2100]
HP2100_LIB = $(LIB_DIR)HP2100-$(ARCH).OLB
HP2100_SOURCE = $(HP2100_DIR)HP2100_STDDEV.C,$(HP2100_DIR)HP2100_DP.C,\
$(HP2100_DIR)HP2100_DQ.C,$(HP2100_DIR)HP2100_DR.C,\
$(HP2100_DIR)HP2100_LPS.C,$(HP2100_DIR)HP2100_MS.C,\
$(HP2100_DIR)HP2100_MT.C,$(HP2100_DIR)HP2100_MUX.C,\
$(HP2100_DIR)HP2100_CPU.C,$(HP2100_DIR)HP2100_FP.C,\
$(HP2100_DIR)HP2100_SYS.C,$(HP2100_DIR)HP2100_LPT.C,\
$(HP2100_DIR)HP2100_IPL.C
HP2100_OBJS = $(HP2100_DIR)HP2100_STDDEV.OBJ,$(HP2100_DIR)HP2100_DP.OBJ,\
$(HP2100_DIR)HP2100_DQ.OBJ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ID16_OPTIONS = /INCLUDE=($(SIMH_DIR),$(ID16_DIR))
#
# Interdata 32-bit CPU.
#
ID32_DIR = SYS$DISK:[.INTERDATA]
ID32_LIB = $(LIB_DIR)ID32-$(ARCH).OLB
ID32_SOURCE = $(ID32_DIR)ID32_CPU.C,$(ID32_DIR)ID32_SYS.C,$(ID32_DIR)ID_DP.C,\
$(ID32_DIR)ID_FD.C,$(ID32_DIR)ID_FP.C,$(ID32_DIR)ID_IDC.C,\
$(ID32_DIR)ID_IO.C,$(ID32_DIR)ID_LP.C,$(ID32_DIR)ID_MT.C,\
$(ID32_DIR)ID_PAS.C,$(ID32_DIR)ID_PT.C,$(ID32_DIR)ID_TT.C,\
$(ID32_DIR)ID_UVC.C,$(ID32_DIR)ID32_DBOOT.C,$(ID32_DIR)ID_TTP.C
ID32_OBJS = $(ID32_DIR)ID32_CPU.OBJ,$(ID32_DIR)ID32_SYS.OBJ,\
$(ID32_DIR)ID_DP.OBJ,$(ID32_DIR)ID_FD.OBJ,\
$(ID32_DIR)ID_FP.OBJ,$(ID32_DIR)ID_IDC.OBJ,\
$(ID32_DIR)ID_IO.OBJ,$(ID32_DIR)ID_LP.OBJ,$(ID32_DIR)ID_MT.OBJ,\
$(ID32_DIR)ID_PAS.OBJ,$(ID32_DIR)ID_PT.OBJ,$(ID32_DIR)ID_TT.OBJ,\
$(ID32_DIR)ID_UVC.OBJ,$(ID32_DIR)ID32_DBOOT.C,$(ID32_DIR)ID_TTP.OBJ
ID32_OPTIONS = /INCLUDE=($(SIMH_DIR),$(ID32_DIR))
#
# IBM 1130 Simulator Definitions.
#
IBM1130_DIR = SYS$DISK:[.IBM1130]
IBM1130_LIB = $(LIB_DIR)IBM1130-$(ARCH).OLB
IBM1130_SOURCE = $(IBM1130_DIR)IBM1130_CPU.C,$(IBM1130_DIR)IBM1130_CR.C,\
$(IBM1130_DIR)IBM1130_DISK.C,$(IBM1130_DIR)IBM1130_STDDEV.C,\
$(IBM1130_DIR)IBM1130_SYS.C,$(IBM1130_DIR)IBM1130_GDU.C,\
$(IBM1130_DIR)IBM1130_GUI.C,$(IBM1130_DIR)IBM1130_PRT.C
IBM1130_OBJS = $(IBM1130_DIR)IBM1130_CPU.OBJ,$(IBM1130_DIR)IBM1130_CR.OBJ,\
$(IBM1130_DIR)IBM1130_DISK.OBJ,$(IBM1130_DIR)IBM1130_STDDEV.OBJ,\
$(IBM1130_DIR)IBM1130_SYS.OBJ,$(IBM1130_DIR)IBM1130_GDU.OBJ,\
$(IBM1130_DIR)IBM1130_GUI.OBJ,$(IBM1130_DIR)IBM1130_PRT.OBJ
IBM1130_OPTIONS = /INCLUDE=($(SIMH_DIR),$(IBM1130_DIR))
#
# IBM 1401 Simulator Definitions.
#
I1401_DIR = SYS$DISK:[.I1401]
I1401_LIB = $(LIB_DIR)I1401-$(ARCH).OLB
I1401_SOURCE = $(I1401_DIR)I1401_LP.C,$(I1401_DIR)I1401_CPU.C,\
$(I1401_DIR)I1401_IQ.C,$(I1401_DIR)I1401_CD.C,\
$(I1401_DIR)I1401_MT.C,$(I1401_DIR)I1401_DP.C,\
$(I1401_DIR)I1401_SYS.C
I1401_OBJS = $(I1401_DIR)I1401_LP.OBJ,$(I1401_DIR)I1401_CPU.OBJ,\
$(I1401_DIR)I1401_IQ.OBJ,$(I1401_DIR)I1401_CD.OBJ,\
$(I1401_DIR)I1401_MT.OBJ,$(I1401_DIR)I1401_DP.OBJ,\
$(I1401_DIR)I1401_SYS.OBJ
I1401_OPTIONS = /INCLUDE=($(SIMH_DIR),$(I1401_DIR))
#
# IBM 1620 Simulators Definitions.
#
I1620_DIR = SYS$DISK:[.I1620]
I1620_LIB = $(LIB_DIR)I1620-$(ARCH).OLB
I1620_SOURCE = $(I1620_DIR)I1620_CD.C,$(I1620_DIR)I1620_DP.C,\
$(I1620_DIR)I1620_PT.C,$(I1620_DIR)I1620_TTY.C,\
$(I1620_DIR)I1620_CPU.C,$(I1620_DIR)I1620_LP.C,\
$(I1620_DIR)I1620_FP.C,$(I1620_DIR)I1620_SYS.C
I1620_OBJS = $(I1620_DIR)I1620_CD.OBJ,$(I1620_DIR)I1620_DP.OBJ,\
$(I1620_DIR)I1620_PT.OBJ,$(I1620_DIR)I1620_TTY.OBJ,\
$(I1620_DIR)I1620_CPU.OBJ,$(I1620_DIR)I1620_LP.OBJ,\
$(I1620_DIR)I1620_FP.OBJ,$(I1620_DIR)I1620_SYS.OBJ
I1620_OPTIONS = /INCLUDE=($(SIMH_DIR),$(I1620_DIR))
#
# PDP-1 Simulator Definitions.
#
PDP1_DIR = SYS$DISK:[.PDP1]
PDP1_LIB = $(LIB_DIR)PDP1-$(ARCH).OLB
PDP1_SOURCE = $(PDP1_DIR)PDP1_LP.C,$(PDP1_DIR)PDP1_CPU.C,\
$(PDP1_DIR)PDP1_STDDEV.C,$(PDP1_DIR)PDP1_SYS.C,\
$(PDP1_DIR)PDP1_DT.C,${PDP1_DIR}PDP1_DRM.C
PDP1_OBJS = $(PDP1_DIR)PDP1_LP.OBJ,$(PDP1_DIR)PDP1_CPU.OBJ,\
$(PDP1_DIR)PDP1_STDDEV.OBJ,$(PDP1_DIR)PDP1_SYS.OBJ,\
$(PDP1_DIR)PDP1_DT.OBJ,{PDP1_DIR}PDP1_DRM.OBJ
PDP1_OPTIONS = /INCLUDE=($(SIMH_DIR),$(PDP1_DIR))
#
# Digital Equipment PDP-8 Simulator Definitions.
#
PDP8_DIR = SYS$DISK:[.PDP8]
PDP8_LIB = $(LIB_DIR)PDP8-$(ARCH).OLB
PDP8_SOURCE = $(PDP8_DIR)PDP8_CPU.C,$(PDP8_DIR)PDP8_CLK.C,\
$(PDP8_DIR)PDP8_DF.C,$(PDP8_DIR)PDP8_DT.C,\
$(PDP8_DIR)PDP8_LP.C,$(PDP8_DIR)PDP8_MT.C,\
$(PDP8_DIR)PDP8_PT.C,$(PDP8_DIR)PDP8_RF.C,\
$(PDP8_DIR)PDP8_RK.C,$(PDP8_DIR)PDP8_RX.C,\
$(PDP8_DIR)PD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)PDP18B_DRM.OBJ,\
$(PDP18B_DIR)PDP18B_CPU.OBJ,$(PDP18B_DIR)PDP18B_LP.OBJ,\
$(PDP18B_DIR)PDP18B_MT.OBJ,$(PDP18B_DIR)PDP18B_RF.OBJ,\
$(PDP18B_DIR)PDP18B_RP.OBJ,$(PDP18B_DIR)PDP18B_STDDEV.OBJ,\
$(PDP18B_DIR)PDP18B_SYS.OBJ,$(PDP18B_DIR)PDP18B_TT1.OBJ,\
$(PDP18B_DIR)PDP18B_RB.OBJ
PDP4_OPTIONS = /INCLUDE=($(SIMH_DIR),$(PDP18B_DIR))/DEFINE=("PDP4=1")
PDP7_OPTIONS = /INCLUDE=($(SIMH_DIR),$(PDP18B_DIR))/DEFINE=("PDP7=1")
PDP9_OPTIONS = /INCLUDE=($(SIMH_DIR),$(PDP18B_DIR))/DEFINE=("PDP9=1")
PDP15_OPTIONS = /INCLUDE=($(SIMH_DIR),$(PDP18B_DIR))/DEFINE=("PDP15=1")
#
# Digital Equipment PDP-11 Simulator Definitions.
#
PDP11_DIR = SYS$DISK:[.PDP11]
PDP11_LIB = $(LIB_DIR)PDP11-$(ARCH).OLB
PDP11_SOURCE = $(PDP11_DIR)PDP11_FP.C,$(PDP11_DIR)PDP11_CPU.C,\
$(PDP11_DIR)PDP11_DZ.C,$(PDP11_DIR)PDP11_CIS.C,\
$(PDP11_DIR)PDP11_LP.C,$(PDP11_DIR)PDP11_RK.C,\
$(PDP11_DIR)PDP11_RL.C,$(PDP11_DIR)PDP11_RP.C,\
$(PDP11_DIR)PDP11_RX.C,$(PDP11_DIR)PDP11_STDDEV.C,\
$(PDP11_DIR)PDP11_SYS.C,$(PDP11_DIR)PDP11_TC.C,\
$(PDP11_DIR)PDP11_TM.C,$(PDP11_DIR)PDP11_TS.C,\
$(PDP11_DIR)PDP11_IO.C,$(PDP11_DIR)PDP11_RQ.C,\
$(PDP11_DIR)PDP11_TQ.C,$(PDP11_DIR)PDP11_PCLK.C,\
$(PDP11_DIR)PDP11_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R)VAX_CPU1.OBJ,$(VAX_DIR)VAX_CPU.OBJ,\
$(VAX_DIR)VAX_FPA.OBJ,$(VAX_DIR)VAX_IO.OBJ,\
$(VAX_DIR)VAX_MMU.OBJ,$(VAX_DIR)VAX_STDDEV.OBJ,\
$(VAX_DIR)VAX_SYS.OBJ,$(VAX_DIR)VAX_SYSDEV.OBJ,\
$(VAX_DIR)PDP11_RL.OBJ,$(VAX_DIR)PDP11_RQ.OBJ,\
$(VAX_DIR)PDP11_TS.OBJ,$(VAX_DIR)PDP11_DZ.OBJ,\
$(VAX_DIR)PDP11_LP.OBJ,$(VAX_DIR)PDP11_TQ.OBJ,\
$(VAX_DIR)PDP11_PT.OBJ,$(VAX_DIR)PDP11_XQ.OBJ
VAX_OPTIONS = /INCLUDE=($(SIMH_DIR),$(VAX_DIR),$(PDP11_DIR))/DEFINE=("USE_INT64=1")
#
# If On Alpha, Build Everything.
#
.IFDEF __ALPHA__
ALL : ALTAIR ALTAIRZ80 ECLIPSE GRI H316 HP2100 I1401 I1620 IBM1130 NOVA PDP1 \
PDP4 PDP7 PDP8 PDP9 PDP10 PDP11 PDP15 S3 VAX
.ELSE
#
# Else We Are On VAX And Build Everything EXCEPT PDP-10 And VAX Since VAX
# Dosen't Have INT64
#
ALL : ALTAIR ALTAIRZ80 ECLIPSE GRI H316 HP2100 I1401 I1620 IBM1130 NOVA PDP1 \
PDP4 PDP7 PDP8 PDP9 PDP11 PDP15 S3
.ENDIF
#
# Build The Libraries.
#
$(LIB_DIR)SIMH-$(ARCH).OLB : $(SIMH_SOURCE)
$!
$! Building The $(SIMH_LIB) Library.
$!
$ $(CC)/OBJECT=$(SIMH_DIR) $(SIMH_SOURCE)
$ IF (F$SEARCH("$(SIMH_LIB)").EQS."") THEN -
LIBRARY/CREATE $(SIMH_LIB)
$ LIBRARY/REPLACE $(SIMH_LIB) $(SIMH_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
$(LIB_DIR)ALTAIR-$(ARCH).OLB : $(ALTAIR_SOURCE)
$!
$! Building The $(ALTAIR_LIB) Library.
$!
$ $(CC)$(ALTAIR_OPTIONS)/OBJECT=$(ALTAIR_DIR) -
$(ALTAIR_SOURCE)
$ IF (F$SEARCH("$(ALTAIR_LIB)").EQS."") THEN -
LIBRARY/CREATE $(ALTAIR_LIB)
$ LIBRARY/REPLACE $(ALTAIR_LIB) -
$(ALTAIR_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(ALTAIR_DIR)*.OBJ;*
$(LIB_DIR)ALTAIRZ80-$(ARCH).OLB : $(ALTAIRZ80_SOURCE)
$!
$! Building The $(ALTAIRZ80_LIB) Library.
$!
$ $(CC)$(ALTAIRZ80_OPTIONS) -
/OBJECT=$(ALTAIRZ80_DIR) -
$(ALTAIRZ80_SOURCE)
$ IF (F$SEARCH("$(ALTAIRZ80_LIB)").EQS."") -
THEN LIBRARY/CREATE $(ALTAIRZ80_LIB)
$ LIBRARY/REPLACE $(ALTAIRZ80_LIB) -
$(ALTAIRZ80_OBJS)
$ DELETE/NOLOG/NOCONFIRM -
$(ALTAIRZ80_DIR)*.OBJ;*
$(LIB_DIR)ECLIPSE-$(ARCH).OLB : $(ECLIPSE_SOURCE)
$!
$! Building The $(ECLIPSE_LIB) Library.
$!
$ $(CC)$(ECLIPSE_OPTIONS)/OBJECT=$(NOVA_DIR) -
$(ECLIPSE_SOURCE)
$ IF (F$SEARCH("$(ECLIPSE_LIB)").EQS."") THEN -
LIBRARY/CREATE $(ECLIPSE_LIB)
$ LIBRARY/REPLACE $(ECLIPSE_LIB) -
$(ECLIPSE_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(NOVA_DIR)*.OBJ;*
$(LIB_DIR)GRI-$(ARCH).OLB : $(GRI_SOURCE)
$!
$! Building The $(GRI_LIB) Library.
$!
$ $(CC)$(GRI_OPTIONS)/OBJECT=$(GRI_DIR) -
$(GRI_SOURCE)
$ IF (F$SEARCH("$(GRI_LIB)").EQS."") THEN -
LIBRARY/CREATE $(GRI_LIB)
$ LIBRARY/REPLACE $(GRI_LIB) $(GRI_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(GRI_DIR)*.OBJ;*
$(LIB_DIR)H316-$(ARCH).OLB : $(H316_SOURCE)
$!
$! Building The $(H316_LIB) Library.
$!
$ $(CC)$(H316_OPTIONS)/OBJECT=$(H316_DIR) -
$(H316_SOURCE)
$ IF (F$SEARCH("$(H316_LIB)").EQS."") THEN -
LIBRARY/CREATE $(H316_LIB)
$ LIBRARY/REPLACE $(H316_LIB) $(H316_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(H316_DIR)*.OBJ;*
$(LIB_DIR)HP2100-$(ARCH).OLB : $(HP2100_SOURCE)
$!
$! Building The $(HP2100_LIB) Library.
$!
$ $(CC)$(HP2100_OPTIONS)/OBJECT=$(HP2100_DIR) -
$(HP2100_SOURCE)
$ IF (F$SEARCH("$(HP2100_LIB)").EQS."") THEN -
LIBRARY/CREATE $(HP2100_LIB)
$ LIBRARY/REPLACE $(HP2100_LIB) $(HP2100_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(HP2100_DIR)*.OBJ;*
$(LIB_DIR)I1401-$(ARCH).OLB : $(I1401_SOURCE)
$!
$! Building The $(I1401_LIB) Library.
$!
$ $(CC)$(I1401_OPTIONS)/OBJECT=$(I1401_DIR) -
$(I1401_SOURCE)
$ IF (F$SEARCH("$(I1401_LIB)").EQS."") THEN -
LIBRARY/CREATE $(I1401_LIB)
$ LIBRARY/REPLACE $(I1401_LIB) $(I1401_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(I1401_DIR)*.OBJ;*
$(LIB_DIR)I1620-$(ARCH).OLB : $(I1620_SOURCE)
$!
$! Building The $(I1620_LIB) Library.
$!
$ $(CC)$(I1620_OPTIONS)/OBJECT=$(I1620_DIR) -
$(I1620_SOURCE)
$ IF (F$SEARCH("$(I1620_LIB)").EQS."") THEN -
LIBRARY/CREATE $(I1620_LIB)
$ LIBRARY/REPLACE $(I1620_LIB) $(I1620_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(I1620_DIR)*.OBJ;*
$(LIB_DIR)IBM1130-$(ARCH).OLB : $(IBM1130_SOURCE)
$!
$! Building The $(IBM1130_LIB) Library.
$!
$ $(CC)$(IBM1130_OPTIONS) -
/OBJECT=$(IBM1130_DIR) -
$(IBM1130_SOURCE)
$ IF (F$SEARCH("$(IBM1130_LIB)").EQS."") THEN -
LIBRARY/CREATE $(IBM1130_LIB)
$ LIBRARY/REPLACE $(IBM1130_LIB) $(IBM1130_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(IBM1130_DIR)*.OBJ;*
$(LIB_DIR)ID16-$(ARCH).OLB : $(ID16_SOURCE)
$!
$! Building The $(ID16_LIB) Library.
$!
$ $(CC)$(ID16_OPTIONS)/OBJECT=$(ID16_DIR) -
$(ID16_SOURCE)
$ IF (F$SEARCH("$(ID16_LIB)").EQS."") THEN -
LIBRARY/CREATE $(ID16_LIB)
$ LIBRARY/REPLACE $(ID16_LIB) $(ID16_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(ID16_DIR)*.OBJ;*
$(LIB_DIR)ID32-$(ARCH).OLB : $(ID32_SOURCE)
$!
$! Building The $(ID32_LIB) Library.
$!
$ $(CC)$(ID32_OPTIONS)/OBJECT=$(ID32_DIR) -
$(ID32_SOURCE)
$ IF (F$SEARCH("$(ID32_LIB)").EQS."") THEN -
LIBRARY/CREATE $(ID32_LIB)
$ LIBRARY/REPLACE $(ID32_LIB) $(ID32_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(ID32_DIR)*.OBJ;*
$(LIB_DIR)NOVA-$(ARCH).OLB : $(NOVA_SOURCE)
$!
$! Building The $(NOVA_LIB) Library.
$!
$ $(CC)$(NOVA_OPTIONS)/OBJECT=$(NOVA_DIR) -
$(NOVA_SOURCE)
$ IF (F$SEARCH("$(NOVA_LIB)").EQS."") THEN -
LIBRARY/CREATE $(NOVA_LIB)
$ LIBRARY/REPLACE $(NOVA_LIB) $(NOVA_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(NOVA_DIR)*.OBJ;*
$(LIB_DIR)PDP1-$(ARCH).OLB : $(PDP1_SOURCE)
$!
$! Building The $(PDP1_LIB) Library.
$!
$ $(CC)$(PDP1_OPTIONS)/OBJECT=$(PDP1_DIR) -
$(PDP1_SOURCE)
$ IF (F$SEARCH("$(PDP1_LIB)").EQS."") THEN -
LIBRARY/CREATE $(PDP1_LIB)
$ LIBRARY/REPLACE $(PDP1_LIB) $(PDP1_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(PDP1_DIR)*.OBJ;*
$(LIB_DIR)PDP4-$(ARCH).OLB : $(PDP18B_SOURCE)
$!
$! Building The $(PDP4_LIB) Library.
$!
$ $(CC)$(PDP4_OPTIONS)/OBJECT=$(PDP18B_DIR) -
$(PDP18B_SOURCE)
$ IF (F$SEARCH("$(PDP4_LIB)").EQS."") THEN -
LIBRARY/CREATE $(PDP4_LIB)
$ LIBRARY/REPLACE $(PDP4_LIB) $(PDP18B_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(PDP18B_DIR)*.OBJ;*
$(LIB_DIR)PDP7-$(ARCH).OLB : $(PDP18B_SOURCE)
$!
$! Building The $(PDP7_LIB) Library.
$!
$ $(CC)$(PDP7_OPTIONS)/OBJECT=$(PDP18B_DIR) -
$(PDP18B_SOURCE)
$ IF (F$SEARCH("$(PDP7_LIB)").EQS."") THEN -
LIBRARY/CREATE $(PDP7_LIB)
$ LIBRARY/REPLACE $(PDP7_LIB) $(PDP18B_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(PDP18B_DIR)*.OBJ;*
$(LIB_DIR)PDP8-$(ARCH).OLB : $(PDP8_SOURCE)
$!
$! Building The $(PDP8_LIB) Library.
$!
$ $(CC)$(PDP8_OPTIONS)/OBJECT=$(PDP8_DIR) -
$(PDP8_SOURCE)
$ IF (F$SEARCH("$(PDP8_LIB)").EQS."") THEN -
LIBRARY/CREATE $(PDP8_LIB)
$ LIBRARY/REPLACE $(PDP8_LIB) $(PDP8_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(PDP8_DIR)*.OBJ;*
$(LIB_DIR)PDP9-$(ARCH).OLB : $(PDP18B_SOURCE)
$!
$! Building The $(PDP9_LIB) Library.
$!
$ $(CC)$(PDP9_OPTIONS)/OBJECT=$(PDP18B_DIR) -
$(PDP18B_SOURCE)
$ IF (F$SEARCH("$(PDP9_LIB)").EQS."") THEN -
LIBRARY/CREATE $(PDP9_LIB)
$ LIBRARY/REPLACE $(PDP9_LIB) $(PDP18B_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(PDP18B_DIR)*.OBJ;*
#
# If On Alpha, Build The PDP-10 Library.
#
.IFDEF __ALPHA__
$(LIB_DIR)PDP10-$(ARCH).OLB : $(PDP10_SOURCE)
$!
$! Building The $(PDP10_LIB) Library.
$!
$ $(CC)$(PDP10_OPTIONS)/OBJECT=$(PDP10_DIR) -
$(PDP10_SOURCE)
$ IF (F$SEARCH("$(PDP10_LIB)").EQS."") THEN -
LIBRARY/CREATE $(PDP10_LIB)
$ LIBRARY/REPLACE $(PDP10_LIB) $(PDP10_OBJS)
DELETE/NOLOG/NOCONFIRM $(PDP10_DIR)*.OBJ;*
.ELSE
#
# We Are On VAX And Due To The Use of INT64 We Can't Build It.
#
$(LIB_DIR)PDP10-$(ARCH).OLB :
$!
$! Due To The Use Of INT64 We Can't Build The
$! $(LIB_DIR)PDP10-$(ARCH).OLB Library On VAX.
$!
.ENDIF
$(LIB_DIR)PDP11-$(ARCH).OLB : $(PDP11_SOURCE)
$!
$! Building The $(PDP11_LIB) Library.
$!
$(CC)$(PDP11_OPTIONS)/OBJECT=$(PDP11_DIR) -
$(PDP11_SOURCE)
$ IF (F$SEARCH("$(PDP11_LIB)").EQS."") THEN -
LIBRARY/CREATE $(PDP11_LIB)
$ LIBRARY/REPLACE $(PDP11_LIB) $(PDP11_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(PDP11_DIR)*.OBJ;*
$(LIB_DIR)PDP15-$(ARCH).OLB : $(PDP18B_SOURCE)
$!
$! Building The $(PDP15_LIB) Library.
$!
$ $(CC)$(PDP15_OPTIONS)/OBJECT=$(PDP18B_DIR) -
$(PDP18B_SOURCE)
$ IF (F$SEARCH("$(PDP15_LIB)").EQS."") THEN -
LIBRARY/CREATE $(PDP15_LIB)
$ LIBRARY/REPLACE $(PDP15_LIB) $(PDP18B_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(PDP18B_DIR)*.OBJ;*
$(LIB_DIR)S3-$(ARCH).OLB : $(S3_SOURCE)
$!
$! Building The $(S3_LIB) Library.
$!
$ $(CC)$(S3_OPTIONS)/OBJECT=$(S3_DIR) $(S3_SOURCE)
$ IF (F$SEARCH("$(S3_LIB)").EQS."") THEN -
LIBRARY/CREATE $(S3_LIB)
$ LIBRARY/REPLACE $(S3_LIB) $(S3_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(S3_DIR)*.OBJ;*
$(LIB_DIR)SDS-$(ARCH).OLB : $(SDS_SOURCE)
$!
$! Building The $(SDS_LIB) Library.
$!
$ $(CC)$(SDS_OPTIONS)/OBJECT=$(SDS_DIR) -
$(SDS_SOURCE)
$ IF (F$SEARCH("$(SDS_LIB)").EQS."") THEN -
LIBRARY/CREATE $(SDS_LIB)
$ LIBRARY/REPLACE $(SDS_LIB) $(SDS_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(SDS_DIR)*.OBJ;*
#
# If On Alpha, Build The VAX Library.
#
.IFDEF __ALPHA__
$(LIB_DIR)VAX-$(ARCH).OLB : $(VAX_SOURCE)
$!
$! Building The $(VAX_LIB) Library.
$!
$ $(CC)$(VAX_OPTIONS)/OBJECT=$(VAX_DIR) -
$(VAX_SOURCE)
$ IF (F$SEARCH("$(VAX_LIB)").EQS."") THEN -
LIBRARY/CREATE $(VAX_LIB)
$ LIBRARY/REPLACE $(VAX_LIB) $(VAX_OBJS)
$ DELETE/NOLOG/NOCONFIRM $(VAX_DIR)*.OBJ;*
.ELSE
#
# We Are On VAX And Due To The Use of INT64 We Can't Build It.
#
$(LIB_DIR)VAX-$(ARCH).OLB :
$!
$! Due To The Use Of INT64 We Can't Build The
$! $(LIB_DIR)VAX-$(ARCH).OLB Library On VAX.
$!
.ENDIF
#
# Individual Simulator Builds.
#
ALTAIR : $(SIMH_LIB) $(ALTAIR_LIB)
$!
$! Building The $(BIN_DIR)ALTAIR-$(ARCH).EXE Simulator.
$!
$ $(CC)$(ALTAIR_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)ALTAIR-$(ARCH).EXE -
SCP.OBJ,$(ALTAIR_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
ALTAIRZ80 : $(SIMH_LIB) $(ALTAIRZ80_LIB)
$!
$! Building The $(BIN_DIR)ALTAIRZ80-$(ARCH).EXE Simulator.
$!
$ $(CC)$(ALTAIRZ80_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)ALTAIRZ80-$(ARCH).EXE -
SCP.OBJ,$(ALTAIRZ80_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
ECLIPSE : $(SIMH_LIB) $(ECLIPSE_LIB)
$!
$! Building The $(BIN_DIR)ECLPISE-$(ARCH).EXE Simulator.
$!
$ $(CC)$(ECLIPSE_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)ECLIPSE-$(ARCH).EXE -
SCP.OBJ,$(ECLIPSE_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
GRI : $(SIMH_LIB) $(GRI_LIB)
$!
$! Building The $(BIN_DIR)GRI-$(ARCH).EXE Simulator.
$!
$ $(CC)$(GRI_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)GRI-$(ARCH).EXE -
SCP.OBJ,$(GRI_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
H316 : $(SIMH_LIB) $(H316_LIB)
$!
$! Building The $(BIN_DIR)H316-$(ARCH).EXE Simulator.
$!
$ $(CC)$(H316_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)H316-$(ARCH).EXE -
SCP.OBJ,$(H316_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
HP2100 : $(SIMH_LIB) $(HP2100_LIB)
$!
$! Building The $(BIN_DIR)HP2100-$(ARCH).EXE Simulator.
$!
$ $(CC)$(HP2100_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)HP2100-$(ARCH).EXE -
SCP.OBJ,$(HP2100_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
I1401 : $(SIMH_LIB) $(I1401_LIB)
$!
$! Building The $(BIN_DIR)I1401-$(ARCH).EXE Simulator.
$!
$ $(CC)$(I1401_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)I1401-$(ARCH).EXE -
SCP.OBJ,$(I1401_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
I1620 : $(SIMH_LIB) $(I1620_LIB)
$!
$! Building The $(BIN_DIR)I1620-$(ARCH).EXE Simulator.
$!
$ $(CC)$(I1620_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)I1620-$(ARCH).EXE -
SCP.OBJ,$(I1620_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
IBM1130 : $(SIMH_LIB) $(IBM1130_LIB)
$!
$! Building The $(BIN_DIR)IBM1130-$(ARCH).EXE Simulator.
$!
$ $(CC)$(IBM1130_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)IBM1130-$(ARCH).EXE -
SCP.OBJ,$(IBM1130_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
ID16 : $(SIMH_LIB) $(ID16_LIB)
$!
$! Building The $(BIN_DIR)ID16-$(ARCH).EXE Simulator.
$!
$ $(CC)$(ID16_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)ID16-$(ARCH).EXE -
SCP.OBJ,$(ID16_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
ID32 : $(SIMH_LIB) $(ID32_LIB)
$!
$! Building The $(BIN_DIR)ID32-$(ARCH).EXE Simulator.
$!
$ $(CC)$(ID32_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)ID32-$(ARCH).EXE -
SCP.OBJ,$(ID32_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
NOVA : $(SIMH_LIB) $(NOVA_LIB)
$!
$! Building The $(BIN_DIR)NOVA-$(ARCH).EXE Simulator.
$!
$ $(CC)$(NOVA_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)NOVA-$(ARCH).EXE -
SCP.OBJ,$(NOVA_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
PDP1 : $(SIMH_LIB) $(PDP1_LIB)
$!
$! Building The $(BIN_DIR)PDP1-$(ARCH).EXE Simulator.
$!
$ $(CC)$(PDP1_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)PDP1-$(ARCH).EXE -
SCP.OBJ,$(PDP1_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
PDP4 : $(SIMH_LIB) $(PDP4_LIB)
$!
$! Building The $(BIN_DIR)PDP4-$(ARCH).EXE Simulator.
$!
$ $(CC)$(PDP4_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)PDP4-$(ARCH).EXE -
SCP.OBJ,$(PDP4_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
PDP7 : $(SIMH_LIB) $(PDP7_LIB)
$!
$! Building The $(BIN_DIR)PDP7-$(ARCH).EXE Simulator.
$!
$ $(CC)$(PDP7_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)PDP7-$(ARCH).EXE -
SCP.OBJ,$(PDP7_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
PDP8 : $(SIMH_LIB) $(PDP8_LIB)
$!
$! Building The $(BIN_DIR)PDP8-$(ARCH).EXE Simulator.
$!
$ $(CC)$(PDP8_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)PDP8-$(ARCH).EXE -
SCP.OBJ,$(PDP8_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
PDP9 : $(SIMH_LIB) $(PDP9_LIB)
$!
$! Building The $(BIN_DIR)PDP9-$(ARCH).EXE Simulator.
$!
$ $(CC)$(PDP9_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)PDP9-$(ARCH).EXE -
SCP.OBJ,$(PDP9_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
#
# If On Alpha, Build The PDP-10 Simulator.
#
.IFDEF __ALPHA__
PDP10 : $(SIMH_LIB) $(PDP10_LIB)
$!
$! Building The $(BIN_DIR)PDP10-$(ARCH).EXE Simulator.
$!
$ $(CC)$(PDP10_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)PDP10-$(ARCH).EXE -
SCP.OBJ,$(PDP10_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
.ELSE
#
# Else We Are On VAX And Tell The User We Can't Build On VAX
# Due To The Use Of INT64.
#
PDP10 :
$!
$! Sorry, Can't Build $(BIN_DIR)PDP10-$(ARCH).EXE Simulator
$! Because It Requires The Use Of INT64.
$!
.ENDIF
PDP11 : $(SIMH_LIB) $(PDP11_LIB)
$!
$! Building The $(BIN_DIR)PDP11-$(ARCH).EXE Simulator.
$!
$ $(CC)$(PDP11_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)PDP11-$(ARCH).EXE -
SCP.OBJ,$(PDP11_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
PDP15 : $(SIMH_LIB) $(PDP15_LIB)
$!
$! Building The $(BIN_DIR)PDP15-$(ARCH).EXE Simulator.
$!
$ $(CC)$(PDP15_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)PDP15-$(ARCH).EXE -
SCP.OBJ,$(PDP15_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
S3 : $(SIMH_LIB) $(S3_LIB)
$!
$! Building The $(BIN_DIR)S3-$(ARCH).EXE Simulator.
$!
$ $(CC)$(S3_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)S3-$(ARCH).EXE -
SCP.OBJ,$(S3_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
SDS : $(SIMH_LIB) $(SDS_LIB)
$!
$! Building The $(BIN_DIR)SDS-$(ARCH).EXE Simulator.
$!
$ $(CC)$(SDS_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)SDS-$(ARCH).EXE -
SCP.OBJ,$(SDS_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
#
# If On Alpha, Build The VAX Simulator.
#
.IFDEF __ALPHA__
VAX : $(SIMH_LIB) $(VAX_LIB)
$!
$! Building The $(BIN_DIR)VAX-$(ARCH).EXE Simulator.
$!
$ $(CC)$(VAX_OPTIONS)/OBJECT=$(SIMH_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)VAX-$(ARCH).EXE -
SCP.OBJ,$(VAX_LIB)/LIBRARY,$(SIMH_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(SIMH_DIR)*.OBJ;*
.ELSE
#
# Else We Are On VAX And Tell The User We Can't Build On VAX
# Due To The Use Of INT64.
#
VAX :
$!
$! Sorry, Can't Build $(BIN_DIR)VAX-$(ARCH).EXE Simulator
$! Because It Requires The Use Of INT64.
$!
.ENDIF