annotate level2/modules/makefile @ 508:02a8ba2b9092

Added headers to most source files, added clock2_bb.asm
author boisy
date Thu, 10 Oct 2002 14:56:02 +0000
parents 03c6934e5d62
children bd1333ef2844
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1 include ../../Makefile.rules
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
3 DEPENDS = ./Makefile
46
60432af73b7e Moved boot modules into 3rdparty directory
boisy
parents: 38
diff changeset
4 TPB = ../../3rdparty/booters
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5
46
60432af73b7e Moved boot modules into 3rdparty directory
boisy
parents: 38
diff changeset
6 BOOTERS = boot_1773
342
56297204e8da Modified makefile to allow for two SS35 disks, moved around certain modules so they
boisy
parents: 341
diff changeset
7 OS9P1 = os9p1
56297204e8da Modified makefile to allow for two SS35 disks, moved around certain modules so they
boisy
parents: 341
diff changeset
8 OS9P2 = os9p2
56297204e8da Modified makefile to allow for two SS35 disks, moved around certain modules so they
boisy
parents: 341
diff changeset
9 REL = rel
341
20944721d3e6 Major makefile mods
boisy
parents: 100
diff changeset
10 ROMMODS = rominfo rom_vectors cc3go_rom pakrom
342
56297204e8da Modified makefile to allow for two SS35 disks, moved around certain modules so they
boisy
parents: 341
diff changeset
11 SYSMODS = ioman init cc3go
508
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 432
diff changeset
12 CLOCKS = clock clock2_soft clock2_disto clock2_146818 clock2_bb \
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 432
diff changeset
13 clock2_tc3
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14 FMGRS = scf.mn rbf.mn pipeman.mn pipeman_named.mn
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15 DRIVERS = cc3disk.dr cc3hdisk.dr cc3io.dr modpak.dr \
344
d111309b0f11 hdisk.asm and h0_hdisk.asm nixed
boisy
parents: 342
diff changeset
16 vrn.dr piper.dr printer.dr sio.dr ram.dr sspak.dr \
d111309b0f11 hdisk.asm and h0_hdisk.asm nixed
boisy
parents: 342
diff changeset
17 sacia.dr dacia.dr
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 IOSUBS = windint.io vdgint.io keydrv joydrv_joy \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19 joydrv_6551L joydrv_6552L joydrv_6551M joydrv_6552M snddrv
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20 DESCS = d0_35s.dd d1_35s.dd d2_35s.dd d3_35s.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21 d0_40d.dd d1_40d.dd d2_40d.dd d0_80d.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
22 d1_80d.dd d2_80d.dd ddd0_35s.dd ddd0_40d.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23 ddd0_80d.dd r0_8k.dd r0_96k.dd r0_128k.dd r0_192k.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
24 ddr0_8k.dd ddr0_96k.dd ddr0_128k.dd ddr0_192k.dd \
344
d111309b0f11 hdisk.asm and h0_hdisk.asm nixed
boisy
parents: 342
diff changeset
25 m1.dd m2.dd nil.dd p.dd pipe.dd t1.dd t2_sacia.dd \
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26 t3_sacia.dd t2_dacia.dd t3_dacia.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27 h0_10.dd h1_10.dd h0_15.dd h1_15.dd h0_35.dd h1_35.dd \
344
d111309b0f11 hdisk.asm and h0_hdisk.asm nixed
boisy
parents: 342
diff changeset
28 ftdd.dd vi.dd ssp.dd term_t1.dd
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29 WINDESCS = term_vdg.dt term_win40.dt term_win80.dt w.dw w1.dw w2.dw \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 w3.dw w4.dw w5.dw w6.dw w7.dw v1.dw v2.dw v3.dw v4.dw v5.dw \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 v6.dw v7.dw
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 #
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 # The following macros represent a collection of modules for various
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 # kernel tracks and bootfile configurations.
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 #
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 KERNEL_1773 = rel boot_1773 os9p1
46
60432af73b7e Moved boot modules into 3rdparty directory
boisy
parents: 38
diff changeset
38 KERNEL_RAMPAK = rel $(TPB)/boot_rampak os9p1
60432af73b7e Moved boot modules into 3rdparty directory
boisy
parents: 38
diff changeset
39 KERNEL_KENTON = rel $(TPB)/boot_kenton os9p1
60432af73b7e Moved boot modules into 3rdparty directory
boisy
parents: 38
diff changeset
40 KERNEL_ROM = rel $(TPB)/boot_rom os9p1
60432af73b7e Moved boot modules into 3rdparty directory
boisy
parents: 38
diff changeset
41 KERNEL_IDE = rel $(TPB)/boot_ide os9p1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 # These kernels are intended to be ROMmed in a disk controller or program pak
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 KERNEL_PAK_KENTON = pakrom $(KERNEL_KENTON)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44
342
56297204e8da Modified makefile to allow for two SS35 disks, moved around certain modules so they
boisy
parents: 341
diff changeset
45 ALLOBJS = $(BOOTERS) $(OS9P1) $(OS9P2) $(REL) $(ROMMODS) $(SYSMODS) $(CLOCKS) $(FMGRS) \
432
03c6934e5d62 Window descriptors set up for enhanced SCF command line edition for duplicate
boisy
parents: 412
diff changeset
46 $(DRIVERS) $(IOSUBS) $(DESCS) $(WINDESCS)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 all: $(ALLOBJS)
341
20944721d3e6 Major makefile mods
boisy
parents: 100
diff changeset
49 $(CHMOD) 755 $(ALLOBJS)
20944721d3e6 Major makefile mods
boisy
parents: 100
diff changeset
50
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
52 # Special cases here
410
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
53 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
54 -aInterlv=3 -aSAS=8
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
55 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
56 -aInterlv=3 -aSAS=8
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
57 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
58 -aInterlv=3 -aSAS=8
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
59
412
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
60 # Floppy descriptors
410
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
61 ddd0_35s.dd: dx.asm
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
62 $(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
63
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
64 d0_35s.dd: dx.asm
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
65 $(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
66
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
67 d1_35s.dd: dx.asm
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
68 $(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
69
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
70 d2_35s.dd: dx.asm
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
71 $(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
72
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
73 d3_35s.dd: dx.asm
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
74 $(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
75
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
76 ddd0_40d.dd: dx.asm
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
77 $(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
78
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
79 d0_40d.dd: dx.asm
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
80 $(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
81
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
82 d1_40d.dd: dx.asm
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
83 $(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
84
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
85 d2_40d.dd: dx.asm
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
86 $(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
87
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
88 ddd0_80d.dd: dx.asm
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
89 $(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
90
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
91 d0_80d.dd: dx.asm
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
92 $(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
93
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
94 d1_80d.dd: dx.asm
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
95 $(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
96
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
97 d2_80d.dd: dx.asm
9ed77eeace37 All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents: 384
diff changeset
98 $(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
99
412
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
100 # RAM Disk descriptors
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
101 r0_8k.dd: rx.asm
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
102 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=32
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
103
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
104 ddr0_8k.dd: rx.asm
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
105 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=32 -aDD=1
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
106
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
107 r0_96k.dd: rx.asm
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
108 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=384
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
109
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
110 ddr0_96k.dd: rx.asm
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
111 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=384 -aDD=1
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
112
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
113 r0_128k.dd: rx.asm
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
114 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=512
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
115
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
116 ddr0_128k.dd: rx.asm
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
117 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=512 -aDD=1
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
118
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
119 r0_192k.dd: rx.asm
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
120 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=768
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
121
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
122 ddr0_192k.dd: rx.asm
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
123 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=768 -aDD=1
d5e182d35650 RAM Disk descriptors now made from rx.asm
boisy
parents: 410
diff changeset
124
384
850b16b2aa76 cc3go_rom now folded into cc3go... Makefile modified to adjust
boisy
parents: 382
diff changeset
125 cc3go_rom: cc3go.asm
850b16b2aa76 cc3go_rom now folded into cc3go... Makefile modified to adjust
boisy
parents: 382
diff changeset
126 $(AS) -aROM=1 $(AFLAGS) $< $(ASOUT)$@
850b16b2aa76 cc3go_rom now folded into cc3go... Makefile modified to adjust
boisy
parents: 382
diff changeset
127
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
128 sacia.dr: xacia.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
129 $(AS) -aA6551=1 -aA6552=0 -aMPI.Slot=00 $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
130
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
131 dacia.dr: xacia.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
132 $(AS) -aA6551=0 -aA6552=1 -aMPI.Slot=00 $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
133
37
1b329bae6f60 Modified rominfo to also boot from ROM Pak
boisy
parents: 29
diff changeset
134 rominfo: rominfo.asm
1b329bae6f60 Modified rominfo to also boot from ROM Pak
boisy
parents: 29
diff changeset
135 $(AS) -aROMPak=0 $(AFLAGS) $< $(ASOUT)$@
1b329bae6f60 Modified rominfo to also boot from ROM Pak
boisy
parents: 29
diff changeset
136
508
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 432
diff changeset
137 clock2_tc3: clock2_bb.asm
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 432
diff changeset
138 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aTC3=1
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 432
diff changeset
139
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
140 clean:
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
141 $(RM) $(ALLOBJS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
142
341
20944721d3e6 Major makefile mods
boisy
parents: 100
diff changeset
143 showobjs:
20944721d3e6 Major makefile mods
boisy
parents: 100
diff changeset
144 @$(ECHO) $(ALLOBJS)
20944721d3e6 Major makefile mods
boisy
parents: 100
diff changeset
145
20944721d3e6 Major makefile mods
boisy
parents: 100
diff changeset
146 showcopyobjs:
342
56297204e8da Modified makefile to allow for two SS35 disks, moved around certain modules so they
boisy
parents: 341
diff changeset
147 @$(ECHO) $(OS9P2) $(SYSMODS) $(CLOCKS) $(FMGRS) \
341
20944721d3e6 Major makefile mods
boisy
parents: 100
diff changeset
148 $(DRIVERS) $(IOSUBS) $(DESCS) $(WINDESCS) \
20944721d3e6 Major makefile mods
boisy
parents: 100
diff changeset
149
100
5679e0d70acf Added identify target
boisy
parents: 46
diff changeset
150 identify:
5679e0d70acf Added identify target
boisy
parents: 46
diff changeset
151 $(IDENT_SHORT) $(ALLOBJS)