Mercurial > hg > Members > kono > nitros9-code
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 |
rev | line source |
---|---|
2499 | 1 ifndef NITROS9DIR |
2 NITROS9DIR = $(HOME)/nitros9 | |
3 endif | |
2096 | 4 include $(NITROS9DIR)/rules.mak |
5 | |
2132 | 6 vpath %.asm ../objs_lsl |
2096 | 7 |
8 DEPENDS = ./makefile | |
9 | |
10 DISK_1_80D = manhunter1_d1_80d.dsk | |
11 DISK_2_80D = manhunter1_d2_80d.dsk | |
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 | 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 | 16 |
2096 | 17 DISK_1_80D_NAME = "Manhunter I Disk 1" |
18 DISK_2_80D_NAME = "Manhunter I Disk 2" | |
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 | 21 |
22 CMDS = sierra mnln scrn shdw tocgen | |
23 MD = $(LEVEL2)/coco3/modules | |
24 | |
25 # We make our own bootfile and kernel track | |
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 | 28 |
2096 | 29 OS9BOOT_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
30 $(MD)/rbf.mn \ | |
31 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \ | |
32 $(MD)/scf.mn $(MD)/vtio.dr \ | |
33 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
34 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
35 $(MD)/vrn.dr $(MD)/vi.dd \ | |
36 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd | |
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 | 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 | 41 $(MD)/scf.mn $(MD)/vtio.dr \ |
42 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
43 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
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 | 46 |
2096 | 47 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \ |
48 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \ | |
49 $(LEVEL2)/coco3/cmds/setime | |
50 | |
2515 | 51 TEXTFILES_D1 = ../startup tOC_80d.txt |
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 | 54 |
55 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \ | |
2132 | 56 vol.1 vol.2 vol.9 vol.10 vol.11 vol.12 words.tok |
2096 | 57 |
2132 | 58 SUPPORTFILES_D2 = object vol.0 vol.3 vol.4 vol.9 vol.10 vol.11 vol.12 |
2096 | 59 |
60 SUPPORTFILES_D3 = object vol.0 vol.5 vol.9 vol.10 vol.11 vol.12 | |
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 | 63 vol.1 vol.2 vol.3 vol.4 vol.5 vol.9 vol.10 vol.11 vol.12 words.tok |
64 | |
2096 | 65 ALLOBJS = $(CMDS) |
66 | |
67 all: $(ALLOBJS) | |
68 | |
69 clean: dskclean | |
70 $(RM) $(ALLOBJS) | |
71 | |
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 | 74 $(CD) $(LEVEL2)/coco3; make |
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 | 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 | 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 | 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 | 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 | 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 | 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 | 90 $(MERGE) $(BOOTCMDS)>shell |
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 | 93 $(RM) shell |
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 | 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 | 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 | 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 | 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 | 104 $(RM) tocgen |
2096 | 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 | 107 $(OS9FORMAT_DS80) -q $(DISK_2_80D) -n$(DISK_2_80D_NAME) |
108 $(CP) $(SUPPORTFILES_D2) $(DISK_2_80D),. | |
109 $(OS9FORMAT_DS80) -q $(DISK_3_80D) -n$(DISK_3_80D_NAME) | |
110 $(CP) $(SUPPORTFILES_D3) $(DISK_3_80D),. | |
111 | |
112 dskcopy: dsk | |
2216 | 113 $(CP) $(DSKS) $(DSKDIR) |
2096 | 114 |
115 dskclean: | |
2216 | 116 $(RM) $(DSKS) |
117 | |
118 info: | |
119 @$(ECHO) "*** Manhunter I ***" | |
120 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |