annotate level2/coco3_6309/makefile @ 2258:c5e313a93c68

SCDWT descriptors are now made from one file
author boisy
date Sun, 27 Dec 2009 17:51:19 +0000
parents 1c54460565f3
children 581d99904cc5
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
2246
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
11 BOOTFILE_DW3_MIN = bootfiles/bootfile_dw3_min
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)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
24 BOOTTRACK = $(shell $(CD) modules; make showboottrack)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
25 KERNEL = $(shell $(CD) modules; make showkernel)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
26 SYSMODS = $(shell $(CD) modules; make showsysmods)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
27 CLOCKS = $(shell $(CD) modules; make showclocks)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
28 RBF = $(shell $(CD) modules; make showrbf)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
29 SCF = $(shell $(CD) modules; make showscf)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
30 PIPE = $(shell $(CD) modules; make showpipe)
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
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
33 DEFS = $(shell $(CD) defs; make showobjs)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
34 SYSBIN = $(shell $(CD) sys; make showbinobjs)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
35 SYSTEXT = $(shell $(CD) sys; make showtextobjs)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
36 ROOTFILES = startup
2258
c5e313a93c68 SCDWT descriptors are now made from one file
boisy
parents: 2246
diff changeset
37 ROOTFILES_DW = $(ROOTFILES) ../coco3/startup.dw
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
38 SYSGO = sysgo_dd
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
39
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
40 PACKAGENAME = $(DISTROVER).zip
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
41 DSKDW3 = $(DISTROVER)_dw3.dsk
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
42 LDSKDW3 = $(DISTRONAME)_dw3.dsk
2246
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
43 DSKDW3_MIN = $(DISTROVER)_dw3_min.dsk
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
44 LDSKDW3_MIN = $(DISTRONAME)_dw3_min.dsk
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
45 DSK360K_1 = $(DISTROVER)_40d_1.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
46 LDSK360K_1 = $(DISTRONAME)_40d_1.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
47 DSK360K_1_50HZ = $(DISTROVER)_40d_1_50hz.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
48 LDSK360K_1_50HZ = $(DISTRONAME)_40d_1_50hz.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
49 DSK360K_2 = $(DISTROVER)_40d_2.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
50 LDSK360K_2 = $(DISTRONAME)_40d_2.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
51 DSK720K = $(DISTROVER)_80d.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
52 LDSK720K = $(DISTRONAME)_80d.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
53 DSK720K_50HZ = $(DISTROVER)_80d_50hz.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
54 LDSK720K_50HZ = $(DISTRONAME)_80d_50hz.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
55 TESTDSK = test.dsk
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
56
2246
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
57 DSKS = $(DSKDW3) $(DSKDW3_MIN) $(DSK360K_1) $(DSK360K_1_50HZ) $(DSK360K_2) $(DSK720K) $(DSK720K_50HZ)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
58 LDSKS = $(LDSKDW3) $(LDSKDW3_MIN) $(LDSK360K_1) $(LDSK360K_1_50HZ) $(LDSK360K_2) $(LDSK720K) $(LDSK720K_50HZ)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
59
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
60 # Make all components
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
61 all:
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
62 @$(ECHO) "**************************************************"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
63 @$(ECHO) "* *"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
64 @$(ECHO) "* NitrOS-9/$(CPU) Level 2 Distribution *"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
65 @$(ECHO) "* *"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
66 @$(ECHO) "**************************************************"
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
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
96 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
97 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
98 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
99 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2243
cacf283930e6 Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents: 2217
diff changeset
100 $(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
101 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
102 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
103 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
104 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
105 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
106 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
107 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2258
c5e313a93c68 SCDWT descriptors are now made from one file
boisy
parents: 2246
diff changeset
108 $(CPL) $(ROOTFILES_DW) $@,.
c5e313a93c68 SCDWT descriptors are now made from one file
boisy
parents: 2246
diff changeset
109 $(foreach file, $(ROOTFILES_DW), $(OS9ATTR_TEXT) $@,$(file);)
2180
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
110 $(MAKDIR) $@,NITROS9
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
111 $(MAKDIR) $@,NITROS9/$(DISTRO)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
112 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
113 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
114 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
115 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
116 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
117 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
118 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
119 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
120 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
121 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
122 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
123 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
124 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
125 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
126 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
127 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
128 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
129 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
130 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
131 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
132 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
133 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
134 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
135 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
136 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
137 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
138 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
139 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
140 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
141 $(RM) $(LDSKDW3)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
142 $(SOFTLINK) $@ $(LDSKDW3)
660cc987e18d Added DriveWire 3 modules to distribution
boisy
parents: 2156
diff changeset
143
2246
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
144 $(DSKDW3_MIN):
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
145 -$(RM) $@
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
146 $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 2"
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
147 $(OS9GEN) $@ -b=$(BOOTFILE_DW3_MIN) -t=$(KERNELFILE_DW3)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
148 $(MAKDIR) $@,CMDS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
149 $(MAKDIR) $@,SYS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
150 $(MAKDIR) $@,DEFS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
151 $(CP) modules/$(SYSGO) $@,sysgo
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
152 $(OS9ATTR_EXEC) $@,sysgo
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
153 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
154 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
155 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
156 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
157 $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
158 $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
159 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
160 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
161 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
162 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
163 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
164 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
2258
c5e313a93c68 SCDWT descriptors are now made from one file
boisy
parents: 2246
diff changeset
165 $(CPL) $(ROOTFILES_DW) $@,.
c5e313a93c68 SCDWT descriptors are now made from one file
boisy
parents: 2246
diff changeset
166 $(foreach file, $(ROOTFILES_DW), $(OS9ATTR_TEXT) $@,$(file);)
2246
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
167 $(MAKDIR) $@,NITROS9
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
168 $(MAKDIR) $@,NITROS9/$(DISTRO)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
169 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
170 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
171 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
172 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
173 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
174 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
175 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
176 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
177 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
178 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
179 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
180 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
181 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
182 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
183 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
184 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
185 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
186 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
187 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
188 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
189 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
190 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
191 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
192 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
193 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
194 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
195 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
196 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
197 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
198 $(RM) $(LDSKDW3_MIN)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
199 $(SOFTLINK) $@ $(LDSKDW3_MIN)
1c54460565f3 Updated makefiles to build DW3_min disks
boisy
parents: 2243
diff changeset
200
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
201 $(DSK360K_1):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
202 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
203 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
204 $(OS9GEN) $@ -b=$(BOOTFILE_40D) -t=$(KERNELFILE)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
205 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
206 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
207 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
208 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
209 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
210 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
211 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
212 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
213 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
214 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
215 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
216 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
217 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
218 $(CPL) $(ROOTFILES) $@,.
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
219 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
220 $(RM) $(LDSK360K_1)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
221 $(SOFTLINK) $@ $(LDSK360K_1)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
222
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
223 $(DSK360K_1_50HZ):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
224 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
225 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/$(CPU) Level 2 Disk 1"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
226 $(OS9GEN) $@ -b=$(BOOTFILE_40D_50HZ) -t=$(KERNELFILE_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
227 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
228 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
229 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
230 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
231 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
232 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
233 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
234 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
235 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
236 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
237 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
238 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
239 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
240 $(CPL) $(ROOTFILES) $@,.
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
241 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
242 $(RM) $(LDSK360K_1_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
243 $(SOFTLINK) $@ $(LDSK360K_1_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
244
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
245 $(DSK360K_2):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
246 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
247 $(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
248 $(MAKDIR) $@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2051
diff changeset
249 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2051
diff changeset
250 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
251 $(MAKDIR) $@,NITROS9
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
252 $(MAKDIR) $@,NITROS9/$(DISTRO)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
253 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
254 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
255 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
256 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
257 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
258 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
259 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
260 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
261 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
262 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
263 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
264 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
265 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
266 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
267 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
268 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
269 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
270 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
271 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
272 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
273 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
274 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
275 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
276 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
277 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
278 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
279 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
280 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
281 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
282 $(RM) $(LDSK360K_2)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
283 $(SOFTLINK) $@ $(LDSK360K_2)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
284
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
285 $(DSK720K):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
286 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
287 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level 2"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
288 $(OS9GEN) $@ -b=$(BOOTFILE_80D) -t=$(KERNELFILE)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
289 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
290 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
291 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
292 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
293 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
294 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
295 $(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
296 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2051
diff changeset
297 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
298 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
299 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
300 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
301 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
302 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
303 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
304 $(CPL) $(ROOTFILES) $@,.
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
305 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
306 $(MAKDIR) $@,NITROS9
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
307 $(MAKDIR) $@,NITROS9/$(DISTRO)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
308 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
309 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
310 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
311 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
312 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
313 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
314 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
315 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
316 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
317 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
318 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
319 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
320 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
321 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
322 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
323 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
324 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
325 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
326 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
327 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
328 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
329 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
330 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
331 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
332 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
333 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
334 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
335 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
336 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
337 $(RM) $(LDSK720K)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
338 $(SOFTLINK) $@ $(LDSK720K)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
339
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
340 $(DSK720K_50HZ):
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
341 -$(RM) $@
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
342 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/$(CPU) Level 2"
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
343 $(OS9GEN) $@ -b=$(BOOTFILE_80D_50HZ) -t=$(KERNELFILE_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
344 $(MAKDIR) $@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
345 $(MAKDIR) $@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
346 $(MAKDIR) $@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
347 $(CP) modules/$(SYSGO) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
348 $(OS9ATTR_EXEC) $@,sysgo
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
349 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
350 $(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
351 $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
d5824ed9c767 Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents: 2051
diff changeset
352 $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
353 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
354 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
355 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
356 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
357 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
358 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
359 $(CPL) $(ROOTFILES) $@,.
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
360 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
361 $(MAKDIR) $@,NITROS9
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
362 $(MAKDIR) $@,NITROS9/$(DISTRO)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
363 $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
364 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/$(DISTRO)/CMDS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
365 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/CMDS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
366 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
367 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
368 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
369 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/BOOTTRACK/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
370 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
371 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/$(DISTRO)/MODULES/KERNEL
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
372 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/KERNEL/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
373 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
374 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/$(DISTRO)/MODULES/SYSMODS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
375 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SYSMODS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
376 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
377 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/$(DISTRO)/MODULES/CLOCKS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
378 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/CLOCKS/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
379 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
380 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/$(DISTRO)/MODULES/RBF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
381 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/RBF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
382 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
383 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/$(DISTRO)/MODULES/SCF
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
384 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/SCF/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
385 $(MAKDIR) $@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
386 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/$(DISTRO)/MODULES/PIPE
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
387 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/$(DISTRO)/MODULES/PIPE/$(file);)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
388 $(MAKDIR) $@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
389 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/$(DISTRO)/BOOTLISTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
390 $(MAKDIR) $@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
391 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/$(DISTRO)/SCRIPTS
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
392 $(RM) $(LDSK720K_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
393 $(SOFTLINK) $@ $(LDSK720K_50HZ)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
394
2216
d096a278e068 Added info targets
boisy
parents: 2199
diff changeset
395 info:
d096a278e068 Added info targets
boisy
parents: 2199
diff changeset
396 @$(ECHO) "*** NitrOS-9/6309 Level 2 for the Tandy Color Computer 3 ***"
2217
0e1b2536b299 Updated macro names
boisy
parents: 2216
diff changeset
397 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)