Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/drivers/disto/makefile @ 1344:dfd2e7080b4d
Added more comments
author | boisy |
---|---|
date | Wed, 17 Sep 2003 13:53:39 +0000 |
parents | b84b382c4a43 |
children | 53c50c807d55 |
rev | line source |
---|---|
351 | 1 include ../../../Makefile.rules |
2 | |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
3 vpath %.asm $(LEVEL2)/MODULES |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
4 |
352 | 5 L1_256 = $(AFLAGS) -aLevel=1 -aRAMSize=1 |
6 L2_256 = $(AFLAGS) -aLevel=2 -aRAMSize=1 | |
7 L1_512 = $(AFLAGS) -aLevel=1 -aRAMSize=2 | |
8 L2_512 = $(AFLAGS) -aLevel=2 -aRAMSize=2 | |
9 | |
401 | 10 L2_DNHFC = $(AFLAGS) -aLevel=2 |
11 | |
351 | 12 DEPENDS = ./Makefile |
352 | 13 DRVRS = rampak.dr parallel.dr |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
14 NHDRVRS = cc3disk_sc2_irq.dr cc3disk_sc2_slp.dr |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
15 FLOPPYDESCS = ddd0_35s.dd d0_35s.dd d1_35s.dd \ |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
16 ddd0_40d.dd d0_40d.dd d1_40d.dd \ |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
17 ddd0_80d.dd d0_80d.dd d1_80d.dd |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
18 RAMDISKDESCS = r0_256_l1.dd r0_256_l2.dd r0_512_l1.dd r0_512_l2.dd |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
19 PRINTERDESCS = pp.dd |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
20 DESCS = $(FLOPPYDESCS) $(RAMDISKDESCS) $(PRINTERDESCS) |
401 | 21 ALLOBJS = $(DRVRS) $(DESCS) $(NHDRVRS) |
351 | 22 |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
23 # Device Descriptor Macros |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
24 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
25 -aInterlv=3 -aSAS=8 -aDensity=1 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
26 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
27 -aInterlv=3 -aSAS=8 -aDensity=1 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
28 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
29 -aInterlv=3 -aSAS=8 -aDensity=3 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
30 |
351 | 31 all: $(ALLOBJS) $(DEPENDS) |
32 | |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
33 # Disto Super Controller II Drivers |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
34 cc3disk_sc2_irq.dr: cc3disk_sc2_irq.asm |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
35 $(AS) $(ASOUT)$@ $< $(L2_DNHFC) |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
36 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
37 cc3disk_sc2_slp.dr: cc3disk_sc2_slp.asm |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
38 $(AS) $(ASOUT)$@ $< $(L2_DNHFC) |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
39 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
40 # Disto Super Controller II Device Descriptors |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
41 # 35 Track Single-Sided |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
42 ddd0_35s.dd: cc3diskdesc.asm |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
43 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(SSDD35) -aDD=1 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
44 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
45 d0_35s.dd: cc3diskdesc.asm |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
46 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(SSDD35) |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
47 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
48 d1_35s.dd: cc3diskdesc.asm |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
49 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(SSDD35) -aDNum=1 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
50 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
51 # 40 Track Double-Sided |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
52 ddd0_40d.dd: cc3diskdesc.asm |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
53 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD40) -aDD=1 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
54 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
55 d0_40d.dd: cc3diskdesc.asm |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
56 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD40) |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
57 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
58 d1_40d.dd: cc3diskdesc.asm |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
59 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD40) -aDNum=1 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
60 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
61 # 80 Track Double-Sided |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
62 ddd0_80d.dd: cc3diskdesc.asm |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
63 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD80) -aDD=1 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
64 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
65 d0_80d.dd: cc3diskdesc.asm |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
66 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD80) |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
67 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
68 d1_80d.dd: cc3diskdesc.asm |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
69 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD80) -aDNum=1 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
70 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
71 # RAM Disk Descriptors |
352 | 72 r0_256_l1.dd: r0.asm |
73 $(AS) $(ASOUT)$@ $< $(L1_256) | |
74 | |
75 r0_512_l1.dd: r0.asm | |
76 $(AS) $(ASOUT)$@ $< $(L1_512) | |
77 | |
78 r0_256_l2.dd: r0.asm | |
79 $(AS) $(ASOUT)$@ $< $(L2_256) | |
80 | |
81 r0_512_l2.dd: r0.asm | |
82 $(AS) $(ASOUT)$@ $< $(L2_512) | |
83 | |
351 | 84 clean: |
85 $(RM) $(ALLOBJS) | |
86 |