Mercurial > hg > Members > kono > nitros9-code
annotate level1/modules/makefile @ 879:c3702f05f6c0
Added
author | boisy |
---|---|
date | Fri, 17 Jan 2003 04:15:34 +0000 |
parents | 4be6f027b201 |
children | 76583cb0182f |
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 | |
587 | 10 CLOCKS = clock.60hz clock.50hz clock_tc3 clock_bb |
11 CLOCKS_D64 = clock_d64 | |
0 | 12 FMGRS = scf.mn rbf.mn pipeman.mn |
13 DRIVERS = aciapak.dr cchdisk.dr ccdisk.dr modpak.dr nildrv.dr \ | |
587 | 14 piper.dr printer.dr rs232.dr sscpak.dr ccio.dr |
15 DRIVERS_D64 = ddisk.dr kbvdio.dr | |
0 | 16 IOSUBS = co32.io co80.io grfo.io |
293
404d2a69646f
Added more help files for additional verbose descriptors, removed
boisy
parents:
291
diff
changeset
|
17 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
|
18 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
|
19 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
|
20 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
|
21 m1.dd m2.dd nil.dd p.dd pipe.dd ssc.dd \ |
454 | 22 term_t1.dd t1.dd t2.dd t3.dd term32.dd term80.dd |
587 | 23 DESCS_D64 = p1_d64.dd term_d64.dd t1_d64.dd \ |
24 dd_d64.dd d0_d64.dd d1_d64.dd d2_d64.dd d3_d64.dd | |
294 | 25 HELP = co32.hp co80.hp \ |
26 ddd0_35s.hp d0_35s.hp d1_35s.hp d2_35s.hp d3_35s.hp \ | |
27 ddd0_40d.hp d0_40d.hp d1_40d.hp d2_40d.hp \ | |
28 ddd0_80d.hp d0_80d.hp d1_80d.hp d2_80d.hp \ | |
29 grfo.hp h0_15.hp \ | |
179 | 30 h0_35.hp h1_15.hp h1_35.hp m1.hp m2.hp nil.hp p.hp pipe.hp \ |
31 ssc.hp t1.hp t2.hp t3.hp term32.hp term80.hp config.hp | |
177 | 32 |
323 | 33 COPYOBJS = $(SYSMODS) $(CLOCKS) $(FMGRS) $(DRIVERS) $(IOSUBS) \ |
34 $(DESCS) $(HELP) | |
35 ALLOBJS = $(BOOTERS) $(KERNELS) $(ROMMODS) $(SYSMODS) $(CLOCKS) $(FMGRS) \ | |
506 | 36 $(DRIVERS) $(IOSUBS) $(DESCS) |
0 | 37 |
177 | 38 all: $(ALLOBJS) $(HELP) |
323 | 39 $(CHMOD) 755 $(ALLOBJS) |
177 | 40 $(UNIX2OS9) $(HELP) |
323 | 41 $(CHMOD) 644 $(HELP) |
0 | 42 |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
43 # Special cases here |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
44 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
|
45 -aInterlv=3 -aSAS=8 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
46 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
|
47 -aInterlv=3 -aSAS=8 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
48 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
|
49 -aInterlv=3 -aSAS=8 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
50 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
51 # Floppy descriptors |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
52 ddd0_35s.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
53 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 -aDD=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
54 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
55 d0_35s.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
56 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
57 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
58 d1_35s.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
59 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
60 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
61 d2_35s.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
62 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=2 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
63 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
64 d3_35s.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
65 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=3 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
66 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
67 ddd0_40d.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
68 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 -aDD=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
69 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
70 d0_40d.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
71 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
72 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
73 d1_40d.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
74 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
75 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
76 d2_40d.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
77 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=2 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
78 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
79 ddd0_80d.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
80 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 -aDD=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
81 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
82 d0_80d.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
83 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
84 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
85 d1_80d.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
86 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
87 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
88 d2_80d.dd: dx.asm |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
89 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=2 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
90 |
235
3fa31ecd389a
Modified oscode to allow conditional assembly for Dragon 64
boisy
parents:
231
diff
changeset
|
91 oscode: oscode.asm |
236 | 92 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=0 |
235
3fa31ecd389a
Modified oscode to allow conditional assembly for Dragon 64
boisy
parents:
231
diff
changeset
|
93 |
3fa31ecd389a
Modified oscode to allow conditional assembly for Dragon 64
boisy
parents:
231
diff
changeset
|
94 oscode_d64: oscode.asm |
236 | 95 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=1 |
235
3fa31ecd389a
Modified oscode to allow conditional assembly for Dragon 64
boisy
parents:
231
diff
changeset
|
96 |
275 | 97 sysgo: sysgo.asm |
98 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDiskGo=1 | |
99 | |
100 sysgo_rom: sysgo.asm | |
101 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDiskGo=0 | |
102 | |
506 | 103 clock_tc3: clock.asm |
104 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aRTCTC3=1 -aTPS=60 | |
105 | |
106 clock_bb: clock.asm | |
107 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aRTCBB=1 -aTPS=60 | |
108 | |
0 | 109 clean: |
110 $(RM) $(ALLOBJS) | |
177 | 111 $(OS92UNIX) $(HELP) |
0 | 112 |
95 | 113 identify: |
114 $(IDENT_SHORT) $(ALLOBJS) | |
107 | 115 |
323 | 116 showallobjs: |
117 @$(ECHO) $(ALLOBJS) | |
118 | |
119 showcopyobjs: | |
120 @$(ECHO) $(COPYOBJS) |