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