annotate 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
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
2096
boisy
parents:
diff changeset
4 include $(NITROS9DIR)/rules.mak
boisy
parents:
diff changeset
5
2132
cfb9d6f84aa8 Updated to LSL engine
boisy
parents: 2096
diff changeset
6 vpath %.asm ../objs_lsl
2096
boisy
parents:
diff changeset
7
boisy
parents:
diff changeset
8 DEPENDS = ./makefile
boisy
parents:
diff changeset
9
boisy
parents:
diff changeset
10 DISK_1_80D = manhunter1_d1_80d.dsk
boisy
parents:
diff changeset
11 DISK_2_80D = manhunter1_d2_80d.dsk
boisy
parents:
diff changeset
12 DISK_3_80D = manhunter1_d3_80d.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 = manhunter1_dw.dsk
2096
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_80D) $(DISK_2_80D) $(DISK_3_80D) $(DISK_DW)
2216
d096a278e068 Added info targets
boisy
parents: 2203
diff changeset
16
2096
boisy
parents:
diff changeset
17 DISK_1_80D_NAME = "Manhunter I Disk 1"
boisy
parents:
diff changeset
18 DISK_2_80D_NAME = "Manhunter I Disk 2"
boisy
parents:
diff changeset
19 DISK_3_80D_NAME = "Manhunter 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 = "Manhunter I"
2096
boisy
parents:
diff changeset
21
boisy
parents:
diff changeset
22 CMDS = sierra mnln scrn shdw tocgen
boisy
parents:
diff changeset
23 MD = $(LEVEL2)/coco3/modules
boisy
parents:
diff changeset
24
boisy
parents:
diff changeset
25 # We make our own bootfile and kernel track
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
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
28
2096
boisy
parents:
diff changeset
29 OS9BOOT_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
boisy
parents:
diff changeset
30 $(MD)/rbf.mn \
boisy
parents:
diff changeset
31 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \
boisy
parents:
diff changeset
32 $(MD)/scf.mn $(MD)/vtio.dr \
boisy
parents:
diff changeset
33 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
boisy
parents:
diff changeset
34 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
boisy
parents:
diff changeset
35 $(MD)/vrn.dr $(MD)/vi.dd \
boisy
parents:
diff changeset
36 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
boisy
parents:
diff changeset
37
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
38 OS9BOOT_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
39 $(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
40 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
41 $(MD)/scf.mn $(MD)/vtio.dr \
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
42 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
43 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
44 $(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
45 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
46
2096
boisy
parents:
diff changeset
47 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
boisy
parents:
diff changeset
48 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
boisy
parents:
diff changeset
49 $(LEVEL2)/coco3/cmds/setime
boisy
parents:
diff changeset
50
2515
0fe5a04e9d0c Updated
boisy
parents: 2511
diff changeset
51 TEXTFILES_D1 = ../startup tOC_80d.txt
0fe5a04e9d0c Updated
boisy
parents: 2511
diff changeset
52 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
53 TEXTFILES_DW = ../startup tOC_dw.txt
2096
boisy
parents:
diff changeset
54
boisy
parents:
diff changeset
55 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
2132
cfb9d6f84aa8 Updated to LSL engine
boisy
parents: 2096
diff changeset
56 vol.1 vol.2 vol.9 vol.10 vol.11 vol.12 words.tok
2096
boisy
parents:
diff changeset
57
2132
cfb9d6f84aa8 Updated to LSL engine
boisy
parents: 2096
diff changeset
58 SUPPORTFILES_D2 = object vol.0 vol.3 vol.4 vol.9 vol.10 vol.11 vol.12
2096
boisy
parents:
diff changeset
59
boisy
parents:
diff changeset
60 SUPPORTFILES_D3 = object vol.0 vol.5 vol.9 vol.10 vol.11 vol.12
boisy
parents:
diff changeset
61
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
62 SUPPORTFILES_DW = logDir object picDir sndDir viewDir vol.0 \
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
63 vol.1 vol.2 vol.3 vol.4 vol.5 vol.9 vol.10 vol.11 vol.12 words.tok
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
64
2096
boisy
parents:
diff changeset
65 ALLOBJS = $(CMDS)
boisy
parents:
diff changeset
66
boisy
parents:
diff changeset
67 all: $(ALLOBJS)
boisy
parents:
diff changeset
68
boisy
parents:
diff changeset
69 clean: dskclean
boisy
parents:
diff changeset
70 $(RM) $(ALLOBJS)
boisy
parents:
diff changeset
71
boisy
parents:
diff changeset
72 dsk: all
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
73 $(RM) $(DISK_1_80D) $(DISK_2_80D) $(DISK_3_80D) $(DISK_DW)
2096
boisy
parents:
diff changeset
74 $(CD) $(LEVEL2)/coco3; make
boisy
parents:
diff changeset
75 $(OS9FORMAT_DS80) -q $(DISK_1_80D) -n$(DISK_1_80D_NAME)
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
76 $(OS9FORMAT_DW) -q $(DISK_DW) -n$(DISK_DW_NAME)
2096
boisy
parents:
diff changeset
77 $(MERGE) $(OS9BOOT_80D)>os9boot_80d
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
78 $(MERGE) $(OS9BOOT_DW)>os9boot_dw
2096
boisy
parents:
diff changeset
79 $(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
80 $(MERGE) $(KERNEL_DW)>kernel_dw
2096
boisy
parents:
diff changeset
81 $(OS9GEN) $(DISK_1_80D) -b=os9boot_80d -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
82 $(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
83 $(RM) os9boot_80d os9boot_80d kernel_1773 os9boot_dw kernel_dw
2096
boisy
parents:
diff changeset
84 $(MAKDIR) $(DISK_1_80D),CMDS
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
85 $(MAKDIR) $(DISK_DW),CMDS
2096
boisy
parents:
diff changeset
86 $(CP) $(CMDS) $(DISK_1_80D),CMDS
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
87 $(CP) $(CMDS) $(DISK_DW),CMDS
2096
boisy
parents:
diff changeset
88 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_80D),CMDS/$(file);)
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
89 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_DW),CMDS/$(file);)
2096
boisy
parents:
diff changeset
90 $(MERGE) $(BOOTCMDS)>shell
boisy
parents:
diff changeset
91 $(CP) shell $(DISK_1_80D),CMDS
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
92 $(CP) shell $(DISK_DW),CMDS
2096
boisy
parents:
diff changeset
93 $(RM) shell
boisy
parents:
diff changeset
94 $(OS9ATTR) $(DISK_1_80D),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
95 $(OS9ATTR) $(DISK_DW),CMDS/shell -e -pe -pr -e -w -r
2096
boisy
parents:
diff changeset
96 $(OS9RENAME) $(DISK_1_80D),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
97 $(OS9RENAME) $(DISK_DW),CMDS/sierra AutoEx
2096
boisy
parents:
diff changeset
98 $(CPL) $(TEXTFILES_D1) $(DISK_1_80D),.
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
99 $(CPL) $(TEXTFILES_DW) $(DISK_DW),.
2096
boisy
parents:
diff changeset
100 $(OS9RENAME) $(DISK_1_80D),tOC_80d.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
101 $(OS9RENAME) $(DISK_DW),tOC_dw.txt tOC.txt
2096
boisy
parents:
diff changeset
102 $(CP) $(SUPPORTFILES_D1) $(DISK_1_80D),.
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
103 $(CP) $(SUPPORTFILES_DW) $(DISK_DW),.
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
104 $(RM) tocgen
2096
boisy
parents:
diff changeset
105 tocgen $(DISK_1_80D),tOC.txt $(DISK_1_80D),tOC
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
106 tocgen $(DISK_DW),tOC.txt $(DISK_DW),tOC
2096
boisy
parents:
diff changeset
107 $(OS9FORMAT_DS80) -q $(DISK_2_80D) -n$(DISK_2_80D_NAME)
boisy
parents:
diff changeset
108 $(CP) $(SUPPORTFILES_D2) $(DISK_2_80D),.
boisy
parents:
diff changeset
109 $(OS9FORMAT_DS80) -q $(DISK_3_80D) -n$(DISK_3_80D_NAME)
boisy
parents:
diff changeset
110 $(CP) $(SUPPORTFILES_D3) $(DISK_3_80D),.
boisy
parents:
diff changeset
111
boisy
parents:
diff changeset
112 dskcopy: dsk
2216
d096a278e068 Added info targets
boisy
parents: 2203
diff changeset
113 $(CP) $(DSKS) $(DSKDIR)
2096
boisy
parents:
diff changeset
114
boisy
parents:
diff changeset
115 dskclean:
2216
d096a278e068 Added info targets
boisy
parents: 2203
diff changeset
116 $(RM) $(DSKS)
d096a278e068 Added info targets
boisy
parents: 2203
diff changeset
117
d096a278e068 Added info targets
boisy
parents: 2203
diff changeset
118 info:
d096a278e068 Added info targets
boisy
parents: 2203
diff changeset
119 @$(ECHO) "*** Manhunter I ***"
d096a278e068 Added info targets
boisy
parents: 2203
diff changeset
120 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)