annotate level1/makefile @ 1364:638e8b6421c1

More changes
author boisy
date Fri, 26 Sep 2003 12:36:40 +0000
parents 53c50c807d55
children de053e06fdce
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
1 include ../rules.mak
1166
bb618bed0bdc Miscellaneous source improvements
boisy
parents: 1132
diff changeset
2
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
3 RELEASE = nos96809l1v030200
1132
2690efca4eaf More sensible changes to Mkaefiles
boisy
parents: 1129
diff changeset
4 BOOTFILE = BOOTFILES/bootfile_stock
1186
0836a89b1eac Changed MODULE directory organization
boisy
parents: 1166
diff changeset
5 KERNELFILE = BOOTFILES/kernel_stock
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
6 DIRS = cmds modules defs sys bootfiles
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
7
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
8 CMDS = $(shell $(CD) cmds; make showcocoobjs)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
9 BOOTTRACK = $(shell $(CD) modules; make showboottrack)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
10 KERNEL = $(shell $(CD) modules; make showkernel)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
11 SYSMODS = $(shell $(CD) modules; make showsysmods)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
12 CLOCKS = $(shell $(CD) modules; make showclocks)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
13 RBF = $(shell $(CD) modules; make showrbf)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
14 SCF = $(shell $(CD) modules; make showscf)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
15 PIPE = $(shell $(CD) modules; make showpipe)
1213
4e235f213651 Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents: 1193
diff changeset
16 MODULECMDS = shell del echo format makdir merge os9gen prompt
1186
0836a89b1eac Changed MODULE directory organization
boisy
parents: 1166
diff changeset
17
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
18 SYS = $(shell $(CD) sys; make showobjs)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
19 DEFS = $(shell $(CD) defs; make showobjs)
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
20 ROOTFILES = startup
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
21
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
22 PACKAGENAME = $(RELEASE).zip
1026
33efa4eee488 Now has two distribution DSK images
boisy
parents: 960
diff changeset
23 DSK1 = $(RELEASE)_ds40_1.dsk
33efa4eee488 Now has two distribution DSK images
boisy
parents: 960
diff changeset
24 DSK2 = $(RELEASE)_ds40_2.dsk
323
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
25
1186
0836a89b1eac Changed MODULE directory organization
boisy
parents: 1166
diff changeset
26
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27 # Make all components
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 all:
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
29 @$(ECHO) "**************************************************"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
30 @$(ECHO) "* *"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
31 @$(ECHO) "* NitrOS-9/6809 Level 1 Distribution *"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
32 @$(ECHO) "* *"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
33 @$(ECHO) "**************************************************"
1132
2690efca4eaf More sensible changes to Mkaefiles
boisy
parents: 1129
diff changeset
34 $(foreach dir, $(DIRS), ($(CD) $(dir); make);)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 # Clean all components
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
37 clean: dskclean
1132
2690efca4eaf More sensible changes to Mkaefiles
boisy
parents: 1129
diff changeset
38 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);)
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
39
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
40 dskclean:
1026
33efa4eee488 Now has two distribution DSK images
boisy
parents: 960
diff changeset
41 -$(RM) $(PACKAGENAME) $(DSK1) $(DSK2)
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
42
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
43 dsk: all $(PACKAGENAME)
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
44
1119
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1076
diff changeset
45 dskcopy: dsk
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1076
diff changeset
46 $(CP) $(DSK1) $(DSK2) $(PACKAGENAME) $(DSKDIR)
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1076
diff changeset
47
1132
2690efca4eaf More sensible changes to Mkaefiles
boisy
parents: 1129
diff changeset
48 $(PACKAGENAME): $(DSK1) $(DSK2) ReadMe ChangeLog
2690efca4eaf More sensible changes to Mkaefiles
boisy
parents: 1129
diff changeset
49 $(ARCHIVE) $@ $^
710
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
50
1026
33efa4eee488 Now has two distribution DSK images
boisy
parents: 960
diff changeset
51 $(DSK1):
1122
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
52 $(RM) $@
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
53 $(OS9FORMAT_DS40) $@ -n"NitrOS-9/6809 Level 1 System Disk"
1186
0836a89b1eac Changed MODULE directory organization
boisy
parents: 1166
diff changeset
54 $(OS9GEN) $@ -b=$(BOOTFILE) -t=$(KERNELFILE)
1122
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
55 $(MAKDIR) $@,CMDS
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
56 $(MAKDIR) $@,SYS
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
57 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
58 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
59 $(CD) sys; $(CPL) $(SYS) ../$@,SYS
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
60 $(foreach file, $(SYS), $(OS9ATTR_TEXT) $@,SYS/$(file);)
1122
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
61 $(MAKDIR) $@,DEFS
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
62 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
63 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
1122
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
64 $(CPL) $(ROOTFILES) $@,.
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
65 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
710
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
66
1026
33efa4eee488 Now has two distribution DSK images
boisy
parents: 960
diff changeset
67 $(DSK2):
1122
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
68 $(RM) $@
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
69 $(OS9FORMAT_DS40) $@ -n"NitrOS-9/6809 Level 1 Modules Disk"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
70 $(MAKDIR) $@,6809L1
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
71 $(MAKDIR) $@,6809L1/CMDS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
72 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,6809L1/CMDS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
73 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,6809L1/CMDS/$(file);)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
74 $(MAKDIR) $@,6809L1/MODULES
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
75 $(MAKDIR) $@,6809L1/MODULES/BOOTTRACK
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
76 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,6809L1/MODULES/BOOTTRACK
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
77 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,6809L1/MODULES/BOOTTRACK/$(file);)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
78 $(MAKDIR) $@,6809L1/MODULES/KERNEL
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
79 $(CD) modules; $(CP) $(KERNEL) ../$@,6809L1/MODULES/KERNEL
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
80 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,6809L1/MODULES/KERNEL/$(file);)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
81 $(MAKDIR) $@,6809L1/MODULES/SYSMODS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
82 $(CD) modules; $(CP) $(SYSMODS) ../$@,6809L1/MODULES/SYSMODS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
83 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,6809L1/MODULES/SYSMODS/$(file);)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
84 $(MAKDIR) $@,6809L1/MODULES/CLOCKS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
85 $(CD) modules; $(CP) $(CLOCKS) ../$@,6809L1/MODULES/CLOCKS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
86 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,6809L1/MODULES/CLOCKS/$(file);)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
87 $(MAKDIR) $@,6809L1/MODULES/RBF
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
88 $(CD) modules; $(CP) $(RBF) ../$@,6809L1/MODULES/RBF
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
89 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,6809L1/MODULES/RBF/$(file);)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
90 $(MAKDIR) $@,6809L1/MODULES/SCF
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
91 $(CD) modules; $(CP) $(SCF) ../$@,6809L1/MODULES/SCF
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
92 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,6809L1/MODULES/SCF/$(file);)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
93 $(MAKDIR) $@,6809L1/MODULES/PIPE
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
94 $(CD) modules; $(CP) $(PIPE) ../$@,6809L1/MODULES/PIPE
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
95 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,6809L1/MODULES/PIPE/$(file);)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
96 $(MAKDIR) $@,6809L1/BOOTLISTS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
97 $(CD) bootlists; $(CPL) *.bl ../$@,6809L1/BOOTLISTS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
98 $(MAKDIR) $@,6809L1/BOOTSCRIPTS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
99 $(CD) bootscripts; $(CPL) mb* ../$@,6809L1/BOOTSCRIPTS
1026
33efa4eee488 Now has two distribution DSK images
boisy
parents: 960
diff changeset
100