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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2495
9296f92ce18c Permits DW3 build to work. RG
robertgault
parents: 2219
diff changeset
1 ifndef NITROS9DIR
9296f92ce18c Permits DW3 build to work. RG
robertgault
parents: 2219
diff changeset
2 NITROS9DIR = $(HOME)/nitros9
9296f92ce18c Permits DW3 build to work. RG
robertgault
parents: 2219
diff changeset
3 endif
2071
b1c59791822b Updated
boisy
parents:
diff changeset
4 include $(NITROS9DIR)/rules.mak
b1c59791822b Updated
boisy
parents:
diff changeset
5
2129
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
6 vpath %.asm ../objs_lsl
2071
b1c59791822b Updated
boisy
parents:
diff changeset
7
b1c59791822b Updated
boisy
parents:
diff changeset
8 DEPENDS = ./makefile
b1c59791822b Updated
boisy
parents:
diff changeset
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
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
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
975880f2e543 Updated makefile, added startup
boisy
parents: 2077
diff changeset
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
d096a278e068 Added info targets
boisy
parents: 2129
diff changeset
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
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
17 DSKDW3_NAME = $(DISK_40D_NAME)
2078
975880f2e543 Updated makefile, added startup
boisy
parents: 2077
diff changeset
18
2071
b1c59791822b Updated
boisy
parents:
diff changeset
19 CMDS = sierra mnln scrn shdw tocgen
b1c59791822b Updated
boisy
parents:
diff changeset
20 MD = $(LEVEL2)/coco3/modules
b1c59791822b Updated
boisy
parents:
diff changeset
21
b1c59791822b Updated
boisy
parents:
diff changeset
22 # We make our own bootfile and kernel track
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
23 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
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
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
27 BOOTFILE_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2071
b1c59791822b Updated
boisy
parents:
diff changeset
28 $(MD)/rbf.mn \
b1c59791822b Updated
boisy
parents:
diff changeset
29 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
b1c59791822b Updated
boisy
parents:
diff changeset
30 $(MD)/scf.mn $(MD)/vtio.dr \
b1c59791822b Updated
boisy
parents:
diff changeset
31 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
b1c59791822b Updated
boisy
parents:
diff changeset
32 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
b1c59791822b Updated
boisy
parents:
diff changeset
33 $(MD)/vrn.dr $(MD)/vi.dd \
b1c59791822b Updated
boisy
parents:
diff changeset
34 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
b1c59791822b Updated
boisy
parents:
diff changeset
35
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
36 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
37 $(MD)/rbf.mn \
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
38 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
39 $(MD)/scf.mn $(MD)/vtio.dr \
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
40 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
41 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
42 $(MD)/vrn.dr $(MD)/vi.dd \
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
43 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
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
b1c59791822b Updated
boisy
parents:
diff changeset
54 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
b1c59791822b Updated
boisy
parents:
diff changeset
55 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
b1c59791822b Updated
boisy
parents:
diff changeset
56 $(LEVEL2)/coco3/cmds/setime
b1c59791822b Updated
boisy
parents:
diff changeset
57
2515
0fe5a04e9d0c Updated
boisy
parents: 2495
diff changeset
58 TEXTFILES = ../startup tOC_40d.txt
2071
b1c59791822b Updated
boisy
parents:
diff changeset
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
b1c59791822b Updated
boisy
parents:
diff changeset
62
b1c59791822b Updated
boisy
parents:
diff changeset
63 ALLOBJS = $(CMDS)
b1c59791822b Updated
boisy
parents:
diff changeset
64
b1c59791822b Updated
boisy
parents:
diff changeset
65 all: $(ALLOBJS)
b1c59791822b Updated
boisy
parents:
diff changeset
66
b1c59791822b Updated
boisy
parents:
diff changeset
67 clean: dskclean
b1c59791822b Updated
boisy
parents:
diff changeset
68 $(RM) $(ALLOBJS)
b1c59791822b Updated
boisy
parents:
diff changeset
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
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
71
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
72 $(DISK_40D):
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
73 $(RM) $@
2071
b1c59791822b Updated
boisy
parents:
diff changeset
74 $(CD) $(LEVEL2)/coco3; make
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
75 $(OS9FORMAT_DS40) -q $@ -n$(DISK_40D_NAME)
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
76 $(MERGE) $(BOOTFILE_40D)>os9boot
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
77 $(MERGE) $(KERNEL_FLOPPY)>kernel
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
78 $(OS9GEN) $@ -b=os9boot -t=kernel
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
79 $(RM) os9boot kernel
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
80 $(MAKDIR) $@,CMDS
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
81 $(CP) $(CMDS) $@,CMDS
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
82 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2071
b1c59791822b Updated
boisy
parents:
diff changeset
83 $(MERGE) $(BOOTCMDS)>shell
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
84 $(CP) shell $@,CMDS
2071
b1c59791822b Updated
boisy
parents:
diff changeset
85 $(RM) shell
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
86 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
87 $(OS9RENAME) $@,CMDS/sierra AutoEx
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
88 $(CPL) $(TEXTFILES) $@,.
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
89 $(OS9RENAME) $@,tOC_40d.txt tOC.txt
2495
9296f92ce18c Permits DW3 build to work. RG
robertgault
parents: 2219
diff changeset
90 $(MOVE) tocgen toctmp
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
91 tocgen $@,tOC.txt $@,tOC
2495
9296f92ce18c Permits DW3 build to work. RG
robertgault
parents: 2219
diff changeset
92 $(MOVE) toctmp tocgen
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
93 $(CP) $(SUPPORTFILES) $@,.
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
94
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
95 $(DSKDW3):
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
96 $(RM) $@
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
97 $(CD) $(LEVEL2)/coco3; make
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
98 $(OS9FORMAT_DW3) -q $@ -n$(DISK_40D_NAME)
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
99 $(MERGE) $(BOOTFILE_DW3)>os9boot
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
100 $(MERGE) $(KERNEL_DW3)>kernel
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
101 $(OS9GEN) $@ -b=os9boot -t=kernel
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
102 $(RM) os9boot kernel
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
103 $(MAKDIR) $@,CMDS
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
104 $(CP) $(CMDS) $@,CMDS
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
105 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
106 $(MERGE) $(BOOTCMDS)>shell
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
107 $(CP) shell $@,CMDS
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
108 $(RM) shell
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
109 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
110 $(OS9RENAME) $@,CMDS/sierra AutoEx
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
111 $(CPL) $(TEXTFILES) $@,.
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
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
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
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
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
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
b1c59791822b Updated
boisy
parents:
diff changeset
141 dskcopy: dsk
2216
d096a278e068 Added info targets
boisy
parents: 2129
diff changeset
142 $(CP) $(DSKS) $(DSKDIR)
2071
b1c59791822b Updated
boisy
parents:
diff changeset
143
b1c59791822b Updated
boisy
parents:
diff changeset
144 dskclean:
2216
d096a278e068 Added info targets
boisy
parents: 2129
diff changeset
145 $(RM) $(DSKS)
d096a278e068 Added info targets
boisy
parents: 2129
diff changeset
146
d096a278e068 Added info targets
boisy
parents: 2129
diff changeset
147 info:
d096a278e068 Added info targets
boisy
parents: 2129
diff changeset
148 @$(ECHO) "*** King's Quest I ***"
d096a278e068 Added info targets
boisy
parents: 2129
diff changeset
149 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)