annotate level2/makefile @ 1131:c0ec19adf137

Removed -e from os9 format
author boisy
date Mon, 14 Apr 2003 13:52:12 +0000
parents c847e6ee341d
children 2690efca4eaf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1 include ../Makefile.rules
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2
1075
1e3b13dfb976 Updated version to 3.01.01
boisy
parents: 1035
diff changeset
3 RELEASE = os9l2v030101
751
6ec99f9702bc init no longer references cc3go from CMDS. This way, cc3go can
boisy
parents: 739
diff changeset
4 BOOTFILE = bootfile_vdg
519
6c626a142234 Eliminated SS disks... distribution is too large, now we only have
boisy
parents: 485
diff changeset
5 KERNEL = kernel_stock
455
boisy
parents: 355
diff changeset
6
900
d7969e08a482 os9copy now does eol translation
boisy
parents: 875
diff changeset
7 CMDS = $(shell $(CD) CMDS; make showobjs)
d7969e08a482 os9copy now does eol translation
boisy
parents: 875
diff changeset
8 MODULES = $(shell $(CD) MODULES; make showcopyobjs)
d7969e08a482 os9copy now does eol translation
boisy
parents: 875
diff changeset
9 DEFS = $(shell $(CD) DEFS; make showobjs)
d7969e08a482 os9copy now does eol translation
boisy
parents: 875
diff changeset
10 SYSBIN = $(shell $(CD) SYS; make showbinobjs)
d7969e08a482 os9copy now does eol translation
boisy
parents: 875
diff changeset
11 SYSTEXT = $(shell $(CD) SYS; make showtextobjs)
355
71b60814fb01 Makefiles modified for uniformity
boisy
parents: 341
diff changeset
12 ROOTFILES = startup upgrade_song
1122
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
13 SYSGO = cc3go
455
boisy
parents: 355
diff changeset
14
900
d7969e08a482 os9copy now does eol translation
boisy
parents: 875
diff changeset
15 PACKAGENAME = $(RELEASE).zip
1027
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
16 DSK1 = $(RELEASE)_ds40_1.dsk
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
17 DSK2 = $(RELEASE)_ds40_2.dsk
558
0ff357df35c5 Modified : to ,
boisy
parents: 520
diff changeset
18 TESTDSK = test.dsk
455
boisy
parents: 355
diff changeset
19
341
20944721d3e6 Major makefile mods
boisy
parents: 337
diff changeset
20
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21 # Make all components
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
22 all:
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23 @$(ECHO) "*********************************************"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
24 @$(ECHO) "* *"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
25 @$(ECHO) "* OS-9 Level Two Vr3 Distribution *"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26 @$(ECHO) "* The Rumored Upgrade Version *"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27 @$(ECHO) "* *"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 @$(ECHO) "*********************************************"
329
65a11be4f1e7 Made better
boisy
parents: 0
diff changeset
29 $(CD) CMDS; make
65a11be4f1e7 Made better
boisy
parents: 0
diff changeset
30 $(CD) MODULES; make
65a11be4f1e7 Made better
boisy
parents: 0
diff changeset
31 $(CD) DEFS; make
337
17ba481eb565 Added SYS as a target
boisy
parents: 329
diff changeset
32 $(CD) SYS; make
329
65a11be4f1e7 Made better
boisy
parents: 0
diff changeset
33 $(CD) BOOTFILES; make
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 # Clean all components
455
boisy
parents: 355
diff changeset
36 clean: dskclean
329
65a11be4f1e7 Made better
boisy
parents: 0
diff changeset
37 -$(CD) CMDS; make clean
65a11be4f1e7 Made better
boisy
parents: 0
diff changeset
38 -$(CD) MODULES; make clean
65a11be4f1e7 Made better
boisy
parents: 0
diff changeset
39 -$(CD) DEFS; make clean
337
17ba481eb565 Added SYS as a target
boisy
parents: 329
diff changeset
40 -$(CD) SYS; make clean
329
65a11be4f1e7 Made better
boisy
parents: 0
diff changeset
41 -$(CD) BOOTFILES; 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
1027
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
51 $(PACKAGENAME): $(DSK1) $(DSK2)
1122
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
52 $(ARCHIVE) $(PACKAGENAME) $(DSK1) $(DSK2) ReadMe ChangeLog
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) $@
c0ec19adf137 Removed -e from os9 format
boisy
parents: 1129
diff changeset
56 $(OS9FORMAT_DS40) $@ -n"OS-9 Level Two System Disk"
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
57 $(OS9GEN) $@ -b=BOOTFILES/$(BOOTFILE) -t=BOOTFILES/$(KERNEL)
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
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
61 $(CP) MODULES/$(SYSGO) $@,
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
62 $(OS9ATTR_EXEC) $@,$(SYSGO)
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
63 $(CD) CMDS; $(CP) $(CMDS) ../$@,CMDS
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
64 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
65 $(CD) SYS; $(CP) $(SYSBIN) ../$@,SYS
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
66 $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);)
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
67 $(CD) SYS; $(CPL) $(SYSTEXT) ../$@,SYS
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
68 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
69 $(CD) DEFS; $(CPL) $(DEFS) ../$@,DEFS
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) $@
c0ec19adf137 Removed -e from os9 format
boisy
parents: 1129
diff changeset
76 $(OS9FORMAT_DS40) $@ -n"OS-9 Level Two Modules Disk"
c0ec19adf137 Removed -e from os9 format
boisy
parents: 1129
diff changeset
77 $(MAKDIR) $@,MODULES
c0ec19adf137 Removed -e from os9 format
boisy
parents: 1129
diff changeset
78 $(CD) MODULES; $(CP) $(MODULES) ../$@,MODULES
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
79 $(foreach file, $(MODULES), $(OS9ATTR_EXEC) $@,MODULES/$(file);)
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
80