Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3_6309/makefile @ 2258:c5e313a93c68
SCDWT descriptors are now made from one file
author | boisy |
---|---|
date | Sun, 27 Dec 2009 17:51:19 +0000 |
parents | 1c54460565f3 |
children | 581d99904cc5 |
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 |
2246 | 11 BOOTFILE_DW3_MIN = bootfiles/bootfile_dw3_min |
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) |
2047 | 24 BOOTTRACK = $(shell $(CD) modules; make showboottrack) |
25 KERNEL = $(shell $(CD) modules; make showkernel) | |
26 SYSMODS = $(shell $(CD) modules; make showsysmods) | |
27 CLOCKS = $(shell $(CD) modules; make showclocks) | |
28 RBF = $(shell $(CD) modules; make showrbf) | |
29 SCF = $(shell $(CD) modules; make showscf) | |
30 PIPE = $(shell $(CD) modules; make showpipe) | |
31 MODULECMDS = shell grfdrv del echo format makdir merge os9gen prompt tmode | |
32 | |
33 DEFS = $(shell $(CD) defs; make showobjs) | |
34 SYSBIN = $(shell $(CD) sys; make showbinobjs) | |
35 SYSTEXT = $(shell $(CD) sys; make showtextobjs) | |
36 ROOTFILES = startup | |
2258 | 37 ROOTFILES_DW = $(ROOTFILES) ../coco3/startup.dw |
2047 | 38 SYSGO = sysgo_dd |
39 | |
40 PACKAGENAME = $(DISTROVER).zip | |
2180 | 41 DSKDW3 = $(DISTROVER)_dw3.dsk |
42 LDSKDW3 = $(DISTRONAME)_dw3.dsk | |
2246 | 43 DSKDW3_MIN = $(DISTROVER)_dw3_min.dsk |
44 LDSKDW3_MIN = $(DISTRONAME)_dw3_min.dsk | |
2047 | 45 DSK360K_1 = $(DISTROVER)_40d_1.dsk |
46 LDSK360K_1 = $(DISTRONAME)_40d_1.dsk | |
47 DSK360K_1_50HZ = $(DISTROVER)_40d_1_50hz.dsk | |
48 LDSK360K_1_50HZ = $(DISTRONAME)_40d_1_50hz.dsk | |
49 DSK360K_2 = $(DISTROVER)_40d_2.dsk | |
50 LDSK360K_2 = $(DISTRONAME)_40d_2.dsk | |
51 DSK720K = $(DISTROVER)_80d.dsk | |
52 LDSK720K = $(DISTRONAME)_80d.dsk | |
53 DSK720K_50HZ = $(DISTROVER)_80d_50hz.dsk | |
54 LDSK720K_50HZ = $(DISTRONAME)_80d_50hz.dsk | |
55 TESTDSK = test.dsk | |
56 | |
2246 | 57 DSKS = $(DSKDW3) $(DSKDW3_MIN) $(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) | |
2047 | 59 |
60 # Make all components | |
61 all: | |
62 @$(ECHO) "**************************************************" | |
63 @$(ECHO) "* *" | |
64 @$(ECHO) "* NitrOS-9/$(CPU) Level 2 Distribution *" | |
65 @$(ECHO) "* *" | |
66 @$(ECHO) "**************************************************" | |
67 $(foreach dir, $(DIRS), ($(CD) $(dir); make);) | |
68 | |
69 # Clean all components | |
70 clean: dskclean | |
71 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);) | |
72 | |
73 dskclean: | |
2217 | 74 -$(RM) $(PACKAGENAME) $(DSKS) $(LDSKS) |
2047 | 75 |
76 dsk: all $(PACKAGENAME) | |
77 | |
78 dskcopy: dsk | |
2217 | 79 $(CP) $(DSKS) $(DSKDIR) |
2047 | 80 |
81 scp: dsk | |
82 scp $(PACKAGENAME) boisy@cvs.nitros9.org:/home/nitros9/public_html | |
83 | |
2217 | 84 $(PACKAGENAME): $(DSKS) ../../ReadMe ../../ChangeLog |
2047 | 85 $(ARCHIVE) $@ $^ |
86 | |
2180 | 87 $(DSKDW3): |
88 -$(RM) $@ | |
89 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2" | |
90 $(OS9GEN) $@ -b=$(BOOTFILE_DW3) -t=$(KERNELFILE_DW3) | |
91 $(MAKDIR) $@,CMDS | |
92 $(MAKDIR) $@,SYS | |
93 $(MAKDIR) $@,DEFS | |
94 $(CP) modules/$(SYSGO) $@,sysgo | |
95 $(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);) | |
2243
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2217
diff
changeset
|
100 $(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
|
101 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
2180 | 102 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS |
103 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
104 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
105 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
106 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
107 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
2258 | 108 $(CPL) $(ROOTFILES_DW) $@,. |
109 $(foreach file, $(ROOTFILES_DW), $(OS9ATTR_TEXT) $@,$(file);) | |
2180 | 110 $(MAKDIR) $@,NITROS9 |
111 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
112 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
113 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS | |
114 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) | |
115 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES | |
116 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
117 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
118 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);) | |
119 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
120 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
121 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);) | |
122 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
123 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
124 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);) | |
125 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
126 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
127 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);) | |
128 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF | |
129 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF | |
130 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);) | |
131 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF | |
132 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF | |
133 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);) | |
134 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE | |
135 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE | |
136 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);) | |
137 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS | |
138 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
139 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
140 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
141 $(RM) $(LDSKDW3) | |
142 $(SOFTLINK) $@ $(LDSKDW3) | |
143 | |
2246 | 144 $(DSKDW3_MIN): |
145 -$(RM) $@ | |
146 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2" | |
147 $(OS9GEN) $@ -b=$(BOOTFILE_DW3_MIN) -t=$(KERNELFILE_DW3) | |
148 $(MAKDIR) $@,CMDS | |
149 $(MAKDIR) $@,SYS | |
150 $(MAKDIR) $@,DEFS | |
151 $(CP) modules/$(SYSGO) $@,sysgo | |
152 $(OS9ATTR_EXEC) $@,sysgo | |
153 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS | |
154 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
155 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS | |
156 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
157 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS | |
158 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
159 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS | |
160 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
161 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
162 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
163 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
164 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
2258 | 165 $(CPL) $(ROOTFILES_DW) $@,. |
166 $(foreach file, $(ROOTFILES_DW), $(OS9ATTR_TEXT) $@,$(file);) | |
2246 | 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 | |
2047 | 201 $(DSK360K_1): |
202 -$(RM) $@ | |
203 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1" | |
204 $(OS9GEN) $@ -b=$(BOOTFILE_40D) -t=$(KERNELFILE) | |
205 $(MAKDIR) $@,CMDS | |
206 $(MAKDIR) $@,SYS | |
207 $(MAKDIR) $@,DEFS | |
208 $(CP) modules/$(SYSGO) $@,sysgo | |
209 $(OS9ATTR_EXEC) $@,sysgo | |
210 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS | |
211 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
212 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS | |
213 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
214 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
215 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
216 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
217 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
218 $(CPL) $(ROOTFILES) $@,. | |
219 $(foreach file, $(ROOTFILES), $(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) | |
243 $(SOFTLINK) $@ $(LDSK360K_1_50HZ) | |
244 | |
245 $(DSK360K_2): | |
246 -$(RM) $@ | |
247 $(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
|
248 $(MAKDIR) $@,CMDS |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2051
diff
changeset
|
249 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2051
diff
changeset
|
250 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
2047 | 251 $(MAKDIR) $@,NITROS9 |
252 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
253 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
254 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS | |
255 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) | |
256 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES | |
257 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
258 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
259 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);) | |
260 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
261 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
262 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);) | |
263 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
264 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
265 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);) | |
266 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
267 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
268 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);) | |
269 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF | |
270 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF | |
271 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);) | |
272 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF | |
273 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF | |
274 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);) | |
275 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE | |
276 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE | |
277 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);) | |
278 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS | |
279 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
280 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
281 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
282 $(RM) $(LDSK360K_2) | |
283 $(SOFTLINK) $@ $(LDSK360K_2) | |
284 | |
285 $(DSK720K): | |
286 -$(RM) $@ | |
287 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level 2" | |
288 $(OS9GEN) $@ -b=$(BOOTFILE_80D) -t=$(KERNELFILE) | |
289 $(MAKDIR) $@,CMDS | |
290 $(MAKDIR) $@,SYS | |
291 $(MAKDIR) $@,DEFS | |
292 $(CP) modules/$(SYSGO) $@,sysgo | |
293 $(OS9ATTR_EXEC) $@,sysgo | |
294 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS | |
295 $(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
|
296 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2051
diff
changeset
|
297 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
2047 | 298 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS |
299 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
300 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
301 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
302 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
303 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
304 $(CPL) $(ROOTFILES) $@,. | |
305 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
306 $(MAKDIR) $@,NITROS9 | |
307 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
308 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
309 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS | |
310 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) | |
311 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES | |
312 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
313 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
314 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);) | |
315 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
316 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
317 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);) | |
318 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
319 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
320 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);) | |
321 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
322 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
323 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);) | |
324 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF | |
325 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF | |
326 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);) | |
327 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF | |
328 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF | |
329 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);) | |
330 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE | |
331 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE | |
332 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);) | |
333 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS | |
334 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
335 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
336 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
337 $(RM) $(LDSK720K) | |
338 $(SOFTLINK) $@ $(LDSK720K) | |
339 | |
340 $(DSK720K_50HZ): | |
341 -$(RM) $@ | |
342 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level 2" | |
343 $(OS9GEN) $@ -b=$(BOOTFILE_80D_50HZ) -t=$(KERNELFILE_50HZ) | |
344 $(MAKDIR) $@,CMDS | |
345 $(MAKDIR) $@,SYS | |
346 $(MAKDIR) $@,DEFS | |
347 $(CP) modules/$(SYSGO) $@,sysgo | |
348 $(OS9ATTR_EXEC) $@,sysgo | |
349 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS | |
350 $(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
|
351 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2051
diff
changeset
|
352 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
2047 | 353 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS |
354 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
355 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
356 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
357 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
358 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
359 $(CPL) $(ROOTFILES) $@,. | |
360 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
361 $(MAKDIR) $@,NITROS9 | |
362 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
363 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
364 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS | |
365 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) | |
366 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES | |
367 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
368 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
369 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);) | |
370 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
371 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
372 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);) | |
373 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
374 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
375 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);) | |
376 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
377 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
378 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);) | |
379 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF | |
380 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF | |
381 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);) | |
382 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF | |
383 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF | |
384 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);) | |
385 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE | |
386 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE | |
387 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);) | |
388 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS | |
389 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
390 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
391 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
392 $(RM) $(LDSK720K_50HZ) | |
393 $(SOFTLINK) $@ $(LDSK720K_50HZ) | |
394 | |
2216 | 395 info: |
396 @$(ECHO) "*** NitrOS-9/6309 Level 2 for the Tandy Color Computer 3 ***" | |
2217 | 397 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |