annotate level2/coco3_6309/makefile @ 2047:ed46fc161cc3

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