annotate level1/modules/makefile @ 556:28a203bbd2cc

findstr and signal finished.
author roug
date Tue, 22 Oct 2002 19:09:04 +0000
parents 4f81e616d397
children 4be6f027b201
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
355
71b60814fb01 Makefiles modified for uniformity
boisy
parents: 323
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
323
9ca004356f09 Makefiles modified
boisy
parents: 305
diff changeset
8 ROMMODS = rominfo sysgo_rom
9ca004356f09 Makefiles modified
boisy
parents: 305
diff changeset
9 SYSMODS = ioman init sysgo sysgo_d64
506
4f81e616d397 clock.asm now has B&B and TC^3 clock code
boisy
parents: 454
diff changeset
10 CLOCKS = clock.60hz clock.50hz clock_d64 clock_tc3 clock_bb
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
11 FMGRS = scf.mn rbf.mn pipeman.mn
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12 DRIVERS = aciapak.dr cchdisk.dr ccdisk.dr modpak.dr nildrv.dr \
241
16748cbd3fd5 Forgot kbvdio
roug
parents: 240
diff changeset
13 piper.dr printer.dr rs232.dr sscpak.dr ccio.dr \
16748cbd3fd5 Forgot kbvdio
roug
parents: 240
diff changeset
14 ddisk.dr kbvdio.dr
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
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
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 415
diff changeset
21 term_t1.dd t1.dd t2.dd t3.dd term32.dd term80.dd
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 415
diff changeset
22 # p1_d64.dd term_d64.dd t1_d64.dd \
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 415
diff changeset
23 # dd_d64.dd d0_d64.dd d1_d64.dd d2_d64.dd d3_d64.dd
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
323
9ca004356f09 Makefiles modified
boisy
parents: 305
diff changeset
32 COPYOBJS = $(SYSMODS) $(CLOCKS) $(FMGRS) $(DRIVERS) $(IOSUBS) \
9ca004356f09 Makefiles modified
boisy
parents: 305
diff changeset
33 $(DESCS) $(HELP)
9ca004356f09 Makefiles modified
boisy
parents: 305
diff changeset
34 ALLOBJS = $(BOOTERS) $(KERNELS) $(ROMMODS) $(SYSMODS) $(CLOCKS) $(FMGRS) \
506
4f81e616d397 clock.asm now has B&B and TC^3 clock code
boisy
parents: 454
diff changeset
35 $(DRIVERS) $(IOSUBS) $(DESCS)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36
177
90b0403b7e82 Added help files
boisy
parents: 107
diff changeset
37 all: $(ALLOBJS) $(HELP)
323
9ca004356f09 Makefiles modified
boisy
parents: 305
diff changeset
38 $(CHMOD) 755 $(ALLOBJS)
177
90b0403b7e82 Added help files
boisy
parents: 107
diff changeset
39 $(UNIX2OS9) $(HELP)
323
9ca004356f09 Makefiles modified
boisy
parents: 305
diff changeset
40 $(CHMOD) 644 $(HELP)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41
415
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
42 # Special cases here
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
43 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
44 -aInterlv=3 -aSAS=8
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
45 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
46 -aInterlv=3 -aSAS=8
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
47 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
48 -aInterlv=3 -aSAS=8
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
49
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
50 # Floppy descriptors
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
51 ddd0_35s.dd: dx.asm
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
52 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 -aDD=1
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
53
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
54 d0_35s.dd: dx.asm
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
55 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
56
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
57 d1_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=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 d2_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=2
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 d3_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=3
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 ddd0_40d.dd: dx.asm
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
67 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 -aDD=1
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 d0_40d.dd: dx.asm
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
70 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0
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 d1_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=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 d2_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=2
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 ddd0_80d.dd: dx.asm
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
79 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 -aDD=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 d0_80d.dd: dx.asm
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
82 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0
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 d1_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=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 d2_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=2
79e595f4497b All CCDisk device descriptors are now made from dx.asm
boisy
parents: 361
diff changeset
89
235
3fa31ecd389a Modified oscode to allow conditional assembly for Dragon 64
boisy
parents: 231
diff changeset
90 oscode: oscode.asm
236
3d67d211f12e Forgot to put AFLAGS in rules
boisy
parents: 235
diff changeset
91 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=0
235
3fa31ecd389a Modified oscode to allow conditional assembly for Dragon 64
boisy
parents: 231
diff changeset
92
3fa31ecd389a Modified oscode to allow conditional assembly for Dragon 64
boisy
parents: 231
diff changeset
93 oscode_d64: oscode.asm
236
3d67d211f12e Forgot to put AFLAGS in rules
boisy
parents: 235
diff changeset
94 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=1
235
3fa31ecd389a Modified oscode to allow conditional assembly for Dragon 64
boisy
parents: 231
diff changeset
95
275
0161c9d61403 sysgo and sysgo_rom targets added
boisy
parents: 241
diff changeset
96 sysgo: sysgo.asm
0161c9d61403 sysgo and sysgo_rom targets added
boisy
parents: 241
diff changeset
97 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDiskGo=1
0161c9d61403 sysgo and sysgo_rom targets added
boisy
parents: 241
diff changeset
98
0161c9d61403 sysgo and sysgo_rom targets added
boisy
parents: 241
diff changeset
99 sysgo_rom: sysgo.asm
0161c9d61403 sysgo and sysgo_rom targets added
boisy
parents: 241
diff changeset
100 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDiskGo=0
0161c9d61403 sysgo and sysgo_rom targets added
boisy
parents: 241
diff changeset
101
506
4f81e616d397 clock.asm now has B&B and TC^3 clock code
boisy
parents: 454
diff changeset
102 clock_tc3: clock.asm
4f81e616d397 clock.asm now has B&B and TC^3 clock code
boisy
parents: 454
diff changeset
103 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aRTCTC3=1 -aTPS=60
4f81e616d397 clock.asm now has B&B and TC^3 clock code
boisy
parents: 454
diff changeset
104
4f81e616d397 clock.asm now has B&B and TC^3 clock code
boisy
parents: 454
diff changeset
105 clock_bb: clock.asm
4f81e616d397 clock.asm now has B&B and TC^3 clock code
boisy
parents: 454
diff changeset
106 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aRTCBB=1 -aTPS=60
4f81e616d397 clock.asm now has B&B and TC^3 clock code
boisy
parents: 454
diff changeset
107
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
108 clean:
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
109 $(RM) $(ALLOBJS)
177
90b0403b7e82 Added help files
boisy
parents: 107
diff changeset
110 $(OS92UNIX) $(HELP)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
111
95
cab6c9f16913 Added identify target
boisy
parents: 50
diff changeset
112 identify:
cab6c9f16913 Added identify target
boisy
parents: 50
diff changeset
113 $(IDENT_SHORT) $(ALLOBJS)
107
5eceecf6159c Updated Makefiles with new targets
boisy
parents: 95
diff changeset
114
323
9ca004356f09 Makefiles modified
boisy
parents: 305
diff changeset
115 showallobjs:
9ca004356f09 Makefiles modified
boisy
parents: 305
diff changeset
116 @$(ECHO) $(ALLOBJS)
9ca004356f09 Makefiles modified
boisy
parents: 305
diff changeset
117
9ca004356f09 Makefiles modified
boisy
parents: 305
diff changeset
118 showcopyobjs:
9ca004356f09 Makefiles modified
boisy
parents: 305
diff changeset
119 @$(ECHO) $(COPYOBJS)