comparison level2/coco3_6309/makefile @ 2265:581d99904cc5

makefiles updated
author boisy
date Mon, 28 Dec 2009 01:29:05 +0000
parents c5e313a93c68
children c4aa9c53261a
comparison
equal deleted inserted replaced
2264:2c15248c8542 2265:581d99904cc5
6 6
7 DISTRO = $(CPU)L$(LEVEL) 7 DISTRO = $(CPU)L$(LEVEL)
8 DISTRONAME = nos9$(CPU)l$(LEVEL) 8 DISTRONAME = nos9$(CPU)l$(LEVEL)
9 DISTROVER = $(DISTRONAME)$(NITROS9VER)$(PORT) 9 DISTROVER = $(DISTRONAME)$(NITROS9VER)$(PORT)
10 BOOTFILE_DW3 = bootfiles/bootfile_dw3 10 BOOTFILE_DW3 = bootfiles/bootfile_dw3
11 BOOTFILE_DW3_MIN = bootfiles/bootfile_dw3_min 11 BOOTFILE_DW3_SERVER = bootfiles/bootfile_dw3_server
12 BOOTFILE_40D = bootfiles/bootfile_40d 12 BOOTFILE_40D = bootfiles/bootfile_40d
13 BOOTFILE_80D = bootfiles/bootfile_80d 13 BOOTFILE_80D = bootfiles/bootfile_80d
14 BOOTFILE_40D_50HZ = bootfiles/bootfile_40d_50hz 14 BOOTFILE_40D_50HZ = bootfiles/bootfile_40d_50hz
15 BOOTFILE_80D_50HZ = bootfiles/bootfile_80d_50hz 15 BOOTFILE_80D_50HZ = bootfiles/bootfile_80d_50hz
16 KERNELFILE = bootfiles/kernel_1773 16 KERNELFILE = bootfiles/kernel_1773
19 DIRS = cmds modules defs sys bootfiles 19 DIRS = cmds modules defs sys bootfiles
20 20
21 CMDS = $(shell $(CD) cmds; make showobjs) 21 CMDS = $(shell $(CD) cmds; make showobjs)
22 CMDS_D2 = $(shell $(CD) cmds; make showobjs_d2) 22 CMDS_D2 = $(shell $(CD) cmds; make showobjs_d2)
23 CMDS_DW = $(shell $(CD) cmds; make showobjs_dw) 23 CMDS_DW = $(shell $(CD) cmds; make showobjs_dw)
24 CMDS_DW_SERVER = $(shell $(CD) cmds; make showobjs_dw_server)
24 BOOTTRACK = $(shell $(CD) modules; make showboottrack) 25 BOOTTRACK = $(shell $(CD) modules; make showboottrack)
25 KERNEL = $(shell $(CD) modules; make showkernel) 26 KERNEL = $(shell $(CD) modules; make showkernel)
26 SYSMODS = $(shell $(CD) modules; make showsysmods) 27 SYSMODS = $(shell $(CD) modules; make showsysmods)
27 CLOCKS = $(shell $(CD) modules; make showclocks) 28 CLOCKS = $(shell $(CD) modules; make showclocks)
28 RBF = $(shell $(CD) modules; make showrbf) 29 RBF = $(shell $(CD) modules; make showrbf)
31 MODULECMDS = shell grfdrv del echo format makdir merge os9gen prompt tmode 32 MODULECMDS = shell grfdrv del echo format makdir merge os9gen prompt tmode
32 33
33 DEFS = $(shell $(CD) defs; make showobjs) 34 DEFS = $(shell $(CD) defs; make showobjs)
34 SYSBIN = $(shell $(CD) sys; make showbinobjs) 35 SYSBIN = $(shell $(CD) sys; make showbinobjs)
35 SYSTEXT = $(shell $(CD) sys; make showtextobjs) 36 SYSTEXT = $(shell $(CD) sys; make showtextobjs)
36 ROOTFILES = startup 37 STARTUP = startup
37 ROOTFILES_DW = $(ROOTFILES) ../coco3/startup.dw 38 STARTUP_DW_SERVER = startup.dwserver
38 SYSGO = sysgo_dd 39 SYSGO = sysgo_dd
39 40
40 PACKAGENAME = $(DISTROVER).zip 41 PACKAGENAME = $(DISTROVER).zip
41 DSKDW3 = $(DISTROVER)_dw3.dsk 42 DSKDW3 = $(DISTROVER)_dw3.dsk
42 LDSKDW3 = $(DISTRONAME)_dw3.dsk 43 LDSKDW3 = $(DISTRONAME)_dw3.dsk
43 DSKDW3_MIN = $(DISTROVER)_dw3_min.dsk 44 DSKDW3_SERVER = $(DISTROVER)_dw3_server.dsk
44 LDSKDW3_MIN = $(DISTRONAME)_dw3_min.dsk 45 LDSKDW3_SERVER = $(DISTRONAME)_dw3_server.dsk
45 DSK360K_1 = $(DISTROVER)_40d_1.dsk 46 DSK360K_1 = $(DISTROVER)_40d_1.dsk
46 LDSK360K_1 = $(DISTRONAME)_40d_1.dsk 47 LDSK360K_1 = $(DISTRONAME)_40d_1.dsk
47 DSK360K_1_50HZ = $(DISTROVER)_40d_1_50hz.dsk 48 DSK360K_1_50HZ = $(DISTROVER)_40d_1_50hz.dsk
48 LDSK360K_1_50HZ = $(DISTRONAME)_40d_1_50hz.dsk 49 LDSK360K_1_50HZ = $(DISTRONAME)_40d_1_50hz.dsk
49 DSK360K_2 = $(DISTROVER)_40d_2.dsk 50 DSK360K_2 = $(DISTROVER)_40d_2.dsk
52 LDSK720K = $(DISTRONAME)_80d.dsk 53 LDSK720K = $(DISTRONAME)_80d.dsk
53 DSK720K_50HZ = $(DISTROVER)_80d_50hz.dsk 54 DSK720K_50HZ = $(DISTROVER)_80d_50hz.dsk
54 LDSK720K_50HZ = $(DISTRONAME)_80d_50hz.dsk 55 LDSK720K_50HZ = $(DISTRONAME)_80d_50hz.dsk
55 TESTDSK = test.dsk 56 TESTDSK = test.dsk
56 57
57 DSKS = $(DSKDW3) $(DSKDW3_MIN) $(DSK360K_1) $(DSK360K_1_50HZ) $(DSK360K_2) $(DSK720K) $(DSK720K_50HZ) 58 DSKS = $(DSKDW3) $(DSKDW3_SERVER) $(DSK360K_1) $(DSK360K_1_50HZ) $(DSK360K_2) $(DSK720K) $(DSK720K_50HZ)
58 LDSKS = $(LDSKDW3) $(LDSKDW3_MIN) $(LDSK360K_1) $(LDSK360K_1_50HZ) $(LDSK360K_2) $(LDSK720K) $(LDSK720K_50HZ) 59 LDSKS = $(LDSKDW3) $(LDSKDW3_SERVER) $(LDSK360K_1) $(LDSK360K_1_50HZ) $(LDSK360K_2) $(LDSK720K) $(LDSK720K_50HZ)
59 60
60 # Make all components 61 # Make all components
61 all: 62 all:
62 @$(ECHO) "**************************************************" 63 @$(ECHO) "**************************************************"
63 @$(ECHO) "* *" 64 @$(ECHO) "* *"
91 $(MAKDIR) $@,CMDS 92 $(MAKDIR) $@,CMDS
92 $(MAKDIR) $@,SYS 93 $(MAKDIR) $@,SYS
93 $(MAKDIR) $@,DEFS 94 $(MAKDIR) $@,DEFS
94 $(CP) modules/$(SYSGO) $@,sysgo 95 $(CP) modules/$(SYSGO) $@,sysgo
95 $(OS9ATTR_EXEC) $@,sysgo 96 $(OS9ATTR_EXEC) $@,sysgo
96 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
97 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
98 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
99 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
100 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS 97 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS
101 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);) 98 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
102 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS 99 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
103 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) 100 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
104 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS 101 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
105 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) 102 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
106 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS 103 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
107 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) 104 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
108 $(CPL) $(ROOTFILES_DW) $@,. 105 $(CPL) $(STARTUP) $@,.
109 $(foreach file, $(ROOTFILES_DW), $(OS9ATTR_TEXT) $@,$(file);) 106 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
110 $(MAKDIR) $@,NITROS9 107 $(MAKDIR) $@,NITROS9
111 $(MAKDIR) $@,NITROS9/$(DISTRO) 108 $(MAKDIR) $@,NITROS9/$(DISTRO)
112 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS 109 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
113 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS 110 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
114 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) 111 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
139 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS 136 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
140 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS 137 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
141 $(RM) $(LDSKDW3) 138 $(RM) $(LDSKDW3)
142 $(SOFTLINK) $@ $(LDSKDW3) 139 $(SOFTLINK) $@ $(LDSKDW3)
143 140
144 $(DSKDW3_MIN): 141 $(DSKDW3_SERVER):
145 -$(RM) $@ 142 -$(RM) $@
146 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2" 143 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2"
147 $(OS9GEN) $@ -b=$(BOOTFILE_DW3_MIN) -t=$(KERNELFILE_DW3) 144 $(OS9GEN) $@ -b=$(BOOTFILE_DW3_SERVER) -t=$(KERNELFILE_DW3)
145 $(MAKDIR) $@,CMDS
146 $(MAKDIR) $@,SYS
147 $(CP) modules/$(SYSGO) $@,sysgo
148 $(OS9ATTR_EXEC) $@,sysgo
149 $(CD) cmds; $(CP) $(CMDS_DW_SERVER) ../$@,CMDS
150 $(foreach file, $(CMDS_DW_SERVER), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
151 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
152 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
153 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
154 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
155 $(CPL) $(STARTUP_DW_SERVER) $@,startup
156 $(OS9ATTR_TEXT) $@,startup
157 $(RM) $(LDSKDW3_SERVER)
158 $(SOFTLINK) $@ $(LDSKDW3_SERVER)
159
160 $(DSK360K_1):
161 -$(RM) $@
162 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1"
163 $(OS9GEN) $@ -b=$(BOOTFILE_40D) -t=$(KERNELFILE)
148 $(MAKDIR) $@,CMDS 164 $(MAKDIR) $@,CMDS
149 $(MAKDIR) $@,SYS 165 $(MAKDIR) $@,SYS
150 $(MAKDIR) $@,DEFS 166 $(MAKDIR) $@,DEFS
151 $(CP) modules/$(SYSGO) $@,sysgo 167 $(CP) modules/$(SYSGO) $@,sysgo
152 $(OS9ATTR_EXEC) $@,sysgo 168 $(OS9ATTR_EXEC) $@,sysgo
153 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS 169 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
154 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) 170 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
155 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS 171 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
156 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);) 172 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
157 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS 173 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
158 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);) 174 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
159 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS 175 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
160 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) 176 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
161 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS 177 $(CPL) $(STARTUP) $@,.
162 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) 178 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
163 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS 179 $(RM) $(LDSK360K_1)
164 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) 180 $(SOFTLINK) $@ $(LDSK360K_1)
165 $(CPL) $(ROOTFILES_DW) $@,. 181
166 $(foreach file, $(ROOTFILES_DW), $(OS9ATTR_TEXT) $@,$(file);) 182 $(DSK360K_1_50HZ):
167 $(MAKDIR) $@,NITROS9
168 $(MAKDIR) $@,NITROS9/$(DISTRO)
169 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
170 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
171 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
172 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
173 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
174 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
175 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
176 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
177 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
178 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
179 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
180 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
181 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
182 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
183 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
184 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
185 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
186 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
187 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
188 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
189 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
190 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
191 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
192 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
193 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
194 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
195 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
196 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
197 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
198 $(RM) $(LDSKDW3_MIN)
199 $(SOFTLINK) $@ $(LDSKDW3_MIN)
200
201 $(DSK360K_1):
202 -$(RM) $@ 183 -$(RM) $@
203 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1" 184 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1"
204 $(OS9GEN) $@ -b=$(BOOTFILE_40D) -t=$(KERNELFILE) 185 $(OS9GEN) $@ -b=$(BOOTFILE_40D_50HZ) -t=$(KERNELFILE_50HZ)
205 $(MAKDIR) $@,CMDS 186 $(MAKDIR) $@,CMDS
206 $(MAKDIR) $@,SYS 187 $(MAKDIR) $@,SYS
207 $(MAKDIR) $@,DEFS 188 $(MAKDIR) $@,DEFS
208 $(CP) modules/$(SYSGO) $@,sysgo 189 $(CP) modules/$(SYSGO) $@,sysgo
209 $(OS9ATTR_EXEC) $@,sysgo 190 $(OS9ATTR_EXEC) $@,sysgo
213 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) 194 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
214 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS 195 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
215 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) 196 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
216 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS 197 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
217 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) 198 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
218 $(CPL) $(ROOTFILES) $@,. 199 $(CPL) $(STARTUP) $@,.
219 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) 200 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
220 $(RM) $(LDSK360K_1)
221 $(SOFTLINK) $@ $(LDSK360K_1)
222
223 $(DSK360K_1_50HZ):
224 -$(RM) $@
225 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1"
226 $(OS9GEN) $@ -b=$(BOOTFILE_40D_50HZ) -t=$(KERNELFILE_50HZ)
227 $(MAKDIR) $@,CMDS
228 $(MAKDIR) $@,SYS
229 $(MAKDIR) $@,DEFS
230 $(CP) modules/$(SYSGO) $@,sysgo
231 $(OS9ATTR_EXEC) $@,sysgo
232 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
233 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
234 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
235 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
236 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
237 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
238 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
239 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
240 $(CPL) $(ROOTFILES) $@,.
241 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
242 $(RM) $(LDSK360K_1_50HZ) 201 $(RM) $(LDSK360K_1_50HZ)
243 $(SOFTLINK) $@ $(LDSK360K_1_50HZ) 202 $(SOFTLINK) $@ $(LDSK360K_1_50HZ)
244 203
245 $(DSK360K_2): 204 $(DSK360K_2):
246 -$(RM) $@ 205 -$(RM) $@
299 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) 258 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
300 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS 259 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
301 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) 260 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
302 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS 261 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
303 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) 262 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
304 $(CPL) $(ROOTFILES) $@,. 263 $(CPL) $(STARTUP) $@,.
305 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) 264 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
306 $(MAKDIR) $@,NITROS9 265 $(MAKDIR) $@,NITROS9
307 $(MAKDIR) $@,NITROS9/$(DISTRO) 266 $(MAKDIR) $@,NITROS9/$(DISTRO)
308 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS 267 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
309 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS 268 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
310 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) 269 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
354 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) 313 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
355 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS 314 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
356 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) 315 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
357 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS 316 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
358 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) 317 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
359 $(CPL) $(ROOTFILES) $@,. 318 $(CPL) $(STARTUP) $@,.
360 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) 319 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
361 $(MAKDIR) $@,NITROS9 320 $(MAKDIR) $@,NITROS9
362 $(MAKDIR) $@,NITROS9/$(DISTRO) 321 $(MAKDIR) $@,NITROS9/$(DISTRO)
363 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS 322 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
364 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS 323 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
365 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) 324 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)