Mercurial > hg > Members > kono > nitros9-code
view level1/modules/makefile.dragon @ 1734:b992196e2ac9
Dragon updates by Phill
author | boisy |
---|---|
date | Sat, 27 Nov 2004 15:24:02 +0000 |
parents | 7bdc60c48533 |
children | 11f38ece79ef |
line wrap: on
line source
include ../../rules.mak CLOCKELIM = -aRTCElim=1 CLOCKDISTO2 = -aRTCDsto2=1 CLOCKDISTO4 = -aRTCDsto4=1 CLOCKBNB = -aRTCBB=1 CLOCKSMART = -aRTCSmart=1 -aMPIFlag=1 CLOCKHARRIS = -aRTCHarrs=1 CLOCKCLOUD9 = -aRTCCloud9=1 CLOCKSOFT = -aRTCSoft=1 CLOCKMESSEMU = -aRTCMessEmu=1 CLOCKJVEMU = -aRTCJVEmu=1 DEPENDS = ./makefile.dragon TPB = $(3RDPARTY)/booters BOOTERS = boot_d64 boot_dalpha BOOTTRACK = rel $(BOOTERS) rel_dalpha KERNEL = krn krnp2 SYSMODS = ioman init sysgo_dd sysgo_h0 CLOCKS = clock_60hz clock_50hz \ clock2_elim clock2_disto2 clock2_disto4 clock2_bnb \ clock2_smart clock2_harris clock2_cloud9 clock2_soft \ clock2_messemu clock2_jvemu clock_d64 RBF = rbf.mn \ ddisk.dr \ ddd0_d64.dd d0_d64.dd d1_d64.dd d2_d64.dd d3_d64.dd \ adisk.dr \ ddd0_dalpha.dd d0_dalpha.dd d1_dalpha.dd d2_dalpha.dd d3_dalpha.dd SCF = scf.mn \ sc6551.dr vrn.dr printer.dr sio.dr sspak.dr ccio.dr \ co32.io co80.io \ nil.dd p.dd pipe.dd ssp.dd kbvdio.dr akbvdio.dr \ drvr51.dr adrvr51.dr \ term_sio.dt term_sc6551.dt t1.dd t2_sc6551.dd t3_sc6551.dt \ term32.dt term80.dt term_d64.dt t1_d64.dd p1_d64.dd PIPE = pipeman.mn \ piper.dr \ pipe.dd ALLOBJS = $(BOOTTRACK) $(KERNEL) $(SYSMODS) $(CLOCKS) $(RBF) $(SCF) $(PIPE) all: $(ALLOBJS) # Special cases # Kernel krn krnp2: $(CD) kernel; make $@ $(CP) kernel/$@ . boot_d64: boot_d64.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0 -aSTEP=0 boot_dalpha: boot_d64.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0 -aSTEP=0 -aDragonAlpha=1 # Clocks clock_60hz: clock.asm $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=60 clock_50hz: clock.asm $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=50 clock2_bnb: clock2_ds1315.asm $(AS) $(AFLAGS) $(ASOUT)$@ $< -aBNB=1 clock2_cloud9: clock2_ds1315.asm $(AS) $(AFLAGS) $(ASOUT)$@ $< -aCLOUD9=1 # Floppy descriptors SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ -aInterlv=2 -aSAS=8 -aDensity=1 SSDD40 = -aCyls=40 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ -aInterlv=2 -aSAS=8 -aDensity=1 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ -aInterlv=2 -aSAS=8 -aDensity=1 SSDD80 = -aCyls=80 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ -aInterlv=2 -aSAS=8 -aDensity=1 -aD35 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ -aInterlv=2 -aSAS=8 -aDensity=1 -aD35 #Dragon 64 #Dragon 64 Drives can be double or single sided, but assume # that /d0 and /d1 are double sided 40 track. ddd0_d64.dd: ddiskdesc.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 -aDD=1 d0_d64.dd: ddiskdesc.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 d1_d64.dd: ddiskdesc.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=1 d2_d64.dd: ddiskdesc.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=2 d3_d64.dd: ddiskdesc.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=3 #Dragon Alpha # Internal drives on Alpha are Single Sided 80 track. ddd0_dalpha.dd: ddiskdesc.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD80) -aDNum=0 -aDD=1 d0_dalpha.dd: ddiskdesc.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD80) -aDNum=0 d1_dalpha.dd: ddiskdesc.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=1 d2_dalpha.dd: ddiskdesc.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=2 d3_dalpha.dd: ddiskdesc.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=3 adisk.dr: ddisk.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDragonAlpha=1 rel: rel.asm $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=0 rel_dalpha: rel.asm $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=0 -aDragonAlpha=1 akbvdio.dr: kbvdio.asm $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=0 -aDragonAlpha=1 adrvr51.dr: drvr51.asm $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=0 -aDragonAlpha=1 sysgo_dd: sysgo.asm $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDD=1 sysgo_h0: sysgo.asm $(AS) $(AFLAGS) $(ASOUT)$@ $< sysgo_d64: sysgo_d64.asm $(AS) $(AFLAGS) $(ASOUT)$@ $< ddisk.dr: ddisk.asm $(AS) $(AFLAGS) $(ASOUT)$@ $< clean: $(CD) kernel; make $@ $(RM) $(ALLOBJS) showobjs: @$(ECHO) $(ALLOBJS) showboottrack: @$(ECHO) $(BOOTTRACK) showkernel: @$(ECHO) $(KERNEL) showsysmods: @$(ECHO) $(SYSMODS) showclocks: @$(ECHO) $(CLOCKS) showrbf: @$(ECHO) $(RBF) showscf: @$(ECHO) $(SCF) showpipe: @$(ECHO) $(PIPE) identify: $(IDENT_SHORT) $(ALLOBJS)