comparison 3rdparty/packages/sierra/manhunter1/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_80D = manhunter1_d1_80d.dsk 10 DISK_1_80D = manhunter1_d1_80d.dsk
11 DISK_2_80D = manhunter1_d2_80d.dsk 11 DISK_2_80D = manhunter1_d2_80d.dsk
12 DISK_3_80D = manhunter1_d3_80d.dsk 12 DISK_3_80D = manhunter1_d3_80d.dsk
13 DISK_DW3 = manhunter1_dw3.dsk 13 DISK_DW = manhunter1_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 = "Manhunter I Disk 1" 17 DISK_1_80D_NAME = "Manhunter I Disk 1"
18 DISK_2_80D_NAME = "Manhunter I Disk 2" 18 DISK_2_80D_NAME = "Manhunter I Disk 2"
19 DISK_3_80D_NAME = "Manhunter I Disk 3" 19 DISK_3_80D_NAME = "Manhunter I Disk 3"
20 DISK_DW3_NAME = "Manhunter I" 20 DISK_DW_NAME = "Manhunter I"
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 28
29 OS9BOOT_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ 29 OS9BOOT_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
30 $(MD)/rbf.mn \ 30 $(MD)/rbf.mn \
31 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \ 31 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \
32 $(MD)/scf.mn $(MD)/vtio.dr \ 32 $(MD)/scf.mn $(MD)/vtio.dr \
33 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ 33 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
34 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ 34 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
35 $(MD)/vrn.dr $(MD)/vi.dd \ 35 $(MD)/vrn.dr $(MD)/vi.dd \
36 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd 36 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
37 37
38 OS9BOOT_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ 38 OS9BOOT_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
39 $(MD)/rbf.mn \ 39 $(MD)/rbf.mn \
40 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \ 40 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \
41 $(MD)/scf.mn $(MD)/vtio.dr \ 41 $(MD)/scf.mn $(MD)/vtio.dr \
42 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ 42 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
43 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ 43 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
44 $(MD)/vrn.dr $(MD)/vi.dd \ 44 $(MD)/vrn.dr $(MD)/vi.dd \
45 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd 45 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd
46 46
47 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \ 47 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
48 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \ 48 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
49 $(LEVEL2)/coco3/cmds/setime 49 $(LEVEL2)/coco3/cmds/setime
50 50
51 TEXTFILES_D1 = ../startup tOC_80d.txt 51 TEXTFILES_D1 = ../startup tOC_80d.txt
52 TEXTFILES = ../startup tOC_80d.txt 52 TEXTFILES = ../startup tOC_80d.txt
53 TEXTFILES_DW3 = ../startup tOC_dw3.txt 53 TEXTFILES_DW = ../startup tOC_dw.txt
54 54
55 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \ 55 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
56 vol.1 vol.2 vol.9 vol.10 vol.11 vol.12 words.tok 56 vol.1 vol.2 vol.9 vol.10 vol.11 vol.12 words.tok
57 57
58 SUPPORTFILES_D2 = object vol.0 vol.3 vol.4 vol.9 vol.10 vol.11 vol.12 58 SUPPORTFILES_D2 = object vol.0 vol.3 vol.4 vol.9 vol.10 vol.11 vol.12
59 59
60 SUPPORTFILES_D3 = object vol.0 vol.5 vol.9 vol.10 vol.11 vol.12 60 SUPPORTFILES_D3 = object vol.0 vol.5 vol.9 vol.10 vol.11 vol.12
61 61
62 SUPPORTFILES_DW3 = logDir object picDir sndDir viewDir vol.0 \ 62 SUPPORTFILES_DW = logDir object picDir sndDir viewDir vol.0 \
63 vol.1 vol.2 vol.3 vol.4 vol.5 vol.9 vol.10 vol.11 vol.12 words.tok 63 vol.1 vol.2 vol.3 vol.4 vol.5 vol.9 vol.10 vol.11 vol.12 words.tok
64 64
65 ALLOBJS = $(CMDS) 65 ALLOBJS = $(CMDS)
66 66
67 all: $(ALLOBJS) 67 all: $(ALLOBJS)
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 $(OS9FORMAT_DW3) -q $(DISK_DW3) -n$(DISK_DW3_NAME) 76 $(OS9FORMAT_DW) -q $(DISK_DW) -n$(DISK_DW_NAME)
77 $(MERGE) $(OS9BOOT_80D)>os9boot_80d 77 $(MERGE) $(OS9BOOT_80D)>os9boot_80d
78 $(MERGE) $(OS9BOOT_DW3)>os9boot_dw3 78 $(MERGE) $(OS9BOOT_DW)>os9boot_dw
79 $(MERGE) $(KERNEL)>kernel_1773 79 $(MERGE) $(KERNEL)>kernel_1773
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 $(CPL) $(TEXTFILES_DW3) $(DISK_DW3),. 99 $(CPL) $(TEXTFILES_DW) $(DISK_DW),.
100 $(OS9RENAME) $(DISK_1_80D),tOC_80d.txt tOC.txt 100 $(OS9RENAME) $(DISK_1_80D),tOC_80d.txt tOC.txt
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