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