comparison 3rdparty/packages/sierra/spacequest0/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
comparison
equal deleted inserted replaced
2723:22bdfbe8bc68 2724:05b648103e78
10 DISK_1_40D = spacequest0_d1_40d.dsk 10 DISK_1_40D = spacequest0_d1_40d.dsk
11 DISK_2_40D = spacequest0_d2_40d.dsk 11 DISK_2_40D = spacequest0_d2_40d.dsk
12 DISK_3_40D = spacequest0_d3_40d.dsk 12 DISK_3_40D = spacequest0_d3_40d.dsk
13 DISK_1_80D = spacequest0_d1_80d.dsk 13 DISK_1_80D = spacequest0_d1_80d.dsk
14 DISK_2_80D = spacequest0_d2_80d.dsk 14 DISK_2_80D = spacequest0_d2_80d.dsk
15 DISK_DW3 = spacequest0_dw3.dsk 15 DISK_DW = spacequest0_dw.dsk
16 16
17 DSKS = $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_1_80D) $(DISK_2_80D) $(DISK_DW3) 17 DSKS = $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_1_80D) $(DISK_2_80D) $(DISK_DW)
18 18
19 DISK_1_40D_NAME = "Space Quest 0 Disk 1" 19 DISK_1_40D_NAME = "Space Quest 0 Disk 1"
20 DISK_2_40D_NAME = "Space Quest 0 Disk 2" 20 DISK_2_40D_NAME = "Space Quest 0 Disk 2"
21 DISK_3_40D_NAME = "Space Quest 0 Disk 3" 21 DISK_3_40D_NAME = "Space Quest 0 Disk 3"
22 DISK_1_80D_NAME = "Space Quest 0 Disk 1" 22 DISK_1_80D_NAME = "Space Quest 0 Disk 1"
23 DISK_2_80D_NAME = "Space Quest 0 Disk 2" 23 DISK_2_80D_NAME = "Space Quest 0 Disk 2"
24 DISK_DW3_NAME = "Space Quest 0" 24 DISK_DW_NAME = "Space Quest 0"
25 25
26 CMDS = sierra mnln scrn shdw tocgen 26 CMDS = sierra mnln scrn shdw tocgen
27 MD = $(LEVEL2)/coco3/modules 27 MD = $(LEVEL2)/coco3/modules
28 28
29 # We make our own bootfile and kernel track 29 # We make our own bootfile and kernel track
30 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn 30 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
31 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn 31 KERNEL_DW = $(MD)/rel_32 $(MD)/boot_dw $(MD)/krn
32 OS9BOOT_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ 32 OS9BOOT_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
33 $(MD)/rbf.mn \ 33 $(MD)/rbf.mn \
34 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ 34 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
35 $(MD)/scf.mn $(MD)/vtio.dr \ 35 $(MD)/scf.mn $(MD)/vtio.dr \
36 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ 36 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
45 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ 45 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
46 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ 46 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
47 $(MD)/vrn.dr $(MD)/vi.dd \ 47 $(MD)/vrn.dr $(MD)/vi.dd \
48 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd 48 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
49 49
50 OS9BOOT_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ 50 OS9BOOT_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
51 $(MD)/rbf.mn \ 51 $(MD)/rbf.mn \
52 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \ 52 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \
53 $(MD)/scf.mn $(MD)/vtio.dr \ 53 $(MD)/scf.mn $(MD)/vtio.dr \
54 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ 54 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
55 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ 55 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
56 $(MD)/vrn.dr $(MD)/vi.dd \ 56 $(MD)/vrn.dr $(MD)/vi.dd \
57 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd 57 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd
58 58
59 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \ 59 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
60 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \ 60 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
61 $(LEVEL2)/coco3/cmds/setime 61 $(LEVEL2)/coco3/cmds/setime
62 62
63 TEXTFILES_D1 = ../startup tOC_40d.txt 63 TEXTFILES_D1 = ../startup tOC_40d.txt
64 TEXTFILES = ../startup tOC_80d.txt 64 TEXTFILES = ../startup tOC_80d.txt
65 TEXTFILES_DW3 = ../startup tOC_dw3.txt 65 TEXTFILES_DW = ../startup tOC_dw.txt
66 66
67 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \ 67 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
68 vol.1 words.tok 68 vol.1 words.tok
69 69
70 SUPPORTFILES_D2 = object vol.0 vol.2 70 SUPPORTFILES_D2 = object vol.0 vol.2
72 SUPPORTFILES_D3 = object vol.0 vol.3 72 SUPPORTFILES_D3 = object vol.0 vol.3
73 73
74 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \ 74 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \
75 vol.1 vol.2 words.tok 75 vol.1 vol.2 words.tok
76 76
77 SUPPORTFILES_DW3 = logDir object picDir sndDir viewDir vol.0 \ 77 SUPPORTFILES_DW = logDir object picDir sndDir viewDir vol.0 \
78 vol.1 vol.2 vol.3 words.tok 78 vol.1 vol.2 vol.3 words.tok
79 79
80 ALLOBJS = $(CMDS) 80 ALLOBJS = $(CMDS)
81 81
82 all: $(ALLOBJS) 82 all: $(ALLOBJS)
134 tocgen $(DISK_1_80D),tOC.txt $(DISK_1_80D),tOC 134 tocgen $(DISK_1_80D),tOC.txt $(DISK_1_80D),tOC
135 $(MOVE) toctmp tocgen 135 $(MOVE) toctmp tocgen
136 $(CP) $(SUPPORTFILES) $(DISK_1_80D),. 136 $(CP) $(SUPPORTFILES) $(DISK_1_80D),.
137 $(CP) $(SUPPORTFILES_D3) $(DISK_2_80D),. 137 $(CP) $(SUPPORTFILES_D3) $(DISK_2_80D),.
138 138
139 dsk_dw3: all 139 dsk_dw: all
140 $(RM) $(DISK_DW3) 140 $(RM) $(DISK_DW)
141 $(CD) $(LEVEL2)/coco3; make 141 $(CD) $(LEVEL2)/coco3; make
142 $(OS9FORMAT_DW3) -q $(DISK_DW3) -n$(DISK_DW3_NAME) 142 $(OS9FORMAT_DW) -q $(DISK_DW) -n$(DISK_DW_NAME)
143 $(MERGE) $(OS9BOOT_DW3)>os9boot_dw3 143 $(MERGE) $(OS9BOOT_DW)>os9boot_dw
144 $(MERGE) $(KERNEL_DW3)>kernel_dw3 144 $(MERGE) $(KERNEL_DW)>kernel_dw
145 $(OS9GEN) $(DISK_DW3) -b=os9boot_dw3 -t=kernel_dw3 145 $(OS9GEN) $(DISK_DW) -b=os9boot_dw -t=kernel_dw
146 $(RM) os9boot_dw3 kernel_dw3 146 $(RM) os9boot_dw kernel_dw
147 $(MAKDIR) $(DISK_DW3),CMDS 147 $(MAKDIR) $(DISK_DW),CMDS
148 $(CP) $(CMDS) $(DISK_DW3),CMDS 148 $(CP) $(CMDS) $(DISK_DW),CMDS
149 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_DW3),CMDS/$(file);) 149 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_DW),CMDS/$(file);)
150 $(MERGE) $(BOOTCMDS)>shell 150 $(MERGE) $(BOOTCMDS)>shell
151 $(CP) shell $(DISK_DW3),CMDS 151 $(CP) shell $(DISK_DW),CMDS
152 $(RM) shell 152 $(RM) shell
153 $(OS9ATTR) $(DISK_DW3),CMDS/shell -e -pe -pr -e -w -r 153 $(OS9ATTR) $(DISK_DW),CMDS/shell -e -pe -pr -e -w -r
154 $(OS9RENAME) $(DISK_DW3),CMDS/sierra AutoEx 154 $(OS9RENAME) $(DISK_DW),CMDS/sierra AutoEx
155 $(CPL) $(TEXTFILES_DW3) $(DISK_DW3),. 155 $(CPL) $(TEXTFILES_DW) $(DISK_DW),.
156 $(OS9RENAME) $(DISK_DW3),tOC_dw3.txt tOC.txt 156 $(OS9RENAME) $(DISK_DW),tOC_dw.txt tOC.txt
157 $(RM) tocgen 157 $(RM) tocgen
158 tocgen $(DISK_DW3),tOC.txt $(DISK_DW3),tOC 158 tocgen $(DISK_DW),tOC.txt $(DISK_DW),tOC
159 $(CP) $(SUPPORTFILES) $(DISK_DW3),. 159 $(CP) $(SUPPORTFILES) $(DISK_DW),.
160 160
161 dsk: dsk_40d dsk_80d dsk_dw3 161 dsk: dsk_40d dsk_80d dsk_dw
162 $(CD) $(LEVEL2)/coco3; make 162 $(CD) $(LEVEL2)/coco3; make
163 163
164 dskcopy: dsk 164 dskcopy: dsk
165 $(CP) $(DSKS) $(DSKDIR) 165 $(CP) $(DSKS) $(DSKDIR)
166 166