comparison 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
comparison
equal deleted inserted replaced
2723:22bdfbe8bc68 2724:05b648103e78
8 DEPENDS = ./makefile 8 DEPENDS = ./makefile
9 9
10 DISK_1_40D = policequest1_d1_40d.dsk 10 DISK_1_40D = policequest1_d1_40d.dsk
11 DISK_2_40D = policequest1_d2_40d.dsk 11 DISK_2_40D = policequest1_d2_40d.dsk
12 DISK_3_40D = policequest1_d3_40d.dsk 12 DISK_3_40D = policequest1_d3_40d.dsk
13 DISK_DW3 = policequest1_dw3.dsk 13 DISK_DW = policequest1_dw.dsk
14 14
15 DSKS = $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_DW3) 15 DSKS = $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_DW)
16 16
17 DISK_1_40D_NAME = "Police Quest I Disk 1" 17 DISK_1_40D_NAME = "Police Quest I Disk 1"
18 DISK_2_40D_NAME = "Police Quest I Disk 2" 18 DISK_2_40D_NAME = "Police Quest I Disk 2"
19 DISK_3_40D_NAME = "Police Quest I Disk 3" 19 DISK_3_40D_NAME = "Police Quest I Disk 3"
20 DISK_DW3_NAME = "Police Quest I Disk" 20 DISK_DW_NAME = "Police Quest I Disk"
21 21
22 CMDS = sierra mnln scrn shdw tocgen 22 CMDS = sierra mnln scrn shdw tocgen
23 MD = $(LEVEL2)/coco3/modules 23 MD = $(LEVEL2)/coco3/modules
24 24
25 # We make our own bootfile and kernel track 25 # We make our own bootfile and kernel track
26 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn 26 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
27 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn 27 KERNEL_DW = $(MD)/rel_32 $(MD)/boot_dw $(MD)/krn
28 OS9BOOT_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ 28 OS9BOOT_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
29 $(MD)/rbf.mn \ 29 $(MD)/rbf.mn \
30 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ 30 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
31 $(MD)/scf.mn $(MD)/vtio.dr \ 31 $(MD)/scf.mn $(MD)/vtio.dr \
32 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ 32 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
33 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ 33 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
34 $(MD)/vrn.dr $(MD)/vi.dd \ 34 $(MD)/vrn.dr $(MD)/vi.dd \
35 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd 35 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
36 OS9BOOT_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ 36 OS9BOOT_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
37 $(MD)/rbf.mn \ 37 $(MD)/rbf.mn \
38 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \ 38 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \
39 $(MD)/scf.mn $(MD)/vtio.dr \ 39 $(MD)/scf.mn $(MD)/vtio.dr \
40 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ 40 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
41 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ 41 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
42 $(MD)/vrn.dr $(MD)/vi.dd \ 42 $(MD)/vrn.dr $(MD)/vi.dd \
43 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd 43 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd
44 44
45 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \ 45 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
46 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \ 46 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
47 $(LEVEL2)/coco3/cmds/setime 47 $(LEVEL2)/coco3/cmds/setime
48 48
49 TEXTFILES_D1 = ../startup tOC_40d.txt 49 TEXTFILES_D1 = ../startup tOC_40d.txt
50 TEXTFILES = ../startup tOC_80d.txt 50 TEXTFILES = ../startup tOC_80d.txt
51 TEXTFILES_DW3 = ../startup tOC_dw3.txt 51 TEXTFILES_DW = ../startup tOC_dw.txt
52 52
53 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \ 53 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
54 vol.1 words.tok 54 vol.1 words.tok
55 55
56 SUPPORTFILES_D2 = object vol.0 vol.2 56 SUPPORTFILES_D2 = object vol.0 vol.2
66 66
67 clean: dskclean 67 clean: dskclean
68 $(RM) $(ALLOBJS) 68 $(RM) $(ALLOBJS)
69 69
70 dsk: all 70 dsk: all
71 $(RM) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_DW3) 71 $(RM) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_DW)
72 $(CD) $(LEVEL2)/coco3; make 72 $(CD) $(LEVEL2)/coco3; make
73 $(OS9FORMAT_DS40) -q $(DISK_1_40D) -n$(DISK_1_40D_NAME) 73 $(OS9FORMAT_DS40) -q $(DISK_1_40D) -n$(DISK_1_40D_NAME)
74 $(OS9FORMAT_DW3) -q $(DISK_DW3) -n$(DISK_DW3_NAME) 74 $(OS9FORMAT_DW) -q $(DISK_DW) -n$(DISK_DW_NAME)
75 $(MERGE) $(OS9BOOT_40D)>os9boot_40d 75 $(MERGE) $(OS9BOOT_40D)>os9boot_40d
76 $(MERGE) $(OS9BOOT_DW3)>os9boot_dw3 76 $(MERGE) $(OS9BOOT_DW)>os9boot_dw
77 $(MERGE) $(KERNEL)>kernel_1773 77 $(MERGE) $(KERNEL)>kernel_1773
78 $(MERGE) $(KERNEL_DW3)>kernel_dw3 78 $(MERGE) $(KERNEL_DW)>kernel_dw
79 $(OS9GEN) $(DISK_1_40D) -b=os9boot_40d -t=kernel_1773 79 $(OS9GEN) $(DISK_1_40D) -b=os9boot_40d -t=kernel_1773
80 $(OS9GEN) $(DISK_DW3) -b=os9boot_dw3 -t=kernel_dw3 80 $(OS9GEN) $(DISK_DW) -b=os9boot_dw -t=kernel_dw
81 $(RM) os9boot_40d os9boot_80d os9boot_dw3 kernel_1773 kernel_dw3 81 $(RM) os9boot_40d os9boot_80d os9boot_dw kernel_1773 kernel_dw
82 $(MAKDIR) $(DISK_1_40D),CMDS 82 $(MAKDIR) $(DISK_1_40D),CMDS
83 $(MAKDIR) $(DISK_DW3),CMDS 83 $(MAKDIR) $(DISK_DW),CMDS
84 $(CP) $(CMDS) $(DISK_1_40D),CMDS 84 $(CP) $(CMDS) $(DISK_1_40D),CMDS
85 $(CP) $(CMDS) $(DISK_DW3),CMDS 85 $(CP) $(CMDS) $(DISK_DW),CMDS
86 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_40D),CMDS/$(file);) 86 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_40D),CMDS/$(file);)
87 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_DW3),CMDS/$(file);) 87 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_DW),CMDS/$(file);)
88 $(MERGE) $(BOOTCMDS)>shell 88 $(MERGE) $(BOOTCMDS)>shell
89 $(CP) shell $(DISK_1_40D),CMDS 89 $(CP) shell $(DISK_1_40D),CMDS
90 $(CP) shell $(DISK_DW3),CMDS 90 $(CP) shell $(DISK_DW),CMDS
91 $(RM) shell 91 $(RM) shell
92 $(OS9ATTR) $(DISK_1_40D),CMDS/shell -e -pe -pr -e -w -r 92 $(OS9ATTR) $(DISK_1_40D),CMDS/shell -e -pe -pr -e -w -r
93 $(OS9ATTR) $(DISK_DW3),CMDS/shell -e -pe -pr -e -w -r 93 $(OS9ATTR) $(DISK_DW),CMDS/shell -e -pe -pr -e -w -r
94 $(OS9RENAME) $(DISK_1_40D),CMDS/sierra AutoEx 94 $(OS9RENAME) $(DISK_1_40D),CMDS/sierra AutoEx
95 $(OS9RENAME) $(DISK_DW3),CMDS/sierra AutoEx 95 $(OS9RENAME) $(DISK_DW),CMDS/sierra AutoEx
96 $(CPL) $(TEXTFILES_D1) $(DISK_1_40D),. 96 $(CPL) $(TEXTFILES_D1) $(DISK_1_40D),.
97 $(CPL) $(TEXTFILES_DW3) $(DISK_DW3),. 97 $(CPL) $(TEXTFILES_DW) $(DISK_DW),.
98 $(OS9RENAME) $(DISK_1_40D),tOC_40d.txt tOC.txt 98 $(OS9RENAME) $(DISK_1_40D),tOC_40d.txt tOC.txt
99 $(OS9RENAME) $(DISK_DW3),tOC_dw3.txt tOC.txt 99 $(OS9RENAME) $(DISK_DW),tOC_dw.txt tOC.txt
100 $(CP) $(SUPPORTFILES_D1) $(DISK_1_40D),. 100 $(CP) $(SUPPORTFILES_D1) $(DISK_1_40D),.
101 $(CP) $(SUPPORTFILES) $(DISK_DW3),. 101 $(CP) $(SUPPORTFILES) $(DISK_DW),.
102 $(RM) tocgen 102 $(RM) tocgen
103 tocgen $(DISK_1_40D),tOC.txt $(DISK_1_40D),tOC 103 tocgen $(DISK_1_40D),tOC.txt $(DISK_1_40D),tOC
104 tocgen $(DISK_DW3),tOC.txt $(DISK_DW3),tOC 104 tocgen $(DISK_DW),tOC.txt $(DISK_DW),tOC
105 $(OS9FORMAT_DS40) -q $(DISK_2_40D) -n$(DISK_2_40D_NAME) 105 $(OS9FORMAT_DS40) -q $(DISK_2_40D) -n$(DISK_2_40D_NAME)
106 $(CP) $(SUPPORTFILES_D2) $(DISK_2_40D),. 106 $(CP) $(SUPPORTFILES_D2) $(DISK_2_40D),.
107 $(OS9FORMAT_DS40) -q $(DISK_3_40D) -n$(DISK_3_40D_NAME) 107 $(OS9FORMAT_DS40) -q $(DISK_3_40D) -n$(DISK_3_40D_NAME)
108 $(CP) $(SUPPORTFILES_D3) $(DISK_3_40D),. 108 $(CP) $(SUPPORTFILES_D3) $(DISK_3_40D),.
109 109