Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3_6309/makefile @ 2265:581d99904cc5
makefiles updated
author | boisy |
---|---|
date | Mon, 28 Dec 2009 01:29:05 +0000 |
parents | c5e313a93c68 |
children | c4aa9c53261a |
rev | line source |
---|---|
2047 | 1 PORT = coco3 |
2 include $(NITROS9DIR)/rules.mak | |
3 | |
2051 | 4 CPU = 6309 |
2047 | 5 LEVEL = 2 |
6 | |
7 DISTRO = $(CPU)L$(LEVEL) | |
8 DISTRONAME = nos9$(CPU)l$(LEVEL) | |
9 DISTROVER = $(DISTRONAME)$(NITROS9VER)$(PORT) | |
2180 | 10 BOOTFILE_DW3 = bootfiles/bootfile_dw3 |
2265 | 11 BOOTFILE_DW3_SERVER = bootfiles/bootfile_dw3_server |
2047 | 12 BOOTFILE_40D = bootfiles/bootfile_40d |
13 BOOTFILE_80D = bootfiles/bootfile_80d | |
14 BOOTFILE_40D_50HZ = bootfiles/bootfile_40d_50hz | |
15 BOOTFILE_80D_50HZ = bootfiles/bootfile_80d_50hz | |
16 KERNELFILE = bootfiles/kernel_1773 | |
17 KERNELFILE_50HZ = bootfiles/kernel_1773_50hz | |
2180 | 18 KERNELFILE_DW3 = bootfiles/kernel_dw3 |
2047 | 19 DIRS = cmds modules defs sys bootfiles |
20 | |
21 CMDS = $(shell $(CD) cmds; make showobjs) | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2051
diff
changeset
|
22 CMDS_D2 = $(shell $(CD) cmds; make showobjs_d2) |
2243
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2217
diff
changeset
|
23 CMDS_DW = $(shell $(CD) cmds; make showobjs_dw) |
2265 | 24 CMDS_DW_SERVER = $(shell $(CD) cmds; make showobjs_dw_server) |
2047 | 25 BOOTTRACK = $(shell $(CD) modules; make showboottrack) |
26 KERNEL = $(shell $(CD) modules; make showkernel) | |
27 SYSMODS = $(shell $(CD) modules; make showsysmods) | |
28 CLOCKS = $(shell $(CD) modules; make showclocks) | |
29 RBF = $(shell $(CD) modules; make showrbf) | |
30 SCF = $(shell $(CD) modules; make showscf) | |
31 PIPE = $(shell $(CD) modules; make showpipe) | |
32 MODULECMDS = shell grfdrv del echo format makdir merge os9gen prompt tmode | |
33 | |
34 DEFS = $(shell $(CD) defs; make showobjs) | |
35 SYSBIN = $(shell $(CD) sys; make showbinobjs) | |
36 SYSTEXT = $(shell $(CD) sys; make showtextobjs) | |
2265 | 37 STARTUP = startup |
38 STARTUP_DW_SERVER = startup.dwserver | |
2047 | 39 SYSGO = sysgo_dd |
40 | |
41 PACKAGENAME = $(DISTROVER).zip | |
2180 | 42 DSKDW3 = $(DISTROVER)_dw3.dsk |
43 LDSKDW3 = $(DISTRONAME)_dw3.dsk | |
2265 | 44 DSKDW3_SERVER = $(DISTROVER)_dw3_server.dsk |
45 LDSKDW3_SERVER = $(DISTRONAME)_dw3_server.dsk | |
2047 | 46 DSK360K_1 = $(DISTROVER)_40d_1.dsk |
47 LDSK360K_1 = $(DISTRONAME)_40d_1.dsk | |
48 DSK360K_1_50HZ = $(DISTROVER)_40d_1_50hz.dsk | |
49 LDSK360K_1_50HZ = $(DISTRONAME)_40d_1_50hz.dsk | |
50 DSK360K_2 = $(DISTROVER)_40d_2.dsk | |
51 LDSK360K_2 = $(DISTRONAME)_40d_2.dsk | |
52 DSK720K = $(DISTROVER)_80d.dsk | |
53 LDSK720K = $(DISTRONAME)_80d.dsk | |
54 DSK720K_50HZ = $(DISTROVER)_80d_50hz.dsk | |
55 LDSK720K_50HZ = $(DISTRONAME)_80d_50hz.dsk | |
56 TESTDSK = test.dsk | |
57 | |
2265 | 58 DSKS = $(DSKDW3) $(DSKDW3_SERVER) $(DSK360K_1) $(DSK360K_1_50HZ) $(DSK360K_2) $(DSK720K) $(DSK720K_50HZ) |
59 LDSKS = $(LDSKDW3) $(LDSKDW3_SERVER) $(LDSK360K_1) $(LDSK360K_1_50HZ) $(LDSK360K_2) $(LDSK720K) $(LDSK720K_50HZ) | |
2047 | 60 |
61 # Make all components | |
62 all: | |
63 @$(ECHO) "**************************************************" | |
64 @$(ECHO) "* *" | |
65 @$(ECHO) "* NitrOS-9/$(CPU) Level 2 Distribution *" | |
66 @$(ECHO) "* *" | |
67 @$(ECHO) "**************************************************" | |
68 $(foreach dir, $(DIRS), ($(CD) $(dir); make);) | |
69 | |
70 # Clean all components | |
71 clean: dskclean | |
72 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);) | |
73 | |
74 dskclean: | |
2217 | 75 -$(RM) $(PACKAGENAME) $(DSKS) $(LDSKS) |
2047 | 76 |
77 dsk: all $(PACKAGENAME) | |
78 | |
79 dskcopy: dsk | |
2217 | 80 $(CP) $(DSKS) $(DSKDIR) |
2047 | 81 |
82 scp: dsk | |
83 scp $(PACKAGENAME) boisy@cvs.nitros9.org:/home/nitros9/public_html | |
84 | |
2217 | 85 $(PACKAGENAME): $(DSKS) ../../ReadMe ../../ChangeLog |
2047 | 86 $(ARCHIVE) $@ $^ |
87 | |
2180 | 88 $(DSKDW3): |
89 -$(RM) $@ | |
90 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2" | |
91 $(OS9GEN) $@ -b=$(BOOTFILE_DW3) -t=$(KERNELFILE_DW3) | |
92 $(MAKDIR) $@,CMDS | |
93 $(MAKDIR) $@,SYS | |
94 $(MAKDIR) $@,DEFS | |
95 $(CP) modules/$(SYSGO) $@,sysgo | |
96 $(OS9ATTR_EXEC) $@,sysgo | |
2243
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2217
diff
changeset
|
97 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS |
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2217
diff
changeset
|
98 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
2180 | 99 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS |
100 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
101 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
102 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
103 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
104 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
2265 | 105 $(CPL) $(STARTUP) $@,. |
106 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);) | |
2180 | 107 $(MAKDIR) $@,NITROS9 |
108 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
109 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
110 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS | |
111 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) | |
112 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES | |
113 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
114 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
115 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);) | |
116 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
117 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
118 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);) | |
119 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
120 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
121 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);) | |
122 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
123 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
124 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);) | |
125 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF | |
126 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF | |
127 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);) | |
128 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF | |
129 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF | |
130 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);) | |
131 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE | |
132 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE | |
133 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);) | |
134 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS | |
135 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
136 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
137 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
138 $(RM) $(LDSKDW3) | |
139 $(SOFTLINK) $@ $(LDSKDW3) | |
140 | |
2265 | 141 $(DSKDW3_SERVER): |
2246 | 142 -$(RM) $@ |
143 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2" | |
2265 | 144 $(OS9GEN) $@ -b=$(BOOTFILE_DW3_SERVER) -t=$(KERNELFILE_DW3) |
2246 | 145 $(MAKDIR) $@,CMDS |
146 $(MAKDIR) $@,SYS | |
147 $(CP) modules/$(SYSGO) $@,sysgo | |
148 $(OS9ATTR_EXEC) $@,sysgo | |
2265 | 149 $(CD) cmds; $(CP) $(CMDS_DW_SERVER) ../$@,CMDS |
150 $(foreach file, $(CMDS_DW_SERVER), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
2246 | 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);) | |
2265 | 155 $(CPL) $(STARTUP_DW_SERVER) $@,startup |
156 $(OS9ATTR_TEXT) $@,startup | |
157 $(RM) $(LDSKDW3_SERVER) | |
158 $(SOFTLINK) $@ $(LDSKDW3_SERVER) | |
2246 | 159 |
2047 | 160 $(DSK360K_1): |
161 -$(RM) $@ | |
162 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1" | |
163 $(OS9GEN) $@ -b=$(BOOTFILE_40D) -t=$(KERNELFILE) | |
164 $(MAKDIR) $@,CMDS | |
165 $(MAKDIR) $@,SYS | |
166 $(MAKDIR) $@,DEFS | |
167 $(CP) modules/$(SYSGO) $@,sysgo | |
168 $(OS9ATTR_EXEC) $@,sysgo | |
169 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS | |
170 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
171 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS | |
172 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
173 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
174 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
175 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
176 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
2265 | 177 $(CPL) $(STARTUP) $@,. |
178 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);) | |
2047 | 179 $(RM) $(LDSK360K_1) |
180 $(SOFTLINK) $@ $(LDSK360K_1) | |
181 | |
182 $(DSK360K_1_50HZ): | |
183 -$(RM) $@ | |
184 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1" | |
185 $(OS9GEN) $@ -b=$(BOOTFILE_40D_50HZ) -t=$(KERNELFILE_50HZ) | |
186 $(MAKDIR) $@,CMDS | |
187 $(MAKDIR) $@,SYS | |
188 $(MAKDIR) $@,DEFS | |
189 $(CP) modules/$(SYSGO) $@,sysgo | |
190 $(OS9ATTR_EXEC) $@,sysgo | |
191 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS | |
192 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
193 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS | |
194 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
195 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
196 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
197 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
198 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
2265 | 199 $(CPL) $(STARTUP) $@,. |
200 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);) | |
2047 | 201 $(RM) $(LDSK360K_1_50HZ) |
202 $(SOFTLINK) $@ $(LDSK360K_1_50HZ) | |
203 | |
204 $(DSK360K_2): | |
205 -$(RM) $@ | |
206 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 2" | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2051
diff
changeset
|
207 $(MAKDIR) $@,CMDS |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2051
diff
changeset
|
208 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2051
diff
changeset
|
209 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
2047 | 210 $(MAKDIR) $@,NITROS9 |
211 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
212 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
213 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS | |
214 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) | |
215 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES | |
216 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
217 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
218 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);) | |
219 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
220 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
221 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);) | |
222 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
223 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
224 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);) | |
225 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
226 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
227 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);) | |
228 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF | |
229 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF | |
230 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);) | |
231 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF | |
232 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF | |
233 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);) | |
234 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE | |
235 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE | |
236 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);) | |
237 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS | |
238 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
239 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
240 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
241 $(RM) $(LDSK360K_2) | |
242 $(SOFTLINK) $@ $(LDSK360K_2) | |
243 | |
244 $(DSK720K): | |
245 -$(RM) $@ | |
246 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level 2" | |
247 $(OS9GEN) $@ -b=$(BOOTFILE_80D) -t=$(KERNELFILE) | |
248 $(MAKDIR) $@,CMDS | |
249 $(MAKDIR) $@,SYS | |
250 $(MAKDIR) $@,DEFS | |
251 $(CP) modules/$(SYSGO) $@,sysgo | |
252 $(OS9ATTR_EXEC) $@,sysgo | |
253 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS | |
254 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2051
diff
changeset
|
255 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2051
diff
changeset
|
256 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
2047 | 257 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS |
258 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
259 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
260 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
261 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
262 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
2265 | 263 $(CPL) $(STARTUP) $@,. |
264 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);) | |
2047 | 265 $(MAKDIR) $@,NITROS9 |
266 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
267 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
268 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS | |
269 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) | |
270 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES | |
271 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
272 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
273 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);) | |
274 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
275 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
276 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);) | |
277 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
278 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
279 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);) | |
280 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
281 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
282 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);) | |
283 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF | |
284 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF | |
285 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);) | |
286 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF | |
287 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF | |
288 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);) | |
289 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE | |
290 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE | |
291 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);) | |
292 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS | |
293 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
294 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
295 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
296 $(RM) $(LDSK720K) | |
297 $(SOFTLINK) $@ $(LDSK720K) | |
298 | |
299 $(DSK720K_50HZ): | |
300 -$(RM) $@ | |
301 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level 2" | |
302 $(OS9GEN) $@ -b=$(BOOTFILE_80D_50HZ) -t=$(KERNELFILE_50HZ) | |
303 $(MAKDIR) $@,CMDS | |
304 $(MAKDIR) $@,SYS | |
305 $(MAKDIR) $@,DEFS | |
306 $(CP) modules/$(SYSGO) $@,sysgo | |
307 $(OS9ATTR_EXEC) $@,sysgo | |
308 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS | |
309 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2051
diff
changeset
|
310 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2051
diff
changeset
|
311 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
2047 | 312 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS |
313 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
314 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
315 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
316 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
317 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
2265 | 318 $(CPL) $(STARTUP) $@,. |
319 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);) | |
2047 | 320 $(MAKDIR) $@,NITROS9 |
321 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
322 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
323 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS | |
324 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) | |
325 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES | |
326 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
327 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
328 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);) | |
329 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
330 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
331 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);) | |
332 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
333 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
334 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);) | |
335 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
336 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
337 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);) | |
338 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF | |
339 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF | |
340 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);) | |
341 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF | |
342 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF | |
343 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);) | |
344 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE | |
345 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE | |
346 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);) | |
347 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS | |
348 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
349 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
350 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
351 $(RM) $(LDSK720K_50HZ) | |
352 $(SOFTLINK) $@ $(LDSK720K_50HZ) | |
353 | |
2216 | 354 info: |
355 @$(ECHO) "*** NitrOS-9/6309 Level 2 for the Tandy Color Computer 3 ***" | |
2217 | 356 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |