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