annotate level2/modules/makefile @ 100:5679e0d70acf

Added identify target
author boisy
date Sat, 06 Jul 2002 05:02:57 +0000
parents 60432af73b7e
children 20944721d3e6
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
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
7 KERNELS = os9p1 os9p2
38
04aaf43f05bc Moved RAMPak driver and descriptor to 3rdparty dir
boisy
parents: 37
diff changeset
8 SYSMODS = rel rominfo rom_vectors ioman init pakrom
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
9 CLOCKS = clock clock2_soft clock2_disto clock2_146818
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10 FMGRS = scf.mn rbf.mn pipeman.mn pipeman_named.mn
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
11 DRIVERS = cc3disk.dr cc3hdisk.dr cc3io.dr modpak.dr \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12 vrn.dr piper.dr printer.dr parallel.dr sio.dr ram.dr sspak.dr \
38
04aaf43f05bc Moved RAMPak driver and descriptor to 3rdparty dir
boisy
parents: 37
diff changeset
13 hdisk.dr sacia.dr dacia.dr
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14 IOSUBS = windint.io vdgint.io keydrv joydrv_joy \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15 joydrv_6551L joydrv_6552L joydrv_6551M joydrv_6552M snddrv
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16 DESCS = d0_35s.dd d1_35s.dd d2_35s.dd d3_35s.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 d0_40d.dd d1_40d.dd d2_40d.dd d0_80d.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 d1_80d.dd d2_80d.dd ddd0_35s.dd ddd0_40d.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19 ddd0_80d.dd r0_8k.dd r0_96k.dd r0_128k.dd r0_192k.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20 ddr0_8k.dd ddr0_96k.dd ddr0_128k.dd ddr0_192k.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21 m1.dd m2.dd nil.dd p.dd pp.dd pipe.dd t1.dd t2_sacia.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
22 t3_sacia.dd t2_dacia.dd t3_dacia.dd \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23 h0_10.dd h1_10.dd h0_15.dd h1_15.dd h0_35.dd h1_35.dd \
38
04aaf43f05bc Moved RAMPak driver and descriptor to 3rdparty dir
boisy
parents: 37
diff changeset
24 ftdd.dd vi.dd ssp.dd h0_hdisk.dd term_t1.dd
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
25 WINDESCS = term_vdg.dt term_win40.dt term_win80.dt w.dw w1.dw w2.dw \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26 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
27 v6.dw v7.dw
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 SYSGOS = cc3go cc3go_rom
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 #
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 # The following macros represent a collection of modules for various
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 # kernel tracks and bootfile configurations.
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 #
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 KERNEL_1773 = rel boot_1773 os9p1
46
60432af73b7e Moved boot modules into 3rdparty directory
boisy
parents: 38
diff changeset
35 KERNEL_RAMPAK = rel $(TPB)/boot_rampak os9p1
60432af73b7e Moved boot modules into 3rdparty directory
boisy
parents: 38
diff changeset
36 KERNEL_KENTON = rel $(TPB)/boot_kenton os9p1
60432af73b7e Moved boot modules into 3rdparty directory
boisy
parents: 38
diff changeset
37 KERNEL_ROM = rel $(TPB)/boot_rom os9p1
60432af73b7e Moved boot modules into 3rdparty directory
boisy
parents: 38
diff changeset
38 KERNEL_IDE = rel $(TPB)/boot_ide os9p1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 # These kernels are intended to be ROMmed in a disk controller or program pak
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 KERNEL_PAK_KENTON = pakrom $(KERNEL_KENTON)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 ALLOBJS = $(BOOTERS) $(KERNELS) $(SYSMODS) $(CLOCKS) $(FMGRS) \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 $(DRIVERS) $(IOSUBS) $(DESCS) $(WINDESCS) $(SYSGOS) \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 kernel_1773 kernel_rom kernel_kenton kernel_pak_kenton \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 kernel_rampak kernel_ide
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 all: $(ALLOBJS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49 # Special cases here
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
50 sacia.dr: xacia.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51 $(AS) -aA6551=1 -aA6552=0 -aMPI.Slot=00 $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
52
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
53 dacia.dr: xacia.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
54 $(AS) -aA6551=0 -aA6552=1 -aMPI.Slot=00 $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
55
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 kernel_1773: $(KERNEL_1773) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59 $(MERGE) $(KERNEL_1773)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
60
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
61 kernel_rampak: $(KERNEL_RAMPAK) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
62 $(MERGE) $(KERNEL_RAMPAK)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
63
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
64 kernel_rom: $(KERNEL_ROM) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
65 $(MERGE) $(KERNEL_ROM)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
66
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
67 kernel_kenton: $(KERNEL_KENTON) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
68 $(MERGE) $(KERNEL_KENTON)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
69
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
70 kernel_ide: $(KERNEL_IDE) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
71 $(MERGE) $(KERNEL_IDE)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
72
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
73 kernel_pak_kenton: $(KERNEL_PAK_KENTON) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
74 $(MERGE) $(KERNEL_PAK_KENTON)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
75 $(PADROM) \$$2000 $@ -c=\$$FF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
76
37
1b329bae6f60 Modified rominfo to also boot from ROM Pak
boisy
parents: 29
diff changeset
77 rominfo: rominfo.asm
1b329bae6f60 Modified rominfo to also boot from ROM Pak
boisy
parents: 29
diff changeset
78 $(AS) -aROMPak=0 $(AFLAGS) $< $(ASOUT)$@
1b329bae6f60 Modified rominfo to also boot from ROM Pak
boisy
parents: 29
diff changeset
79
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
80 clean:
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
81 $(RM) $(ALLOBJS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
82
100
5679e0d70acf Added identify target
boisy
parents: 46
diff changeset
83 identify:
5679e0d70acf Added identify target
boisy
parents: 46
diff changeset
84 $(IDENT_SHORT) $(ALLOBJS)