annotate level1/modules/makefile @ 253:762792d92c57

Slight changes to source
author boisy
date Sat, 20 Jul 2002 04:43:05 +0000
parents 16748cbd3fd5
children 0161c9d61403
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
50
5f64b137c6be Moved boot_rom to 3rdparty
boisy
parents: 0
diff changeset
4 TPB = ../../3rdparty/booters
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5
238
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents: 236
diff changeset
6 BOOTERS = oscode oscode_d64 boot_1773 boot_d64 $(TPB)/boot_rom_l1 rom_vectors
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
7 KERNELS = os9 os9p2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
8 SYSMODS = rominfo ioman init
241
16748cbd3fd5 Forgot kbvdio
roug
parents: 240
diff changeset
9 CLOCKS = clock.60hz clock.50hz clock_d64
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10 FMGRS = scf.mn rbf.mn pipeman.mn
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
11 DRIVERS = aciapak.dr cchdisk.dr ccdisk.dr modpak.dr nildrv.dr \
241
16748cbd3fd5 Forgot kbvdio
roug
parents: 240
diff changeset
12 piper.dr printer.dr rs232.dr sscpak.dr ccio.dr \
16748cbd3fd5 Forgot kbvdio
roug
parents: 240
diff changeset
13 ddisk.dr kbvdio.dr
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14 IOSUBS = co32.io co80.io grfo.io
181
b4c3a13097a7 Added dd default device
boisy
parents: 179
diff changeset
15 DESCS = dd.dd d0.dd d1.dd d2.dd d3.dd h0_15.dd h1_15.dd h0_35.dd \
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16 h1_35.dd m1.dd m2.dd nil.dd p.dd pipe.dd ssc.dd t1.dd \
239
8b71b12c468f Checking in the floppy disk device descriptors for Dragon 64
roug
parents: 238
diff changeset
17 t2.dd t3.dd term32.dd term80.dd \
241
16748cbd3fd5 Forgot kbvdio
roug
parents: 240
diff changeset
18 p1_d64.dd term_d64.dd t1_d64.dd \
239
8b71b12c468f Checking in the floppy disk device descriptors for Dragon 64
roug
parents: 238
diff changeset
19 dd_d64.dd d0_d64.dd d1_d64.dd d2_d64.dd d3_d64.dd
241
16748cbd3fd5 Forgot kbvdio
roug
parents: 240
diff changeset
20 SYSGOS = sysgo sysgo_rom sysgo_d64
181
b4c3a13097a7 Added dd default device
boisy
parents: 179
diff changeset
21 HELP = co32.hp co80.hp dd.hp d0.hp d1.hp d2.hp d3.hp grfo.hp h0_15.hp \
179
d9c51aa08edc Remved uppercase .hp files
boisy
parents: 177
diff changeset
22 h0_35.hp h1_15.hp h1_35.hp m1.hp m2.hp nil.hp p.hp pipe.hp \
d9c51aa08edc Remved uppercase .hp files
boisy
parents: 177
diff changeset
23 ssc.hp t1.hp t2.hp t3.hp term32.hp term80.hp config.hp
177
90b0403b7e82 Added help files
boisy
parents: 107
diff changeset
24
198
90fc6b3fdbdd Fixed Makefile
boisy
parents: 181
diff changeset
25 KERNEL_1773 = oscode os9 os9p2 init boot_1773
238
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents: 236
diff changeset
26 KERNEL_D64 = oscode_d64 os9 os9p2 init boot_d64
198
90fc6b3fdbdd Fixed Makefile
boisy
parents: 181
diff changeset
27 KERNEL_ROM = oscode os9 os9p2 init $(TPB)/boot_rom_l1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28
198
90fc6b3fdbdd Fixed Makefile
boisy
parents: 181
diff changeset
29 BOOT_TRACKS = kernel_1773 kernel_rom
90fc6b3fdbdd Fixed Makefile
boisy
parents: 181
diff changeset
30 ALLOBJS = $(BOOTERS) $(KERNELS) $(SYSMODS) $(CLOCKS) $(FMGRS) \
90fc6b3fdbdd Fixed Makefile
boisy
parents: 181
diff changeset
31 $(DRIVERS) $(IOSUBS) $(DESCS) $(SYSGOS) $(BOOT_TRACKS)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32
177
90b0403b7e82 Added help files
boisy
parents: 107
diff changeset
33 all: $(ALLOBJS) $(HELP)
90b0403b7e82 Added help files
boisy
parents: 107
diff changeset
34 $(UNIX2OS9) $(HELP)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 # Kernel track for OS-9 in ROM on a CoCo
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 kernel_rom: $(KERNEL_ROM) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 $(MERGE) $(KERNEL_ROM)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 $(PADROM) \$$1200 $@ -c=\$$E5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 # Kernel track for Tandy/RS controller (WD1773)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 kernel_1773: $(KERNEL_1773) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 $(MERGE) $(KERNEL_1773)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 $(PADROM) \$$1200 $@ -c=\$$E5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45
238
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents: 236
diff changeset
46 kernel_d64: $(KERNEL_D64) $(DEPENDS)
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents: 236
diff changeset
47 $(MERGE) $(KERNEL_D64)>$@
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents: 236
diff changeset
48 $(PADROM) \$$1000 $@ -c=\$$E5
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents: 236
diff changeset
49
235
3fa31ecd389a Modified oscode to allow conditional assembly for Dragon 64
boisy
parents: 231
diff changeset
50 oscode: oscode.asm
236
3d67d211f12e Forgot to put AFLAGS in rules
boisy
parents: 235
diff changeset
51 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=0
235
3fa31ecd389a Modified oscode to allow conditional assembly for Dragon 64
boisy
parents: 231
diff changeset
52
3fa31ecd389a Modified oscode to allow conditional assembly for Dragon 64
boisy
parents: 231
diff changeset
53 oscode_d64: oscode.asm
236
3d67d211f12e Forgot to put AFLAGS in rules
boisy
parents: 235
diff changeset
54 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=1
235
3fa31ecd389a Modified oscode to allow conditional assembly for Dragon 64
boisy
parents: 231
diff changeset
55
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56 clean:
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57 $(RM) $(ALLOBJS)
177
90b0403b7e82 Added help files
boisy
parents: 107
diff changeset
58 $(OS92UNIX) $(HELP)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59
95
cab6c9f16913 Added identify target
boisy
parents: 50
diff changeset
60 identify:
cab6c9f16913 Added identify target
boisy
parents: 50
diff changeset
61 $(IDENT_SHORT) $(ALLOBJS)
107
5eceecf6159c Updated Makefiles with new targets
boisy
parents: 95
diff changeset
62
5eceecf6159c Updated Makefiles with new targets
boisy
parents: 95
diff changeset
63 showobjs:
5eceecf6159c Updated Makefiles with new targets
boisy
parents: 95
diff changeset
64 @echo $(ALLOBJS)