Mercurial > hg > Members > kono > nitros9-code
annotate level3/coco3/makefile @ 2941:4446149f7ea9
rb1773: Support 6309 on level 1 as well
author | Robert Gault <robert.gault@att.net> |
---|---|
date | Sat, 25 Jan 2014 23:22:30 +0100 |
parents | 56f26b87fa8a |
children | 8e1891c6cc4a |
rev | line source |
---|---|
2349 | 1 PORT = coco3 |
2916
56f26b87fa8a
Make level3 buildable again
Tormod Volden <debian.tormod@gmail.com>
parents:
2913
diff
changeset
|
2 MACHINE = Tandy Color Computer 3 |
2349 | 3 include $(NITROS9DIR)/rules.mak |
4 | |
5 CPU = 6809 | |
6 LEVEL = 3 | |
7 | |
8 DISTRO = $(CPU)L$(LEVEL) | |
9 DISTRONAME = nos9$(CPU)l$(LEVEL) | |
10 DISTROVER = $(DISTRONAME)$(NITROS9VER)$(PORT) | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
11 BOOTFILE_DW = bootfiles/bootfile_dw |
2349 | 12 BOOTFILE_40D = bootfiles/bootfile_40d |
13 BOOTFILE_80D = bootfiles/bootfile_80d | |
14 BOOTFILE_40D_50HZ = bootfiles/bootfile_40d_50hz | |
15 BOOTFILE_80D_50HZ = bootfiles/bootfile_80d_50hz | |
16 KERNELFILE = bootfiles/kernel_1773 | |
17 KERNELFILE_50HZ = bootfiles/kernel_1773_50hz | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
18 KERNELFILE_DW = bootfiles/kernel_dw |
2349 | 19 DIRS = cmds modules defs sys bootfiles |
20 | |
21 CMDS = $(shell $(CD) cmds; make showobjs) | |
22 CMDS_D2 = $(shell $(CD) cmds; make showobjs_d2) | |
23 BOOTTRACK = $(shell $(CD) modules; make showboottrack) | |
24 KERNEL = $(shell $(CD) modules; make showkernel) | |
25 SYSMODS = $(shell $(CD) modules; make showsysmods) | |
26 CLOCKS = $(shell $(CD) modules; make showclocks) | |
27 RBF = $(shell $(CD) modules; make showrbf) | |
28 SCF = $(shell $(CD) modules; make showscf) | |
29 PIPE = $(shell $(CD) modules; make showpipe) | |
30 MODULECMDS = shell grfdrv del echo format makdir merge os9gen prompt tmode | |
31 | |
32 DEFS = $(shell $(CD) defs; make showobjs) | |
33 SYSBIN = $(shell $(CD) sys; make showbinobjs) | |
34 SYSTEXT = $(shell $(CD) sys; make showtextobjs) | |
35 STARTUP = startup | |
36 SYSGO = sysgo_dd | |
37 | |
38 PACKAGENAME = $(DISTROVER).zip | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
39 DSKDW = $(DISTROVER)_dw.dsk |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
40 LDSKDW = $(DISTRONAME)_dw.dsk |
2349 | 41 DSK360K_1 = $(DISTROVER)_40d_1.dsk |
42 LDSK360K_1 = $(DISTRONAME)_40d_1.dsk | |
43 DSK360K_1_50HZ = $(DISTROVER)_40d_1_50hz.dsk | |
44 LDSK360K_1_50HZ = $(DISTRONAME)_40d_1_50hz.dsk | |
45 DSK360K_2 = $(DISTROVER)_40d_2.dsk | |
46 LDSK360K_2 = $(DISTRONAME)_40d_2.dsk | |
47 DSK720K = $(DISTROVER)_80d.dsk | |
48 LDSK720K = $(DISTRONAME)_80d.dsk | |
49 DSK720K_50HZ = $(DISTROVER)_80d_50hz.dsk | |
50 LDSK720K_50HZ = $(DISTRONAME)_80d_50hz.dsk | |
51 TESTDSK = test.dsk | |
52 | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
53 DSKS = $(DSKDW) $(DSK360K_1) $(DSK360K_1_50HZ) $(DSK360K_2) $(DSK720K) $(DSK720K_50HZ) |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
54 LDSKS = $(LDSKDW) $(LDSK360K_1) $(LDSK360K_1_50HZ) $(LDSK360K_2) $(LDSK720K) $(LDSK720K_50HZ) |
2349 | 55 |
56 # Make all components | |
57 all: | |
58 @$(ECHO) "**************************************************" | |
59 @$(ECHO) "* *" | |
2916
56f26b87fa8a
Make level3 buildable again
Tormod Volden <debian.tormod@gmail.com>
parents:
2913
diff
changeset
|
60 @$(ECHO) "* NitrOS-9/$(CPU) Level $(LEVEL) Distribution *" |
2349 | 61 @$(ECHO) "* *" |
62 @$(ECHO) "**************************************************" | |
2913
1c1600cc9f02
makefiles: Stop if a component fails to build
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
63 $(foreach dir,$(DIRS),$(MAKE) -C $(dir) &&) : |
2349 | 64 |
65 # Clean all components | |
66 clean: dskclean | |
67 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);) | |
68 | |
69 dskclean: | |
2835
c1892376e7a7
Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents:
2724
diff
changeset
|
70 $(RM) $(PACKAGENAME) $(DSKS) $(LDSKS) |
2349 | 71 |
72 dsk: all $(PACKAGENAME) | |
73 | |
74 dskcopy: dsk | |
75 $(CP) $(DSKS) $(DSKDIR) | |
76 | |
77 scp: dsk | |
78 scp $(PACKAGENAME) boisy@cvs.nitros9.org:/home/nitros9/public_html | |
79 | |
80 $(PACKAGENAME): $(DSKS) ../../ReadMe ../../ChangeLog | |
81 $(ARCHIVE) $@ $^ | |
82 | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
83 $(DSKDW): |
2835
c1892376e7a7
Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents:
2724
diff
changeset
|
84 $(RM) $@ |
2916
56f26b87fa8a
Make level3 buildable again
Tormod Volden <debian.tormod@gmail.com>
parents:
2913
diff
changeset
|
85 $(OS9FORMAT_DW) -q $@ -n"NitrOS-9/$(CPU) Level $(LEVEL)" |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
86 $(OS9GEN) $@ -b=$(BOOTFILE_DW) -t=$(KERNELFILE_DW) |
2349 | 87 $(MAKDIR) $@,CMDS |
88 $(MAKDIR) $@,SYS | |
89 $(MAKDIR) $@,DEFS | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
90 $(OS9COPY) modules/$(SYSGO) $@,sysgo |
2349 | 91 $(OS9ATTR_EXEC) $@,sysgo |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
92 $(CD) cmds; $(OS9COPY) $(CMDS) ../$@,CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
93 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
94 $(CD) sys; $(OS9COPY) $(SYSBIN) ../$@,SYS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
95 $(OS9ATTR_TEXT) $(foreach file,$(SYSBIN),$@,SYS/$(file)) |
2349 | 96 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
97 $(OS9ATTR_TEXT) $(foreach file,$(SYSTEXT),$@,SYS/$(file)) |
2349 | 98 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
99 $(OS9ATTR_TEXT) $(foreach file,$(DEFS),$@,DEFS/$(file)) |
2349 | 100 $(CPL) $(STARTUP) $@,. |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
101 $(OS9ATTR_TEXT) $(foreach file,$(STARTUP),$@,$(file)) |
2349 | 102 $(MAKDIR) $@,NITROS9 |
103 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
104 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
105 $(CD) cmds; $(OS9COPY) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
106 $(OS9ATTR_EXEC) $(foreach file,$(MODULECMDS),$@,NITROS9/$(DISTRO)/CMDS/$(file)) |
2349 | 107 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES |
108 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
109 $(CD) modules; $(OS9COPY) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
110 $(OS9ATTR_EXEC) $(foreach file,$(BOOTTRACK),$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file)) |
2349 | 111 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
112 $(CD) modules; $(OS9COPY) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
113 $(OS9ATTR_EXEC) $(foreach file,$(KERNEL),$@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file)) |
2349 | 114 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
115 $(CD) modules; $(OS9COPY) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
116 $(OS9ATTR_EXEC) $(foreach file,$(SYSMODS),$@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file)) |
2349 | 117 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
118 $(CD) modules; $(OS9COPY) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
119 $(OS9ATTR_EXEC) $(foreach file,$(CLOCKS),$@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file)) |
2349 | 120 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
121 $(CD) modules; $(OS9COPY) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
122 $(OS9ATTR_EXEC) $(foreach file,$(RBF),$@,NITROS9/$(DISTRO)/MODULES/RBF/$(file)) |
2349 | 123 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
124 $(CD) modules; $(OS9COPY) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
125 $(OS9ATTR_EXEC) $(foreach file,$(SCF),$@,NITROS9/$(DISTRO)/MODULES/SCF/$(file)) |
2349 | 126 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
127 $(CD) modules; $(OS9COPY) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
128 $(OS9ATTR_EXEC) $(foreach file,$(PIPE),$@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file)) |
2349 | 129 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS |
130 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
131 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
132 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
133 $(RM) $(LDSKDW) |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
134 $(SOFTLINK) $@ $(LDSKDW) |
2349 | 135 |
136 $(DSK360K_1): | |
2835
c1892376e7a7
Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents:
2724
diff
changeset
|
137 $(RM) $@ |
2916
56f26b87fa8a
Make level3 buildable again
Tormod Volden <debian.tormod@gmail.com>
parents:
2913
diff
changeset
|
138 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level $(LEVEL) Disk 1" |
2349 | 139 $(OS9GEN) $@ -b=$(BOOTFILE_40D) -t=$(KERNELFILE) |
140 $(MAKDIR) $@,CMDS | |
141 $(MAKDIR) $@,SYS | |
142 $(MAKDIR) $@,DEFS | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
143 $(OS9COPY) modules/$(SYSGO) $@,sysgo |
2349 | 144 $(OS9ATTR_EXEC) $@,sysgo |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
145 $(CD) cmds; $(OS9COPY) $(CMDS) ../$@,CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
146 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
147 $(CD) sys; $(OS9COPY) $(SYSBIN) ../$@,SYS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
148 $(OS9ATTR_TEXT) $(foreach file,$(SYSBIN),$@,SYS/$(file)) |
2349 | 149 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
150 $(OS9ATTR_TEXT) $(foreach file,$(SYSTEXT),$@,SYS/$(file)) |
2349 | 151 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
152 $(OS9ATTR_TEXT) $(foreach file,$(DEFS),$@,DEFS/$(file)) |
2349 | 153 $(CPL) $(STARTUP) $@,. |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
154 $(OS9ATTR_TEXT) $(foreach file,$(STARTUP),$@,$(file)) |
2349 | 155 $(RM) $(LDSK360K_1) |
156 $(SOFTLINK) $@ $(LDSK360K_1) | |
157 | |
158 $(DSK360K_1_50HZ): | |
2835
c1892376e7a7
Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents:
2724
diff
changeset
|
159 $(RM) $@ |
2916
56f26b87fa8a
Make level3 buildable again
Tormod Volden <debian.tormod@gmail.com>
parents:
2913
diff
changeset
|
160 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level $(LEVEL) Disk 1" |
2349 | 161 $(OS9GEN) $@ -b=$(BOOTFILE_40D_50HZ) -t=$(KERNELFILE_50HZ) |
162 $(MAKDIR) $@,CMDS | |
163 $(MAKDIR) $@,SYS | |
164 $(MAKDIR) $@,DEFS | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
165 $(OS9COPY) modules/$(SYSGO) $@,sysgo |
2349 | 166 $(OS9ATTR_EXEC) $@,sysgo |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
167 $(CD) cmds; $(OS9COPY) $(CMDS) ../$@,CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
168 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
169 $(CD) sys; $(OS9COPY) $(SYSBIN) ../$@,SYS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
170 $(OS9ATTR_TEXT) $(foreach file,$(SYSBIN),$@,SYS/$(file)) |
2349 | 171 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
172 $(OS9ATTR_TEXT) $(foreach file,$(SYSTEXT),$@,SYS/$(file)) |
2349 | 173 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
174 $(OS9ATTR_TEXT) $(foreach file,$(DEFS),$@,DEFS/$(file)) |
2349 | 175 $(CPL) $(STARTUP) $@,. |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
176 $(OS9ATTR_TEXT) $(foreach file,$(STARTUP),$@,$(file)) |
2349 | 177 $(RM) $(LDSK360K_1_50HZ) |
178 $(SOFTLINK) $@ $(LDSK360K_1_50HZ) | |
179 | |
180 $(DSK360K_2): | |
2835
c1892376e7a7
Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents:
2724
diff
changeset
|
181 $(RM) $@ |
2916
56f26b87fa8a
Make level3 buildable again
Tormod Volden <debian.tormod@gmail.com>
parents:
2913
diff
changeset
|
182 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level $(LEVEL) Disk 2" |
2349 | 183 $(MAKDIR) $@,CMDS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
184 $(CD) cmds; $(OS9COPY) $(CMDS_D2) ../$@,CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
185 $(OS9ATTR_EXEC) $(foreach file,$(CMDS_D2),$@,CMDS/$(file)) |
2349 | 186 $(MAKDIR) $@,NITROS9 |
187 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
188 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
189 $(CD) cmds; $(OS9COPY) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
190 $(OS9ATTR_EXEC) $(foreach file,$(MODULECMDS),$@,NITROS9/$(DISTRO)/CMDS/$(file)) |
2349 | 191 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES |
192 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
193 $(CD) modules; $(OS9COPY) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
194 $(OS9ATTR_EXEC) $(foreach file,$(BOOTTRACK),$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file)) |
2349 | 195 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
196 $(CD) modules; $(OS9COPY) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
197 $(OS9ATTR_EXEC) $(foreach file,$(KERNEL),$@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file)) |
2349 | 198 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
199 $(CD) modules; $(OS9COPY) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
200 $(OS9ATTR_EXEC) $(foreach file,$(SYSMODS),$@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file)) |
2349 | 201 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
202 $(CD) modules; $(OS9COPY) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
203 $(OS9ATTR_EXEC) $(foreach file,$(CLOCKS),$@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file)) |
2349 | 204 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
205 $(CD) modules; $(OS9COPY) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
206 $(OS9ATTR_EXEC) $(foreach file,$(RBF),$@,NITROS9/$(DISTRO)/MODULES/RBF/$(file)) |
2349 | 207 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
208 $(CD) modules; $(OS9COPY) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
209 $(OS9ATTR_EXEC) $(foreach file,$(SCF),$@,NITROS9/$(DISTRO)/MODULES/SCF/$(file)) |
2349 | 210 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
211 $(CD) modules; $(OS9COPY) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
212 $(OS9ATTR_EXEC) $(foreach file,$(PIPE),$@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file)) |
2349 | 213 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS |
214 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
215 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
216 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
217 $(RM) $(LDSK360K_2) | |
218 $(SOFTLINK) $@ $(LDSK360K_2) | |
219 | |
220 $(DSK720K): | |
2835
c1892376e7a7
Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents:
2724
diff
changeset
|
221 $(RM) $@ |
2916
56f26b87fa8a
Make level3 buildable again
Tormod Volden <debian.tormod@gmail.com>
parents:
2913
diff
changeset
|
222 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level $(LEVEL)" |
2349 | 223 $(OS9GEN) $@ -b=$(BOOTFILE_80D) -t=$(KERNELFILE) |
224 $(MAKDIR) $@,CMDS | |
225 $(MAKDIR) $@,SYS | |
226 $(MAKDIR) $@,DEFS | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
227 $(OS9COPY) modules/$(SYSGO) $@,sysgo |
2349 | 228 $(OS9ATTR_EXEC) $@,sysgo |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
229 $(CD) cmds; $(OS9COPY) $(CMDS) ../$@,CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
230 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
231 $(CD) cmds; $(OS9COPY) $(CMDS_D2) ../$@,CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
232 $(OS9ATTR_EXEC) $(foreach file,$(CMDS_D2),$@,CMDS/$(file)) |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
233 $(CD) sys; $(OS9COPY) $(SYSBIN) ../$@,SYS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
234 $(OS9ATTR_TEXT) $(foreach file,$(SYSBIN),$@,SYS/$(file)) |
2349 | 235 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
236 $(OS9ATTR_TEXT) $(foreach file,$(SYSTEXT),$@,SYS/$(file)) |
2349 | 237 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
238 $(OS9ATTR_TEXT) $(foreach file,$(DEFS),$@,DEFS/$(file)) |
2349 | 239 $(CPL) $(STARTUP) $@,. |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
240 $(OS9ATTR_TEXT) $(foreach file,$(STARTUP),$@,$(file)) |
2349 | 241 $(MAKDIR) $@,NITROS9 |
242 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
243 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
244 $(CD) cmds; $(OS9COPY) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
245 $(OS9ATTR_EXEC) $(foreach file,$(MODULECMDS),$@,NITROS9/$(DISTRO)/CMDS/$(file)) |
2349 | 246 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES |
247 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
248 $(CD) modules; $(OS9COPY) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
249 $(OS9ATTR_EXEC) $(foreach file,$(BOOTTRACK),$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file)) |
2349 | 250 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
251 $(CD) modules; $(OS9COPY) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
252 $(OS9ATTR_EXEC) $(foreach file,$(KERNEL),$@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file)) |
2349 | 253 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
254 $(CD) modules; $(OS9COPY) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
255 $(OS9ATTR_EXEC) $(foreach file,$(SYSMODS),$@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file)) |
2349 | 256 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
257 $(CD) modules; $(OS9COPY) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
258 $(OS9ATTR_EXEC) $(foreach file,$(CLOCKS),$@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file)) |
2349 | 259 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
260 $(CD) modules; $(OS9COPY) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
261 $(OS9ATTR_EXEC) $(foreach file,$(RBF),$@,NITROS9/$(DISTRO)/MODULES/RBF/$(file)) |
2349 | 262 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
263 $(CD) modules; $(OS9COPY) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
264 $(OS9ATTR_EXEC) $(foreach file,$(SCF),$@,NITROS9/$(DISTRO)/MODULES/SCF/$(file)) |
2349 | 265 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
266 $(CD) modules; $(OS9COPY) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
267 $(OS9ATTR_EXEC) $(foreach file,$(PIPE),$@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file)) |
2349 | 268 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS |
269 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
270 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
271 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
272 $(RM) $(LDSK720K) | |
273 $(SOFTLINK) $@ $(LDSK720K) | |
274 | |
275 $(DSK720K_50HZ): | |
2835
c1892376e7a7
Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents:
2724
diff
changeset
|
276 $(RM) $@ |
2916
56f26b87fa8a
Make level3 buildable again
Tormod Volden <debian.tormod@gmail.com>
parents:
2913
diff
changeset
|
277 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level $(LEVEL)" |
2349 | 278 $(OS9GEN) $@ -b=$(BOOTFILE_80D_50HZ) -t=$(KERNELFILE_50HZ) |
279 $(MAKDIR) $@,CMDS | |
280 $(MAKDIR) $@,SYS | |
281 $(MAKDIR) $@,DEFS | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
282 $(OS9COPY) modules/$(SYSGO) $@,sysgo |
2349 | 283 $(OS9ATTR_EXEC) $@,sysgo |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
284 $(CD) cmds; $(OS9COPY) $(CMDS) ../$@,CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
285 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
286 $(CD) cmds; $(OS9COPY) $(CMDS_D2) ../$@,CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
287 $(OS9ATTR_EXEC) $(foreach file,$(CMDS_D2),$@,CMDS/$(file)) |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
288 $(CD) sys; $(OS9COPY) $(SYSBIN) ../$@,SYS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
289 $(OS9ATTR_TEXT) $(foreach file,$(SYSBIN),$@,SYS/$(file)) |
2349 | 290 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
291 $(OS9ATTR_TEXT) $(foreach file,$(SYSTEXT),$@,SYS/$(file)) |
2349 | 292 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
293 $(OS9ATTR_TEXT) $(foreach file,$(DEFS),$@,DEFS/$(file)) |
2349 | 294 $(CPL) $(STARTUP) $@,. |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
295 $(OS9ATTR_TEXT) $(foreach file,$(STARTUP),$@,$(file)) |
2349 | 296 $(MAKDIR) $@,NITROS9 |
297 $(MAKDIR) $@,NITROS9/$(DISTRO) | |
298 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
299 $(CD) cmds; $(OS9COPY) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
300 $(OS9ATTR_EXEC) $(foreach file,$(MODULECMDS),$@,NITROS9/$(DISTRO)/CMDS/$(file)) |
2349 | 301 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES |
302 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
303 $(CD) modules; $(OS9COPY) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
304 $(OS9ATTR_EXEC) $(foreach file,$(BOOTTRACK),$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file)) |
2349 | 305 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
306 $(CD) modules; $(OS9COPY) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
307 $(OS9ATTR_EXEC) $(foreach file,$(KERNEL),$@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file)) |
2349 | 308 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
309 $(CD) modules; $(OS9COPY) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
310 $(OS9ATTR_EXEC) $(foreach file,$(SYSMODS),$@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file)) |
2349 | 311 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
312 $(CD) modules; $(OS9COPY) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
313 $(OS9ATTR_EXEC) $(foreach file,$(CLOCKS),$@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file)) |
2349 | 314 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
315 $(CD) modules; $(OS9COPY) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
316 $(OS9ATTR_EXEC) $(foreach file,$(RBF),$@,NITROS9/$(DISTRO)/MODULES/RBF/$(file)) |
2349 | 317 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
318 $(CD) modules; $(OS9COPY) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
319 $(OS9ATTR_EXEC) $(foreach file,$(SCF),$@,NITROS9/$(DISTRO)/MODULES/SCF/$(file)) |
2349 | 320 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
321 $(CD) modules; $(OS9COPY) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
322 $(OS9ATTR_EXEC) $(foreach file,$(PIPE),$@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file)) |
2349 | 323 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS |
324 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS | |
325 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS | |
326 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS | |
327 $(RM) $(LDSK720K_50HZ) | |
328 $(SOFTLINK) $@ $(LDSK720K_50HZ) | |
329 | |
330 info: | |
2916
56f26b87fa8a
Make level3 buildable again
Tormod Volden <debian.tormod@gmail.com>
parents:
2913
diff
changeset
|
331 @$(ECHO) "*** NitrOS-9/$(CPU) Level $(LEVEL) for the $(MACHINE) ***" |
2349 | 332 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |