annotate level1/dalpha/modules/makefile @ 2101:56f966b82dc4

Update for new build system
author afra
date Sun, 24 Sep 2006 22:44:36 +0000
parents 46aa4db8204e
children 53c42701f680 e4a0f58a5f9b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
1 #
2101
56f966b82dc4 Update for new build system
afra
parents: 2059
diff changeset
2 #level1/dalpha/modules/makefile
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
3 #
e482bb12a954 tano port
boisy
parents:
diff changeset
4 # 2005-04-24, P.Harvey-Smith,
e482bb12a954 tano port
boisy
parents:
diff changeset
5 # made descriptors for both 40 & 80 track drives for Dragon 64.
e482bb12a954 tano port
boisy
parents:
diff changeset
6 #
e482bb12a954 tano port
boisy
parents:
diff changeset
7 #
e482bb12a954 tano port
boisy
parents:
diff changeset
8 # 2005-05-31, P.Harvey-Smith,
e482bb12a954 tano port
boisy
parents:
diff changeset
9 # Steprate now passed in from ../makefile.dragon or ../makefile.dalpha
e482bb12a954 tano port
boisy
parents:
diff changeset
10 #
e482bb12a954 tano port
boisy
parents:
diff changeset
11 # 2005-12-31, P.Harvey-Smith,
e482bb12a954 tano port
boisy
parents:
diff changeset
12 # Fixed up for renamed video drivers.
e482bb12a954 tano port
boisy
parents:
diff changeset
13 #
e482bb12a954 tano port
boisy
parents:
diff changeset
14 # 2006-01-08, P.Harvey-Smith.
e482bb12a954 tano port
boisy
parents:
diff changeset
15 # Added descriptors for original Dragon Data single sided 5.25" drives.
e482bb12a954 tano port
boisy
parents:
diff changeset
16 # Pass step rate to boot_d64, so that boot module steprate set correctly.
e482bb12a954 tano port
boisy
parents:
diff changeset
17 #
e482bb12a954 tano port
boisy
parents:
diff changeset
18 # 2006-01-18, P.Harvey-Smith,
e482bb12a954 tano port
boisy
parents:
diff changeset
19 # Added ability to build for the Tano Dragon 64, using an RS-DOS
e482bb12a954 tano port
boisy
parents:
diff changeset
20 # disk controler and a 60Hz clock.
e482bb12a954 tano port
boisy
parents:
diff changeset
21 #
e482bb12a954 tano port
boisy
parents:
diff changeset
22
2037
2e37b5a0d4b3 set PORT var
boisy
parents: 2036
diff changeset
23 PORT = dalpha
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
24 include $(NITROS9DIR)/rules.mak
e482bb12a954 tano port
boisy
parents:
diff changeset
25
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
26 vpath %.asm $(LEVEL1)/modules
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
27
2101
56f966b82dc4 Update for new build system
afra
parents: 2059
diff changeset
28 AFLAGS += -I$(LEVEL1)/modules
56f966b82dc4 Update for new build system
afra
parents: 2059
diff changeset
29
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
30 CLOCKELIM = -aRTCElim=1
e482bb12a954 tano port
boisy
parents:
diff changeset
31 CLOCKDISTO2 = -aRTCDsto2=1
e482bb12a954 tano port
boisy
parents:
diff changeset
32 CLOCKDISTO4 = -aRTCDsto4=1
e482bb12a954 tano port
boisy
parents:
diff changeset
33 CLOCKBNB = -aRTCBB=1
e482bb12a954 tano port
boisy
parents:
diff changeset
34 CLOCKSMART = -aRTCSmart=1 -aMPIFlag=1
e482bb12a954 tano port
boisy
parents:
diff changeset
35 CLOCKHARRIS = -aRTCHarrs=1
e482bb12a954 tano port
boisy
parents:
diff changeset
36 CLOCKCLOUD9 = -aRTCCloud9=1
e482bb12a954 tano port
boisy
parents:
diff changeset
37 CLOCKSOFT = -aRTCSoft=1
e482bb12a954 tano port
boisy
parents:
diff changeset
38 CLOCKMESSEMU = -aRTCMessEmu=1
e482bb12a954 tano port
boisy
parents:
diff changeset
39 CLOCKJVEMU = -aRTCJVEmu=1
e482bb12a954 tano port
boisy
parents:
diff changeset
40
e482bb12a954 tano port
boisy
parents:
diff changeset
41 DEPENDS = ./makefile
e482bb12a954 tano port
boisy
parents:
diff changeset
42 TPB = $(3RDPARTY)/booters
e482bb12a954 tano port
boisy
parents:
diff changeset
43
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
44 BOOTERS = boot_dalpha
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
45
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
46 BOOTTRACK = rel $(BOOTERS)
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
47 KERNEL = krn krnp2
e482bb12a954 tano port
boisy
parents:
diff changeset
48 SYSMODS = ioman init sysgo_dd sysgo_h0
e482bb12a954 tano port
boisy
parents:
diff changeset
49
e482bb12a954 tano port
boisy
parents:
diff changeset
50 CLOCKS = clock_60hz clock_50hz \
e482bb12a954 tano port
boisy
parents:
diff changeset
51 clock2_elim clock2_disto2 clock2_disto4 clock2_bnb \
e482bb12a954 tano port
boisy
parents:
diff changeset
52 clock2_smart clock2_harris clock2_cloud9 clock2_soft \
e482bb12a954 tano port
boisy
parents:
diff changeset
53 clock2_messemu clock2_jvemu
e482bb12a954 tano port
boisy
parents:
diff changeset
54
e482bb12a954 tano port
boisy
parents:
diff changeset
55 RBF = rbf.mn \
e482bb12a954 tano port
boisy
parents:
diff changeset
56 adisk.dr \
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
57 ddd0_80s.dd ddd0_80d.dd d0_80s.dd d0_80d.dd d1_80s.dd d1_80d.dd \
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
58 d2_80s.dd d2_80d.dd d3_80s.dd d3_80d.dd
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
59
e482bb12a954 tano port
boisy
parents:
diff changeset
60 SCF = scf.mn \
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
61 vrn.dr scdpp.dr sspak.dr vtio.dr \
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
62 covdg.io cohr.io\
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
63 nil.dd p_dpp.dd pipe.dd ssp.dd \
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
64 term_sc6551.dt t2_sc6551.dt t3_sc6551.dt \
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
65 term32.dt term51.dt term80.dt p1_sc6551dragon.dd
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
66
e482bb12a954 tano port
boisy
parents:
diff changeset
67 PIPE = pipeman.mn \
e482bb12a954 tano port
boisy
parents:
diff changeset
68 piper.dr \
e482bb12a954 tano port
boisy
parents:
diff changeset
69 pipe.dd
e482bb12a954 tano port
boisy
parents:
diff changeset
70
e482bb12a954 tano port
boisy
parents:
diff changeset
71 ALLOBJS = $(BOOTTRACK) $(KERNEL) $(SYSMODS) $(CLOCKS) $(RBF) $(SCF) $(PIPE)
e482bb12a954 tano port
boisy
parents:
diff changeset
72
e482bb12a954 tano port
boisy
parents:
diff changeset
73 all: $(ALLOBJS)
e482bb12a954 tano port
boisy
parents:
diff changeset
74
e482bb12a954 tano port
boisy
parents:
diff changeset
75 # Special cases
e482bb12a954 tano port
boisy
parents:
diff changeset
76
e482bb12a954 tano port
boisy
parents:
diff changeset
77 # Kernel
e482bb12a954 tano port
boisy
parents:
diff changeset
78 krn krnp2:
e482bb12a954 tano port
boisy
parents:
diff changeset
79 $(CD) kernel; make $@
e482bb12a954 tano port
boisy
parents:
diff changeset
80 $(CP) kernel/$@ .
e482bb12a954 tano port
boisy
parents:
diff changeset
81
e482bb12a954 tano port
boisy
parents:
diff changeset
82 boot_dalpha: boot_d64.asm
2101
56f966b82dc4 Update for new build system
afra
parents: 2059
diff changeset
83 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0 -aStep=$(STEP)
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
84
e482bb12a954 tano port
boisy
parents:
diff changeset
85 # Clocks
e482bb12a954 tano port
boisy
parents:
diff changeset
86 clock_60hz: clock.asm
e482bb12a954 tano port
boisy
parents:
diff changeset
87 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=60
e482bb12a954 tano port
boisy
parents:
diff changeset
88
e482bb12a954 tano port
boisy
parents:
diff changeset
89 clock_50hz: clock.asm
e482bb12a954 tano port
boisy
parents:
diff changeset
90 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=50
e482bb12a954 tano port
boisy
parents:
diff changeset
91
e482bb12a954 tano port
boisy
parents:
diff changeset
92 clock2_bnb: clock2_ds1315.asm
e482bb12a954 tano port
boisy
parents:
diff changeset
93 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aBNB=1
e482bb12a954 tano port
boisy
parents:
diff changeset
94
e482bb12a954 tano port
boisy
parents:
diff changeset
95 clock2_cloud9: clock2_ds1315.asm
e482bb12a954 tano port
boisy
parents:
diff changeset
96 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aCLOUD9=1
e482bb12a954 tano port
boisy
parents:
diff changeset
97
e482bb12a954 tano port
boisy
parents:
diff changeset
98 # Floppy descriptors
e482bb12a954 tano port
boisy
parents:
diff changeset
99 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
100 -aInterlv=2 -aSAS=8 -aDensity=1 -aStep=0
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
101 SSDD40 = -aCyls=40 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \
2101
56f966b82dc4 Update for new build system
afra
parents: 2059
diff changeset
102 -aInterlv=2 -aSAS=8 -aDensity=1 -aStep=$(STEP)
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
103 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \
2101
56f966b82dc4 Update for new build system
afra
parents: 2059
diff changeset
104 -aInterlv=2 -aSAS=8 -aDensity=1 -aStep=$(STEP)
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
105 SSDD80 = -aCyls=80 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \
2101
56f966b82dc4 Update for new build system
afra
parents: 2059
diff changeset
106 -aInterlv=2 -aSAS=8 -aDensity=1 -aD35 -aStep=$(STEP)
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
107 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \
2101
56f966b82dc4 Update for new build system
afra
parents: 2059
diff changeset
108 -aInterlv=2 -aSAS=8 -aDensity=1 -aD35 -aStep=$(STEP)
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
109
e482bb12a954 tano port
boisy
parents:
diff changeset
110 #Dragon Alpha
e482bb12a954 tano port
boisy
parents:
diff changeset
111 # Internal drives on Alpha are Single Sided 80 track.
e482bb12a954 tano port
boisy
parents:
diff changeset
112
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
113 ddd0_80s.dd: ddiskdesc.asm
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
114 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD80) -aDNum=0 -aDD=1
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
115
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
116 ddd0_80d.dd: ddiskdesc.asm
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
117 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 -aDD=1
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
118
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
119 d0_80s.dd: ddiskdesc.asm
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
120 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD80) -aDNum=0
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
121
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
122 d0_80d.dd: ddiskdesc.asm
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
123 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
124
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
125 d1_80s.dd: ddiskdesc.asm
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
126 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD80) -aDNum=1
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
127
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
128 d1_80d.dd: ddiskdesc.asm
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
129 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=1
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
130
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
131 d2_80s.dd: ddiskdesc.asm
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
132 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD80) -aDNum=2
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
133
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
134 d2_80d.dd: ddiskdesc.asm
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
135 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=2
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
136
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
137 d3_80s.dd: ddiskdesc.asm
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
138 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD80) -aDNum=3
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
139
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
140 d3_80d.dd: ddiskdesc.asm
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
141 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=3
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
142
e482bb12a954 tano port
boisy
parents:
diff changeset
143 adisk.dr: ddisk.asm
2059
46aa4db8204e More changes
boisy
parents: 2037
diff changeset
144 $(AS) $< $(ASOUT)$@ $(AFLAGS)
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
145
e482bb12a954 tano port
boisy
parents:
diff changeset
146
e482bb12a954 tano port
boisy
parents:
diff changeset
147 sysgo_dd: sysgo.asm
e482bb12a954 tano port
boisy
parents:
diff changeset
148 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDD=1
e482bb12a954 tano port
boisy
parents:
diff changeset
149
e482bb12a954 tano port
boisy
parents:
diff changeset
150 sysgo_h0: sysgo.asm
e482bb12a954 tano port
boisy
parents:
diff changeset
151 $(AS) $(AFLAGS) $(ASOUT)$@ $<
e482bb12a954 tano port
boisy
parents:
diff changeset
152
e482bb12a954 tano port
boisy
parents:
diff changeset
153
e482bb12a954 tano port
boisy
parents:
diff changeset
154 clean:
e482bb12a954 tano port
boisy
parents:
diff changeset
155 $(CD) kernel; make $@
e482bb12a954 tano port
boisy
parents:
diff changeset
156 $(RM) $(ALLOBJS)
e482bb12a954 tano port
boisy
parents:
diff changeset
157
e482bb12a954 tano port
boisy
parents:
diff changeset
158 showobjs:
e482bb12a954 tano port
boisy
parents:
diff changeset
159 @$(ECHO) $(ALLOBJS)
e482bb12a954 tano port
boisy
parents:
diff changeset
160
e482bb12a954 tano port
boisy
parents:
diff changeset
161 showboottrack:
e482bb12a954 tano port
boisy
parents:
diff changeset
162 @$(ECHO) $(BOOTTRACK)
e482bb12a954 tano port
boisy
parents:
diff changeset
163
e482bb12a954 tano port
boisy
parents:
diff changeset
164 showkernel:
e482bb12a954 tano port
boisy
parents:
diff changeset
165 @$(ECHO) $(KERNEL)
e482bb12a954 tano port
boisy
parents:
diff changeset
166
e482bb12a954 tano port
boisy
parents:
diff changeset
167 showsysmods:
e482bb12a954 tano port
boisy
parents:
diff changeset
168 @$(ECHO) $(SYSMODS)
e482bb12a954 tano port
boisy
parents:
diff changeset
169
e482bb12a954 tano port
boisy
parents:
diff changeset
170 showclocks:
e482bb12a954 tano port
boisy
parents:
diff changeset
171 @$(ECHO) $(CLOCKS)
e482bb12a954 tano port
boisy
parents:
diff changeset
172
e482bb12a954 tano port
boisy
parents:
diff changeset
173 showrbf:
e482bb12a954 tano port
boisy
parents:
diff changeset
174 @$(ECHO) $(RBF)
e482bb12a954 tano port
boisy
parents:
diff changeset
175
e482bb12a954 tano port
boisy
parents:
diff changeset
176 showscf:
e482bb12a954 tano port
boisy
parents:
diff changeset
177 @$(ECHO) $(SCF)
e482bb12a954 tano port
boisy
parents:
diff changeset
178
e482bb12a954 tano port
boisy
parents:
diff changeset
179 showpipe:
e482bb12a954 tano port
boisy
parents:
diff changeset
180 @$(ECHO) $(PIPE)
e482bb12a954 tano port
boisy
parents:
diff changeset
181
e482bb12a954 tano port
boisy
parents:
diff changeset
182 identify:
e482bb12a954 tano port
boisy
parents:
diff changeset
183 $(IDENT_SHORT) $(ALLOBJS)