annotate level2/coco3/makefile @ 2483:a98d02878bdd

more makefile fixes for drivewire
author boisy
date Tue, 30 Mar 2010 17:40:14 +0000 (2010-03-30)
parents bdc39414cf50
children c907d090db02
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)
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
10 BOOTFILE_DW3 = bootfiles/bootfile_dw3
2476
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
11 BOOTFILE_DW3HEADLESS = bootfiles/bootfile_dw3_headless
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
12 BOOTFILE_40D = bootfiles/bootfile_40d
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
13 BOOTFILE_80D = bootfiles/bootfile_80d
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
14 BOOTFILE_40D_50HZ = bootfiles/bootfile_40d_50hz
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
15 BOOTFILE_80D_50HZ = bootfiles/bootfile_80d_50hz
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
16 KERNELFILE = bootfiles/kernel_1773
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
17 KERNELFILE_50HZ = bootfiles/kernel_1773_50hz
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
18 KERNELFILE_DW3 = bootfiles/kernel_dw3
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
19 DIRS = cmds modules defs sys bootfiles
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
20
2346
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2319
diff changeset
21 CMDS = $(shell $(CD) cmds; make --no-print-directory showobjs)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2319
diff changeset
22 CMDS_D2 = $(shell $(CD) cmds; make --no-print-directory showobjs_d2)
2483
a98d02878bdd more makefile fixes for drivewire
boisy
parents: 2480
diff changeset
23 CMDS_DW = $(shell $(CD) cmds; make --no-print-directory showobjs_dw)
2346
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2319
diff changeset
24 BOOTTRACK = $(shell $(CD) modules; make --no-print-directory showboottrack)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2319
diff changeset
25 KERNEL = $(shell $(CD) modules; make --no-print-directory showkernel)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2319
diff changeset
26 SYSMODS = $(shell $(CD) modules; make --no-print-directory showsysmods)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2319
diff changeset
27 CLOCKS = $(shell $(CD) modules; make --no-print-directory showclocks)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2319
diff changeset
28 RBF = $(shell $(CD) modules; make --no-print-directory showrbf)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2319
diff changeset
29 SCF = $(shell $(CD) modules; make --no-print-directory showscf)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2319
diff changeset
30 PIPE = $(shell $(CD) modules; make --no-print-directory showpipe)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
31 MODULECMDS = shell grfdrv del echo format makdir merge os9gen prompt tmode
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
32
2346
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2319
diff changeset
33 DEFS = $(shell $(CD) defs; make --no-print-directory showobjs)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2319
diff changeset
34 SYSBIN = $(shell $(CD) sys; make --no-print-directory showbinobjs)
fb1c0a45f28e Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents: 2319
diff changeset
35 SYSTEXT = $(shell $(CD) sys; make --no-print-directory showtextobjs)
2268
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
36 STARTUP = startup
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
37 SYSGO = sysgo_dd
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
38
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
39 PACKAGENAME = $(DISTROVER).zip
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
40 DSKDW3 = $(DISTROVER)_dw3.dsk
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
41 LDSKDW3 = $(DISTRONAME)_dw3.dsk
2476
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
42 DSKDW3HEADLESS = $(DISTROVER)_dw3_headless.dsk
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
43 LDSKDW3HEADLESS = $(DISTRONAME)_dw3_headless.dsk
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
44 DSK360K_1 = $(DISTROVER)_40d_1.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
45 LDSK360K_1 = $(DISTRONAME)_40d_1.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
46 DSK360K_1_50HZ = $(DISTROVER)_40d_1_50hz.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
47 LDSK360K_1_50HZ = $(DISTRONAME)_40d_1_50hz.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
48 DSK360K_2 = $(DISTROVER)_40d_2.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
49 LDSK360K_2 = $(DISTRONAME)_40d_2.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
50 DSK720K = $(DISTROVER)_80d.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
51 LDSK720K = $(DISTRONAME)_80d.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
52 DSK720K_50HZ = $(DISTROVER)_80d_50hz.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
53 LDSK720K_50HZ = $(DISTRONAME)_80d_50hz.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
54 TESTDSK = test.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
55
2476
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
56 DSKS = $(DSKDW3) $(DSK360K_1) $(DSK360K_1_50HZ) $(DSK360K_2) $(DSK720K) $(DSK720K_50HZ) $(DSKDW3) $(DSKDW3HEADLESS)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
57 LDSKS = $(LDSKDW3) $(LDSK360K_1) $(LDSK360K_1_50HZ) $(LDSK360K_2) $(LDSK720K) $(LDSK720K_50HZ) $(LDSKDW3) $(LDSKDW3HEADLESS)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
58
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
59 # Make all components
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
60 all:
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
61 @$(ECHO) "**************************************************"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
62 @$(ECHO) "* *"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
63 @$(ECHO) "* NitrOS-9/$(CPU) Level 2 Distribution *"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
64 @$(ECHO) "* *"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
65 @$(ECHO) "**************************************************"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
66 $(foreach dir, $(DIRS), ($(CD) $(dir); make);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
67
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
68 # Clean all components
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
69 clean: dskclean
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
70 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
71
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
72 dskclean:
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
73 -$(RM) $(PACKAGENAME) $(DSKS) $(LDSKS)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
74
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
75 dsk: all $(PACKAGENAME)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
76
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
77 dskcopy: dsk
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
78 $(CP) $(DSKS) $(DSKDIR)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
79
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
80 scp: dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
81 scp $(PACKAGENAME) boisy@cvs.nitros9.org:/home/nitros9/public_html
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
82
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
83 $(PACKAGENAME): $(DSKS) ../../ReadMe ../../ChangeLog
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
84 $(ARCHIVE) $@ $^
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
85
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
86 $(DSKDW3):
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
87 -$(RM) $@
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
88 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2"
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
89 $(OS9GEN) $@ -b=$(BOOTFILE_DW3) -t=$(KERNELFILE_DW3)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
90 $(MAKDIR) $@,CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
91 $(MAKDIR) $@,SYS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
92 $(MAKDIR) $@,DEFS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
93 $(CP) modules/$(SYSGO) $@,sysgo
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
94 $(OS9ATTR_EXEC) $@,sysgo
2483
a98d02878bdd more makefile fixes for drivewire
boisy
parents: 2480
diff changeset
95 $(CD) cmds; $(CP) $(CMDS) $(CMDS_DW) ../$@,CMDS
a98d02878bdd more makefile fixes for drivewire
boisy
parents: 2480
diff changeset
96 $(foreach file, $(CMDS) $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
97 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
98 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
99 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
100 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
101 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
102 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2268
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
103 $(CPL) $(STARTUP) $@,.
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
104 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
105 $(MAKDIR) $@,NITROS9
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
106 $(MAKDIR) $@,NITROS9/$(DISTRO)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
107 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
108 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
109 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
110 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
111 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
112 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
113 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
114 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
115 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
116 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
117 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
118 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
119 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
120 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
121 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
122 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
123 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
124 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
125 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
126 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
127 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
128 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
129 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
130 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
131 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
132 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
133 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
134 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
135 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
136 $(RM) $(LDSKDW3)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
137 $(SOFTLINK) $@ $(LDSKDW3)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
138
2476
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
139 $(DSKDW3HEADLESS):
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
140 -$(RM) $@
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
141 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2"
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
142 $(OS9GEN) $@ -b=$(BOOTFILE_DW3HEADLESS) -t=$(KERNELFILE_DW3)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
143 $(MAKDIR) $@,CMDS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
144 $(MAKDIR) $@,SYS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
145 $(MAKDIR) $@,DEFS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
146 $(CP) modules/$(SYSGO) $@,sysgo
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
147 $(OS9ATTR_EXEC) $@,sysgo
2483
a98d02878bdd more makefile fixes for drivewire
boisy
parents: 2480
diff changeset
148 $(CD) cmds; $(CP) $(CMDS) $(CMDS_DW) ../$@,CMDS
a98d02878bdd more makefile fixes for drivewire
boisy
parents: 2480
diff changeset
149 $(foreach file, $(CMDS) $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2476
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
150 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
151 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
152 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
153 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
154 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
155 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
156 $(CPL) $(STARTUP) $@,.
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
157 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
158 $(MAKDIR) $@,NITROS9
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
159 $(MAKDIR) $@,NITROS9/$(DISTRO)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
160 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
161 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
162 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
163 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
164 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
165 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
166 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
167 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
168 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
169 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
170 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
171 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
172 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
173 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
174 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
175 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
176 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
177 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
178 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
179 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
180 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
181 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
182 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
183 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
184 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
185 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
186 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
187 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
188 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
2480
bdc39414cf50 Fixed issues in makefiles
boisy
parents: 2476
diff changeset
189 $(RM) $(LDSKDW3HEADLESS)
bdc39414cf50 Fixed issues in makefiles
boisy
parents: 2476
diff changeset
190 $(SOFTLINK) $@ $(LDSKDW3HEADLESS)
2476
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
191
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
192 $(DSK360K_1):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
193 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
194 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
195 $(OS9GEN) $@ -b=$(BOOTFILE_40D) -t=$(KERNELFILE)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
196 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
197 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
198 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
199 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
200 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
201 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
202 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
203 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
204 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
205 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
206 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
207 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
208 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2268
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
209 $(CPL) $(STARTUP) $@,.
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
210 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
211 $(RM) $(LDSK360K_1)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
212 $(SOFTLINK) $@ $(LDSK360K_1)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
213
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
214 $(DSK360K_1_50HZ):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
215 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
216 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
217 $(OS9GEN) $@ -b=$(BOOTFILE_40D_50HZ) -t=$(KERNELFILE_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
218 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
219 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
220 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
221 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
222 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
223 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
224 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
225 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
226 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
227 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
228 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
229 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
230 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2268
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
231 $(CPL) $(STARTUP) $@,.
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
232 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
233 $(RM) $(LDSK360K_1_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
234 $(SOFTLINK) $@ $(LDSK360K_1_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
235
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
236 $(DSK360K_2):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
237 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
238 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 2"
2105
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2047
diff changeset
239 $(MAKDIR) $@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2047
diff changeset
240 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2047
diff changeset
241 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
242 $(MAKDIR) $@,NITROS9
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
243 $(MAKDIR) $@,NITROS9/$(DISTRO)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
244 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
245 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
246 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
247 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
248 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
249 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
250 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
251 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
252 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
253 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
254 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
255 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
256 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
257 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
258 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
259 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
260 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
261 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
262 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
263 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
264 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
265 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
266 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
267 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
268 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
269 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
270 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
271 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
272 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
273 $(RM) $(LDSK360K_2)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
274 $(SOFTLINK) $@ $(LDSK360K_2)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
275
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
276 $(DSK720K):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
277 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
278 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level 2"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
279 $(OS9GEN) $@ -b=$(BOOTFILE_80D) -t=$(KERNELFILE)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
280 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
281 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
282 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
283 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
284 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
285 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
286 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2105
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2047
diff changeset
287 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2047
diff changeset
288 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
289 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
290 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
291 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
292 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
293 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
294 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2268
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
295 $(CPL) $(STARTUP) $@,.
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
296 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
297 $(MAKDIR) $@,NITROS9
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
298 $(MAKDIR) $@,NITROS9/$(DISTRO)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
299 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
300 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
301 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
302 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
303 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
304 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
305 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
306 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
307 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
308 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
309 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
310 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
311 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
312 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
313 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
314 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
315 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
316 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
317 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
318 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
319 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
320 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
321 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
322 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
323 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
324 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
325 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
326 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
327 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
328 $(RM) $(LDSK720K)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
329 $(SOFTLINK) $@ $(LDSK720K)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
330
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
331 $(DSK720K_50HZ):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
332 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
333 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level 2"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
334 $(OS9GEN) $@ -b=$(BOOTFILE_80D_50HZ) -t=$(KERNELFILE_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
335 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
336 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
337 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
338 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
339 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
340 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
341 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2105
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2047
diff changeset
342 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2047
diff changeset
343 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
344 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
345 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
346 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
347 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
348 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
349 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2268
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
350 $(CPL) $(STARTUP) $@,.
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
351 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
352 $(MAKDIR) $@,NITROS9
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
353 $(MAKDIR) $@,NITROS9/$(DISTRO)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
354 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
355 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
356 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
357 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
358 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
359 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
360 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
361 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
362 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
363 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
364 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
365 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
366 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
367 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
368 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
369 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
370 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
371 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
372 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
373 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
374 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
375 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
376 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
377 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
378 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
379 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
380 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
381 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
382 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
383 $(RM) $(LDSK720K_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
384 $(SOFTLINK) $@ $(LDSK720K_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
385
2216
d096a278e068 Added info targets
boisy
parents: 2199
diff changeset
386 info:
2476
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
387 @$(ECHO) "*** NitrOS-9/$(CPU) Level 2 for the Tandy Color Computer 3 ***"
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
388 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)