annotate level1/modules/makefile @ 306:c863af5b4ea1

init.asm: extended (see os9defs( os9.asm: added code to set D.CRC based on flag in init module
author boisy
date Mon, 22 Jul 2002 23:15:21 +0000
parents 1ecde21f77f7
children 9ca004356f09
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
293
404d2a69646f Added more help files for additional verbose descriptors, removed
boisy
parents: 291
diff changeset
15 DESCS = ddd0_35s.dd d0_35s.dd d1_35s.dd d2_35s.dd d3_35s.dd \
404d2a69646f Added more help files for additional verbose descriptors, removed
boisy
parents: 291
diff changeset
16 ddd0_40d.dd d0_40d.dd d1_40d.dd d2_40d.dd \
404d2a69646f Added more help files for additional verbose descriptors, removed
boisy
parents: 291
diff changeset
17 ddd0_80d.dd d0_80d.dd d1_80d.dd d2_80d.dd \
291
7625c04ca486 Removed dd and d0-d3.asm to be replaced with verbose descriptor filenames
boisy
parents: 275
diff changeset
18 h0_15.dd h1_15.dd h0_35.dd h1_35.dd \
7625c04ca486 Removed dd and d0-d3.asm to be replaced with verbose descriptor filenames
boisy
parents: 275
diff changeset
19 m1.dd m2.dd nil.dd p.dd pipe.dd ssc.dd \
7625c04ca486 Removed dd and d0-d3.asm to be replaced with verbose descriptor filenames
boisy
parents: 275
diff changeset
20 t1.dd t2.dd t3.dd term32.dd term80.dd \
241
16748cbd3fd5 Forgot kbvdio
roug
parents: 240
diff changeset
21 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
22 dd_d64.dd d0_d64.dd d1_d64.dd d2_d64.dd d3_d64.dd
241
16748cbd3fd5 Forgot kbvdio
roug
parents: 240
diff changeset
23 SYSGOS = sysgo sysgo_rom sysgo_d64
294
8271d217933c Added more help files
boisy
parents: 293
diff changeset
24 HELP = co32.hp co80.hp \
8271d217933c Added more help files
boisy
parents: 293
diff changeset
25 ddd0_35s.hp d0_35s.hp d1_35s.hp d2_35s.hp d3_35s.hp \
8271d217933c Added more help files
boisy
parents: 293
diff changeset
26 ddd0_40d.hp d0_40d.hp d1_40d.hp d2_40d.hp \
8271d217933c Added more help files
boisy
parents: 293
diff changeset
27 ddd0_80d.hp d0_80d.hp d1_80d.hp d2_80d.hp \
8271d217933c Added more help files
boisy
parents: 293
diff changeset
28 grfo.hp h0_15.hp \
179
d9c51aa08edc Remved uppercase .hp files
boisy
parents: 177
diff changeset
29 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
30 ssc.hp t1.hp t2.hp t3.hp term32.hp term80.hp config.hp
177
90b0403b7e82 Added help files
boisy
parents: 107
diff changeset
31
198
90fc6b3fdbdd Fixed Makefile
boisy
parents: 181
diff changeset
32 KERNEL_1773 = oscode os9 os9p2 init boot_1773
238
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents: 236
diff changeset
33 KERNEL_D64 = oscode_d64 os9 os9p2 init boot_d64
198
90fc6b3fdbdd Fixed Makefile
boisy
parents: 181
diff changeset
34 KERNEL_ROM = oscode os9 os9p2 init $(TPB)/boot_rom_l1
305
1ecde21f77f7 Added IDE target
boisy
parents: 294
diff changeset
35 KERNEL_IDE = oscode os9 os9p2 init $(TPB)/boot_ide_l1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36
305
1ecde21f77f7 Added IDE target
boisy
parents: 294
diff changeset
37 BOOT_TRACKS = kernel_1773 kernel_rom kernel_ide
198
90fc6b3fdbdd Fixed Makefile
boisy
parents: 181
diff changeset
38 ALLOBJS = $(BOOTERS) $(KERNELS) $(SYSMODS) $(CLOCKS) $(FMGRS) \
90fc6b3fdbdd Fixed Makefile
boisy
parents: 181
diff changeset
39 $(DRIVERS) $(IOSUBS) $(DESCS) $(SYSGOS) $(BOOT_TRACKS)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40
177
90b0403b7e82 Added help files
boisy
parents: 107
diff changeset
41 all: $(ALLOBJS) $(HELP)
90b0403b7e82 Added help files
boisy
parents: 107
diff changeset
42 $(UNIX2OS9) $(HELP)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 # Kernel track for OS-9 in ROM on a CoCo
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 kernel_rom: $(KERNEL_ROM) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 $(MERGE) $(KERNEL_ROM)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 $(PADROM) \$$1200 $@ -c=\$$E5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49 # Kernel track for Tandy/RS controller (WD1773)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
50 kernel_1773: $(KERNEL_1773) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51 $(MERGE) $(KERNEL_1773)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
52 $(PADROM) \$$1200 $@ -c=\$$E5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
53
305
1ecde21f77f7 Added IDE target
boisy
parents: 294
diff changeset
54 # Kernel track for Tandy/RS controller (WD1773)
1ecde21f77f7 Added IDE target
boisy
parents: 294
diff changeset
55 kernel_ide: $(KERNEL_IDE) $(DEPENDS)
1ecde21f77f7 Added IDE target
boisy
parents: 294
diff changeset
56 $(MERGE) $(KERNEL_IDE)>$@
1ecde21f77f7 Added IDE target
boisy
parents: 294
diff changeset
57 $(PADROM) \$$1200 $@ -c=\$$E5
1ecde21f77f7 Added IDE target
boisy
parents: 294
diff changeset
58
238
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents: 236
diff changeset
59 kernel_d64: $(KERNEL_D64) $(DEPENDS)
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents: 236
diff changeset
60 $(MERGE) $(KERNEL_D64)>$@
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents: 236
diff changeset
61 $(PADROM) \$$1000 $@ -c=\$$E5
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents: 236
diff changeset
62
235
3fa31ecd389a Modified oscode to allow conditional assembly for Dragon 64
boisy
parents: 231
diff changeset
63 oscode: oscode.asm
236
3d67d211f12e Forgot to put AFLAGS in rules
boisy
parents: 235
diff changeset
64 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=0
235
3fa31ecd389a Modified oscode to allow conditional assembly for Dragon 64
boisy
parents: 231
diff changeset
65
3fa31ecd389a Modified oscode to allow conditional assembly for Dragon 64
boisy
parents: 231
diff changeset
66 oscode_d64: oscode.asm
236
3d67d211f12e Forgot to put AFLAGS in rules
boisy
parents: 235
diff changeset
67 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=1
235
3fa31ecd389a Modified oscode to allow conditional assembly for Dragon 64
boisy
parents: 231
diff changeset
68
275
0161c9d61403 sysgo and sysgo_rom targets added
boisy
parents: 241
diff changeset
69 sysgo: sysgo.asm
0161c9d61403 sysgo and sysgo_rom targets added
boisy
parents: 241
diff changeset
70 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDiskGo=1
0161c9d61403 sysgo and sysgo_rom targets added
boisy
parents: 241
diff changeset
71
0161c9d61403 sysgo and sysgo_rom targets added
boisy
parents: 241
diff changeset
72 sysgo_rom: sysgo.asm
0161c9d61403 sysgo and sysgo_rom targets added
boisy
parents: 241
diff changeset
73 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDiskGo=0
0161c9d61403 sysgo and sysgo_rom targets added
boisy
parents: 241
diff changeset
74
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
75 clean:
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
76 $(RM) $(ALLOBJS)
177
90b0403b7e82 Added help files
boisy
parents: 107
diff changeset
77 $(OS92UNIX) $(HELP)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
78
95
cab6c9f16913 Added identify target
boisy
parents: 50
diff changeset
79 identify:
cab6c9f16913 Added identify target
boisy
parents: 50
diff changeset
80 $(IDENT_SHORT) $(ALLOBJS)
107
5eceecf6159c Updated Makefiles with new targets
boisy
parents: 95
diff changeset
81
5eceecf6159c Updated Makefiles with new targets
boisy
parents: 95
diff changeset
82 showobjs:
5eceecf6159c Updated Makefiles with new targets
boisy
parents: 95
diff changeset
83 @echo $(ALLOBJS)