annotate 3rdparty/packages/sierra/spacequest0/makefile @ 2869:cfa6222348f7

makefiles: Separate OS9COPY and CP macros
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 24 Nov 2013 11:18:28 +0100
parents cfa46960b6bd
children 46c80d4b0de1
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
2138
boisy
parents:
diff changeset
4 include $(NITROS9DIR)/rules.mak
boisy
parents:
diff changeset
5
boisy
parents:
diff changeset
6 vpath %.asm ../objs_lsl
boisy
parents:
diff changeset
7
boisy
parents:
diff changeset
8 DEPENDS = ./makefile
boisy
parents:
diff changeset
9
boisy
parents:
diff changeset
10 DISK_1_40D = spacequest0_d1_40d.dsk
boisy
parents:
diff changeset
11 DISK_2_40D = spacequest0_d2_40d.dsk
boisy
parents:
diff changeset
12 DISK_3_40D = spacequest0_d3_40d.dsk
boisy
parents:
diff changeset
13 DISK_1_80D = spacequest0_d1_80d.dsk
boisy
parents:
diff changeset
14 DISK_2_80D = spacequest0_d2_80d.dsk
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
15 DISK_DW = spacequest0_dw.dsk
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
16 DISK_DW_BECKER = spacequest0_becker.dsk
2138
boisy
parents:
diff changeset
17
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
18 DSKS = $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_1_80D) $(DISK_2_80D) $(DISK_DW) $(DISK_DW_BECKER)
2216
d096a278e068 Added info targets
boisy
parents: 2138
diff changeset
19
2138
boisy
parents:
diff changeset
20 DISK_1_40D_NAME = "Space Quest 0 Disk 1"
boisy
parents:
diff changeset
21 DISK_2_40D_NAME = "Space Quest 0 Disk 2"
boisy
parents:
diff changeset
22 DISK_3_40D_NAME = "Space Quest 0 Disk 3"
boisy
parents:
diff changeset
23 DISK_1_80D_NAME = "Space Quest 0 Disk 1"
boisy
parents:
diff changeset
24 DISK_2_80D_NAME = "Space Quest 0 Disk 2"
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
25 DISK_DW_NAME = "Space Quest 0"
2138
boisy
parents:
diff changeset
26
boisy
parents:
diff changeset
27 CMDS = sierra mnln scrn shdw tocgen
boisy
parents:
diff changeset
28 MD = $(LEVEL2)/coco3/modules
boisy
parents:
diff changeset
29
boisy
parents:
diff changeset
30 # We make our own bootfile and kernel track
boisy
parents:
diff changeset
31 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
32 KERNEL_DW = $(MD)/rel_32 $(MD)/boot_dw $(MD)/krn
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
33 KERNEL_DW_BECKER = $(MD)/rel_32 $(MD)/boot_dw_becker $(MD)/krn
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
34
2138
boisy
parents:
diff changeset
35 OS9BOOT_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
boisy
parents:
diff changeset
36 $(MD)/rbf.mn \
boisy
parents:
diff changeset
37 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
boisy
parents:
diff changeset
38 $(MD)/scf.mn $(MD)/vtio.dr \
boisy
parents:
diff changeset
39 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
boisy
parents:
diff changeset
40 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
boisy
parents:
diff changeset
41 $(MD)/vrn.dr $(MD)/vi.dd \
boisy
parents:
diff changeset
42 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
boisy
parents:
diff changeset
43
boisy
parents:
diff changeset
44 OS9BOOT_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
boisy
parents:
diff changeset
45 $(MD)/rbf.mn \
boisy
parents:
diff changeset
46 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \
boisy
parents:
diff changeset
47 $(MD)/scf.mn $(MD)/vtio.dr \
boisy
parents:
diff changeset
48 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
boisy
parents:
diff changeset
49 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
boisy
parents:
diff changeset
50 $(MD)/vrn.dr $(MD)/vi.dd \
boisy
parents:
diff changeset
51 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
boisy
parents:
diff changeset
52
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
53 OS9BOOT_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
54 $(MD)/rbf.mn \
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
55 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
56 $(MD)/scf.mn $(MD)/vtio.dr \
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
57 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
58 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
59 $(MD)/vrn.dr $(MD)/vi.dd \
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
60 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
61
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
62 OS9BOOT_DW_BECKER = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
63 $(MD)/rbf.mn \
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
64 $(MD)/rbdw.dr $(MD)/dwio_becker.sb $(MD)/ddx0.dd \
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
65 $(MD)/scf.mn $(MD)/vtio.dr \
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
66 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
67 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
68 $(MD)/vrn.dr $(MD)/vi.dd \
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
69 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
70
2138
boisy
parents:
diff changeset
71 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
boisy
parents:
diff changeset
72 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
boisy
parents:
diff changeset
73 $(LEVEL2)/coco3/cmds/setime
boisy
parents:
diff changeset
74
2515
0fe5a04e9d0c Updated
boisy
parents: 2511
diff changeset
75 TEXTFILES_D1 = ../startup tOC_40d.txt
0fe5a04e9d0c Updated
boisy
parents: 2511
diff changeset
76 TEXTFILES = ../startup tOC_80d.txt
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
77 TEXTFILES_DW = ../startup tOC_dw.txt
2138
boisy
parents:
diff changeset
78
boisy
parents:
diff changeset
79 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
boisy
parents:
diff changeset
80 vol.1 words.tok
boisy
parents:
diff changeset
81
boisy
parents:
diff changeset
82 SUPPORTFILES_D2 = object vol.0 vol.2
boisy
parents:
diff changeset
83
boisy
parents:
diff changeset
84 SUPPORTFILES_D3 = object vol.0 vol.3
boisy
parents:
diff changeset
85
boisy
parents:
diff changeset
86 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \
boisy
parents:
diff changeset
87 vol.1 vol.2 words.tok
boisy
parents:
diff changeset
88
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
89 SUPPORTFILES_DW = logDir object picDir sndDir viewDir vol.0 \
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
90 vol.1 vol.2 vol.3 words.tok
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
91
2138
boisy
parents:
diff changeset
92 ALLOBJS = $(CMDS)
boisy
parents:
diff changeset
93
boisy
parents:
diff changeset
94 all: $(ALLOBJS)
boisy
parents:
diff changeset
95
boisy
parents:
diff changeset
96 clean: dskclean
boisy
parents:
diff changeset
97 $(RM) $(ALLOBJS)
boisy
parents:
diff changeset
98
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
99 $(DISK_1_40D):
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
100 $(RM) $@
2138
boisy
parents:
diff changeset
101 $(CD) $(LEVEL2)/coco3; make
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
102 $(OS9FORMAT_DS40) -q $@ -n$(DISK_1_40D_NAME)
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
103 $(MERGE) $(OS9BOOT_40D)>os9boot
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
104 $(MERGE) $(KERNEL)>kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
105 $(OS9GEN) $@ -b=os9boot -t=kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
106 $(RM) os9boot kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
107 $(MAKDIR) $@,CMDS
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
108 $(OS9COPY) $(CMDS) $@,CMDS
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
109 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2138
boisy
parents:
diff changeset
110 $(MERGE) $(BOOTCMDS)>shell
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
111 $(OS9COPY) shell $@,CMDS
2138
boisy
parents:
diff changeset
112 $(RM) shell
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
113 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
114 $(OS9RENAME) $@,CMDS/sierra AutoEx
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
115 $(CPL) $(TEXTFILES_D1) $@,.
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
116 $(OS9RENAME) $@,tOC_40d.txt tOC.txt
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
117 $(MOVE) tocgen toctmp
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
118 tocgen $@,tOC.txt $@,tOC
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
119 $(MOVE) toctmp tocgen
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
120 $(OS9COPY) $(SUPPORTFILES_D1) $@,.
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
121
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
122 $(DISK_2_40D):
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
123 $(RM) $@
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
124 $(OS9FORMAT_DS40) -q $@ -n$(DISK_2_40D_NAME)
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
125 $(OS9COPY) $(SUPPORTFILES_D2) $@,.
2138
boisy
parents:
diff changeset
126
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
127 $(DISK_3_40D):
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
128 $(RM) $@
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
129 $(OS9FORMAT_DS40) -q $@ -n$(DISK_3_40D_NAME)
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
130 $(OS9COPY) $(SUPPORTFILES_D3) $@,.
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
131
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
132 $(DISK_1_80D):
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
133 $(RM) $@
2138
boisy
parents:
diff changeset
134 $(CD) $(LEVEL2)/coco3; make
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
135 $(OS9FORMAT_DS80) -q $@ -n$(DISK_1_80D_NAME)
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
136 $(MERGE) $(OS9BOOT_80D)>os9boot
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
137 $(MERGE) $(KERNEL)>kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
138 $(OS9GEN) $@ -b=os9boot -t=kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
139 $(RM) os9boot kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
140 $(MAKDIR) $@,CMDS
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
141 $(OS9COPY) $(CMDS) $@,CMDS
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
142 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2138
boisy
parents:
diff changeset
143 $(MERGE) $(BOOTCMDS)>shell
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
144 $(OS9COPY) shell $@,CMDS
2138
boisy
parents:
diff changeset
145 $(RM) shell
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
146 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
147 $(OS9RENAME) $@,CMDS/sierra AutoEx
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
148 $(CPL) $(TEXTFILES) $@,.
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
149 $(OS9RENAME) $@,tOC_80d.txt tOC.txt
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
150 $(MOVE) tocgen toctmp
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
151 tocgen $@,tOC.txt $@,tOC
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
152 $(MOVE) toctmp tocgen
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
153 $(OS9COPY) $(SUPPORTFILES) $@,.
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
154
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
155 $(DISK_2_80D):
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
156 $(RM) $@
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
157 $(OS9FORMAT_DS80) -q $@ -n$(DISK_2_80D_NAME)
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
158 $(OS9COPY) $(SUPPORTFILES_D3) $@,.
2138
boisy
parents:
diff changeset
159
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
160 $(DISK_DW):
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
161 $(RM) $@
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
162 $(CD) $(LEVEL2)/coco3; make
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
163 $(OS9FORMAT_DW) -q $@ -n$(DISK_DW_NAME)
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
164 $(MERGE) $(OS9BOOT_DW)>os9boot
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
165 $(MERGE) $(KERNEL_DW)>kernel
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
166 $(OS9GEN) $@ -b=os9boot -t=kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
167 $(RM) os9boot kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
168 $(MAKDIR) $@,CMDS
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
169 $(OS9COPY) $(CMDS) $@,CMDS
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
170 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
171 $(MERGE) $(BOOTCMDS)>shell
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
172 $(OS9COPY) shell $@,CMDS
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
173 $(RM) shell
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
174 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
175 $(OS9RENAME) $@,CMDS/sierra AutoEx
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
176 $(CPL) $(TEXTFILES_DW) $@,.
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
177 $(OS9RENAME) $@,tOC_dw.txt tOC.txt
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
178 $(MOVE) tocgen toctmp
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
179 tocgen $@,tOC.txt $@,tOC
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
180 $(MOVE) toctmp tocgen
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
181 $(OS9COPY) $(SUPPORTFILES) $@,.
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
182
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
183 $(DISK_DW_BECKER):
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
184 $(RM) $@
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
185 $(CD) $(LEVEL2)/coco3; make
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
186 $(OS9FORMAT_DW) -q $@ -n$(DISK_DW_NAME)
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
187 $(MERGE) $(OS9BOOT_DW_BECKER)>os9boot
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
188 $(MERGE) $(KERNEL_DW_BECKER)>kernel
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
189 $(OS9GEN) $@ -b=os9boot -t=kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
190 $(RM) os9boot kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
191 $(MAKDIR) $@,CMDS
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
192 $(OS9COPY) $(CMDS) $@,CMDS
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
193 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
194 $(MERGE) $(BOOTCMDS)>shell
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
195 $(OS9COPY) shell $@,CMDS
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
196 $(RM) shell
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
197 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
198 $(OS9RENAME) $@,CMDS/sierra AutoEx
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
199 $(CPL) $(TEXTFILES_DW) $@,.
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
200 $(OS9RENAME) $@,tOC_dw.txt tOC.txt
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
201 $(MOVE) tocgen toctmp
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
202 tocgen $@,tOC.txt $@,tOC
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
203 $(MOVE) toctmp tocgen
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
204 $(OS9COPY) $(SUPPORTFILES) $@,.
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
205
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
206 dsk: all $(DSKS)
2138
boisy
parents:
diff changeset
207
boisy
parents:
diff changeset
208 dskcopy: dsk
2216
d096a278e068 Added info targets
boisy
parents: 2138
diff changeset
209 $(CP) $(DSKS) $(DSKDIR)
2138
boisy
parents:
diff changeset
210
boisy
parents:
diff changeset
211 dskclean:
2216
d096a278e068 Added info targets
boisy
parents: 2138
diff changeset
212 $(RM) $(DSKS)
d096a278e068 Added info targets
boisy
parents: 2138
diff changeset
213
d096a278e068 Added info targets
boisy
parents: 2138
diff changeset
214 info:
d096a278e068 Added info targets
boisy
parents: 2138
diff changeset
215 @$(ECHO) "*** Space Quest 0 ***"
d096a278e068 Added info targets
boisy
parents: 2138
diff changeset
216 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
217