annotate level1/dalpha/makefile @ 2155:36fc925d2873

ReadMe moved
author boisy
date Wed, 14 May 2008 02:17:55 +0000
parents bf7f2d8ee14a
children eab970e382e2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2101
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
1 #
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
2 #level1/dalpha/makefile
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
3 #
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
4 # 2005-04-24, P.Harvey-Smith.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
5 # Brought into line with CoCo makefile, for generating disk
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
6 # names baded on CPU/Level/Release number.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
7 #
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
8 #
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
9 # 2005-05-31, P.Harvey-Smith.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
10 # Added options to specify the step rate of the created
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
11 # floppy devices.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
12 #
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
13 # 2006-01-08, P.Harvey-Smith.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
14 # Added option to compile for a Dragon 32 that has been upgraded
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
15 # to 64K, this is almost the same as the 64, except that it lacks
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
16 # a serial port.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
17 #
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
18 # 2006-01-08, P.Harvey-Smith.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
19 # Determined experementally the correct step rate for Dragon Data
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
20 # 5.25" drives, which is 12ms, this is over half the time of the
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
21 # value determined by using dmode under Dragon OS9. It seems that
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
22 # the Dragon OS9 dis driver ignored the value set for stp, and always
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
23 # used 12ms !!!!
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
24 #
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
25 # 2006-01-18, P.Harvey-Smith.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
26 # Updates to support Tano Dragon 64, using RS-DOS controler.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
27 #
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
28 # 2006-07-06, P.Harvey-Smith.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
29 # Updated to use new build system, for multiple supported platforms.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
30 #
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
31
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
32 PORT = dalpha
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
33 include $(NITROS9DIR)/rules.mak
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
34
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
35 CPU = 6809
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
36 LEVEL = 1
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
37
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
38 # TERMWIDTH can be either VDG or HR, for 32x16 or 51x24 respectivly
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
39 #NOTE must be lower case.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
40 TERMWIDTH = hr
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
41
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
42
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
43 #Default step rate for floppy drives
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
44 #Step can be one of : 0=30ms, 1=20ms, 2=12ms, 3=6ms
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
45 #Note old drives often require 30ms
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
46 #After experimenting with a real Dragon Data 5.25" drive I
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
47 #have determined that the drive will cope with 12ms step.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
48 #Therefore setting this as the default for 32/64 also.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
49 STEP = 2
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
50
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
51 #Is this machine a real 64, or a 32, upgraded to 64K.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
52 #Set to 1 for upgraded machine.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
53 UPGRADED32 = 0
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
54
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
55 # Level 1 - Specify which shell should be used
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
56 #WHICHSHELL = shellplus
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
57 WHICHSHELL = shell_21
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
58
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
59 DISTRO = $(CPU)L$(LEVEL)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
60 DISTRONAME = nos9$(CPU)l$(LEVEL)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
61 DISTROVER = $(DISTRONAME)$(NITROS9VER)$(PORT)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
62
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
63 BOOTFILE_COVDG = bootfiles/bootfile_covdg_ss80
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
64 BOOTFILE_COHR = bootfiles/bootfile_cohr_ss80
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
65 BOOTFILE_COVDG_DS80 = bootfiles/bootfile_covdg_ds80
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
66 BOOTFILE_COHR_DS80 = bootfiles/bootfile_cohr_ds80
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
67
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
68 BOOTFILE_SS80 = bootfiles/bootfile_co$(TERMWIDTH)_ss80
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
69 BOOTFILE_DS80 = bootfiles/bootfile_co$(TERMWIDTH)_ds80
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
70
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
71 KERNELFILE = bootfiles/kernel
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
72 DIRS = cmds modules defs sys bootfiles
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
73
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
74 #DIRS = cmds sys
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
75 #modules bootfiles
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
76 #DDIRS = modules bootfiles defs
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
77
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
78 CMDS = $(shell $(CD) cmds; make showcocoobjs)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
79 BOOTTRACK = $(shell $(CD) modules; make showboottrack)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
80 KERNEL = $(shell $(CD) modules; make showkernel)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
81 SYSMODS = $(shell $(CD) modules; make showsysmods)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
82 CLOCKS = $(shell $(CD) modules; make showclocks)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
83 RBF = $(shell $(CD) modules; make showrbf)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
84 SCF = $(shell $(CD) modules; make showscf)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
85 PIPE = $(shell $(CD) modules; make showpipe)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
86 MODULECMDS = $(WHICHSHELL) del echo format makdir merge os9gen prompt tmode
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
87
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
88 SYS = $(shell $(CD) sys; make showobjs)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
89 DEFS = $(shell $(CD) defs; make showobjs)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
90 ROOTFILES = startup
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
91
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
92 PACKAGENAME = $(DISTROVER).zip
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
93 DSK360K_1 = $(DISTROVER)_80s_1.dsk
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
94 LDSK360K_1 = $(DISTRONAME)_80s_1.dsk
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
95 DSK360K_2 = $(DISTROVER)_80s_2.dsk
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
96 LDSK360K_2 = $(DISTRONAME)_80s_2.dsk
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
97 DSK720K = $(DISTROVER)_80d.dsk
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
98 LDSK720K = $(DISTRONAME)_80d.dsk
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
99
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
100 # Make all components
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
101 all:
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
102 @$(ECHO) "**************************************************"
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
103 @$(ECHO) "* *"
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
104 @$(ECHO) "* NitrOS-9/6809 Level 1 Dragon 64 Port *"
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
105 @$(ECHO) "* *"
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
106 @$(ECHO) "**************************************************"
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
107 $(foreach dir, $(DIRS), ($(CD) $(dir); make STEP=$(STEP) UPGRADED32=$(UPGRADED32));)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
108
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
109 # Clean all components
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
110 clean: dskclean
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
111 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
112
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
113 dskclean:
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
114 -$(RM) $(PACKAGENAME) $(DSK360K_1) $(LDSK360K_1) \
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
115 $(DSK360K_2) $(LDSK360K_2) $(DSK720K) $(LDSK720K) \
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
116
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
117
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
118
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
119 dsk: all $(PACKAGENAME)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
120
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
121 dskcopy: dsk
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
122 $(CP) $(DSK360K_1) $(DSK360K_2) $(DSK720K) $(PACKAGENAME) $(DSKDIR)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
123
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
124 scp: dsk
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
125 scp $(PACKAGENAME) boisy@cvs.nitros9.org:/home/nitros9/public_html
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
126
2155
36fc925d2873 ReadMe moved
boisy
parents: 2154
diff changeset
127 $(PACKAGENAME): $(DSK360K_1) $(DSK360K_2) $(DSK720K) ../../ReadMe ../../ChangeLog
2101
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
128 $(ARCHIVE) $@ $^
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
129
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
130 #Dragon Alpha internal drives are Single sided 80 track
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
131
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
132 $(DSK360K_1):
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
133 $(RM) $@
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
134 $(OS9FORMAT_SS80) -q -dr $@ -n"NitrOS-9/6809 Dragon Alpha Level 1 Disk 1"
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
135 $(OS9GEN) $@ -d -b=$(BOOTFILE_SS80) -t=$(KERNELFILE)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
136 $(MAKDIR) $@,CMDS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
137 $(MAKDIR) $@,SYS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
138 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
139 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
140 $(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
141 $(CD) sys; $(CPL) $(SYS) ../$@,SYS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
142 $(foreach file, $(SYS), $(OS9ATTR_TEXT) $@,SYS/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
143 $(MAKDIR) $@,DEFS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
144 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
145 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
146 $(CPL) $(ROOTFILES) $@,.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
147 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
148 $(RM) $(LDSK360K_1)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
149 $(SOFTLINK) $@ $(LDSK360K_1)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
150
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
151 $(DSK360K_2):
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
152 $(RM) $@
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
153 $(OS9FORMAT_SS80) -q -dr $@ -n"NitrOS-9/6809 Dragon Alpha Level 1 Disk 2"
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
154 $(MAKDIR) $@,NITROS9
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
155 $(MAKDIR) $@,NITROS9/6809L1
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
156 $(MAKDIR) $@,NITROS9/6809L1/CMDS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
157 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/6809L1/CMDS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
158 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/CMDS/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
159 $(OS9RENAME) $@,NITROS9/6809L1/CMDS//$(WHICHSHELL) shell
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
160 $(MAKDIR) $@,NITROS9/6809L1/MODULES
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
161 $(MAKDIR) $@,NITROS9/6809L1/MODULES/BOOTTRACK
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
162 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/6809L1/MODULES/BOOTTRACK
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
163 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/BOOTTRACK/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
164 $(MAKDIR) $@,NITROS9/6809L1/MODULES/KERNEL
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
165 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/6809L1/MODULES/KERNEL
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
166 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/KERNEL/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
167 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SYSMODS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
168 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/6809L1/MODULES/SYSMODS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
169 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SYSMODS/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
170 $(MAKDIR) $@,NITROS9/6809L1/MODULES/CLOCKS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
171 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/6809L1/MODULES/CLOCKS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
172 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/CLOCKS/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
173 $(MAKDIR) $@,NITROS9/6809L1/MODULES/RBF
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
174 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/6809L1/MODULES/RBF
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
175 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/RBF/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
176 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SCF
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
177 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/6809L1/MODULES/SCF
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
178 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SCF/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
179 $(MAKDIR) $@,NITROS9/6809L1/MODULES/PIPE
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
180 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/6809L1/MODULES/PIPE
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
181 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
182 $(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
183 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
184 $(MAKDIR) $@,NITROS9/6809L1/SCRIPTS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
185 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
186 $(RM) $(LDSK360K_2)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
187 $(SOFTLINK) $@ $(LDSK360K_2)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
188
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
189 $(DSK720K):
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
190 $(RM) $@
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
191 $(OS9FORMAT_DS80) -q -dr -c2 $@ -n"NitrOS-9/6809 Dragon Level 1"
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
192 $(OS9GEN) $@ -d -b=$(BOOTFILE_DS80) -t=$(KERNELFILE)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
193 $(MAKDIR) $@,CMDS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
194 $(MAKDIR) $@,SYS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
195 $(MAKDIR) $@,DEFS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
196 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
197 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
198 $(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
199 $(CD) sys; $(CPL) $(SYS) ../$@,SYS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
200 $(foreach file, $(SYS), $(OS9ATTR_TEXT) $@,SYS/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
201 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
202 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
203 $(CPL) $(ROOTFILES) $@,.
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
204 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
205 $(MAKDIR) $@,NITROS9
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
206 $(MAKDIR) $@,NITROS9/6809L1
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
207 $(MAKDIR) $@,NITROS9/6809L1/CMDS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
208 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/6809L1/CMDS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
209 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/CMDS/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
210 $(OS9RENAME) $@,NITROS9/6809L1/CMDS/$(WHICHSHELL) shell
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
211 $(MAKDIR) $@,NITROS9/6809L1/MODULES
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
212 $(MAKDIR) $@,NITROS9/6809L1/MODULES/BOOTTRACK
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
213 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/6809L1/MODULES/BOOTTRACK
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
214 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/BOOTTRACK/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
215 $(MAKDIR) $@,NITROS9/6809L1/MODULES/KERNEL
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
216 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/6809L1/MODULES/KERNEL
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
217 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/KERNEL/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
218 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SYSMODS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
219 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/6809L1/MODULES/SYSMODS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
220 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SYSMODS/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
221 $(MAKDIR) $@,NITROS9/6809L1/MODULES/CLOCKS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
222 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/6809L1/MODULES/CLOCKS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
223 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/CLOCKS/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
224 $(MAKDIR) $@,NITROS9/6809L1/MODULES/RBF
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
225 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/6809L1/MODULES/RBF
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
226 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/RBF/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
227 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SCF
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
228 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/6809L1/MODULES/SCF
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
229 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SCF/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
230 $(MAKDIR) $@,NITROS9/6809L1/MODULES/PIPE
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
231 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/6809L1/MODULES/PIPE
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
232 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
233 $(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
234 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
235 $(MAKDIR) $@,NITROS9/6809L1/SCRIPTS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
236 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
237 $(RM) $(LDSK720K)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
238 $(SOFTLINK) $@ $(LDSK720K)
56f966b82dc4 Update for new build system
afra
parents:
diff changeset
239