comparison level1/coco1/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 f3610f5c7de8
children 31989b6c2b3c
comparison
equal deleted inserted replaced
2723:22bdfbe8bc68 2724:05b648103e78
14 DISTRONAME = nos9$(CPU)l$(LEVEL) 14 DISTRONAME = nos9$(CPU)l$(LEVEL)
15 DISTROVER = $(DISTRONAME)$(NITROS9VER)$(PORT) 15 DISTROVER = $(DISTRONAME)$(NITROS9VER)$(PORT)
16 BOOTFILE_COVDG = bootfiles/bootfile_covdg 16 BOOTFILE_COVDG = bootfiles/bootfile_covdg
17 BOOTFILE_COHR = bootfiles/bootfile_cohr 17 BOOTFILE_COHR = bootfiles/bootfile_cohr
18 BOOTFILE_COVDG_DS80 = bootfiles/bootfile_covdg_ds80 18 BOOTFILE_COVDG_DS80 = bootfiles/bootfile_covdg_ds80
19 BOOTFILE_HEADLESS_DW3 = bootfiles/bootfile_headless_dw3 19 BOOTFILE_HEADLESS_DW = bootfiles/bootfile_headless_dw
20 BOOTFILE_COVDG_DW3 = bootfiles/bootfile_covdg_dw3 20 BOOTFILE_COVDG_DW = bootfiles/bootfile_covdg_dw
21 BOOTFILE_COHR_DS80 = bootfiles/bootfile_cohr_ds80 21 BOOTFILE_COHR_DS80 = bootfiles/bootfile_cohr_ds80
22 BOOTFILE_COHR_DW3 = bootfiles/bootfile_cohr_dw3 22 BOOTFILE_COHR_DW = bootfiles/bootfile_cohr_dw
23 KERNELFILE = bootfiles/kernel_1773 23 KERNELFILE = bootfiles/kernel_1773
24 KERNELFILE_DW3 = bootfiles/kernel_dw3 24 KERNELFILE_DW = bootfiles/kernel_dw
25 DIRS = cmds modules defs sys bootfiles bootroms 25 DIRS = cmds modules defs sys bootfiles bootroms
26 26
27 27
28 CMDS = $(shell $(CD) cmds; make --no-print-directory showobjs) 28 CMDS = $(shell $(CD) cmds; make --no-print-directory showobjs)
29 CMDS_D2 = $(shell $(CD) cmds; make --no-print-directory showobjs_d2) 29 CMDS_D2 = $(shell $(CD) cmds; make --no-print-directory showobjs_d2)
41 DEFS = $(shell $(CD) defs; make --no-print-directory showobjs) 41 DEFS = $(shell $(CD) defs; make --no-print-directory showobjs)
42 STARTUP = startup 42 STARTUP = startup
43 STARTUP_DW = startup.dw 43 STARTUP_DW = startup.dw
44 44
45 PACKAGENAME = $(DISTROVER).zip 45 PACKAGENAME = $(DISTROVER).zip
46 DSKDW3 = $(DISTROVER)_dw3.dsk 46 DSKDW = $(DISTROVER)_dw.dsk
47 LDSKDW3 = $(DISTRONAME)$(PORT)_dw3.dsk 47 LDSKDW = $(DISTRONAME)$(PORT)_dw.dsk
48 DSKDW3HEADLESS = $(DISTROVER)_dw3_headless.dsk 48 DSKDWHEADLESS = $(DISTROVER)_dw_headless.dsk
49 LDSKDW3HEADLESS = $(DISTRONAME)$(PORT)_dw3_headless.dsk 49 LDSKDWHEADLESS = $(DISTRONAME)$(PORT)_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_2 = $(DISTROVER)_40d_2.dsk 52 DSK360K_2 = $(DISTROVER)_40d_2.dsk
53 LDSK360K_2 = $(DISTRONAME)_40d_2.dsk 53 LDSK360K_2 = $(DISTRONAME)_40d_2.dsk
54 DSK720K = $(DISTROVER)_80d.dsk 54 DSK720K = $(DISTROVER)_80d.dsk
55 LDSK720K = $(DISTRONAME)_80d.dsk 55 LDSK720K = $(DISTRONAME)_80d.dsk
56 56
57 57
58 DSKS = $(DSKDW3) $(DSKDW3HEADLESS) $(DSK360K_1) $(DSK360K_2) $(DSK720K) 58 DSKS = $(DSKDW) $(DSKDWHEADLESS) $(DSK360K_1) $(DSK360K_2) $(DSK720K)
59 LDSKS = $(LDSKDW3) $(LDSKDW3HEADLESS) $(LDSK360K_1) $(LDSK360K_2) $(LDSK720K) 59 LDSKS = $(LDSKDW) $(LDSKDWHEADLESS) $(LDSK360K_1) $(LDSK360K_2) $(LDSK720K)
60 60
61 # Make all components 61 # Make all components
62 all: 62 all:
63 @$(ECHO) "**************************************************" 63 @$(ECHO) "**************************************************"
64 @$(ECHO) "* *" 64 @$(ECHO) "* *"
83 scp $(PACKAGENAME) boisy@cvs.nitros9.org:/home/nitros9/public_html 83 scp $(PACKAGENAME) boisy@cvs.nitros9.org:/home/nitros9/public_html
84 84
85 $(PACKAGENAME): $(DSKS) ../../ReadMe ../../ChangeLog 85 $(PACKAGENAME): $(DSKS) ../../ReadMe ../../ChangeLog
86 $(ARCHIVE) $@ $^ 86 $(ARCHIVE) $@ $^
87 87
88 $(DSKDW3): 88 $(DSKDW):
89 $(RM) $@ 89 $(RM) $@
90 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 1" 90 $(OS9FORMAT_DW) -q $@ -n"NitrOS-9/$(CPU) Level 1"
91 $(OS9GEN) $@ -b=$(BOOTFILE_COVDG_DW3) -t=$(KERNELFILE_DW3) 91 $(OS9GEN) $@ -b=$(BOOTFILE_COVDG_DW) -t=$(KERNELFILE_DW)
92 $(MAKDIR) $@,CMDS 92 $(MAKDIR) $@,CMDS
93 $(MAKDIR) $@,SYS 93 $(MAKDIR) $@,SYS
94 $(MAKDIR) $@,DEFS 94 $(MAKDIR) $@,DEFS
95 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS 95 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS
96 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);) 96 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
133 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);) 133 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);)
134 $(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS 134 $(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS
135 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS 135 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS
136 $(MAKDIR) $@,NITROS9/6809L1/SCRIPTS 136 $(MAKDIR) $@,NITROS9/6809L1/SCRIPTS
137 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS 137 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS
138 $(RM) $(LDSKDW3) 138 $(RM) $(LDSKDW)
139 $(SOFTLINK) $@ $(LDSKDW3) 139 $(SOFTLINK) $@ $(LDSKDW)
140 140
141 $(DSKDW3HEADLESS): 141 $(DSKDWHEADLESS):
142 $(RM) $@ 142 $(RM) $@
143 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 1" 143 $(OS9FORMAT_DW) -q $@ -n"NitrOS-9/$(CPU) Level 1"
144 $(OS9GEN) $@ -b=$(BOOTFILE_HEADLESS_DW3) -t=$(KERNELFILE_DW3) 144 $(OS9GEN) $@ -b=$(BOOTFILE_HEADLESS_DW) -t=$(KERNELFILE_DW)
145 $(MAKDIR) $@,CMDS 145 $(MAKDIR) $@,CMDS
146 $(MAKDIR) $@,SYS 146 $(MAKDIR) $@,SYS
147 $(MAKDIR) $@,DEFS 147 $(MAKDIR) $@,DEFS
148 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS 148 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS
149 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);) 149 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
186 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);) 186 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);)
187 $(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS 187 $(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS
188 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS 188 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS
189 $(MAKDIR) $@,NITROS9/6809L1/SCRIPTS 189 $(MAKDIR) $@,NITROS9/6809L1/SCRIPTS
190 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS 190 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS
191 $(RM) $(LDSKDW3) 191 $(RM) $(LDSKDW)
192 $(SOFTLINK) $@ $(LDSKDW3) 192 $(SOFTLINK) $@ $(LDSKDW)
193 193
194 $(DSK360K_1): 194 $(DSK360K_1):
195 $(RM) $@ 195 $(RM) $@
196 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/6809 Level 1 Disk 1" 196 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/6809 Level 1 Disk 1"
197 $(OS9GEN) $@ -b=$(BOOTFILE_COVDG) -t=$(KERNELFILE) 197 $(OS9GEN) $@ -b=$(BOOTFILE_COVDG) -t=$(KERNELFILE)