annotate level2/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
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
3 RELEASE = nos96809l2v030200
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
4 BOOTFILE = bootfiles/bootfile_vdg
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
5 KERNELFILE = bootfiles/kernel_stock
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
6 DIRS = cmds modules defs sys bootfiles
455
boisy
parents: 355
diff changeset
7
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
8 CMDS = $(shell $(CD) cmds; make showobjs)
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)
1214
701f6a80163f bootscripts and bootlists added
boisy
parents: 1193
diff changeset
16 MODULECMDS = shell grfdrv del echo format makdir merge os9gen prompt
1186
0836a89b1eac Changed MODULE directory organization
boisy
parents: 1167
diff changeset
17
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
18 DEFS = $(shell $(CD) defs; make showobjs)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
19 SYSBIN = $(shell $(CD) sys; make showbinobjs)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
20 SYSTEXT = $(shell $(CD) sys; make showtextobjs)
1141
061823503a2f upgrade_song is now gone
boisy
parents: 1132
diff changeset
21 ROOTFILES = startup
1315
23c681a015e1 cc3go has been renamed to SysGo
boisy
parents: 1227
diff changeset
22 SYSGO = sysgo_dd
455
boisy
parents: 355
diff changeset
23
900
d7969e08a482 os9copy now does eol translation
boisy
parents: 875
diff changeset
24 PACKAGENAME = $(RELEASE).zip
1027
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
25 DSK1 = $(RELEASE)_ds40_1.dsk
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
26 DSK2 = $(RELEASE)_ds40_2.dsk
558
0ff357df35c5 Modified : to ,
boisy
parents: 520
diff changeset
27 TESTDSK = test.dsk
455
boisy
parents: 355
diff changeset
28
341
20944721d3e6 Major makefile mods
boisy
parents: 337
diff changeset
29
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 # Make all components
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 all:
1363
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) "* *"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
34 @$(ECHO) "* NitrOS-9/6809 Level 2 Distribution *"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
35 @$(ECHO) "* *"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
36 @$(ECHO) "**************************************************"
1132
2690efca4eaf More sensible changes to Mkaefiles
boisy
parents: 1131
diff changeset
37 $(foreach dir, $(DIRS), ($(CD) $(dir); make);)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 # Clean all components
455
boisy
parents: 355
diff changeset
40 clean: dskclean
1132
2690efca4eaf More sensible changes to Mkaefiles
boisy
parents: 1131
diff changeset
41 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);)
455
boisy
parents: 355
diff changeset
42
boisy
parents: 355
diff changeset
43 dskclean:
1027
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
44 -$(RM) $(PACKAGENAME) $(DSK1) $(DSK2)
455
boisy
parents: 355
diff changeset
45
boisy
parents: 355
diff changeset
46 dsk: all $(PACKAGENAME)
boisy
parents: 355
diff changeset
47
1119
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1075
diff changeset
48 dskcopy: dsk
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1075
diff changeset
49 $(CP) $(DSK1) $(DSK2) $(PACKAGENAME) $(DSKDIR)
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1075
diff changeset
50
1132
2690efca4eaf More sensible changes to Mkaefiles
boisy
parents: 1131
diff changeset
51 $(PACKAGENAME): $(DSK1) $(DSK2) ReadMe ChangeLog
2690efca4eaf More sensible changes to Mkaefiles
boisy
parents: 1131
diff changeset
52 $(ARCHIVE) $@ $^
455
boisy
parents: 355
diff changeset
53
1027
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
54 $(DSK1):
1131
c0ec19adf137 Removed -e from os9 format
boisy
parents: 1129
diff changeset
55 -$(RM) $@
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
56 $(OS9FORMAT_DS40) $@ -n"NitrOS-9/6809 Level 2 System Disk"
1186
0836a89b1eac Changed MODULE directory organization
boisy
parents: 1167
diff changeset
57 $(OS9GEN) $@ -b=$(BOOTFILE) -t=$(KERNELFILE)
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
58 $(MAKDIR) $@,CMDS
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
59 $(MAKDIR) $@,SYS
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
60 $(MAKDIR) $@,DEFS
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
61 $(CP) modules/$(SYSGO) $@,sysgo
1315
23c681a015e1 cc3go has been renamed to SysGo
boisy
parents: 1227
diff changeset
62 $(OS9ATTR_EXEC) $@,sysgo
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
63 $(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
64 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
65 $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
66 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
67 $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
68 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
69 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
70 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
71 $(CPL) $(ROOTFILES) $@,.
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
72 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
455
boisy
parents: 355
diff changeset
73
1027
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
74 $(DSK2):
1131
c0ec19adf137 Removed -e from os9 format
boisy
parents: 1129
diff changeset
75 -$(RM) $@
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
76 $(OS9FORMAT_DS40) $@ -n"NitrOS-9/6809 Level 2 Modules Disk"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
77 $(MAKDIR) $@,6809L2
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
78 $(MAKDIR) $@,6809L2/CMDS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
79 $(CD) cmds; $(CP) $(MODULECMDS) ../$@,6809L2/CMDS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
80 $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,6809L2/CMDS/$(file);)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
81 $(MAKDIR) $@,6809L2/MODULES
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
82 $(MAKDIR) $@,6809L2/MODULES/BOOTTRACK
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
83 $(CD) modules; $(CP) $(BOOTTRACK) ../$@,6809L2/MODULES/BOOTTRACK
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
84 $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,6809L2/MODULES/BOOTTRACK/$(file);)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
85 $(MAKDIR) $@,6809L2/MODULES/KERNEL
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
86 $(CD) modules; $(CP) $(KERNEL) ../$@,6809L2/MODULES/KERNEL
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
87 $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,6809L2/MODULES/KERNEL/$(file);)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
88 $(MAKDIR) $@,6809L2/MODULES/SYSMODS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
89 $(CD) modules; $(CP) $(SYSMODS) ../$@,6809L2/MODULES/SYSMODS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
90 $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,6809L2/MODULES/SYSMODS/$(file);)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
91 $(MAKDIR) $@,6809L2/MODULES/CLOCKS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
92 $(CD) modules; $(CP) $(CLOCKS) ../$@,6809L2/MODULES/CLOCKS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
93 $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,6809L2/MODULES/CLOCKS/$(file);)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
94 $(MAKDIR) $@,6809L2/MODULES/RBF
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
95 $(CD) modules; $(CP) $(RBF) ../$@,6809L2/MODULES/RBF
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
96 $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,6809L2/MODULES/RBF/$(file);)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
97 $(MAKDIR) $@,6809L2/MODULES/SCF
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
98 $(CD) modules; $(CP) $(SCF) ../$@,6809L2/MODULES/SCF
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
99 $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,6809L2/MODULES/SCF/$(file);)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
100 $(MAKDIR) $@,6809L2/MODULES/PIPE
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
101 $(CD) modules; $(CP) $(PIPE) ../$@,6809L2/MODULES/PIPE
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
102 $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,6809L2/MODULES/PIPE/$(file);)
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
103 $(MAKDIR) $@,6809L2/BOOTLISTS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
104 $(CD) bootlists; $(CPL) *.bl ../$@,6809L2/BOOTLISTS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
105 $(MAKDIR) $@,6809L2/BOOTSCRIPTS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1317
diff changeset
106 $(CD) bootscripts; $(CPL) mb* ../$@,6809L2/BOOTSCRIPTS
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
107