Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/sierra/kingsquest3/makefile @ 2073:1994ad53d119
Updated
author | boisy |
---|---|
date | Fri, 21 Jul 2006 12:40:02 +0000 |
parents | c8bb06c82d68 |
children | b50ba27b6c06 |
rev | line source |
---|---|
2073 | 1 include $(NITROS9DIR)/rules.mak |
2 | |
3 vpath %.asm ../objs | |
816 | 4 |
1363 | 5 DEPENDS = ./makefile |
816 | 6 |
1940 | 7 DISK_1_40D = kq3_d1_40d.dsk |
8 DISK_2_40D = kq3_d2_40d.dsk | |
9 DISK_3_40D = kq3_d3_40d.dsk | |
10 DISK_80D = kq3_80d.dsk | |
816 | 11 CMDS = sierra mnln scrn shdw tocgen |
2064 | 12 MD = $(LEVEL2)/coco3/modules |
816 | 13 |
14 # We make our own bootfile and kernel track | |
1638 | 15 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn |
1940 | 16 OS9BOOT_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
816 | 17 $(MD)/rbf.mn \ |
1638 | 18 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ |
1934 | 19 $(MD)/scf.mn $(MD)/vtio.dr \ |
1311
e7cac8de00e9
Updated Makefiles to build bootfiles from new module filenames
boisy
parents:
1169
diff
changeset
|
20 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1934 | 21 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
816 | 22 $(MD)/vrn.dr $(MD)/vi.dd \ |
1318 | 23 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd |
816 | 24 |
1940 | 25 OS9BOOT_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
26 $(MD)/rbf.mn \ | |
27 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \ | |
28 $(MD)/scf.mn $(MD)/vtio.dr \ | |
29 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
30 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
31 $(MD)/vrn.dr $(MD)/vi.dd \ | |
32 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd | |
33 | |
2064 | 34 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \ |
35 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \ | |
36 $(LEVEL2)/coco3/cmds/setime | |
818 | 37 |
1941
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
38 TEXTFILES_D1 = startup tOC_40d.txt |
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
39 TEXTFILES = startup tOC_80d.txt |
897 | 40 |
1941
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
41 SUPPORTFILES_D1 = logDir object picDir sndDir tOC_40d viewDir vol.0 \ |
897 | 42 vol.1 vol.2 vol.3 vol.4 vol.12 vol.14 words.tok |
816 | 43 |
1941
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
44 SUPPORTFILES_D2 = logDir object picDir sndDir tOC_40d viewDir vol.0 \ |
816 | 45 vol.5 vol.6 vol.7 vol.8 vol.11 vol.12 vol.14 words.tok |
46 | |
1941
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
47 SUPPORTFILES_D3 = logDir object picDir sndDir tOC_40d viewDir vol.0 \ |
816 | 48 vol.5 vol.6 vol.7 vol.9 vol.11 vol.12 vol.14 words.tok |
49 | |
1941
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
50 SUPPORTFILES = logDir object picDir sndDir tOC_80d viewDir vol.0 \ |
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
51 vol.1 vol.2 vol.3 vol.4 vol.5 vol.6 vol.7 vol.8 vol.9 \ |
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
52 vol.11 vol.12 vol.14 words.tok |
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
53 |
816 | 54 ALLOBJS = $(CMDS) |
55 | |
56 all: $(ALLOBJS) | |
57 | |
58 clean: dskclean | |
59 $(RM) $(ALLOBJS) | |
60 | |
61 dsk: all | |
1940 | 62 $(RM) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_80D) |
2064 | 63 $(CD) $(LEVEL2)/coco3; make |
1940 | 64 $(OS9FORMAT_DS40) -q $(DISK_1_40D) -n"King's Quest III Disk 1" |
65 $(OS9FORMAT_DS80) -q $(DISK_80D) -n"King's Quest III" | |
66 $(MERGE) $(OS9BOOT_40D)>os9boot_40d | |
67 $(MERGE) $(OS9BOOT_80D)>os9boot_80d | |
816 | 68 $(MERGE) $(KERNEL)>kernel_1773 |
1940 | 69 $(OS9GEN) $(DISK_1_40D) -b=os9boot_40d -t=kernel_1773 |
70 $(OS9GEN) $(DISK_80D) -b=os9boot_80d -t=kernel_1773 | |
71 $(RM) os9boot_40d os9boot_80d kernel_1773 | |
72 $(MAKDIR) $(DISK_1_40D),CMDS | |
73 $(MAKDIR) $(DISK_80D),CMDS | |
74 $(CP) $(CMDS) $(DISK_1_40D),CMDS | |
75 $(CP) $(CMDS) $(DISK_80D),CMDS | |
76 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_40D),CMDS/$(file);) | |
77 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_80D),CMDS/$(file);) | |
818 | 78 $(MERGE) $(BOOTCMDS)>shell |
1940 | 79 $(CP) shell $(DISK_1_40D),CMDS |
80 $(CP) shell $(DISK_80D),CMDS | |
818 | 81 $(RM) shell |
1940 | 82 $(OS9ATTR) $(DISK_1_40D),CMDS/shell -e -pe -pr -e -w -r |
83 $(OS9ATTR) $(DISK_80D),CMDS/shell -e -pe -pr -e -w -r | |
84 $(OS9RENAME) $(DISK_1_40D),CMDS/sierra AutoEx | |
85 $(OS9RENAME) $(DISK_80D),CMDS/sierra AutoEx | |
86 $(CPL) $(TEXTFILES_D1) $(DISK_1_40D),. | |
1941
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
87 $(OS9RENAME) $(DISK_1_40D),tOC_40d.txt tOC.txt |
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
88 $(CPL) $(TEXTFILES) $(DISK_80D),. |
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
89 $(OS9RENAME) $(DISK_80D),tOC_80d.txt tOC.txt |
1940 | 90 $(CP) $(SUPPORTFILES_D1) $(DISK_1_40D),. |
1941
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
91 $(OS9RENAME) $(DISK_1_40D),tOC_40d tOC |
1940 | 92 $(OS9FORMAT_DS40) -q $(DISK_2_40D) -n"King's Quest III Disk 2" |
93 $(CP) $(SUPPORTFILES_D2) $(DISK_2_40D),. | |
1941
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
94 $(OS9RENAME) $(DISK_2_40D),tOC_40d tOC |
1940 | 95 $(OS9FORMAT_DS40) -q $(DISK_3_40D) -n"King's Quest III Disk 3" |
96 $(CP) $(SUPPORTFILES_D3) $(DISK_3_40D),. | |
1941
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
97 $(OS9RENAME) $(DISK_3_40D),tOC_40d tOC |
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
98 $(CP) $(SUPPORTFILES) $(DISK_80D),. |
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
99 $(OS9RENAME) $(DISK_80D),tOC_80d tOC |
816 | 100 |
1121 | 101 dskcopy: dsk |
1940 | 102 $(CP) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_80D) $(DSKDIR) |
1121 | 103 |
816 | 104 dskclean: |
1940 | 105 $(RM) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_80D) |