annotate level2/coco3/makefile @ 2174:432af5bf1780

Updated
author boisy
date Tue, 03 Jun 2008 21:36:06 +0000
parents 7559f3a3a123
children 660cc987e18d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
1 PORT = coco3
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
2 include $(NITROS9DIR)/rules.mak
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
3
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
4 CPU = 6809
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
5 LEVEL = 2
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
6
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
7 DISTRO = $(CPU)L$(LEVEL)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
8 DISTRONAME = nos9$(CPU)l$(LEVEL)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
9 DISTROVER = $(DISTRONAME)$(NITROS9VER)$(PORT)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
10 BOOTFILE_40D = bootfiles/bootfile_40d
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
11 BOOTFILE_80D = bootfiles/bootfile_80d
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
12 BOOTFILE_40D_50HZ = bootfiles/bootfile_40d_50hz
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
13 BOOTFILE_80D_50HZ = bootfiles/bootfile_80d_50hz
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
14 KERNELFILE = bootfiles/kernel_1773
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
15 KERNELFILE_50HZ = bootfiles/kernel_1773_50hz
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
16 DIRS = cmds modules defs sys bootfiles
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
17
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
18 CMDS = $(shell $(CD) cmds; make showobjs)
2105
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2047
diff changeset
19 CMDS_D2 = $(shell $(CD) cmds; make showobjs_d2)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
20 BOOTTRACK = $(shell $(CD) modules; make showboottrack)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
21 KERNEL = $(shell $(CD) modules; make showkernel)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
22 SYSMODS = $(shell $(CD) modules; make showsysmods)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
23 CLOCKS = $(shell $(CD) modules; make showclocks)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
24 RBF = $(shell $(CD) modules; make showrbf)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
25 SCF = $(shell $(CD) modules; make showscf)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
26 PIPE = $(shell $(CD) modules; make showpipe)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
27 MODULECMDS = shell grfdrv del echo format makdir merge os9gen prompt tmode
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
28
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
29 DEFS = $(shell $(CD) defs; make showobjs)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
30 SYSBIN = $(shell $(CD) sys; make showbinobjs)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
31 SYSTEXT = $(shell $(CD) sys; make showtextobjs)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
32 ROOTFILES = startup
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
33 SYSGO = sysgo_dd
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
34
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
35 PACKAGENAME = $(DISTROVER).zip
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
36 DSK360K_1 = $(DISTROVER)_40d_1.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
37 LDSK360K_1 = $(DISTRONAME)_40d_1.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
38 DSK360K_1_50HZ = $(DISTROVER)_40d_1_50hz.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
39 LDSK360K_1_50HZ = $(DISTRONAME)_40d_1_50hz.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
40 DSK360K_2 = $(DISTROVER)_40d_2.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
41 LDSK360K_2 = $(DISTRONAME)_40d_2.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
42 DSK720K = $(DISTROVER)_80d.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
43 LDSK720K = $(DISTRONAME)_80d.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
44 DSK720K_50HZ = $(DISTROVER)_80d_50hz.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
45 LDSK720K_50HZ = $(DISTRONAME)_80d_50hz.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
46 TESTDSK = test.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
47
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
48
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
49 # Make all components
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
50 all:
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
51 @$(ECHO) "**************************************************"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
52 @$(ECHO) "* *"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
53 @$(ECHO) "* NitrOS-9/$(CPU) Level 2 Distribution *"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
54 @$(ECHO) "* *"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
55 @$(ECHO) "**************************************************"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
56 $(foreach dir, $(DIRS), ($(CD) $(dir); make);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
57
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
58 # Clean all components
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
59 clean: dskclean
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
60 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
61
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
62 dskclean:
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
63 -$(RM) $(PACKAGENAME) $(DSK360K_1) $(LDSK360K_1) $(DSK360K_1_50HZ) \
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
64 $(LDSK360K_1_50HZ) $(DSK360K_2) $(LDSK360K_2) $(DSK720K) \
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
65 $(LDSK720K) $(DSK720K_50HZ) $(LDSK720K_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
66
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
67 dsk: all $(PACKAGENAME)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
68
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
69 dskcopy: dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
70 $(CP) $(DSK360K_1) $(DSK360K_1_50HZ) $(DSK360K_2) $(DSK720K) $(DSK720K_50HZ) $(PACKAGENAME) $(DSKDIR)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
71
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
72 scp: dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
73 scp $(PACKAGENAME) boisy@cvs.nitros9.org:/home/nitros9/public_html
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
74
2156
7559f3a3a123 Moved ReadMe
boisy
parents: 2154
diff changeset
75 $(PACKAGENAME): $(DSK360K_1) $(DSK360K_1_50HZ) $(DSK360K_2) $(DSK720K) $(DSK720K_50HZ) ../../ReadMe ../../ChangeLog
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
76 $(ARCHIVE) $@ $^
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
77
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
78 $(DSK360K_1):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
79 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
80 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
81 $(OS9GEN) $@ -b=$(BOOTFILE_40D) -t=$(KERNELFILE)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
82 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
83 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
84 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
85 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
86 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
87 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
88 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
89 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
90 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
91 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
92 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
93 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
94 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
95 $(CPL) $(ROOTFILES) $@,.
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
96 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
97 $(RM) $(LDSK360K_1)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
98 $(SOFTLINK) $@ $(LDSK360K_1)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
99
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
100 $(DSK360K_1_50HZ):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
101 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
102 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
103 $(OS9GEN) $@ -b=$(BOOTFILE_40D_50HZ) -t=$(KERNELFILE_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
104 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
105 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
106 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
107 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
108 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
109 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
110 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
111 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
112 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
113 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
114 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
115 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
116 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
117 $(CPL) $(ROOTFILES) $@,.
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
118 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
119 $(RM) $(LDSK360K_1_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
120 $(SOFTLINK) $@ $(LDSK360K_1_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
121
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
122 $(DSK360K_2):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
123 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
124 $(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
125 $(MAKDIR) $@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2047
diff changeset
126 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2047
diff changeset
127 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
128 $(MAKDIR) $@,NITROS9
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
129 $(MAKDIR) $@,NITROS9/$(DISTRO)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
130 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
131 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
132 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
133 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
134 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
135 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
136 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
137 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
138 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
139 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
140 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
141 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
142 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
143 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
144 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
145 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
146 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
147 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
148 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
149 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
150 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
151 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
152 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
153 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
154 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
155 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
156 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
157 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
158 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
159 $(RM) $(LDSK360K_2)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
160 $(SOFTLINK) $@ $(LDSK360K_2)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
161
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
162 $(DSK720K):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
163 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
164 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level 2"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
165 $(OS9GEN) $@ -b=$(BOOTFILE_80D) -t=$(KERNELFILE)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
166 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
167 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
168 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
169 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
170 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
171 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
172 $(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
173 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2047
diff changeset
174 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
175 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
176 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
177 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
178 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
179 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
180 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
181 $(CPL) $(ROOTFILES) $@,.
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
182 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
183 $(MAKDIR) $@,NITROS9
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
184 $(MAKDIR) $@,NITROS9/$(DISTRO)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
185 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
186 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
187 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
188 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
189 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
190 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
191 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
192 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
193 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
194 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
195 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
196 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
197 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
198 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
199 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
200 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
201 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
202 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
203 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
204 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
205 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
206 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
207 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
208 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
209 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
210 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
211 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
212 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
213 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
214 $(RM) $(LDSK720K)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
215 $(SOFTLINK) $@ $(LDSK720K)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
216
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
217 $(DSK720K_50HZ):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
218 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
219 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level 2"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
220 $(OS9GEN) $@ -b=$(BOOTFILE_80D_50HZ) -t=$(KERNELFILE_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
221 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
222 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
223 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
224 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
225 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
226 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
227 $(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
228 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2047
diff changeset
229 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
230 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
231 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
232 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
233 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
234 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
235 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
236 $(CPL) $(ROOTFILES) $@,.
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
237 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
238 $(MAKDIR) $@,NITROS9
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
239 $(MAKDIR) $@,NITROS9/$(DISTRO)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
240 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
241 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
242 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
243 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
244 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
245 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
246 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
247 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
248 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
249 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
250 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
251 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
252 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
253 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
254 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
255 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
256 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
257 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
258 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
259 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
260 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
261 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
262 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
263 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
264 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
265 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
266 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
267 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
268 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
269 $(RM) $(LDSK720K_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
270 $(SOFTLINK) $@ $(LDSK720K_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
271