Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3/makefile @ 2486:1b3d766b807c
Fixed issue
author | boisy |
---|---|
date | Wed, 31 Mar 2010 02:44:16 +0000 |
parents | c907d090db02 |
children | d8a0d3f9e69d |
rev | line source |
---|---|
2047 | 1 PORT = coco3 |
2 include $(NITROS9DIR)/rules.mak | |
3 | |
4 CPU = 6809 | |
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 |
2476 | 11 BOOTFILE_DW3HEADLESS = bootfiles/bootfile_dw3_headless |
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 | |
2346
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2319
diff
changeset
|
21 CMDS = $(shell $(CD) cmds; make --no-print-directory showobjs) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2319
diff
changeset
|
22 CMDS_D2 = $(shell $(CD) cmds; make --no-print-directory showobjs_d2) |
2483 | 23 CMDS_DW = $(shell $(CD) cmds; make --no-print-directory showobjs_dw) |
2346
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2319
diff
changeset
|
24 BOOTTRACK = $(shell $(CD) modules; make --no-print-directory showboottrack) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2319
diff
changeset
|
25 KERNEL = $(shell $(CD) modules; make --no-print-directory showkernel) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2319
diff
changeset
|
26 SYSMODS = $(shell $(CD) modules; make --no-print-directory showsysmods) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2319
diff
changeset
|
27 CLOCKS = $(shell $(CD) modules; make --no-print-directory showclocks) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2319
diff
changeset
|
28 RBF = $(shell $(CD) modules; make --no-print-directory showrbf) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2319
diff
changeset
|
29 SCF = $(shell $(CD) modules; make --no-print-directory showscf) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2319
diff
changeset
|
30 PIPE = $(shell $(CD) modules; make --no-print-directory showpipe) |
2047 | 31 MODULECMDS = shell grfdrv del echo format makdir merge os9gen prompt tmode |
32 | |
2346
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2319
diff
changeset
|
33 DEFS = $(shell $(CD) defs; make --no-print-directory showobjs) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2319
diff
changeset
|
34 SYSBIN = $(shell $(CD) sys; make --no-print-directory showbinobjs) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2319
diff
changeset
|
35 SYSTEXT = $(shell $(CD) sys; make --no-print-directory showtextobjs) |
2268 | 36 STARTUP = startup |
2047 | 37 SYSGO = sysgo_dd |
38 | |
39 PACKAGENAME = $(DISTROVER).zip | |
2180 | 40 DSKDW3 = $(DISTROVER)_dw3.dsk |
41 LDSKDW3 = $(DISTRONAME)_dw3.dsk | |
2476 | 42 DSKDW3HEADLESS = $(DISTROVER)_dw3_headless.dsk |
43 LDSKDW3HEADLESS = $(DISTRONAME)_dw3_headless.dsk | |
2047 | 44 DSK360K_1 = $(DISTROVER)_40d_1.dsk |
45 LDSK360K_1 = $(DISTRONAME)_40d_1.dsk | |
46 DSK360K_1_50HZ = $(DISTROVER)_40d_1_50hz.dsk | |
47 LDSK360K_1_50HZ = $(DISTRONAME)_40d_1_50hz.dsk | |
48 DSK360K_2 = $(DISTROVER)_40d_2.dsk | |
49 LDSK360K_2 = $(DISTRONAME)_40d_2.dsk | |
50 DSK720K = $(DISTROVER)_80d.dsk | |
51 LDSK720K = $(DISTRONAME)_80d.dsk | |
52 DSK720K_50HZ = $(DISTROVER)_80d_50hz.dsk | |
53 LDSK720K_50HZ = $(DISTRONAME)_80d_50hz.dsk | |
54 TESTDSK = test.dsk | |
55 | |
2476 | 56 DSKS = $(DSKDW3) $(DSK360K_1) $(DSK360K_1_50HZ) $(DSK360K_2) $(DSK720K) $(DSK720K_50HZ) $(DSKDW3) $(DSKDW3HEADLESS) |
57 LDSKS = $(LDSKDW3) $(LDSK360K_1) $(LDSK360K_1_50HZ) $(LDSK360K_2) $(LDSK720K) $(LDSK720K_50HZ) $(LDSKDW3) $(LDSKDW3HEADLESS) | |
2047 | 58 |
59 # Make all components | |
60 all: | |
61 @$(ECHO) "**************************************************" | |
62 @$(ECHO) "* *" | |
63 @$(ECHO) "* NitrOS-9/$(CPU) Level 2 Distribution *" | |
64 @$(ECHO) "* *" | |
65 @$(ECHO) "**************************************************" | |
2485 | 66 cd $(NITROS9DIR)/lib; make |
2047 | 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 | |
2486 | 96 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS |
97 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
2180 | 98 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS |
99 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
100 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
101 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
102 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
103 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
2268 | 104 $(CPL) $(STARTUP) $@,. |
105 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);) | |
2180 | 106 $(MAKDIR) $@,NITROS9 |
107 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
108 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
109 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS | |
110 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) | |
111 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES | |
112 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
113 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
114 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);) | |
115 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
116 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
117 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);) | |
118 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
119 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
120 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);) | |
121 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
122 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
123 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);) | |
124 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF | |
125 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF | |
126 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);) | |
127 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF | |
128 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF | |
129 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);) | |
130 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE | |
131 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE | |
132 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);) | |
133 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS | |
134 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
135 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
136 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
137 $(RM) $(LDSKDW3) | |
138 $(SOFTLINK) $@ $(LDSKDW3) | |
139 | |
2476 | 140 $(DSKDW3HEADLESS): |
141 -$(RM) $@ | |
142 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2" | |
143 $(OS9GEN) $@ -b=$(BOOTFILE_DW3HEADLESS) -t=$(KERNELFILE_DW3) | |
144 $(MAKDIR) $@,CMDS | |
145 $(MAKDIR) $@,SYS | |
146 $(MAKDIR) $@,DEFS | |
147 $(CP) modules/$(SYSGO) $@,sysgo | |
148 $(OS9ATTR_EXEC) $@,sysgo | |
2486 | 149 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS |
150 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
2476 | 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 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
156 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
157 $(CPL) $(STARTUP) $@,. | |
158 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);) | |
159 $(MAKDIR) $@,NITROS9 | |
160 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
161 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
162 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS | |
163 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) | |
164 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES | |
165 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
166 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
167 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);) | |
168 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
169 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
170 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);) | |
171 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
172 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
173 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);) | |
174 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
175 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
176 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);) | |
177 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF | |
178 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF | |
179 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);) | |
180 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF | |
181 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF | |
182 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);) | |
183 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE | |
184 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE | |
185 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);) | |
186 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS | |
187 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
188 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
189 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
2480 | 190 $(RM) $(LDSKDW3HEADLESS) |
191 $(SOFTLINK) $@ $(LDSKDW3HEADLESS) | |
2476 | 192 |
2047 | 193 $(DSK360K_1): |
194 -$(RM) $@ | |
195 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1" | |
196 $(OS9GEN) $@ -b=$(BOOTFILE_40D) -t=$(KERNELFILE) | |
197 $(MAKDIR) $@,CMDS | |
198 $(MAKDIR) $@,SYS | |
199 $(MAKDIR) $@,DEFS | |
200 $(CP) modules/$(SYSGO) $@,sysgo | |
201 $(OS9ATTR_EXEC) $@,sysgo | |
202 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS | |
203 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
204 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS | |
205 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
206 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
207 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
208 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
209 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
2268 | 210 $(CPL) $(STARTUP) $@,. |
211 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);) | |
2047 | 212 $(RM) $(LDSK360K_1) |
213 $(SOFTLINK) $@ $(LDSK360K_1) | |
214 | |
215 $(DSK360K_1_50HZ): | |
216 -$(RM) $@ | |
217 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1" | |
218 $(OS9GEN) $@ -b=$(BOOTFILE_40D_50HZ) -t=$(KERNELFILE_50HZ) | |
219 $(MAKDIR) $@,CMDS | |
220 $(MAKDIR) $@,SYS | |
221 $(MAKDIR) $@,DEFS | |
222 $(CP) modules/$(SYSGO) $@,sysgo | |
223 $(OS9ATTR_EXEC) $@,sysgo | |
224 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS | |
225 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
226 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS | |
227 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
228 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
229 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
230 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
231 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
2268 | 232 $(CPL) $(STARTUP) $@,. |
233 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);) | |
2047 | 234 $(RM) $(LDSK360K_1_50HZ) |
235 $(SOFTLINK) $@ $(LDSK360K_1_50HZ) | |
236 | |
237 $(DSK360K_2): | |
238 -$(RM) $@ | |
239 $(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:
2047
diff
changeset
|
240 $(MAKDIR) $@,CMDS |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2047
diff
changeset
|
241 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2047
diff
changeset
|
242 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
2047 | 243 $(MAKDIR) $@,NITROS9 |
244 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
245 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
246 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS | |
247 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) | |
248 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES | |
249 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
250 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
251 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);) | |
252 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
253 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
254 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);) | |
255 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
256 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
257 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);) | |
258 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
259 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
260 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);) | |
261 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF | |
262 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF | |
263 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);) | |
264 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF | |
265 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF | |
266 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);) | |
267 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE | |
268 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE | |
269 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);) | |
270 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS | |
271 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
272 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
273 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
274 $(RM) $(LDSK360K_2) | |
275 $(SOFTLINK) $@ $(LDSK360K_2) | |
276 | |
277 $(DSK720K): | |
278 -$(RM) $@ | |
279 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level 2" | |
280 $(OS9GEN) $@ -b=$(BOOTFILE_80D) -t=$(KERNELFILE) | |
281 $(MAKDIR) $@,CMDS | |
282 $(MAKDIR) $@,SYS | |
283 $(MAKDIR) $@,DEFS | |
284 $(CP) modules/$(SYSGO) $@,sysgo | |
285 $(OS9ATTR_EXEC) $@,sysgo | |
286 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS | |
287 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2047
diff
changeset
|
288 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2047
diff
changeset
|
289 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
2047 | 290 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS |
291 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
292 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
293 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
294 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
295 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
2268 | 296 $(CPL) $(STARTUP) $@,. |
297 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);) | |
2047 | 298 $(MAKDIR) $@,NITROS9 |
299 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
300 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
301 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS | |
302 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) | |
303 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES | |
304 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
305 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
306 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);) | |
307 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
308 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
309 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);) | |
310 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
311 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
312 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);) | |
313 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
314 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
315 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);) | |
316 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF | |
317 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF | |
318 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);) | |
319 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF | |
320 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF | |
321 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);) | |
322 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE | |
323 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE | |
324 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);) | |
325 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS | |
326 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
327 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
328 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
329 $(RM) $(LDSK720K) | |
330 $(SOFTLINK) $@ $(LDSK720K) | |
331 | |
332 $(DSK720K_50HZ): | |
333 -$(RM) $@ | |
334 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level 2" | |
335 $(OS9GEN) $@ -b=$(BOOTFILE_80D_50HZ) -t=$(KERNELFILE_50HZ) | |
336 $(MAKDIR) $@,CMDS | |
337 $(MAKDIR) $@,SYS | |
338 $(MAKDIR) $@,DEFS | |
339 $(CP) modules/$(SYSGO) $@,sysgo | |
340 $(OS9ATTR_EXEC) $@,sysgo | |
341 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS | |
342 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2047
diff
changeset
|
343 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2047
diff
changeset
|
344 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
2047 | 345 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS |
346 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
347 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS | |
348 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
349 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
350 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
2268 | 351 $(CPL) $(STARTUP) $@,. |
352 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);) | |
2047 | 353 $(MAKDIR) $@,NITROS9 |
354 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
355 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
356 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS | |
357 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) | |
358 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES | |
359 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
360 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
361 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);) | |
362 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
363 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL | |
364 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);) | |
365 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
366 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS | |
367 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);) | |
368 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
369 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS | |
370 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);) | |
371 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF | |
372 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF | |
373 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);) | |
374 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF | |
375 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF | |
376 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);) | |
377 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE | |
378 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE | |
379 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);) | |
380 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS | |
381 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
382 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
383 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
384 $(RM) $(LDSK720K_50HZ) | |
385 $(SOFTLINK) $@ $(LDSK720K_50HZ) | |
386 | |
2216 | 387 info: |
2476 | 388 @$(ECHO) "*** NitrOS-9/$(CPU) Level 2 for the Tandy Color Computer 3 ***" |
2217 | 389 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |