Mercurial > hg > Members > kono > nitros9-code
annotate level2/modules/makefile @ 1186:0836a89b1eac
Changed MODULE directory organization
author | boisy |
---|---|
date | Fri, 30 May 2003 21:09:07 +0000 |
parents | a3d0ac951684 |
children | cfc38fcd72d7 |
rev | line source |
---|---|
1167 | 1 # Makefile for OS-9 Level Two MODULES/ |
2 | |
0 | 3 include ../../Makefile.rules |
4 | |
1186 | 5 vpath %.asm $(LEVEL1)/MODULES |
6 | |
700
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
7 CLOCKELIM = -aRTCElim=1 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
8 CLOCKDISTO2 = -aRTCElim=0 -aRTCDsto2=1 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
9 CLOCKDISTO4 = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=1 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
10 CLOCKBNB = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=1 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
11 CLOCKSMART = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=1 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=1 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
12 CLOCKHARRIS = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=1 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
13 CLOCKTC3 = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=1 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
14 CLOCKSOFT = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=1 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
15 |
0 | 16 DEPENDS = ./Makefile |
46 | 17 TPB = ../../3rdparty/booters |
0 | 18 |
1186 | 19 BOOTERS = boot_1773 boot_burke boot_idelba boot_rampak boot_wd1002 |
20 BOOTTRACK = rel $(BOOTERS) os9p1 | |
21 KERNEL = os9p2 os9p3_perr os9p4_regdump | |
22 SYSMODS = ioman init cc3go | |
700
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
23 CLOCKS = clock_elim clock_disto2 clock_disto4 clock_bnb \ |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
24 clock_smart clock_harris clock_tc3 clock_soft |
1186 | 25 |
26 RBF = rbf.mn \ | |
27 cc3disk.dr cc3hdisk.dr rammer.dr \ | |
28 d0_35s.dd d1_35s.dd d2_35s.dd d3_35s.dd \ | |
0 | 29 d0_40d.dd d1_40d.dd d2_40d.dd d0_80d.dd \ |
30 d1_80d.dd d2_80d.dd ddd0_35s.dd ddd0_40d.dd \ | |
31 ddd0_80d.dd r0_8k.dd r0_96k.dd r0_128k.dd r0_192k.dd \ | |
32 ddr0_8k.dd ddr0_96k.dd ddr0_128k.dd ddr0_192k.dd \ | |
1186 | 33 h0_10.dd h1_10.dd h0_15.dd h1_15.dd h0_35.dd h1_35.dd |
34 | |
35 SCF = scf.mn \ | |
36 cc3io.dr modpak.dr vrn.dr printer.dr sio.dr sspak.dr sacia.dr dacia.dr \ | |
37 windint.io vdgint.io vdgint_small.io \ | |
38 keydrv joydrv_joy joydrv_6551L joydrv_6552L joydrv_6551M joydrv_6552M snddrv \ | |
39 m1.dd m2.dd nil.dd p.dd t1.dd t2_sacia.dd \ | |
0 | 40 t3_sacia.dd t2_dacia.dd t3_dacia.dd \ |
1186 | 41 ftdd.dd vi.dd ssp.dd term_t1.dd \ |
42 term_vdg.dt term_win40.dt term_win80.dt w.dw w1.dw w2.dw \ | |
0 | 43 w3.dw w4.dw w5.dw w6.dw w7.dw v1.dw v2.dw v3.dw v4.dw v5.dw \ |
44 v6.dw v7.dw | |
45 | |
1186 | 46 PIPE = pipeman.mn pipeman_named.mn \ |
47 piper.dr \ | |
48 pipe.dd | |
49 | |
0 | 50 # |
51 # The following macros represent a collection of modules for various | |
52 # kernel tracks and bootfile configurations. | |
53 # | |
54 KERNEL_1773 = rel boot_1773 os9p1 | |
46 | 55 KERNEL_RAMPAK = rel $(TPB)/boot_rampak os9p1 |
56 KERNEL_KENTON = rel $(TPB)/boot_kenton os9p1 | |
57 KERNEL_IDE = rel $(TPB)/boot_ide os9p1 | |
0 | 58 |
1186 | 59 ALLOBJS = $(BOOTTRACK) $(KERNEL) $(SYSMODS) $(CLOCKS) $(RBF) $(SCF) $(PIPE) |
0 | 60 |
61 all: $(ALLOBJS) | |
62 | |
1186 | 63 # Special cases |
64 cc3hdisk.dr: $(LEVEL1)/MODULES/cchdisk.asm | |
65 $(AS) $< $(ASOUT)$@ $(AFLAGS) | |
66 | |
67 # Floppy descriptors | |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
68 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ |
957 | 69 -aInterlv=3 -aSAS=8 -aDensity=1 |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
70 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
957 | 71 -aInterlv=3 -aSAS=8 -aDensity=1 |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
72 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
957 | 73 -aInterlv=3 -aSAS=8 -aDensity=3 |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
74 |
1139 | 75 ddd0_35s.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
76 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 -aDD=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
77 |
1139 | 78 d0_35s.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
79 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
80 |
1139 | 81 d1_35s.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
82 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
83 |
1139 | 84 d2_35s.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
85 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=2 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
86 |
1139 | 87 d3_35s.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
88 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=3 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
89 |
1139 | 90 ddd0_40d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
91 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 -aDD=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
92 |
1139 | 93 d0_40d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
94 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
95 |
1139 | 96 d1_40d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
97 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
98 |
1139 | 99 d2_40d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
100 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=2 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
101 |
1139 | 102 ddd0_80d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
103 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 -aDD=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
104 |
1139 | 105 d0_80d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
106 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
107 |
1139 | 108 d1_80d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
109 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
110 |
1139 | 111 d2_80d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
112 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=2 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
113 |
412 | 114 # RAM Disk descriptors |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
115 r0_8k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
116 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=8 |
412 | 117 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
118 ddr0_8k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
119 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=8 -aDD=1 |
412 | 120 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
121 r0_96k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
122 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=96 |
412 | 123 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
124 ddr0_96k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
125 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=96 -aDD=1 |
412 | 126 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
127 r0_128k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
128 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=128 |
412 | 129 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
130 ddr0_128k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
131 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=128 -aDD=1 |
412 | 132 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
133 r0_192k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
134 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=192 |
412 | 135 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
136 ddr0_192k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
137 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=192 -aDD=1 |
412 | 138 |
0 | 139 sacia.dr: xacia.asm |
140 $(AS) -aA6551=1 -aA6552=0 -aMPI.Slot=00 $(AFLAGS) $< $(ASOUT)$@ | |
141 | |
142 dacia.dr: xacia.asm | |
143 $(AS) -aA6551=0 -aA6552=1 -aMPI.Slot=00 $(AFLAGS) $< $(ASOUT)$@ | |
144 | |
756 | 145 # VDGInt Modules |
146 vdgint.io: vdgint.asm | |
147 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aCOCO2=1 | |
148 | |
149 vdgint_small.io: vdgint.asm | |
150 $(AS) $(AFLAGS) $(ASOUT)$@ $< | |
151 | |
152 # Clocks | |
700
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
153 clock_elim: clock.asm |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
154 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKELIM) |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
155 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
156 clock_disto2: clock.asm |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
157 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKDISTO2) |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
158 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
159 clock_disto4: clock.asm |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
160 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKDISTO4) |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
161 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
162 clock_bnb: clock.asm |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
163 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKBNB) |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
164 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
165 clock_smart: clock.asm |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
166 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKSMART) |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
167 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
168 clock_harris: clock.asm |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
169 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKHARRIS) |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
170 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
171 clock_tc3: clock.asm |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
172 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKTC3) |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
173 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
174 clock_soft: clock.asm |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
175 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKSOFT) |
508
02a8ba2b9092
Added headers to most source files, added clock2_bb.asm
boisy
parents:
432
diff
changeset
|
176 |
0 | 177 clean: |
178 $(RM) $(ALLOBJS) | |
179 | |
341 | 180 showobjs: |
181 @$(ECHO) $(ALLOBJS) | |
182 | |
1186 | 183 showboottrack: |
184 @$(ECHO) $(BOOTTRACK) | |
185 | |
186 showkernel: | |
187 @$(ECHO) $(KERNEL) | |
188 | |
189 showsysmods: | |
190 @$(ECHO) $(SYSMODS) | |
191 | |
192 showclocks: | |
193 @$(ECHO) $(CLOCKS) | |
194 | |
195 showrbf: | |
196 @$(ECHO) $(RBF) | |
197 | |
198 showscf: | |
199 @$(ECHO) $(SCF) | |
200 | |
201 showpipe: | |
202 @$(ECHO) $(PIPE) | |
341 | 203 |
100 | 204 identify: |
205 $(IDENT_SHORT) $(ALLOBJS) |