annotate 3rdparty/packages/sierra/manhunter2/makefile @ 2774:1868fbf470e7 lwtools-port

Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5) changeset: 2773:ce3dba57003b branch: lwtools-port tag: tip parent: 2770:bfe3de781ddf user: Boisy Pitre <boisy.pitre@nuance.com> date: Wed Jan 23 14:54:29 2013 -0600 summary: boot_dw now uses dwinit.asm. changeset: 2772:0a3f4d8ea6d5
author Boisy Pitre <boisy.pitre@nuance.com>
date Wed, 23 Jan 2013 21:02:34 -0600
parents 05b648103e78
children 84d9d5765057
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2774
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
1 include ../../../../rules.mak
2097
boisy
parents:
diff changeset
2
2133
e1232478a519 Updated to LSL engine
boisy
parents: 2097
diff changeset
3 vpath %.asm ../objs_lsl
2097
boisy
parents:
diff changeset
4
boisy
parents:
diff changeset
5 DEPENDS = ./makefile
boisy
parents:
diff changeset
6
boisy
parents:
diff changeset
7 DISK_1_80D = manhunter2_d1_80d.dsk
boisy
parents:
diff changeset
8 DISK_2_80D = manhunter2_d2_80d.dsk
boisy
parents:
diff changeset
9 DISK_3_80D = manhunter2_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
10 DISK_DW = manhunter2_dw.dsk
2774
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
11 DISK_DW_BECKER = manhunter2_becker.dsk
2097
boisy
parents:
diff changeset
12
2774
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
13 DSKS = $(DISK_1_80D) $(DISK_2_80D) $(DISK_3_80D) $(DISK_DW) $(DISK_DW_BECKER)
2216
d096a278e068 Added info targets
boisy
parents: 2133
diff changeset
14
2097
boisy
parents:
diff changeset
15 DISK_1_80D_NAME = "Manhunter II Disk 1"
boisy
parents:
diff changeset
16 DISK_2_80D_NAME = "Manhunter II Disk 2"
boisy
parents:
diff changeset
17 DISK_3_80D_NAME = "Manhunter II Disk 3"
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
18 DISK_DW_NAME = "Manhunter II"
2097
boisy
parents:
diff changeset
19
boisy
parents:
diff changeset
20 CMDS = sierra mnln scrn shdw tocgen
boisy
parents:
diff changeset
21 MD = $(LEVEL2)/coco3/modules
boisy
parents:
diff changeset
22
boisy
parents:
diff changeset
23 # We make our own bootfile and kernel track
boisy
parents:
diff changeset
24 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
25 KERNEL_DW = $(MD)/rel_32 $(MD)/boot_dw $(MD)/krn
2774
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
26 KERNEL_DW_BECKER = $(MD)/rel_32 $(MD)/boot_dw_becker $(MD)/krn
2097
boisy
parents:
diff changeset
27 OS9BOOT_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
boisy
parents:
diff changeset
28 $(MD)/rbf.mn \
boisy
parents:
diff changeset
29 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \
boisy
parents:
diff changeset
30 $(MD)/scf.mn $(MD)/vtio.dr \
boisy
parents:
diff changeset
31 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
boisy
parents:
diff changeset
32 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
boisy
parents:
diff changeset
33 $(MD)/vrn.dr $(MD)/vi.dd \
boisy
parents:
diff changeset
34 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
boisy
parents:
diff changeset
35
2774
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
36 OS9BOOT_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
37 $(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
38 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
39 $(MD)/scf.mn $(MD)/vtio.dr \
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
40 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
41 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
42 $(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
43 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
44
2774
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
45 OS9BOOT_DW_BECKER = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
46 $(MD)/rbf.mn \
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
47 $(MD)/rbdw.dr $(MD)/dwio_becker.sb $(MD)/ddx0.dd \
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
48 $(MD)/scf.mn $(MD)/vtio.dr \
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
49 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
50 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
51 $(MD)/vrn.dr $(MD)/vi.dd \
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
52 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
53
2097
boisy
parents:
diff changeset
54 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
boisy
parents:
diff changeset
55 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
boisy
parents:
diff changeset
56 $(LEVEL2)/coco3/cmds/setime
boisy
parents:
diff changeset
57
2515
0fe5a04e9d0c Updated
boisy
parents: 2511
diff changeset
58 TEXTFILES_D1 = ../startup tOC_80d.txt
0fe5a04e9d0c Updated
boisy
parents: 2511
diff changeset
59 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
60 TEXTFILES_DW = ../startup tOC_dw.txt
2097
boisy
parents:
diff changeset
61
boisy
parents:
diff changeset
62 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
boisy
parents:
diff changeset
63 vol.1 vol.9 vol.10 vol.11 words.tok
boisy
parents:
diff changeset
64
boisy
parents:
diff changeset
65 SUPPORTFILES_D2 = object vol.0 vol.2 vol.9 vol.10 vol.11
boisy
parents:
diff changeset
66
boisy
parents:
diff changeset
67 SUPPORTFILES_D3 = object vol.0 vol.3 vol.9 vol.10 vol.11
boisy
parents:
diff changeset
68
2724
05b648103e78 Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2515
diff changeset
69 SUPPORTFILES_DW = logDir object picDir sndDir viewDir vol.0 \
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
70 vol.1 vol.2 vol.3 vol.9 vol.10 vol.11 words.tok
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
71
2097
boisy
parents:
diff changeset
72 ALLOBJS = $(CMDS)
boisy
parents:
diff changeset
73
boisy
parents:
diff changeset
74 all: $(ALLOBJS)
boisy
parents:
diff changeset
75
boisy
parents:
diff changeset
76 clean: dskclean
boisy
parents:
diff changeset
77 $(RM) $(ALLOBJS)
boisy
parents:
diff changeset
78
2774
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
79 dsk: all $(DSKS)
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
80
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
81 $(DISK_1_80D):
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
82 $(RM) $@
2097
boisy
parents:
diff changeset
83 $(CD) $(LEVEL2)/coco3; make
2774
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
84 $(OS9FORMAT_DS80) -q $@ -n$(DISK_1_80D_NAME)
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
85 $(MERGE) $(OS9BOOT_80D)>os9boot
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
86 $(MERGE) $(KERNEL)>kernel
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
87 $(OS9GEN) $@ -b=os9boot -t=kernel
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
88 $(RM) os9boot kernel
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
89 $(MAKDIR) $@,CMDS
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
90 $(CP) $(CMDS) $@,CMDS
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
91 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2097
boisy
parents:
diff changeset
92 $(MERGE) $(BOOTCMDS)>shell
2774
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
93 $(CP) shell $@,CMDS
2097
boisy
parents:
diff changeset
94 $(RM) shell
2774
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
95 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
96 $(OS9RENAME) $@,CMDS/sierra AutoEx
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
97 $(CPL) $(TEXTFILES_D1) $@,.
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
98 $(OS9RENAME) $@,tOC_80d.txt tOC.txt
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
99 $(CP) $(SUPPORTFILES_D1) $@,.
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
100 $(MOVE) tocgen toctmp
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
101 tocgen $@,tOC.txt $@,tOC
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
102 $(MOVE) toctmp tocgen
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
103
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
104 $(DISK_2_80D):
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
105 $(RM) $@
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
106 $(OS9FORMAT_DS80) -q $@ -n$(DISK_2_80D_NAME)
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
107 $(CP) $(SUPPORTFILES_D2) $@,.
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
108
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
109 $(DISK_3_80D):
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
110 $(RM) $@
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
111 $(OS9FORMAT_DS80) -q $@ -n$(DISK_3_80D_NAME)
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
112 $(CP) $(SUPPORTFILES_D3) $@,.
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
113
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
114 $(DISK_DW):
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
115 $(RM) $@
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
116 $(OS9FORMAT_DW) -q $@ -n$(DISK_DW_NAME)
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
117 $(MERGE) $(OS9BOOT_DW)>os9boot
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
118 $(MERGE) $(KERNEL_DW)>kernel
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
119 $(OS9GEN) $@ -b=os9boot -t=kernel
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
120 $(RM) os9boot kernel
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
121 $(MAKDIR) $@,CMDS
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
122 $(CP) $(CMDS) $@,CMDS
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
123 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
124 $(MERGE) $(BOOTCMDS)>shell
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
125 $(CP) shell $@,CMDS
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
126 $(RM) shell
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
127 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
128 $(OS9RENAME) $@,CMDS/sierra AutoEx
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
129 $(CPL) $(TEXTFILES_DW) $@,.
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
130 $(OS9RENAME) $@,tOC_dw.txt tOC.txt
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
131 $(CP) $(SUPPORTFILES_DW) $@,.
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
132 $(MOVE) tocgen toctmp
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
133 tocgen $@,tOC.txt $@,tOC
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
134 $(MOVE) toctmp tocgen
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
135
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
136 $(DISK_DW_BECKER):
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
137 $(RM) $@
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
138 $(OS9FORMAT_DW) -q $@ -n$(DISK_DW_NAME)
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
139 $(MERGE) $(OS9BOOT_DW_BECKER)>os9boot
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
140 $(MERGE) $(KERNEL_DW_BECKER)>kernel
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
141 $(OS9GEN) $@ -b=os9boot -t=kernel
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
142 $(RM) os9boot kernel
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
143 $(MAKDIR) $@,CMDS
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
144 $(CP) $(CMDS) $@,CMDS
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
145 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
146 $(MERGE) $(BOOTCMDS)>shell
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
147 $(CP) shell $@,CMDS
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
148 $(RM) shell
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
149 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
150 $(OS9RENAME) $@,CMDS/sierra AutoEx
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
151 $(CPL) $(TEXTFILES_DW) $@,.
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
152 $(OS9RENAME) $@,tOC_dw.txt tOC.txt
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
153 $(CP) $(SUPPORTFILES_DW) $@,.
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
154 $(MOVE) tocgen toctmp
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
155 tocgen $@,tOC.txt $@,tOC
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
156 $(MOVE) toctmp tocgen
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
157
2097
boisy
parents:
diff changeset
158
boisy
parents:
diff changeset
159 dskcopy: dsk
2216
d096a278e068 Added info targets
boisy
parents: 2133
diff changeset
160 $(CP) $(DSKS) $(DSKDIR)
2097
boisy
parents:
diff changeset
161
boisy
parents:
diff changeset
162 dskclean:
2216
d096a278e068 Added info targets
boisy
parents: 2133
diff changeset
163 $(RM) $(DSKS)
d096a278e068 Added info targets
boisy
parents: 2133
diff changeset
164
d096a278e068 Added info targets
boisy
parents: 2133
diff changeset
165 info:
d096a278e068 Added info targets
boisy
parents: 2133
diff changeset
166 @$(ECHO) "*** Manhunter II ***"
d096a278e068 Added info targets
boisy
parents: 2133
diff changeset
167 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)
2774
1868fbf470e7 Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2724
diff changeset
168