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