annotate level2/coco3_6309/makefile @ 2265:581d99904cc5

makefiles updated
author boisy
date Mon, 28 Dec 2009 01:29:05 +0000
parents c5e313a93c68
children c4aa9c53261a
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
2051
a45c8cabc60e 6309ized
boisy
parents: 2047
diff changeset
4 CPU = 6309
2047
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
2265
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
11 BOOTFILE_DW3_SERVER = bootfiles/bootfile_dw3_server
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
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
21 CMDS = $(shell $(CD) cmds; make showobjs)
2105
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2051
diff changeset
22 CMDS_D2 = $(shell $(CD) cmds; make showobjs_d2)
2243
cacf283930e6 Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents: 2217
diff changeset
23 CMDS_DW = $(shell $(CD) cmds; make showobjs_dw)
2265
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
24 CMDS_DW_SERVER = $(shell $(CD) cmds; make showobjs_dw_server)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
25 BOOTTRACK = $(shell $(CD) modules; make showboottrack)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
26 KERNEL = $(shell $(CD) modules; make showkernel)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
27 SYSMODS = $(shell $(CD) modules; make showsysmods)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
28 CLOCKS = $(shell $(CD) modules; make showclocks)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
29 RBF = $(shell $(CD) modules; make showrbf)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
30 SCF = $(shell $(CD) modules; make showscf)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
31 PIPE = $(shell $(CD) modules; make showpipe)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
32 MODULECMDS = shell grfdrv del echo format makdir merge os9gen prompt tmode
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
33
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
34 DEFS = $(shell $(CD) defs; make showobjs)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
35 SYSBIN = $(shell $(CD) sys; make showbinobjs)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
36 SYSTEXT = $(shell $(CD) sys; make showtextobjs)
2265
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
37 STARTUP = startup
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
38 STARTUP_DW_SERVER = startup.dwserver
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
39 SYSGO = sysgo_dd
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
40
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
41 PACKAGENAME = $(DISTROVER).zip
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
42 DSKDW3 = $(DISTROVER)_dw3.dsk
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
43 LDSKDW3 = $(DISTRONAME)_dw3.dsk
2265
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
44 DSKDW3_SERVER = $(DISTROVER)_dw3_server.dsk
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
45 LDSKDW3_SERVER = $(DISTRONAME)_dw3_server.dsk
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
46 DSK360K_1 = $(DISTROVER)_40d_1.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
47 LDSK360K_1 = $(DISTRONAME)_40d_1.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
48 DSK360K_1_50HZ = $(DISTROVER)_40d_1_50hz.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
49 LDSK360K_1_50HZ = $(DISTRONAME)_40d_1_50hz.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
50 DSK360K_2 = $(DISTROVER)_40d_2.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
51 LDSK360K_2 = $(DISTRONAME)_40d_2.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
52 DSK720K = $(DISTROVER)_80d.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
53 LDSK720K = $(DISTRONAME)_80d.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
54 DSK720K_50HZ = $(DISTROVER)_80d_50hz.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
55 LDSK720K_50HZ = $(DISTRONAME)_80d_50hz.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
56 TESTDSK = test.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
57
2265
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
58 DSKS = $(DSKDW3) $(DSKDW3_SERVER) $(DSK360K_1) $(DSK360K_1_50HZ) $(DSK360K_2) $(DSK720K) $(DSK720K_50HZ)
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
59 LDSKS = $(LDSKDW3) $(LDSKDW3_SERVER) $(LDSK360K_1) $(LDSK360K_1_50HZ) $(LDSK360K_2) $(LDSK720K) $(LDSK720K_50HZ)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
60
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
61 # Make all components
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
62 all:
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
63 @$(ECHO) "**************************************************"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
64 @$(ECHO) "* *"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
65 @$(ECHO) "* NitrOS-9/$(CPU) Level 2 Distribution *"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
66 @$(ECHO) "* *"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
67 @$(ECHO) "**************************************************"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
68 $(foreach dir, $(DIRS), ($(CD) $(dir); make);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
69
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
70 # Clean all components
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
71 clean: dskclean
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
72 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
73
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
74 dskclean:
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
75 -$(RM) $(PACKAGENAME) $(DSKS) $(LDSKS)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
76
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
77 dsk: all $(PACKAGENAME)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
78
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
79 dskcopy: dsk
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
80 $(CP) $(DSKS) $(DSKDIR)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
81
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
82 scp: dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
83 scp $(PACKAGENAME) boisy@cvs.nitros9.org:/home/nitros9/public_html
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
84
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
85 $(PACKAGENAME): $(DSKS) ../../ReadMe ../../ChangeLog
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
86 $(ARCHIVE) $@ $^
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
87
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
88 $(DSKDW3):
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
89 -$(RM) $@
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
90 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2"
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
91 $(OS9GEN) $@ -b=$(BOOTFILE_DW3) -t=$(KERNELFILE_DW3)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
92 $(MAKDIR) $@,CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
93 $(MAKDIR) $@,SYS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
94 $(MAKDIR) $@,DEFS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
95 $(CP) modules/$(SYSGO) $@,sysgo
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
96 $(OS9ATTR_EXEC) $@,sysgo
2243
cacf283930e6 Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents: 2217
diff changeset
97 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS
cacf283930e6 Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents: 2217
diff changeset
98 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
99 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
100 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
101 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
102 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
103 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
104 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2265
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
105 $(CPL) $(STARTUP) $@,.
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
106 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
107 $(MAKDIR) $@,NITROS9
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
108 $(MAKDIR) $@,NITROS9/$(DISTRO)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
109 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
110 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
111 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
112 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
113 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
114 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
115 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
116 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
117 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
118 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
119 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
120 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
121 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
122 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
123 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
124 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
125 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
126 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
127 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
128 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
129 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
130 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
131 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
132 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
133 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
134 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
135 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
136 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
137 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
138 $(RM) $(LDSKDW3)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
139 $(SOFTLINK) $@ $(LDSKDW3)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
140
2265
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
141 $(DSKDW3_SERVER):
2246
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
142 -$(RM) $@
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
143 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2"
2265
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
144 $(OS9GEN) $@ -b=$(BOOTFILE_DW3_SERVER) -t=$(KERNELFILE_DW3)
2246
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
145 $(MAKDIR) $@,CMDS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
146 $(MAKDIR) $@,SYS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
147 $(CP) modules/$(SYSGO) $@,sysgo
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
148 $(OS9ATTR_EXEC) $@,sysgo
2265
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
149 $(CD) cmds; $(CP) $(CMDS_DW_SERVER) ../$@,CMDS
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
150 $(foreach file, $(CMDS_DW_SERVER), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2246
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
151 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
152 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
153 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
154 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
2265
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
155 $(CPL) $(STARTUP_DW_SERVER) $@,startup
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
156 $(OS9ATTR_TEXT) $@,startup
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
157 $(RM) $(LDSKDW3_SERVER)
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
158 $(SOFTLINK) $@ $(LDSKDW3_SERVER)
2246
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
159
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
160 $(DSK360K_1):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
161 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
162 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
163 $(OS9GEN) $@ -b=$(BOOTFILE_40D) -t=$(KERNELFILE)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
164 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
165 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
166 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
167 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
168 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
169 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
170 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
171 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
172 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
173 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
174 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
175 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
176 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2265
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
177 $(CPL) $(STARTUP) $@,.
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
178 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
179 $(RM) $(LDSK360K_1)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
180 $(SOFTLINK) $@ $(LDSK360K_1)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
181
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
182 $(DSK360K_1_50HZ):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
183 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
184 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
185 $(OS9GEN) $@ -b=$(BOOTFILE_40D_50HZ) -t=$(KERNELFILE_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
186 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
187 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
188 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
189 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
190 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
191 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
192 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
193 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
194 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
195 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
196 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
197 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
198 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2265
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
199 $(CPL) $(STARTUP) $@,.
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
200 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
201 $(RM) $(LDSK360K_1_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
202 $(SOFTLINK) $@ $(LDSK360K_1_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
203
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
204 $(DSK360K_2):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
205 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
206 $(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: 2051
diff changeset
207 $(MAKDIR) $@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2051
diff changeset
208 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2051
diff changeset
209 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
210 $(MAKDIR) $@,NITROS9
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
211 $(MAKDIR) $@,NITROS9/$(DISTRO)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
212 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
213 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
214 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
215 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
216 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
217 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
218 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
219 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
220 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
221 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
222 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
223 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
224 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
225 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
226 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
227 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
228 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
229 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
230 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
231 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
232 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
233 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
234 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
235 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
236 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
237 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
238 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
239 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
240 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
241 $(RM) $(LDSK360K_2)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
242 $(SOFTLINK) $@ $(LDSK360K_2)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
243
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
244 $(DSK720K):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
245 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
246 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level 2"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
247 $(OS9GEN) $@ -b=$(BOOTFILE_80D) -t=$(KERNELFILE)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
248 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
249 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
250 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
251 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
252 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
253 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
254 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2105
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2051
diff changeset
255 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2051
diff changeset
256 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
257 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
258 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
259 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
260 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
261 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
262 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2265
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
263 $(CPL) $(STARTUP) $@,.
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
264 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
265 $(MAKDIR) $@,NITROS9
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
266 $(MAKDIR) $@,NITROS9/$(DISTRO)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
267 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
268 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
269 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
270 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
271 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
272 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
273 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
274 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
275 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
276 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
277 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
278 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
279 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
280 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
281 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
282 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
283 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
284 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
285 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
286 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
287 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
288 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
289 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
290 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
291 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
292 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
293 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
294 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
295 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
296 $(RM) $(LDSK720K)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
297 $(SOFTLINK) $@ $(LDSK720K)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
298
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
299 $(DSK720K_50HZ):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
300 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
301 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level 2"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
302 $(OS9GEN) $@ -b=$(BOOTFILE_80D_50HZ) -t=$(KERNELFILE_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
303 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
304 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
305 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
306 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
307 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
308 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
309 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2105
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2051
diff changeset
310 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2051
diff changeset
311 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
312 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
313 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
314 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
315 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
316 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
317 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2265
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
318 $(CPL) $(STARTUP) $@,.
581d99904cc5 makefiles updated
boisy
parents: 2258
diff changeset
319 $(foreach file, $(STARTUP), $(OS9ATTR_TEXT) $@,$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
320 $(MAKDIR) $@,NITROS9
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
321 $(MAKDIR) $@,NITROS9/$(DISTRO)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
322 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
323 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
324 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
325 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
326 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
327 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
328 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
329 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
330 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
331 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
332 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
333 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
334 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
335 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
336 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
337 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
338 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
339 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
340 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
341 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
342 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
343 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
344 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
345 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
346 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
347 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
348 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
349 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
350 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
351 $(RM) $(LDSK720K_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
352 $(SOFTLINK) $@ $(LDSK720K_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
353
2216
d096a278e068 Added info targets
boisy
parents: 2199
diff changeset
354 info:
d096a278e068 Added info targets
boisy
parents: 2199
diff changeset
355 @$(ECHO) "*** NitrOS-9/6309 Level 2 for the Tandy Color Computer 3 ***"
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
356 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)