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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2349
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
3 include $(NITROS9DIR)/rules.mak
f506d1905781 Added Level 3
boisy
parents:
diff changeset
4
f506d1905781 Added Level 3
boisy
parents:
diff changeset
5 CPU = 6809
f506d1905781 Added Level 3
boisy
parents:
diff changeset
6 LEVEL = 3
f506d1905781 Added Level 3
boisy
parents:
diff changeset
7
f506d1905781 Added Level 3
boisy
parents:
diff changeset
8 DISTRO = $(CPU)L$(LEVEL)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
9 DISTRONAME = nos9$(CPU)l$(LEVEL)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
12 BOOTFILE_40D = bootfiles/bootfile_40d
f506d1905781 Added Level 3
boisy
parents:
diff changeset
13 BOOTFILE_80D = bootfiles/bootfile_80d
f506d1905781 Added Level 3
boisy
parents:
diff changeset
14 BOOTFILE_40D_50HZ = bootfiles/bootfile_40d_50hz
f506d1905781 Added Level 3
boisy
parents:
diff changeset
15 BOOTFILE_80D_50HZ = bootfiles/bootfile_80d_50hz
f506d1905781 Added Level 3
boisy
parents:
diff changeset
16 KERNELFILE = bootfiles/kernel_1773
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
19 DIRS = cmds modules defs sys bootfiles
f506d1905781 Added Level 3
boisy
parents:
diff changeset
20
f506d1905781 Added Level 3
boisy
parents:
diff changeset
21 CMDS = $(shell $(CD) cmds; make showobjs)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
22 CMDS_D2 = $(shell $(CD) cmds; make showobjs_d2)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
23 BOOTTRACK = $(shell $(CD) modules; make showboottrack)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
24 KERNEL = $(shell $(CD) modules; make showkernel)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
25 SYSMODS = $(shell $(CD) modules; make showsysmods)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
26 CLOCKS = $(shell $(CD) modules; make showclocks)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
27 RBF = $(shell $(CD) modules; make showrbf)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
28 SCF = $(shell $(CD) modules; make showscf)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
29 PIPE = $(shell $(CD) modules; make showpipe)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
30 MODULECMDS = shell grfdrv del echo format makdir merge os9gen prompt tmode
f506d1905781 Added Level 3
boisy
parents:
diff changeset
31
f506d1905781 Added Level 3
boisy
parents:
diff changeset
32 DEFS = $(shell $(CD) defs; make showobjs)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
33 SYSBIN = $(shell $(CD) sys; make showbinobjs)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
34 SYSTEXT = $(shell $(CD) sys; make showtextobjs)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
35 STARTUP = startup
f506d1905781 Added Level 3
boisy
parents:
diff changeset
36 SYSGO = sysgo_dd
f506d1905781 Added Level 3
boisy
parents:
diff changeset
37
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
41 DSK360K_1 = $(DISTROVER)_40d_1.dsk
f506d1905781 Added Level 3
boisy
parents:
diff changeset
42 LDSK360K_1 = $(DISTRONAME)_40d_1.dsk
f506d1905781 Added Level 3
boisy
parents:
diff changeset
43 DSK360K_1_50HZ = $(DISTROVER)_40d_1_50hz.dsk
f506d1905781 Added Level 3
boisy
parents:
diff changeset
44 LDSK360K_1_50HZ = $(DISTRONAME)_40d_1_50hz.dsk
f506d1905781 Added Level 3
boisy
parents:
diff changeset
45 DSK360K_2 = $(DISTROVER)_40d_2.dsk
f506d1905781 Added Level 3
boisy
parents:
diff changeset
46 LDSK360K_2 = $(DISTRONAME)_40d_2.dsk
f506d1905781 Added Level 3
boisy
parents:
diff changeset
47 DSK720K = $(DISTROVER)_80d.dsk
f506d1905781 Added Level 3
boisy
parents:
diff changeset
48 LDSK720K = $(DISTRONAME)_80d.dsk
f506d1905781 Added Level 3
boisy
parents:
diff changeset
49 DSK720K_50HZ = $(DISTROVER)_80d_50hz.dsk
f506d1905781 Added Level 3
boisy
parents:
diff changeset
50 LDSK720K_50HZ = $(DISTRONAME)_80d_50hz.dsk
f506d1905781 Added Level 3
boisy
parents:
diff changeset
51 TESTDSK = test.dsk
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
55
f506d1905781 Added Level 3
boisy
parents:
diff changeset
56 # Make all components
f506d1905781 Added Level 3
boisy
parents:
diff changeset
57 all:
f506d1905781 Added Level 3
boisy
parents:
diff changeset
58 @$(ECHO) "**************************************************"
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
61 @$(ECHO) "* *"
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
64
f506d1905781 Added Level 3
boisy
parents:
diff changeset
65 # Clean all components
f506d1905781 Added Level 3
boisy
parents:
diff changeset
66 clean: dskclean
f506d1905781 Added Level 3
boisy
parents:
diff changeset
67 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
68
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
71
f506d1905781 Added Level 3
boisy
parents:
diff changeset
72 dsk: all $(PACKAGENAME)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
73
f506d1905781 Added Level 3
boisy
parents:
diff changeset
74 dskcopy: dsk
f506d1905781 Added Level 3
boisy
parents:
diff changeset
75 $(CP) $(DSKS) $(DSKDIR)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
76
f506d1905781 Added Level 3
boisy
parents:
diff changeset
77 scp: dsk
f506d1905781 Added Level 3
boisy
parents:
diff changeset
78 scp $(PACKAGENAME) boisy@cvs.nitros9.org:/home/nitros9/public_html
f506d1905781 Added Level 3
boisy
parents:
diff changeset
79
f506d1905781 Added Level 3
boisy
parents:
diff changeset
80 $(PACKAGENAME): $(DSKS) ../../ReadMe ../../ChangeLog
f506d1905781 Added Level 3
boisy
parents:
diff changeset
81 $(ARCHIVE) $@ $^
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
87 $(MAKDIR) $@,CMDS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
88 $(MAKDIR) $@,SYS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
102 $(MAKDIR) $@,NITROS9
f506d1905781 Added Level 3
boisy
parents:
diff changeset
103 $(MAKDIR) $@,NITROS9/$(DISTRO)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
107 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
129 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
130 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
131 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
135
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
139 $(OS9GEN) $@ -b=$(BOOTFILE_40D) -t=$(KERNELFILE)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
140 $(MAKDIR) $@,CMDS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
141 $(MAKDIR) $@,SYS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
155 $(RM) $(LDSK360K_1)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
156 $(SOFTLINK) $@ $(LDSK360K_1)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
157
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
161 $(OS9GEN) $@ -b=$(BOOTFILE_40D_50HZ) -t=$(KERNELFILE_50HZ)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
162 $(MAKDIR) $@,CMDS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
163 $(MAKDIR) $@,SYS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
177 $(RM) $(LDSK360K_1_50HZ)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
178 $(SOFTLINK) $@ $(LDSK360K_1_50HZ)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
179
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
186 $(MAKDIR) $@,NITROS9
f506d1905781 Added Level 3
boisy
parents:
diff changeset
187 $(MAKDIR) $@,NITROS9/$(DISTRO)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
191 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
213 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
214 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
215 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
216 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
217 $(RM) $(LDSK360K_2)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
218 $(SOFTLINK) $@ $(LDSK360K_2)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
219
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
223 $(OS9GEN) $@ -b=$(BOOTFILE_80D) -t=$(KERNELFILE)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
224 $(MAKDIR) $@,CMDS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
225 $(MAKDIR) $@,SYS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
241 $(MAKDIR) $@,NITROS9
f506d1905781 Added Level 3
boisy
parents:
diff changeset
242 $(MAKDIR) $@,NITROS9/$(DISTRO)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
246 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
268 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
269 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
270 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
271 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
272 $(RM) $(LDSK720K)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
273 $(SOFTLINK) $@ $(LDSK720K)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
274
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
278 $(OS9GEN) $@ -b=$(BOOTFILE_80D_50HZ) -t=$(KERNELFILE_50HZ)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
279 $(MAKDIR) $@,CMDS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
280 $(MAKDIR) $@,SYS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
296 $(MAKDIR) $@,NITROS9
f506d1905781 Added Level 3
boisy
parents:
diff changeset
297 $(MAKDIR) $@,NITROS9/$(DISTRO)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
301 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
323 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
324 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
325 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
326 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
f506d1905781 Added Level 3
boisy
parents:
diff changeset
327 $(RM) $(LDSK720K_50HZ)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
328 $(SOFTLINK) $@ $(LDSK720K_50HZ)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
329
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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
f506d1905781 Added Level 3
boisy
parents:
diff changeset
332 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)