annotate level1/makefile @ 879:c3702f05f6c0

Added
author boisy
date Fri, 17 Jan 2003 04:15:34 +0000
parents 4b8f2de93c51
children 1c4523015673
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
558
0ff357df35c5 Modified : to ,
boisy
parents: 521
diff changeset
3 RELEASE = os9l1v020100cc
521
78547a683e60 Stock changes
boisy
parents: 484
diff changeset
4 BOOTFILE = bootfile_stock
78547a683e60 Stock changes
boisy
parents: 484
diff changeset
5 KERNEL = kernel_stock
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
6
561
b857a3ab42d5 No longer reference CMDS_D1 or CMDS_D2
boisy
parents: 558
diff changeset
7 CMDS = $(shell $(CD) CMDS; make showcocoobjs)
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
8 MODULES = $(shell $(CD) MODULES; make showcopyobjs)
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
9 SYS = $(shell $(CD) SYS; make showobjs)
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
10 DEFS = $(shell $(CD) DEFS; make showobjs)
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
11 ROOTFILES = startup
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
12
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
13 PACKAGENAME = $(RELEASE).zip
588
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
14 DSK_SS35_1 = $(RELEASE)_ss35_1.dsk
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
15 DSK_SS35_2 = $(RELEASE)_ss35_2.dsk
710
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
16 DSK_DS40 = $(RELEASE)_ds40.dsk
323
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
17
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 # Make all components
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19 all:
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20 @$(ECHO) "*********************************************"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21 @$(ECHO) "* *"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
22 @$(ECHO) "* OS-9 Level One Distribution *"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23 @$(ECHO) "* *"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
24 @$(ECHO) "*********************************************"
323
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
25 $(CD) CMDS; make
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
26 $(CD) MODULES; make
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
27 $(CD) DEFS; make
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
28 $(CD) SYS; make
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
29 $(CD) BOOTFILES; make
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
30 $(UNIX2OS9) $(ROOTFILES)
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
31 $(CHMOD) 644 $(ROOTFILES)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 # Clean all components
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
34 clean: dskclean
323
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
35 -$(CD) CMDS; make clean
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
36 -$(CD) MODULES; make clean
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
37 -$(CD) DEFS; make clean
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
38 -$(CD) SYS; make clean
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
39 -$(CD) BOOTFILES; make clean
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
40 -$(OS92UNIX) $(ROOTFILES)
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
41
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
42 dskclean:
710
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
43 -$(RM) $(PACKAGENAME) $(DSK_SS35_1) $(DSK_SS35_2) $(DSK_DS40)
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
44
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
45 dsk: all $(PACKAGENAME)
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
46
710
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
47 $(PACKAGENAME): $(DSK_SS35_1) $(DSK_SS35_2) $(DSK_DS40)
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
48 $(ZIP) $(PACKAGENAME) $(DSK_SS35_1) $(DSK_SS35_2) $(DSK_DS40) ReleaseNotes ChangeLog
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
49
588
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
50 $(DSK_SS35_1):
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
51 $(RM) $(DSK_SS35_1)
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
52 $(OS9FORMAT) $(DSK_SS35_1) -t35 -h1 -n"OS-9 Level One System Disk"
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
53 $(OS9GEN) $(DSK_SS35_1) BOOTFILES/$(BOOTFILE) BOOTFILES/$(KERNEL)
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
54 $(MAKDIR) $(DSK_SS35_1),CMDS
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
55 $(MAKDIR) $(DSK_SS35_1),SYS
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
56 $(CD) CMDS; $(CP) $(CMDS) ../$(DSK_SS35_1),CMDS
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
57 $(CD) SYS; $(CP) $(SYS) ../$(DSK_SS35_1),SYS
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
58 $(CP) $(ROOTFILES) $(DSK_SS35_1),.
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
59
588
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
60 $(DSK_SS35_2):
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
61 $(RM) $(DSK_SS35_2)
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
62 $(OS9FORMAT) $(DSK_SS35_2) -t35 -h1 -n"OS-9 Level One Modules Disk"
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
63 $(MAKDIR) $(DSK_SS35_2),MODULES
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
64 $(MAKDIR) $(DSK_SS35_2),DEFS
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
65 $(CD) MODULES; $(CP) $(MODULES) ../$(DSK_SS35_2),MODULES
e70529a05aca Cleanup for Phoenix Release
boisy
parents: 561
diff changeset
66 $(CD) DEFS; $(CP) $(DEFS) ../$(DSK_SS35_2),DEFS
710
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
67
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
68 $(DSK_DS40):
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
69 $(RM) $(DSK_DS40)
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
70 $(OS9FORMAT) $(DSK_DS40) -t40 -h2 -n"OS-9 Level One System Disk"
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
71 $(OS9GEN) $(DSK_DS40) BOOTFILES/$(BOOTFILE) BOOTFILES/$(KERNEL)
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
72 $(MAKDIR) $(DSK_DS40),CMDS
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
73 $(MAKDIR) $(DSK_DS40),SYS
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
74 $(MAKDIR) $(DSK_DS40),MODULES
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
75 $(CD) CMDS; $(CP) $(CMDS) ../$(DSK_DS40),CMDS
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
76 $(CD) SYS; $(CP) $(SYS) ../$(DSK_DS40),SYS
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
77 $(MAKDIR) $(DSK_DS40),DEFS
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
78 $(CD) MODULES; $(CP) $(MODULES) ../$(DSK_DS40),MODULES
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
79 $(CD) DEFS; $(CP) $(DEFS) ../$(DSK_DS40),DEFS
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
80 $(CP) $(ROOTFILES) $(DSK_DS40),.
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
81