Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/sierra/kingsquest1/makefile @ 2756:8b00f21d5b86
Modified makefile(s) related to some of the games in the 3rdparty/packages/ area. This change was done to bring the file naming style inline with those of the nos9l1/2 disk images related to becker.
author | drencor-xeen |
---|---|
date | Thu, 10 Jan 2013 22:00:22 -0600 |
parents | 20a6dfbe8982 |
children | cfa46960b6bd |
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 |
2219 | 11 DSKDW3 = kingsquest1_dw3.dsk |
2756
8b00f21d5b86
Modified makefile(s) related to some of the games in the 3rdparty/packages/ area. This change was done to bring the file naming style inline with those of the nos9l1/2 disk images related to becker.
drencor-xeen
parents:
2746
diff
changeset
|
12 DSKDW3BECKER = kingsquest1_becker.dsk |
2078 | 13 |
2746
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
14 DSKS = $(DISK_40D) $(DSKDW3) $(DSKDW3BECKER) |
2216 | 15 |
2129
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
16 DISK_40D_NAME = "King's Quest I" |
2219 | 17 DSKDW3_NAME = $(DISK_40D_NAME) |
2078 | 18 |
2071 | 19 CMDS = sierra mnln scrn shdw tocgen |
20 MD = $(LEVEL2)/coco3/modules | |
21 | |
22 # We make our own bootfile and kernel track | |
2219 | 23 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn |
24 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn | |
2746
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
25 KERNEL_DW3_BECKER = $(MD)/rel_32 $(MD)/boot_dw3_becker $(MD)/krn |
2129
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
26 |
2219 | 27 BOOTFILE_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
2071 | 28 $(MD)/rbf.mn \ |
29 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ | |
30 $(MD)/scf.mn $(MD)/vtio.dr \ | |
31 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
32 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
33 $(MD)/vrn.dr $(MD)/vi.dd \ | |
34 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd | |
35 | |
2219 | 36 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
37 $(MD)/rbf.mn \ | |
38 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \ | |
39 $(MD)/scf.mn $(MD)/vtio.dr \ | |
40 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
41 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
42 $(MD)/vrn.dr $(MD)/vi.dd \ | |
43 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd | |
44 | |
2746
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
45 BOOTFILE_DW3_BECKER = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
46 $(MD)/rbf.mn \ |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
47 $(MD)/rbdw3.dr $(MD)/dw3_becker.sb $(MD)/ddx0.dd \ |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
48 $(MD)/scf.mn $(MD)/vtio.dr \ |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
49 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
50 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
51 $(MD)/vrn.dr $(MD)/vi.dd \ |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
52 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
53 |
2071 | 54 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \ |
55 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \ | |
56 $(LEVEL2)/coco3/cmds/setime | |
57 | |
2515 | 58 TEXTFILES = ../startup tOC_40d.txt |
2071 | 59 |
2129
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
60 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \ |
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
61 vol.1 vol.2 words.tok |
2071 | 62 |
63 ALLOBJS = $(CMDS) | |
64 | |
65 all: $(ALLOBJS) | |
66 | |
67 clean: dskclean | |
68 $(RM) $(ALLOBJS) | |
69 | |
2746
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
70 dsk: all $(DISK_40D) $(DSKDW3) $(DSKDW3BECKER) |
2219 | 71 |
72 $(DISK_40D): | |
73 $(RM) $@ | |
2071 | 74 $(CD) $(LEVEL2)/coco3; make |
2219 | 75 $(OS9FORMAT_DS40) -q $@ -n$(DISK_40D_NAME) |
76 $(MERGE) $(BOOTFILE_40D)>os9boot | |
77 $(MERGE) $(KERNEL_FLOPPY)>kernel | |
78 $(OS9GEN) $@ -b=os9boot -t=kernel | |
79 $(RM) os9boot kernel | |
80 $(MAKDIR) $@,CMDS | |
81 $(CP) $(CMDS) $@,CMDS | |
82 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
2071 | 83 $(MERGE) $(BOOTCMDS)>shell |
2219 | 84 $(CP) shell $@,CMDS |
2071 | 85 $(RM) shell |
2219 | 86 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
87 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
88 $(CPL) $(TEXTFILES) $@,. | |
89 $(OS9RENAME) $@,tOC_40d.txt tOC.txt | |
2495 | 90 $(MOVE) tocgen toctmp |
2219 | 91 tocgen $@,tOC.txt $@,tOC |
2495 | 92 $(MOVE) toctmp tocgen |
2219 | 93 $(CP) $(SUPPORTFILES) $@,. |
94 | |
95 $(DSKDW3): | |
96 $(RM) $@ | |
97 $(CD) $(LEVEL2)/coco3; make | |
98 $(OS9FORMAT_DW3) -q $@ -n$(DISK_40D_NAME) | |
99 $(MERGE) $(BOOTFILE_DW3)>os9boot | |
100 $(MERGE) $(KERNEL_DW3)>kernel | |
101 $(OS9GEN) $@ -b=os9boot -t=kernel | |
102 $(RM) os9boot kernel | |
103 $(MAKDIR) $@,CMDS | |
104 $(CP) $(CMDS) $@,CMDS | |
105 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
106 $(MERGE) $(BOOTCMDS)>shell | |
107 $(CP) shell $@,CMDS | |
108 $(RM) shell | |
109 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | |
110 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
111 $(CPL) $(TEXTFILES) $@,. | |
112 $(OS9RENAME) $@,tOC_40d.txt tOC.txt | |
2746
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
113 $(MOVE) tocgen toctmp |
2219 | 114 tocgen $@,tOC.txt $@,tOC |
2746
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
115 $(MOVE) toctmp tocgen |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
116 $(CP) $(SUPPORTFILES) $@,. |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
117 |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
118 $(DSKDW3BECKER): |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
119 $(RM) $@ |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
120 $(CD) $(LEVEL2)/coco3; make |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
121 $(OS9FORMAT_DW3) -q $@ -n$(DISK_40D_NAME) |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
122 $(MERGE) $(BOOTFILE_DW3_BECKER)>os9boot |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
123 $(MERGE) $(KERNEL_DW3_BECKER)>kernel |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
124 $(OS9GEN) $@ -b=os9boot -t=kernel |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
125 $(RM) os9boot kernel |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
126 $(MAKDIR) $@,CMDS |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
127 $(CP) $(CMDS) $@,CMDS |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
128 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
129 $(MERGE) $(BOOTCMDS)>shell |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
130 $(CP) shell $@,CMDS |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
131 $(RM) shell |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
132 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
133 $(OS9RENAME) $@,CMDS/sierra AutoEx |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
134 $(CPL) $(TEXTFILES) $@,. |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
135 $(OS9RENAME) $@,tOC_40d.txt tOC.txt |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
136 $(MOVE) tocgen toctmp |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
137 tocgen $@,tOC.txt $@,tOC |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
138 $(MOVE) toctmp tocgen |
2219 | 139 $(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
|
140 |
2071 | 141 dskcopy: dsk |
2216 | 142 $(CP) $(DSKS) $(DSKDIR) |
2071 | 143 |
144 dskclean: | |
2216 | 145 $(RM) $(DSKS) |
146 | |
147 info: | |
148 @$(ECHO) "*** King's Quest I ***" | |
149 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |