Mercurial > hg > Members > kono > nitros9-code
annotate level1/makefile @ 1942:b41df77588b0
printer is now scbbp
sio is now scbbt
All references changed in various files
author | boisy |
---|---|
date | Sat, 26 Nov 2005 22:51:50 +0000 |
parents | 1e312b144f4d |
children |
rev | line source |
---|---|
1363 | 1 include ../rules.mak |
1166 | 2 |
1771 | 3 CPU = 6809 |
1787 | 4 LEVEL = 1 |
5 | |
6 # Level 1 - Specify which shell should be used | |
7 #WHICHSHELL = shellplus | |
8 WHICHSHELL = shell_21 | |
9 | |
1856
6cbe386d981f
Corrected issue in makefiles so that directory under NITROS9 is properly named
boisy
parents:
1799
diff
changeset
|
10 DISTRO = $(CPU)L$(LEVEL) |
6cbe386d981f
Corrected issue in makefiles so that directory under NITROS9 is properly named
boisy
parents:
1799
diff
changeset
|
11 DISTRONAME = nos9$(CPU)l$(LEVEL) |
1872 | 12 DISTROVER = $(DISTRONAME)$(NITROS9VER) |
1933 | 13 BOOTFILE_COVDG = bootfiles/bootfile_covdg |
14 BOOTFILE_COHR = bootfiles/bootfile_cohr | |
15 BOOTFILE_COVDG_DS80 = bootfiles/bootfile_covdg_ds80 | |
16 BOOTFILE_COHR_DS80 = bootfiles/bootfile_cohr_ds80 | |
1561 | 17 KERNELFILE = bootfiles/kernel_1773 |
1363 | 18 DIRS = cmds modules defs sys bootfiles |
454 | 19 |
1510 | 20 |
1363 | 21 CMDS = $(shell $(CD) cmds; make showcocoobjs) |
22 BOOTTRACK = $(shell $(CD) modules; make showboottrack) | |
23 KERNEL = $(shell $(CD) modules; make showkernel) | |
24 SYSMODS = $(shell $(CD) modules; make showsysmods) | |
25 CLOCKS = $(shell $(CD) modules; make showclocks) | |
26 RBF = $(shell $(CD) modules; make showrbf) | |
27 SCF = $(shell $(CD) modules; make showscf) | |
28 PIPE = $(shell $(CD) modules; make showpipe) | |
1695 | 29 MODULECMDS = $(WHICHSHELL) del echo format makdir merge os9gen prompt tmode |
1186 | 30 |
1363 | 31 SYS = $(shell $(CD) sys; make showobjs) |
32 DEFS = $(shell $(CD) defs; make showobjs) | |
454 | 33 ROOTFILES = startup |
34 | |
1787 | 35 PACKAGENAME = $(DISTROVER).zip |
36 DSK360K_1 = $(DISTROVER)_40d_1.dsk | |
1856
6cbe386d981f
Corrected issue in makefiles so that directory under NITROS9 is properly named
boisy
parents:
1799
diff
changeset
|
37 LDSK360K_1 = $(DISTRONAME)_40d_1.dsk |
1787 | 38 DSK360K_2 = $(DISTROVER)_40d_2.dsk |
1856
6cbe386d981f
Corrected issue in makefiles so that directory under NITROS9 is properly named
boisy
parents:
1799
diff
changeset
|
39 LDSK360K_2 = $(DISTRONAME)_40d_2.dsk |
1787 | 40 DSK720K = $(DISTROVER)_80d.dsk |
1856
6cbe386d981f
Corrected issue in makefiles so that directory under NITROS9 is properly named
boisy
parents:
1799
diff
changeset
|
41 LDSK720K = $(DISTRONAME)_80d.dsk |
323 | 42 |
1186 | 43 |
0 | 44 # Make all components |
45 all: | |
1363 | 46 @$(ECHO) "**************************************************" |
47 @$(ECHO) "* *" | |
48 @$(ECHO) "* NitrOS-9/6809 Level 1 Distribution *" | |
49 @$(ECHO) "* *" | |
50 @$(ECHO) "**************************************************" | |
1132 | 51 $(foreach dir, $(DIRS), ($(CD) $(dir); make);) |
0 | 52 |
53 # Clean all components | |
454 | 54 clean: dskclean |
1132 | 55 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);) |
454 | 56 |
57 dskclean: | |
1787 | 58 -$(RM) $(PACKAGENAME) $(DSK360K_1) $(LDSK360K_1) \ |
59 $(DSK360K_2) $(LDSK360K_2) $(DSK720K) $(LDSK720K) | |
1771 | 60 |
454 | 61 |
62 dsk: all $(PACKAGENAME) | |
63 | |
1119
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
1076
diff
changeset
|
64 dskcopy: dsk |
1445 | 65 $(CP) $(DSK360K_1) $(DSK360K_2) $(DSK720K) $(PACKAGENAME) $(DSKDIR) |
1119
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
1076
diff
changeset
|
66 |
1696 | 67 scp: dsk |
68 scp $(PACKAGENAME) boisy@cvs.nitros9.org:/home/nitros9/public_html | |
69 | |
1446 | 70 $(PACKAGENAME): $(DSK360K_1) $(DSK360K_2) $(DSK720K) ReadMe ChangeLog |
1132 | 71 $(ARCHIVE) $@ $^ |
710 | 72 |
1445 | 73 $(DSK360K_1): |
1122 | 74 $(RM) $@ |
1419 | 75 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/6809 Level 1 Disk 1" |
1933 | 76 $(OS9GEN) $@ -b=$(BOOTFILE_COVDG) -t=$(KERNELFILE) |
1122 | 77 $(MAKDIR) $@,CMDS |
78 $(MAKDIR) $@,SYS | |
1363 | 79 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS |
1126 | 80 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
1510 | 81 $(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell |
1363 | 82 $(CD) sys; $(CPL) $(SYS) ../$@,SYS |
1126 | 83 $(foreach file, $(SYS), $(OS9ATTR_TEXT) $@,SYS/$(file);) |
1122 | 84 $(MAKDIR) $@,DEFS |
1363 | 85 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS |
1126 | 86 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) |
1122 | 87 $(CPL) $(ROOTFILES) $@,. |
1126 | 88 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) |
1771 | 89 $(RM) $(LDSK360K_1) |
90 $(SOFTLINK) $@ $(LDSK360K_1) | |
710 | 91 |
1445 | 92 $(DSK360K_2): |
1122 | 93 $(RM) $@ |
1419 | 94 $(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/6809 Level 1 Disk 2" |
1369 | 95 $(MAKDIR) $@,NITROS9 |
96 $(MAKDIR) $@,NITROS9/6809L1 | |
97 $(MAKDIR) $@,NITROS9/6809L1/CMDS | |
98 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/6809L1/CMDS | |
99 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/CMDS/$(file);) | |
1561 | 100 $(OS9RENAME) $@,NITROS9/6809L1/CMDS//$(WHICHSHELL) shell |
1369 | 101 $(MAKDIR) $@,NITROS9/6809L1/MODULES |
102 $(MAKDIR) $@,NITROS9/6809L1/MODULES/BOOTTRACK | |
103 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/6809L1/MODULES/BOOTTRACK | |
104 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/BOOTTRACK/$(file);) | |
105 $(MAKDIR) $@,NITROS9/6809L1/MODULES/KERNEL | |
106 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/6809L1/MODULES/KERNEL | |
107 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/KERNEL/$(file);) | |
108 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SYSMODS | |
109 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/6809L1/MODULES/SYSMODS | |
110 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SYSMODS/$(file);) | |
111 $(MAKDIR) $@,NITROS9/6809L1/MODULES/CLOCKS | |
112 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/6809L1/MODULES/CLOCKS | |
113 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/CLOCKS/$(file);) | |
114 $(MAKDIR) $@,NITROS9/6809L1/MODULES/RBF | |
115 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/6809L1/MODULES/RBF | |
116 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/RBF/$(file);) | |
117 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SCF | |
118 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/6809L1/MODULES/SCF | |
119 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SCF/$(file);) | |
120 $(MAKDIR) $@,NITROS9/6809L1/MODULES/PIPE | |
121 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/6809L1/MODULES/PIPE | |
122 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);) | |
123 $(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS | |
124 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS | |
1390 | 125 $(MAKDIR) $@,NITROS9/6809L1/SCRIPTS |
126 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS | |
1771 | 127 $(RM) $(LDSK360K_2) |
128 $(SOFTLINK) $@ $(LDSK360K_2) | |
1026 | 129 |
1445 | 130 $(DSK720K): |
131 $(RM) $@ | |
132 $(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/6809 Level 1" | |
1933 | 133 $(OS9GEN) $@ -b=$(BOOTFILE_COVDG_DS80) -t=$(KERNELFILE) |
1445 | 134 $(MAKDIR) $@,CMDS |
135 $(MAKDIR) $@,SYS | |
1545 | 136 $(MAKDIR) $@,DEFS |
1445 | 137 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS |
138 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
1510 | 139 $(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell |
1445 | 140 $(CD) sys; $(CPL) $(SYS) ../$@,SYS |
141 $(foreach file, $(SYS), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
142 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
143 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) | |
144 $(CPL) $(ROOTFILES) $@,. | |
145 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
146 $(MAKDIR) $@,NITROS9 | |
147 $(MAKDIR) $@,NITROS9/6809L1 | |
148 $(MAKDIR) $@,NITROS9/6809L1/CMDS | |
149 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/6809L1/CMDS | |
150 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/CMDS/$(file);) | |
1644
d6e7953964e0
makefile now renames shell_21 to shell in NITROS9/6809l1/CMDS
boisy
parents:
1587
diff
changeset
|
151 $(OS9RENAME) $@,NITROS9/6809L1/CMDS/$(WHICHSHELL) shell |
1445 | 152 $(MAKDIR) $@,NITROS9/6809L1/MODULES |
153 $(MAKDIR) $@,NITROS9/6809L1/MODULES/BOOTTRACK | |
154 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/6809L1/MODULES/BOOTTRACK | |
155 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/BOOTTRACK/$(file);) | |
156 $(MAKDIR) $@,NITROS9/6809L1/MODULES/KERNEL | |
157 $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/6809L1/MODULES/KERNEL | |
158 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/KERNEL/$(file);) | |
159 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SYSMODS | |
160 $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/6809L1/MODULES/SYSMODS | |
161 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SYSMODS/$(file);) | |
162 $(MAKDIR) $@,NITROS9/6809L1/MODULES/CLOCKS | |
163 $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/6809L1/MODULES/CLOCKS | |
164 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/CLOCKS/$(file);) | |
165 $(MAKDIR) $@,NITROS9/6809L1/MODULES/RBF | |
166 $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/6809L1/MODULES/RBF | |
167 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/RBF/$(file);) | |
168 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SCF | |
169 $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/6809L1/MODULES/SCF | |
170 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SCF/$(file);) | |
171 $(MAKDIR) $@,NITROS9/6809L1/MODULES/PIPE | |
172 $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/6809L1/MODULES/PIPE | |
173 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);) | |
174 $(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS | |
175 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS | |
176 $(MAKDIR) $@,NITROS9/6809L1/SCRIPTS | |
177 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS | |
1771 | 178 $(RM) $(LDSK720K) |
179 $(SOFTLINK) $@ $(LDSK720K) | |
1445 | 180 |
181 |