Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/sierra/kingsquest1/makefile @ 2724:05b648103e78 lwtools-port
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Mon, 30 Jul 2012 19:35:05 -0500 |
parents | 0fe5a04e9d0c |
children | 1868fbf470e7 |
rev | line source |
---|---|
2495 | 1 ifndef NITROS9DIR |
2 NITROS9DIR = $(HOME)/nitros9 | |
3 endif | |
2071 | 4 include $(NITROS9DIR)/rules.mak |
5 | |
2129
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
6 vpath %.asm ../objs_lsl |
2071 | 7 |
8 DEPENDS = ./makefile | |
9 | |
2129
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
10 DISK_40D = kingsquest1_40d.dsk |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2515
diff
changeset
|
11 DSKDW = kingsquest1_dw.dsk |
2078 | 12 |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2515
diff
changeset
|
13 DSKS = $(DISK_40D) $(DSKDW) |
2216 | 14 |
2129
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
15 DISK_40D_NAME = "King's Quest I" |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2515
diff
changeset
|
16 DSKDW_NAME = $(DISK_40D_NAME) |
2078 | 17 |
2071 | 18 CMDS = sierra mnln scrn shdw tocgen |
19 MD = $(LEVEL2)/coco3/modules | |
20 | |
21 # We make our own bootfile and kernel track | |
2219 | 22 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2515
diff
changeset
|
23 KERNEL_DW = $(MD)/rel_32 $(MD)/boot_dw $(MD)/krn |
2129
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
24 |
2219 | 25 BOOTFILE_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
2071 | 26 $(MD)/rbf.mn \ |
27 $(MD)/rb1773.dr $(MD)/ddd0_40d.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 | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2515
diff
changeset
|
34 BOOTFILE_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
2219 | 35 $(MD)/rbf.mn \ |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2515
diff
changeset
|
36 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \ |
2219 | 37 $(MD)/scf.mn $(MD)/vtio.dr \ |
38 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
39 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
40 $(MD)/vrn.dr $(MD)/vi.dd \ | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2515
diff
changeset
|
41 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd |
2219 | 42 |
2071 | 43 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \ |
44 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \ | |
45 $(LEVEL2)/coco3/cmds/setime | |
46 | |
2515 | 47 TEXTFILES = ../startup tOC_40d.txt |
2071 | 48 |
2129
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
49 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \ |
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
50 vol.1 vol.2 words.tok |
2071 | 51 |
52 ALLOBJS = $(CMDS) | |
53 | |
54 all: $(ALLOBJS) | |
55 | |
56 clean: dskclean | |
57 $(RM) $(ALLOBJS) | |
58 | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2515
diff
changeset
|
59 dsk: all $(DISK_40D) $(DSKDW) |
2219 | 60 |
61 $(DISK_40D): | |
62 $(RM) $@ | |
2071 | 63 $(CD) $(LEVEL2)/coco3; make |
2219 | 64 $(OS9FORMAT_DS40) -q $@ -n$(DISK_40D_NAME) |
65 $(MERGE) $(BOOTFILE_40D)>os9boot | |
66 $(MERGE) $(KERNEL_FLOPPY)>kernel | |
67 $(OS9GEN) $@ -b=os9boot -t=kernel | |
68 $(RM) os9boot kernel | |
69 $(MAKDIR) $@,CMDS | |
70 $(CP) $(CMDS) $@,CMDS | |
71 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
2071 | 72 $(MERGE) $(BOOTCMDS)>shell |
2219 | 73 $(CP) shell $@,CMDS |
2071 | 74 $(RM) shell |
2219 | 75 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
76 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
77 $(CPL) $(TEXTFILES) $@,. | |
78 $(OS9RENAME) $@,tOC_40d.txt tOC.txt | |
2495 | 79 $(MOVE) tocgen toctmp |
2219 | 80 tocgen $@,tOC.txt $@,tOC |
2495 | 81 $(MOVE) toctmp tocgen |
2219 | 82 $(CP) $(SUPPORTFILES) $@,. |
83 | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2515
diff
changeset
|
84 $(DSKDW): |
2219 | 85 $(RM) $@ |
86 $(CD) $(LEVEL2)/coco3; make | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2515
diff
changeset
|
87 $(OS9FORMAT_DW) -q $@ -n$(DISK_40D_NAME) |
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2515
diff
changeset
|
88 $(MERGE) $(BOOTFILE_DW)>os9boot |
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2515
diff
changeset
|
89 $(MERGE) $(KERNEL_DW)>kernel |
2219 | 90 $(OS9GEN) $@ -b=os9boot -t=kernel |
91 $(RM) os9boot kernel | |
92 $(MAKDIR) $@,CMDS | |
93 $(CP) $(CMDS) $@,CMDS | |
94 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
95 $(MERGE) $(BOOTCMDS)>shell | |
96 $(CP) shell $@,CMDS | |
97 $(RM) shell | |
98 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | |
99 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
100 $(CPL) $(TEXTFILES) $@,. | |
101 $(OS9RENAME) $@,tOC_40d.txt tOC.txt | |
2495 | 102 $(RM) tocgen |
2219 | 103 tocgen $@,tOC.txt $@,tOC |
104 $(CP) $(SUPPORTFILES) $@,. | |
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
|
105 |
2071 | 106 dskcopy: dsk |
2216 | 107 $(CP) $(DSKS) $(DSKDIR) |
2071 | 108 |
109 dskclean: | |
2216 | 110 $(RM) $(DSKS) |
111 | |
112 info: | |
113 @$(ECHO) "*** King's Quest I ***" | |
114 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |