annotate 3rdparty/packages/sierra/policequest1/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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
1 ifndef NITROS9DIR
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
2 NITROS9DIR = $(HOME)/nitros9
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
3 endif
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
4 include $(NITROS9DIR)/rules.mak
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
5
2134
98c37d4c15d5 Updated to LSL engine
boisy
parents: 2099
diff changeset
6 vpath %.asm ../objs_lsl
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
7
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
8 DEPENDS = ./makefile
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
9
2099
c0e39b3fc9e9 Updated
boisy
parents: 2091
diff changeset
10 DISK_1_40D = policequest1_d1_40d.dsk
c0e39b3fc9e9 Updated
boisy
parents: 2091
diff changeset
11 DISK_2_40D = policequest1_d2_40d.dsk
c0e39b3fc9e9 Updated
boisy
parents: 2091
diff changeset
12 DISK_3_40D = policequest1_d3_40d.dsk
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
13 DISK_DW = policequest1_dw.dsk
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
14
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
15 DSKS = $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_DW)
2216
d096a278e068 Added info targets
boisy
parents: 2202
diff changeset
16
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
17 DISK_1_40D_NAME = "Police Quest I Disk 1"
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
18 DISK_2_40D_NAME = "Police Quest I Disk 2"
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
19 DISK_3_40D_NAME = "Police Quest I Disk 3"
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
20 DISK_DW_NAME = "Police Quest I Disk"
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
21
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
22 CMDS = sierra mnln scrn shdw tocgen
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
23 MD = $(LEVEL2)/coco3/modules
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
24
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
25 # We make our own bootfile and kernel track
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
26 KERNEL = $(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
27 KERNEL_DW = $(MD)/rel_32 $(MD)/boot_dw $(MD)/krn
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
28 OS9BOOT_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
29 $(MD)/rbf.mn \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
30 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
31 $(MD)/scf.mn $(MD)/vtio.dr \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
32 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
33 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
34 $(MD)/vrn.dr $(MD)/vi.dd \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
35 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
36 OS9BOOT_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
37 $(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
38 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
39 $(MD)/scf.mn $(MD)/vtio.dr \
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
40 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
41 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
42 $(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
43 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
44
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
45 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
46 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
47 $(LEVEL2)/coco3/cmds/setime
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
48
2515
0fe5a04e9d0c Updated
boisy
parents: 2499
diff changeset
49 TEXTFILES_D1 = ../startup tOC_40d.txt
0fe5a04e9d0c Updated
boisy
parents: 2499
diff changeset
50 TEXTFILES = ../startup tOC_80d.txt
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
51 TEXTFILES_DW = ../startup tOC_dw.txt
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
52
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
53 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
54 vol.1 words.tok
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
55
2099
c0e39b3fc9e9 Updated
boisy
parents: 2091
diff changeset
56 SUPPORTFILES_D2 = object vol.0 vol.2
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
57
2099
c0e39b3fc9e9 Updated
boisy
parents: 2091
diff changeset
58 SUPPORTFILES_D3 = object vol.0 vol.3
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
59
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
60 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
61 vol.1 vol.2 vol.3 words.tok
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
62
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
63 ALLOBJS = $(CMDS)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
64
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
65 all: $(ALLOBJS)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
66
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
67 clean: dskclean
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
68 $(RM) $(ALLOBJS)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
69
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
70 dsk: all
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
71 $(RM) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_DW)
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
72 $(CD) $(LEVEL2)/coco3; make
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
73 $(OS9FORMAT_DS40) -q $(DISK_1_40D) -n$(DISK_1_40D_NAME)
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
74 $(OS9FORMAT_DW) -q $(DISK_DW) -n$(DISK_DW_NAME)
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
75 $(MERGE) $(OS9BOOT_40D)>os9boot_40d
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
76 $(MERGE) $(OS9BOOT_DW)>os9boot_dw
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
77 $(MERGE) $(KERNEL)>kernel_1773
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
78 $(MERGE) $(KERNEL_DW)>kernel_dw
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
79 $(OS9GEN) $(DISK_1_40D) -b=os9boot_40d -t=kernel_1773
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
80 $(OS9GEN) $(DISK_DW) -b=os9boot_dw -t=kernel_dw
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
81 $(RM) os9boot_40d os9boot_80d os9boot_dw kernel_1773 kernel_dw
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
82 $(MAKDIR) $(DISK_1_40D),CMDS
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
83 $(MAKDIR) $(DISK_DW),CMDS
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
84 $(CP) $(CMDS) $(DISK_1_40D),CMDS
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
85 $(CP) $(CMDS) $(DISK_DW),CMDS
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
86 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_40D),CMDS/$(file);)
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
87 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_DW),CMDS/$(file);)
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
88 $(MERGE) $(BOOTCMDS)>shell
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
89 $(CP) shell $(DISK_1_40D),CMDS
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
90 $(CP) shell $(DISK_DW),CMDS
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
91 $(RM) shell
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
92 $(OS9ATTR) $(DISK_1_40D),CMDS/shell -e -pe -pr -e -w -r
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
93 $(OS9ATTR) $(DISK_DW),CMDS/shell -e -pe -pr -e -w -r
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
94 $(OS9RENAME) $(DISK_1_40D),CMDS/sierra AutoEx
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
95 $(OS9RENAME) $(DISK_DW),CMDS/sierra AutoEx
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
96 $(CPL) $(TEXTFILES_D1) $(DISK_1_40D),.
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
97 $(CPL) $(TEXTFILES_DW) $(DISK_DW),.
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
98 $(OS9RENAME) $(DISK_1_40D),tOC_40d.txt tOC.txt
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
99 $(OS9RENAME) $(DISK_DW),tOC_dw.txt tOC.txt
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
100 $(CP) $(SUPPORTFILES_D1) $(DISK_1_40D),.
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
101 $(CP) $(SUPPORTFILES) $(DISK_DW),.
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
102 $(RM) tocgen
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
103 tocgen $(DISK_1_40D),tOC.txt $(DISK_1_40D),tOC
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
104 tocgen $(DISK_DW),tOC.txt $(DISK_DW),tOC
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
105 $(OS9FORMAT_DS40) -q $(DISK_2_40D) -n$(DISK_2_40D_NAME)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
106 $(CP) $(SUPPORTFILES_D2) $(DISK_2_40D),.
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
107 $(OS9FORMAT_DS40) -q $(DISK_3_40D) -n$(DISK_3_40D_NAME)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
108 $(CP) $(SUPPORTFILES_D3) $(DISK_3_40D),.
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
109
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
110 dskcopy: dsk
2216
d096a278e068 Added info targets
boisy
parents: 2202
diff changeset
111 $(CP) $(DSKS) $(DSKDIR)
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
112
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
113 dskclean:
2216
d096a278e068 Added info targets
boisy
parents: 2202
diff changeset
114 $(RM) $(DSKS)
d096a278e068 Added info targets
boisy
parents: 2202
diff changeset
115
d096a278e068 Added info targets
boisy
parents: 2202
diff changeset
116 info:
d096a278e068 Added info targets
boisy
parents: 2202
diff changeset
117 @$(ECHO) "*** Police Quest I ***"
d096a278e068 Added info targets
boisy
parents: 2202
diff changeset
118 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)