comparison level2/coco3/makefile @ 2724:05b648103e78 lwtools-port

Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
author Boisy Pitre <boisy.pitre@nuance.com>
date Mon, 30 Jul 2012 19:35:05 -0500
parents 751d66d618c3
children bfe3de781ddf
comparison
equal deleted inserted replaced
2723:22bdfbe8bc68 2724:05b648103e78
8 8
9 DISTRO = $(CPU)L$(LEVEL) 9 DISTRO = $(CPU)L$(LEVEL)
10 DISTRONAME = nos9$(CPU)l$(LEVEL) 10 DISTRONAME = nos9$(CPU)l$(LEVEL)
11 DISTROVER = $(DISTRONAME)$(NITROS9VER)$(PORT) 11 DISTROVER = $(DISTRONAME)$(NITROS9VER)$(PORT)
12 BOOTFILE_BECKER = bootfiles/bootfile_becker 12 BOOTFILE_BECKER = bootfiles/bootfile_becker
13 BOOTFILE_DW3 = bootfiles/bootfile_dw3 13 BOOTFILE_DW = bootfiles/bootfile_dw
14 BOOTFILE_DW3HEADLESS = bootfiles/bootfile_dw3_headless 14 BOOTFILE_DWHEADLESS = bootfiles/bootfile_dw_headless
15 BOOTFILE_40D = bootfiles/bootfile_40d 15 BOOTFILE_40D = bootfiles/bootfile_40d
16 BOOTFILE_80D = bootfiles/bootfile_80d 16 BOOTFILE_80D = bootfiles/bootfile_80d
17 BOOTFILE_40D_50HZ = bootfiles/bootfile_40d_50hz 17 BOOTFILE_40D_50HZ = bootfiles/bootfile_40d_50hz
18 BOOTFILE_80D_50HZ = bootfiles/bootfile_80d_50hz 18 BOOTFILE_80D_50HZ = bootfiles/bootfile_80d_50hz
19 KERNELFILE_BECKER = bootfiles/kernel_becker 19 KERNELFILE_BECKER = bootfiles/kernel_becker
20 KERNELFILE = bootfiles/kernel_1773 20 KERNELFILE = bootfiles/kernel_1773
21 KERNELFILE_50HZ = bootfiles/kernel_1773_50hz 21 KERNELFILE_50HZ = bootfiles/kernel_1773_50hz
22 KERNELFILE_DW3 = bootfiles/kernel_dw3 22 KERNELFILE_DW = bootfiles/kernel_dw
23 DIRS = cmds modules defs sys bootfiles 23 DIRS = cmds modules defs sys bootfiles
24 24
25 CMDS = $(shell $(CD) cmds; make --no-print-directory showobjs) 25 CMDS = $(shell $(CD) cmds; make --no-print-directory showobjs)
26 CMDS_D2 = $(shell $(CD) cmds; make --no-print-directory showobjs_d2) 26 CMDS_D2 = $(shell $(CD) cmds; make --no-print-directory showobjs_d2)
27 CMDS_DW = $(shell $(CD) cmds; make --no-print-directory showobjs_dw) 27 CMDS_DW = $(shell $(CD) cmds; make --no-print-directory showobjs_dw)
41 STARTUP_DW = startup.dw 41 STARTUP_DW = startup.dw
42 SYSGO = sysgo_dd 42 SYSGO = sysgo_dd
43 CCBKRN = ccbkrn 43 CCBKRN = ccbkrn
44 44
45 PACKAGENAME = $(DISTROVER).zip 45 PACKAGENAME = $(DISTROVER).zip
46 DSKDW3 = $(DISTROVER)_dw3.dsk 46 DSKDW = $(DISTROVER)_dw.dsk
47 LDSKDW3 = $(DISTRONAME)_dw3.dsk 47 LDSKDW = $(DISTRONAME)_dw.dsk
48 DSKDW3HEADLESS = $(DISTROVER)_dw3_headless.dsk 48 DSKDWHEADLESS = $(DISTROVER)_dw_headless.dsk
49 LDSKDW3HEADLESS = $(DISTRONAME)_dw3_headless.dsk 49 LDSKDWHEADLESS = $(DISTRONAME)_dw_headless.dsk
50 DSK360K_1 = $(DISTROVER)_40d_1.dsk 50 DSK360K_1 = $(DISTROVER)_40d_1.dsk
51 LDSK360K_1 = $(DISTRONAME)_40d_1.dsk 51 LDSK360K_1 = $(DISTRONAME)_40d_1.dsk
52 DSK360K_1_50HZ = $(DISTROVER)_40d_1_50hz.dsk 52 DSK360K_1_50HZ = $(DISTROVER)_40d_1_50hz.dsk
53 LDSK360K_1_50HZ = $(DISTRONAME)_40d_1_50hz.dsk 53 LDSK360K_1_50HZ = $(DISTRONAME)_40d_1_50hz.dsk
54 DSKBECKER = $(DISTROVER)_becker.dsk 54 DSKBECKER = $(DISTROVER)_becker.dsk
59 DSK720K_50HZ = $(DISTROVER)_80d_50hz.dsk 59 DSK720K_50HZ = $(DISTROVER)_80d_50hz.dsk
60 LDSK720K_50HZ = $(DISTRONAME)_80d_50hz.dsk 60 LDSK720K_50HZ = $(DISTRONAME)_80d_50hz.dsk
61 LDSKBECKER = $(DISTRONAME)_80d_becker.dsk 61 LDSKBECKER = $(DISTRONAME)_80d_becker.dsk
62 TESTDSK = test.dsk 62 TESTDSK = test.dsk
63 63
64 DSKS = $(DSKDW3) $(DSK360K_1) $(DSK360K_1_50HZ) $(DSK360K_2) $(DSK720K) $(DSK720K_50HZ) $(DSKDW3) $(DSKDW3HEADLESS) $(DSKBECKER) 64 DSKS = $(DSKDW) $(DSK360K_1) $(DSK360K_1_50HZ) $(DSK360K_2) $(DSK720K) $(DSK720K_50HZ) $(DSKDW) $(DSKDWHEADLESS) $(DSKBECKER)
65 LDSKS = $(LDSKDW3) $(LDSK360K_1) $(LDSK360K_1_50HZ) $(LDSK360K_2) $(LDSK720K) $(LDSK720K_50HZ) $(LDSKDW3) $(LDSKDW3HEADLESS) $(LDSKBECKER) 65 LDSKS = $(LDSKDW) $(LDSK360K_1) $(LDSK360K_1_50HZ) $(LDSK360K_2) $(LDSK720K) $(LDSK720K_50HZ) $(LDSKDW) $(LDSKDWHEADLESS) $(LDSKBECKER)
66 66
67 # Make all components 67 # Make all components
68 all: 68 all:
69 @$(ECHO) "**************************************************" 69 @$(ECHO) "**************************************************"
70 @$(ECHO) "* *" 70 @$(ECHO) "* *"
92 $(PACKAGENAME): $(DSKS) ../../ReadMe ../../ChangeLog 92 $(PACKAGENAME): $(DSKS) ../../ReadMe ../../ChangeLog
93 $(ARCHIVE) $@ $^ 93 $(ARCHIVE) $@ $^
94 94
95 $(DSKBECKER): 95 $(DSKBECKER):
96 -$(RM) $@ 96 -$(RM) $@
97 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2" 97 $(OS9FORMAT_DW) -q $@ -n"NitrOS-9/$(CPU) Level 2"
98 $(OS9GEN) $@ -b=$(BOOTFILE_BECKER) -t=$(KERNELFILE_BECKER) 98 $(OS9GEN) $@ -b=$(BOOTFILE_BECKER) -t=$(KERNELFILE_BECKER)
99 $(MAKDIR) $@,CMDS 99 $(MAKDIR) $@,CMDS
100 $(MAKDIR) $@,SYS 100 $(MAKDIR) $@,SYS
101 $(MAKDIR) $@,DEFS 101 $(MAKDIR) $@,DEFS
102 $(CP) modules/$(CCBKRN) $@,$(CCBKRN) 102 $(CP) modules/$(CCBKRN) $@,$(CCBKRN)
144 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS 144 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
145 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS 145 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
146 $(RM) $(LDSKBECKER) 146 $(RM) $(LDSKBECKER)
147 $(SOFTLINK) $@ $(LDSKBECKER) 147 $(SOFTLINK) $@ $(LDSKBECKER)
148 148
149 $(DSKDW3): 149 $(DSKDW):
150 -$(RM) $@ 150 -$(RM) $@
151 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2" 151 $(OS9FORMAT_DW) -q $@ -n"NitrOS-9/$(CPU) Level 2"
152 $(OS9GEN) $@ -b=$(BOOTFILE_DW3) -t=$(KERNELFILE_DW3) 152 $(OS9GEN) $@ -b=$(BOOTFILE_DW) -t=$(KERNELFILE_DW)
153 $(MAKDIR) $@,CMDS 153 $(MAKDIR) $@,CMDS
154 $(MAKDIR) $@,SYS 154 $(MAKDIR) $@,SYS
155 $(MAKDIR) $@,DEFS 155 $(MAKDIR) $@,DEFS
156 $(CP) modules/$(CCBKRN) $@,$(CCBKRN) 156 $(CP) modules/$(CCBKRN) $@,$(CCBKRN)
157 $(CP) modules/$(SYSGO) $@,sysgo 157 $(CP) modules/$(SYSGO) $@,sysgo
195 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);) 195 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
196 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS 196 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
197 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS 197 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
198 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS 198 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
199 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS 199 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
200 $(RM) $(LDSKDW3) 200 $(RM) $(LDSKDW)
201 $(SOFTLINK) $@ $(LDSKDW3) 201 $(SOFTLINK) $@ $(LDSKDW)
202 202
203 $(DSKDW3HEADLESS): 203 $(DSKDWHEADLESS):
204 -$(RM) $@ 204 -$(RM) $@
205 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2" 205 $(OS9FORMAT_DW) -q $@ -n"NitrOS-9/$(CPU) Level 2"
206 $(OS9GEN) $@ -b=$(BOOTFILE_DW3HEADLESS) -t=$(KERNELFILE_DW3) 206 $(OS9GEN) $@ -b=$(BOOTFILE_DWHEADLESS) -t=$(KERNELFILE_DW)
207 $(MAKDIR) $@,CMDS 207 $(MAKDIR) $@,CMDS
208 $(MAKDIR) $@,SYS 208 $(MAKDIR) $@,SYS
209 $(MAKDIR) $@,DEFS 209 $(MAKDIR) $@,DEFS
210 $(CP) modules/$(CCBKRN) $@,$(CCBKRN) 210 $(CP) modules/$(CCBKRN) $@,$(CCBKRN)
211 $(CP) modules/$(SYSGO) $@,sysgo 211 $(CP) modules/$(SYSGO) $@,sysgo
249 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);) 249 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
250 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS 250 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
251 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS 251 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
252 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS 252 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
253 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS 253 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
254 $(RM) $(LDSKDW3HEADLESS) 254 $(RM) $(LDSKDWHEADLESS)
255 $(SOFTLINK) $@ $(LDSKDW3HEADLESS) 255 $(SOFTLINK) $@ $(LDSKDWHEADLESS)
256 256
257 $(DSK360K_1): 257 $(DSK360K_1):
258 -$(RM) $@ 258 -$(RM) $@
259 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1" 259 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1"
260 $(OS9GEN) $@ -b=$(BOOTFILE_40D) -t=$(KERNELFILE) 260 $(OS9GEN) $@ -b=$(BOOTFILE_40D) -t=$(KERNELFILE)