annotate level2/makefile @ 1119:f86ef3d1d7c9

Makefiles have been redone to take advantage of size and Make features
author boisy
date Sat, 12 Apr 2003 17:19:55 +0000
parents 1e3b13dfb976
children 99b993d4c94e
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
900
d7969e08a482 os9copy now does eol translation
boisy
parents: 875
diff changeset
13 SYSGO = MODULES/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
341
20944721d3e6 Major makefile mods
boisy
parents: 337
diff changeset
34 $(CHMOD) 644 $(ROOTFILES)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 # Clean all components
455
boisy
parents: 355
diff changeset
37 clean: dskclean
329
65a11be4f1e7 Made better
boisy
parents: 0
diff changeset
38 -$(CD) CMDS; make clean
65a11be4f1e7 Made better
boisy
parents: 0
diff changeset
39 -$(CD) MODULES; make clean
65a11be4f1e7 Made better
boisy
parents: 0
diff changeset
40 -$(CD) DEFS; make clean
337
17ba481eb565 Added SYS as a target
boisy
parents: 329
diff changeset
41 -$(CD) SYS; make clean
329
65a11be4f1e7 Made better
boisy
parents: 0
diff changeset
42 -$(CD) BOOTFILES; make clean
455
boisy
parents: 355
diff changeset
43
boisy
parents: 355
diff changeset
44 dskclean:
1027
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
45 -$(RM) $(PACKAGENAME) $(DSK1) $(DSK2)
455
boisy
parents: 355
diff changeset
46
boisy
parents: 355
diff changeset
47 dsk: all $(PACKAGENAME)
boisy
parents: 355
diff changeset
48
1119
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1075
diff changeset
49 dskcopy: dsk
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1075
diff changeset
50 $(CP) $(DSK1) $(DSK2) $(PACKAGENAME) $(DSKDIR)
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1075
diff changeset
51
1027
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
52 $(PACKAGENAME): $(DSK1) $(DSK2)
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
53 $(ZIP) $(PACKAGENAME) $(DSK1) $(DSK2) ReadMe ChangeLog
455
boisy
parents: 355
diff changeset
54
1027
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
55 $(DSK1):
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
56 -$(RM) $(DSK1)
1119
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1075
diff changeset
57 $(OS9FORMAT_DS40) -e $(DSK1) -n"OS-9 Level Two System Disk"
1035
edb36f08a67c os9gen has new syntax
boisy
parents: 1027
diff changeset
58 $(OS9GEN) $(DSK1) -b=BOOTFILES/$(BOOTFILE) -t=BOOTFILES/$(KERNEL)
1027
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
59 $(MAKDIR) $(DSK1),CMDS
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
60 $(MAKDIR) $(DSK1),SYS
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
61 $(MAKDIR) $(DSK1),DEFS
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
62 $(CP) $(SYSGO) $(DSK1),
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
63 $(CD) CMDS; $(CP) $(CMDS) ../$(DSK1),CMDS
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
64 $(CD) SYS; $(CP) $(SYSBIN) ../$(DSK1),SYS
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
65 $(CD) SYS; $(CPL) $(SYSTEXT) ../$(DSK1),SYS
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
66 $(CD) DEFS; $(CPL) $(DEFS) ../$(DSK1),DEFS
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
67 $(CPL) $(ROOTFILES) $(DSK1),.
455
boisy
parents: 355
diff changeset
68
1027
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
69 $(DSK2):
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
70 -$(RM) $(DSK2)
1119
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1075
diff changeset
71 $(OS9FORMAT_DS40) -e $(DSK2) -n"OS-9 Level Two Modules Disk"
1027
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
72 $(MAKDIR) $(DSK2),MODULES
72ceb9308d20 MODULES is now on disk 2
boisy
parents: 960
diff changeset
73 $(CD) MODULES; $(CP) $(MODULES) ../$(DSK2),MODULES