Mercurial > hg > Members > kono > nitros9-code
annotate level1/modules/makefile @ 475:c8d3a5ef9537
entered: chdir chmod qsort strass toupper tsleep wait
author | roug |
---|---|
date | Sun, 06 Oct 2002 09:10:36 +0000 |
parents | 14157dc9e1d2 |
children | 4f81e616d397 |
rev | line source |
---|---|
0 | 1 include ../../Makefile.rules |
2 | |
3 DEPENDS = ./Makefile | |
355 | 4 TPB = $(3RDPARTY)/booters |
0 | 5 |
238 | 6 BOOTERS = oscode oscode_d64 boot_1773 boot_d64 $(TPB)/boot_rom_l1 rom_vectors |
0 | 7 KERNELS = os9 os9p2 |
323 | 8 ROMMODS = rominfo sysgo_rom |
9 SYSMODS = ioman init sysgo sysgo_d64 | |
241 | 10 CLOCKS = clock.60hz clock.50hz clock_d64 |
0 | 11 FMGRS = scf.mn rbf.mn pipeman.mn |
12 DRIVERS = aciapak.dr cchdisk.dr ccdisk.dr modpak.dr nildrv.dr \ | |
241 | 13 piper.dr printer.dr rs232.dr sscpak.dr ccio.dr \ |
14 ddisk.dr kbvdio.dr | |
0 | 15 IOSUBS = co32.io co80.io grfo.io |
293
404d2a69646f
Added more help files for additional verbose descriptors, removed
boisy
parents:
291
diff
changeset
|
16 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
|
17 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
|
18 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
|
19 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
|
20 m1.dd m2.dd nil.dd p.dd pipe.dd ssc.dd \ |
454 | 21 term_t1.dd t1.dd t2.dd t3.dd term32.dd term80.dd |
22 # p1_d64.dd term_d64.dd t1_d64.dd \ | |
23 # dd_d64.dd d0_d64.dd d1_d64.dd d2_d64.dd d3_d64.dd | |
294 | 24 HELP = co32.hp co80.hp \ |
25 ddd0_35s.hp d0_35s.hp d1_35s.hp d2_35s.hp d3_35s.hp \ | |
26 ddd0_40d.hp d0_40d.hp d1_40d.hp d2_40d.hp \ | |
27 ddd0_80d.hp d0_80d.hp d1_80d.hp d2_80d.hp \ | |
28 grfo.hp h0_15.hp \ | |
179 | 29 h0_35.hp h1_15.hp h1_35.hp m1.hp m2.hp nil.hp p.hp pipe.hp \ |
30 ssc.hp t1.hp t2.hp t3.hp term32.hp term80.hp config.hp | |
177 | 31 |
198 | 32 KERNEL_1773 = oscode os9 os9p2 init boot_1773 |
238 | 33 KERNEL_D64 = oscode_d64 os9 os9p2 init boot_d64 |
198 | 34 KERNEL_ROM = oscode os9 os9p2 init $(TPB)/boot_rom_l1 |
305 | 35 KERNEL_IDE = oscode os9 os9p2 init $(TPB)/boot_ide_l1 |
0 | 36 |
305 | 37 BOOT_TRACKS = kernel_1773 kernel_rom kernel_ide |
323 | 38 COPYOBJS = $(SYSMODS) $(CLOCKS) $(FMGRS) $(DRIVERS) $(IOSUBS) \ |
39 $(DESCS) $(HELP) | |
40 ALLOBJS = $(BOOTERS) $(KERNELS) $(ROMMODS) $(SYSMODS) $(CLOCKS) $(FMGRS) \ | |
41 $(DRIVERS) $(IOSUBS) $(DESCS) $(BOOT_TRACKS) | |
0 | 42 |
177 | 43 all: $(ALLOBJS) $(HELP) |
323 | 44 $(CHMOD) 755 $(ALLOBJS) |
177 | 45 $(UNIX2OS9) $(HELP) |
323 | 46 $(CHMOD) 644 $(HELP) |
0 | 47 |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
48 # Special cases here |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
49 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
50 -aInterlv=3 -aSAS=8 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
51 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
52 -aInterlv=3 -aSAS=8 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
53 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
54 -aInterlv=3 -aSAS=8 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
55 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
56 # Floppy descriptors |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
57 ddd0_35s.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
58 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 -aDD=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
59 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
60 d0_35s.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
61 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
62 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
63 d1_35s.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
64 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
65 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
66 d2_35s.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
67 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=2 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
68 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
69 d3_35s.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
70 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=3 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
71 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
72 ddd0_40d.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
73 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 -aDD=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
74 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
75 d0_40d.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
76 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
77 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
78 d1_40d.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
79 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
80 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
81 d2_40d.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
82 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=2 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
83 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
84 ddd0_80d.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
85 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 -aDD=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
86 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
87 d0_80d.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
88 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
89 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
90 d1_80d.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
91 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
92 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
93 d2_80d.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
94 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=2 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
95 |
0 | 96 # Kernel track for OS-9 in ROM on a CoCo |
97 kernel_rom: $(KERNEL_ROM) $(DEPENDS) | |
98 $(MERGE) $(KERNEL_ROM)>$@ | |
99 $(PADROM) \$$1200 $@ -c=\$$E5 | |
100 | |
101 # Kernel track for Tandy/RS controller (WD1773) | |
102 kernel_1773: $(KERNEL_1773) $(DEPENDS) | |
103 $(MERGE) $(KERNEL_1773)>$@ | |
104 $(PADROM) \$$1200 $@ -c=\$$E5 | |
105 | |
305 | 106 # Kernel track for Tandy/RS controller (WD1773) |
107 kernel_ide: $(KERNEL_IDE) $(DEPENDS) | |
108 $(MERGE) $(KERNEL_IDE)>$@ | |
109 $(PADROM) \$$1200 $@ -c=\$$E5 | |
110 | |
238 | 111 kernel_d64: $(KERNEL_D64) $(DEPENDS) |
112 $(MERGE) $(KERNEL_D64)>$@ | |
113 $(PADROM) \$$1000 $@ -c=\$$E5 | |
114 | |
235
3fa31ecd389a
Modified oscode to allow conditional assembly for Dragon 64
boisy
parents:
231
diff
changeset
|
115 oscode: oscode.asm |
236 | 116 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=0 |
235
3fa31ecd389a
Modified oscode to allow conditional assembly for Dragon 64
boisy
parents:
231
diff
changeset
|
117 |
3fa31ecd389a
Modified oscode to allow conditional assembly for Dragon 64
boisy
parents:
231
diff
changeset
|
118 oscode_d64: oscode.asm |
236 | 119 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=1 |
235
3fa31ecd389a
Modified oscode to allow conditional assembly for Dragon 64
boisy
parents:
231
diff
changeset
|
120 |
275 | 121 sysgo: sysgo.asm |
122 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDiskGo=1 | |
123 | |
124 sysgo_rom: sysgo.asm | |
125 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDiskGo=0 | |
126 | |
0 | 127 clean: |
128 $(RM) $(ALLOBJS) | |
177 | 129 $(OS92UNIX) $(HELP) |
0 | 130 |
95 | 131 identify: |
132 $(IDENT_SHORT) $(ALLOBJS) | |
107 | 133 |
323 | 134 showallobjs: |
135 @$(ECHO) $(ALLOBJS) | |
136 | |
137 showcopyobjs: | |
138 @$(ECHO) $(COPYOBJS) |