comparison 3rdparty/packages/sierra/kingsquest4/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 5a29eed1ca2d
children 1868fbf470e7
comparison
equal deleted inserted replaced
2723:22bdfbe8bc68 2724:05b648103e78
8 DEPENDS = ./makefile 8 DEPENDS = ./makefile
9 9
10 DISK_1_80D = kingsquest4_d1_80d.dsk 10 DISK_1_80D = kingsquest4_d1_80d.dsk
11 DISK_2_80D = kingsquest4_d2_80d.dsk 11 DISK_2_80D = kingsquest4_d2_80d.dsk
12 DISK_3_80D = kingsquest4_d3_80d.dsk 12 DISK_3_80D = kingsquest4_d3_80d.dsk
13 DISK_DW3 = kingsquest4_dw3.dsk 13 DISK_DW = kingsquest4_dw.dsk
14 14
15 DSKS = $(DISK_1_80D) $(DISK_2_80D) $(DISK_3_80D) $(DISK_DW3) 15 DSKS = $(DISK_1_80D) $(DISK_2_80D) $(DISK_3_80D) $(DISK_DW)
16 16
17 DISK_1_80D_NAME = "King's Quest IV Disk 1" 17 DISK_1_80D_NAME = "King's Quest IV Disk 1"
18 DISK_2_80D_NAME = "King's Quest IV Disk 2" 18 DISK_2_80D_NAME = "King's Quest IV Disk 2"
19 DISK_3_80D_NAME = "King's Quest IV Disk 3" 19 DISK_3_80D_NAME = "King's Quest IV Disk 3"
20 DISK_DW3_NAME = "King's Quest IV" 20 DISK_DW_NAME = "King's Quest IV"
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_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ 28 OS9BOOT_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
29 $(MD)/rbf.mn \ 29 $(MD)/rbf.mn \
30 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \ 30 $(MD)/rb1773.dr $(MD)/ddd0_80d.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 36
37 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ 37 BOOTFILE_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
38 $(MD)/rbf.mn \ 38 $(MD)/rbf.mn \
39 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \ 39 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \
40 $(MD)/scf.mn $(MD)/vtio.dr \ 40 $(MD)/scf.mn $(MD)/vtio.dr \
41 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ 41 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
42 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ 42 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
43 $(MD)/vrn.dr $(MD)/vi.dd \ 43 $(MD)/vrn.dr $(MD)/vi.dd \
44 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd 44 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd
45 45
46 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \ 46 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
47 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \ 47 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
48 $(LEVEL2)/coco3/cmds/setime 48 $(LEVEL2)/coco3/cmds/setime
49 49
50 TEXTFILES_D1 = startup tOC_80d.txt 50 TEXTFILES_D1 = startup tOC_80d.txt
51 TEXTFILES = startup tOC_80d.txt 51 TEXTFILES = startup tOC_80d.txt
52 TEXTFILES_DW3 = startup tOC_dw3.txt 52 TEXTFILES_DW = startup tOC_dw.txt
53 53
54 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \ 54 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
55 vol.1 vol.6 vol.9 vol.11 words.tok 55 vol.1 vol.6 vol.9 vol.11 words.tok
56 56
57 SUPPORTFILES_D2 = object vol.0 vol.2 vol.3 vol.9 vol.10 vol.11 57 SUPPORTFILES_D2 = object vol.0 vol.2 vol.3 vol.9 vol.10 vol.11
58 58
59 SUPPORTFILES_D3 = object vol.0 vol.4 vol.5 vol.10 vol.11 59 SUPPORTFILES_D3 = object vol.0 vol.4 vol.5 vol.10 vol.11
60 60
61 SUPPORTFILES_DW3 = logDir object picDir sndDir viewDir vol.0 \ 61 SUPPORTFILES_DW = logDir object picDir sndDir viewDir vol.0 \
62 vol.1 vol.2 vol.3 vol.4 vol.5 vol.6 vol.9 vol.10 \ 62 vol.1 vol.2 vol.3 vol.4 vol.5 vol.6 vol.9 vol.10 \
63 vol.11 words.tok 63 vol.11 words.tok
64 64
65 ALLOBJS = $(CMDS) 65 ALLOBJS = $(CMDS)
66 66
68 68
69 clean: dskclean 69 clean: dskclean
70 $(RM) $(ALLOBJS) 70 $(RM) $(ALLOBJS)
71 71
72 dsk: all 72 dsk: all
73 $(RM) $(DISK_1_80D) $(DISK_2_80D) $(DISK_3_80D) $(DISK_DW3) 73 $(RM) $(DISK_1_80D) $(DISK_2_80D) $(DISK_3_80D) $(DISK_DW)
74 $(CD) $(LEVEL2)/coco3; make 74 $(CD) $(LEVEL2)/coco3; make
75 $(OS9FORMAT_DS80) -q $(DISK_1_80D) -n$(DISK_1_80D_NAME) 75 $(OS9FORMAT_DS80) -q $(DISK_1_80D) -n$(DISK_1_80D_NAME)
76 $(MERGE) $(OS9BOOT_80D)>os9boot_80d 76 $(MERGE) $(OS9BOOT_80D)>os9boot_80d
77 $(MERGE) $(KERNEL)>kernel_1773 77 $(MERGE) $(KERNEL)>kernel_1773
78 $(OS9FORMAT_DW3) -q $(DISK_DW3) -n$(DISK_DW3_NAME) 78 $(OS9FORMAT_DW) -q $(DISK_DW) -n$(DISK_DW_NAME)
79 $(MERGE) $(BOOTFILE_DW3)>os9boot_dw3 79 $(MERGE) $(BOOTFILE_DW)>os9boot_dw
80 $(MERGE) $(KERNEL_DW3)>kernel_dw3 80 $(MERGE) $(KERNEL_DW)>kernel_dw
81 $(OS9GEN) $(DISK_1_80D) -b=os9boot_80d -t=kernel_1773 81 $(OS9GEN) $(DISK_1_80D) -b=os9boot_80d -t=kernel_1773
82 $(OS9GEN) $(DISK_DW3) -b=os9boot_dw3 -t=kernel_dw3 82 $(OS9GEN) $(DISK_DW) -b=os9boot_dw -t=kernel_dw
83 $(RM) os9boot_80d os9boot_80d kernel_1773 os9boot_dw3 kernel_dw3 83 $(RM) os9boot_80d os9boot_80d kernel_1773 os9boot_dw kernel_dw
84 $(MAKDIR) $(DISK_1_80D),CMDS 84 $(MAKDIR) $(DISK_1_80D),CMDS
85 $(MAKDIR) $(DISK_DW3),CMDS 85 $(MAKDIR) $(DISK_DW),CMDS
86 $(CP) $(CMDS) $(DISK_1_80D),CMDS 86 $(CP) $(CMDS) $(DISK_1_80D),CMDS
87 $(CP) $(CMDS) $(DISK_DW3),CMDS 87 $(CP) $(CMDS) $(DISK_DW),CMDS
88 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_80D),CMDS/$(file);) 88 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_80D),CMDS/$(file);)
89 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_DW3),CMDS/$(file);) 89 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_DW),CMDS/$(file);)
90 $(MERGE) $(BOOTCMDS)>shell 90 $(MERGE) $(BOOTCMDS)>shell
91 $(CP) shell $(DISK_1_80D),CMDS 91 $(CP) shell $(DISK_1_80D),CMDS
92 $(CP) shell $(DISK_DW3),CMDS 92 $(CP) shell $(DISK_DW),CMDS
93 $(RM) shell 93 $(RM) shell
94 $(OS9ATTR) $(DISK_1_80D),CMDS/shell -e -pe -pr -e -w -r 94 $(OS9ATTR) $(DISK_1_80D),CMDS/shell -e -pe -pr -e -w -r
95 $(OS9ATTR) $(DISK_DW3),CMDS/shell -e -pe -pr -e -w -r 95 $(OS9ATTR) $(DISK_DW),CMDS/shell -e -pe -pr -e -w -r
96 $(OS9RENAME) $(DISK_1_80D),CMDS/sierra AutoEx 96 $(OS9RENAME) $(DISK_1_80D),CMDS/sierra AutoEx
97 $(OS9RENAME) $(DISK_DW3),CMDS/sierra AutoEx 97 $(OS9RENAME) $(DISK_DW),CMDS/sierra AutoEx
98 $(CPL) $(TEXTFILES_D1) $(DISK_1_80D),. 98 $(CPL) $(TEXTFILES_D1) $(DISK_1_80D),.
99 $(OS9RENAME) $(DISK_1_80D),tOC_80d.txt tOC.txt 99 $(OS9RENAME) $(DISK_1_80D),tOC_80d.txt tOC.txt
100 $(CPL) $(TEXTFILES_DW3) $(DISK_DW3),. 100 $(CPL) $(TEXTFILES_DW) $(DISK_DW),.
101 $(OS9RENAME) $(DISK_DW3),tOC_dw3.txt tOC.txt 101 $(OS9RENAME) $(DISK_DW),tOC_dw.txt tOC.txt
102 $(CP) $(SUPPORTFILES_D1) $(DISK_1_80D),. 102 $(CP) $(SUPPORTFILES_D1) $(DISK_1_80D),.
103 $(CP) $(SUPPORTFILES_DW3) $(DISK_DW3),. 103 $(CP) $(SUPPORTFILES_DW) $(DISK_DW),.
104 $(RM) tocgen 104 $(RM) tocgen
105 tocgen $(DISK_1_80D),tOC.txt $(DISK_1_80D),tOC 105 tocgen $(DISK_1_80D),tOC.txt $(DISK_1_80D),tOC
106 tocgen $(DISK_DW3),tOC.txt $(DISK_DW3),tOC 106 tocgen $(DISK_DW),tOC.txt $(DISK_DW),tOC
107 $(OS9FORMAT_DS80) -q $(DISK_2_80D) -n$(DISK_2_80D_NAME) 107 $(OS9FORMAT_DS80) -q $(DISK_2_80D) -n$(DISK_2_80D_NAME)
108 $(CP) $(SUPPORTFILES_D2) $(DISK_2_80D),. 108 $(CP) $(SUPPORTFILES_D2) $(DISK_2_80D),.
109 $(OS9FORMAT_DS80) -q $(DISK_3_80D) -n$(DISK_3_80D_NAME) 109 $(OS9FORMAT_DS80) -q $(DISK_3_80D) -n$(DISK_3_80D_NAME)
110 $(CP) $(SUPPORTFILES_D3) $(DISK_3_80D),. 110 $(CP) $(SUPPORTFILES_D3) $(DISK_3_80D),.
111 111