comparison level2/coco3_6309/makefile @ 2105:d5824ed9c767

Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
author boisy
date Fri, 29 Sep 2006 16:16:25 +0000
parents a45c8cabc60e
children bf7f2d8ee14a
comparison
equal deleted inserted replaced
2104:40b483145984 2105:d5824ed9c767
14 KERNELFILE = bootfiles/kernel_1773 14 KERNELFILE = bootfiles/kernel_1773
15 KERNELFILE_50HZ = bootfiles/kernel_1773_50hz 15 KERNELFILE_50HZ = bootfiles/kernel_1773_50hz
16 DIRS = cmds modules defs sys bootfiles 16 DIRS = cmds modules defs sys bootfiles
17 17
18 CMDS = $(shell $(CD) cmds; make showobjs) 18 CMDS = $(shell $(CD) cmds; make showobjs)
19 CMDS_D2 = $(shell $(CD) cmds; make showobjs_d2)
19 BOOTTRACK = $(shell $(CD) modules; make showboottrack) 20 BOOTTRACK = $(shell $(CD) modules; make showboottrack)
20 KERNEL = $(shell $(CD) modules; make showkernel) 21 KERNEL = $(shell $(CD) modules; make showkernel)
21 SYSMODS = $(shell $(CD) modules; make showsysmods) 22 SYSMODS = $(shell $(CD) modules; make showsysmods)
22 CLOCKS = $(shell $(CD) modules; make showclocks) 23 CLOCKS = $(shell $(CD) modules; make showclocks)
23 RBF = $(shell $(CD) modules; make showrbf) 24 RBF = $(shell $(CD) modules; make showrbf)
119 $(SOFTLINK) $@ $(LDSK360K_1_50HZ) 120 $(SOFTLINK) $@ $(LDSK360K_1_50HZ)
120 121
121 $(DSK360K_2): 122 $(DSK360K_2):
122 -$(RM) $@ 123 -$(RM) $@
123 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 2" 124 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 2"
125 $(MAKDIR) $@,CMDS
126 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
127 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
124 $(MAKDIR) $@,NITROS9 128 $(MAKDIR) $@,NITROS9
125 $(MAKDIR) $@,NITROS9/$(DISTRO) 129 $(MAKDIR) $@,NITROS9/$(DISTRO)
126 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS 130 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
127 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS 131 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
128 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);) 132 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
164 $(MAKDIR) $@,DEFS 168 $(MAKDIR) $@,DEFS
165 $(CP) modules/$(SYSGO) $@,sysgo 169 $(CP) modules/$(SYSGO) $@,sysgo
166 $(OS9ATTR_EXEC) $@,sysgo 170 $(OS9ATTR_EXEC) $@,sysgo
167 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS 171 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
168 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) 172 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
173 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
174 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
169 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS 175 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
170 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) 176 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
171 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS 177 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
172 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) 178 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
173 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS 179 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
217 $(MAKDIR) $@,DEFS 223 $(MAKDIR) $@,DEFS
218 $(CP) modules/$(SYSGO) $@,sysgo 224 $(CP) modules/$(SYSGO) $@,sysgo
219 $(OS9ATTR_EXEC) $@,sysgo 225 $(OS9ATTR_EXEC) $@,sysgo
220 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS 226 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
221 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) 227 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
228 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
229 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
222 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS 230 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
223 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) 231 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
224 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS 232 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
225 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) 233 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
226 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS 234 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS