annotate level2/coco3/makefile @ 2486:1b3d766b807c

Fixed issue
author boisy
date Wed, 31 Mar 2010 02:44:16 +0000
parents c907d090db02
children d8a0d3f9e69d
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) "**************************************************"
2485
c907d090db02 Simplified coco3_h6309 files
boisy
parents: 2483
diff changeset
66 cd $(NITROS9DIR)/lib; make
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
67 $(foreach dir, $(DIRS), ($(CD) $(dir); make);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
68
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
69 # Clean all components
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
70 clean: dskclean
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
71 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
72
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
73 dskclean:
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
74 -$(RM) $(PACKAGENAME) $(DSKS) $(LDSKS)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
75
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
76 dsk: all $(PACKAGENAME)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
77
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
78 dskcopy: dsk
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
79 $(CP) $(DSKS) $(DSKDIR)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
80
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
81 scp: dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
82 scp $(PACKAGENAME) boisy@cvs.nitros9.org:/home/nitros9/public_html
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
83
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
84 $(PACKAGENAME): $(DSKS) ../../ReadMe ../../ChangeLog
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
85 $(ARCHIVE) $@ $^
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
86
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
87 $(DSKDW3):
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
88 -$(RM) $@
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
89 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2"
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
90 $(OS9GEN) $@ -b=$(BOOTFILE_DW3) -t=$(KERNELFILE_DW3)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
91 $(MAKDIR) $@,CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
92 $(MAKDIR) $@,SYS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
93 $(MAKDIR) $@,DEFS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
94 $(CP) modules/$(SYSGO) $@,sysgo
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
95 $(OS9ATTR_EXEC) $@,sysgo
2486
1b3d766b807c Fixed issue
boisy
parents: 2485
diff changeset
96 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS
1b3d766b807c Fixed issue
boisy
parents: 2485
diff changeset
97 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
98 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
99 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
100 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
101 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
102 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
103 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2268
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
104 $(CPL) $(STARTUP) $@,.
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
105 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
106 $(MAKDIR) $@,NITROS9
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
107 $(MAKDIR) $@,NITROS9/$(DISTRO)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
108 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
109 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
110 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
111 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
112 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
113 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
114 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
115 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
116 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
117 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
118 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
119 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
120 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
121 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
122 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
123 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
124 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
125 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
126 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
127 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
128 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
129 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
130 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
131 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
132 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
133 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
134 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
135 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
136 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
137 $(RM) $(LDSKDW3)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
138 $(SOFTLINK) $@ $(LDSKDW3)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
139
2476
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
140 $(DSKDW3HEADLESS):
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
141 -$(RM) $@
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
142 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2"
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
143 $(OS9GEN) $@ -b=$(BOOTFILE_DW3HEADLESS) -t=$(KERNELFILE_DW3)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
144 $(MAKDIR) $@,CMDS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
145 $(MAKDIR) $@,SYS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
146 $(MAKDIR) $@,DEFS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
147 $(CP) modules/$(SYSGO) $@,sysgo
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
148 $(OS9ATTR_EXEC) $@,sysgo
2486
1b3d766b807c Fixed issue
boisy
parents: 2485
diff changeset
149 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS
1b3d766b807c Fixed issue
boisy
parents: 2485
diff changeset
150 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2476
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
151 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
152 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
153 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
154 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
155 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
156 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
157 $(CPL) $(STARTUP) $@,.
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
158 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
159 $(MAKDIR) $@,NITROS9
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
160 $(MAKDIR) $@,NITROS9/$(DISTRO)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
161 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
162 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
163 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
164 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
165 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
166 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
167 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
168 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
169 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
170 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
171 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
172 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
173 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
174 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
175 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
176 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
177 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
178 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
179 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
180 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
181 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
182 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
183 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
184 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
185 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
186 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
187 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
188 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
189 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
2480
bdc39414cf50 Fixed issues in makefiles
boisy
parents: 2476
diff changeset
190 $(RM) $(LDSKDW3HEADLESS)
bdc39414cf50 Fixed issues in makefiles
boisy
parents: 2476
diff changeset
191 $(SOFTLINK) $@ $(LDSKDW3HEADLESS)
2476
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
192
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
193 $(DSK360K_1):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
194 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
195 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
196 $(OS9GEN) $@ -b=$(BOOTFILE_40D) -t=$(KERNELFILE)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
197 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
198 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
199 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
200 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
201 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
202 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
203 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
204 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
205 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
206 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
207 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
208 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
209 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2268
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
210 $(CPL) $(STARTUP) $@,.
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
211 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
212 $(RM) $(LDSK360K_1)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
213 $(SOFTLINK) $@ $(LDSK360K_1)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
214
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
215 $(DSK360K_1_50HZ):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
216 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
217 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
218 $(OS9GEN) $@ -b=$(BOOTFILE_40D_50HZ) -t=$(KERNELFILE_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
219 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
220 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
221 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
222 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
223 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
224 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
225 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
226 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
227 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
228 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
229 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
230 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
231 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2268
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
232 $(CPL) $(STARTUP) $@,.
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
233 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
234 $(RM) $(LDSK360K_1_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
235 $(SOFTLINK) $@ $(LDSK360K_1_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
236
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
237 $(DSK360K_2):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
238 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
239 $(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
240 $(MAKDIR) $@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2047
diff changeset
241 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2047
diff changeset
242 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
243 $(MAKDIR) $@,NITROS9
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
244 $(MAKDIR) $@,NITROS9/$(DISTRO)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
245 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
246 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
247 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
248 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
249 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
250 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
251 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
252 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
253 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
254 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
255 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
256 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
257 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
258 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
259 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
260 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
261 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
262 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
263 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
264 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
265 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
266 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
267 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
268 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
269 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
270 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
271 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
272 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
273 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
274 $(RM) $(LDSK360K_2)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
275 $(SOFTLINK) $@ $(LDSK360K_2)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
276
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
277 $(DSK720K):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
278 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
279 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level 2"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
280 $(OS9GEN) $@ -b=$(BOOTFILE_80D) -t=$(KERNELFILE)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
281 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
282 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
283 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
284 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
285 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
286 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
287 $(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
288 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2047
diff changeset
289 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
290 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
291 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
292 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
293 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
294 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
295 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2268
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
296 $(CPL) $(STARTUP) $@,.
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
297 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
298 $(MAKDIR) $@,NITROS9
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
299 $(MAKDIR) $@,NITROS9/$(DISTRO)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
300 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
301 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
302 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
303 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
304 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
305 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
306 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
307 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
308 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
309 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
310 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
311 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
312 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
313 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
314 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
315 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
316 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
317 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
318 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
319 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
320 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
321 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
322 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
323 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
324 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
325 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
326 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
327 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
328 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
329 $(RM) $(LDSK720K)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
330 $(SOFTLINK) $@ $(LDSK720K)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
331
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
332 $(DSK720K_50HZ):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
333 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
334 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level 2"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
335 $(OS9GEN) $@ -b=$(BOOTFILE_80D_50HZ) -t=$(KERNELFILE_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
336 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
337 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
338 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
339 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
340 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
341 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
342 $(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
343 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2047
diff changeset
344 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
345 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
346 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
347 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
348 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
349 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
350 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2268
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
351 $(CPL) $(STARTUP) $@,.
1539e253c343 Makfiles now updated from coco3_6309
boisy
parents: 2255
diff changeset
352 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
353 $(MAKDIR) $@,NITROS9
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
354 $(MAKDIR) $@,NITROS9/$(DISTRO)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
355 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
356 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
357 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
358 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
359 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
360 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
361 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
362 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
363 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
364 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
365 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
366 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
367 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
368 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
369 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
370 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
371 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
372 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
373 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
374 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
375 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
376 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
377 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
378 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
379 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
380 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
381 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
382 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
383 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
384 $(RM) $(LDSK720K_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
385 $(SOFTLINK) $@ $(LDSK720K_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
386
2216
d096a278e068 Added info targets
boisy
parents: 2199
diff changeset
387 info:
2476
a4749998e787 DW is now part of main dist
boisy
parents: 2346
diff changeset
388 @$(ECHO) "*** NitrOS-9/$(CPU) Level 2 for the Tandy Color Computer 3 ***"
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
389 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)