0
|
1 include ../Makefile.rules
|
|
2
|
455
|
3 RELEASE = os9l2v030002beta2
|
|
4 BOOTFILE = bootfile_1773
|
|
5 KERNEL = kernel_1773
|
|
6
|
|
7 CMDS = $(shell $(CD) CMDS; make showobjs)
|
|
8 MODULES = $(shell $(CD) MODULES; make showcopyobjs)
|
|
9 DEFS = $(shell $(CD) DEFS; make showobjs)
|
|
10 SYS = $(shell $(CD) SYS; make showobjs)
|
355
|
11 ROOTFILES = startup upgrade_song
|
455
|
12 SYSGO = MODULES/cc3go
|
|
13
|
|
14 PACKAGENAME = $(RELEASE).zip
|
|
15 DSK_SS40_1 = $(RELEASE)_ss40_1.dsk
|
|
16 DSK_SS40_2 = $(RELEASE)_ss40_2.dsk
|
|
17 DSK_SS40_3 = $(RELEASE)_ss40_3.dsk
|
|
18 DSK_DS40 = $(RELEASE)_ds40.dsk
|
|
19
|
341
|
20
|
0
|
21 # Make all components
|
|
22 all:
|
|
23 @$(ECHO) "*********************************************"
|
|
24 @$(ECHO) "* *"
|
|
25 @$(ECHO) "* OS-9 Level Two Vr3 Distribution *"
|
|
26 @$(ECHO) "* The Rumored Upgrade Version *"
|
|
27 @$(ECHO) "* *"
|
|
28 @$(ECHO) "*********************************************"
|
329
|
29 $(CD) CMDS; make
|
|
30 $(CD) MODULES; make
|
|
31 $(CD) DEFS; make
|
337
|
32 $(CD) SYS; make
|
329
|
33 $(CD) BOOTFILES; make
|
341
|
34 $(UNIX2OS9) $(ROOTFILES)
|
|
35 $(CHMOD) 644 $(ROOTFILES)
|
0
|
36
|
|
37 # Clean all components
|
455
|
38 clean: dskclean
|
329
|
39 -$(CD) CMDS; make clean
|
|
40 -$(CD) MODULES; make clean
|
|
41 -$(CD) DEFS; make clean
|
337
|
42 -$(CD) SYS; make clean
|
329
|
43 -$(CD) BOOTFILES; make clean
|
341
|
44 -$(OS92UNIX) $(ROOTFILES)
|
455
|
45
|
|
46 dskclean:
|
|
47 -$(RM) $(PACKAGENAME) $(DSK_SS40_1) $(DSK_SS40_2) $(DSK_SS40_3) $(DSK_DS40)
|
|
48
|
|
49 dsk: all $(PACKAGENAME)
|
|
50
|
|
51 $(PACKAGENAME): $(DSK_SS40_1) $(DSK_SS40_2) $(DSK_SS40_3) $(DSK_DS40)
|
485
|
52 $(ZIP) $(PACKAGENAME) $(DSK_SS40_1) $(DSK_SS40_2) $(DSK_SS40_3) $(DSK_DS40) ReleaseNotes ChangeLog
|
455
|
53
|
|
54 $(DSK_SS40_1):
|
|
55 $(RM) $(DSK_SS40_1)
|
|
56 $(OS9FORMAT) $(DSK_SS40_1) -t40 -h1 -n"OS-9 Level Two System Disk"
|
|
57 $(OS9GEN) $(DSK_SS40_1) BOOTFILES/$(BOOTFILE) BOOTFILES/$(KERNEL)
|
|
58 $(MAKDIR) $(DSK_SS40_1):CMDS
|
|
59 $(MAKDIR) $(DSK_SS40_1):SYS
|
|
60 $(CP) $(SYSGO) $(DSK_SS40_1):CMDS
|
|
61 $(CD) CMDS; $(CP) $(CMDS) ../$(DSK_SS40_1):CMDS
|
|
62 $(CD) SYS; $(CP) $(SYS) ../$(DSK_SS40_1):SYS
|
|
63 $(CP) $(ROOTFILES) $(DSK_SS40_1):.
|
|
64
|
|
65 $(DSK_SS40_2):
|
|
66 -$(RM) $(DSK_SS40_2)
|
|
67 $(OS9FORMAT) $(DSK_SS40_2) -t40 -h1 -n"OS-9 Level Two Modules Disk"
|
|
68 $(MAKDIR) $(DSK_SS40_2):MODULES
|
|
69 $(CD) MODULES; $(CP) $(MODULES) ../$(DSK_SS40_2):MODULES
|
|
70
|
|
71 $(DSK_SS40_3):
|
|
72 -$(RM) $(DSK_SS40_3)
|
|
73 $(OS9FORMAT) $(DSK_SS40_3) -t40 -h1 -n"OS-9 Level Two Defs Disk"
|
|
74 $(MAKDIR) $(DSK_SS40_3):DEFS
|
|
75 $(CD) DEFS; $(CP) $(DEFS) ../$(DSK_SS40_3):DEFS
|
|
76
|
|
77 $(DSK_DS40):
|
|
78 -$(RM) $(DSK_DS40)
|
|
79 $(OS9FORMAT) $(DSK_DS40) -t40 -h2 -n"OS-9 Level Two"
|
|
80 $(OS9GEN) $(DSK_DS40) BOOTFILES/$(BOOTFILE) BOOTFILES/$(KERNEL)
|
|
81 $(MAKDIR) $(DSK_DS40):CMDS
|
|
82 $(MAKDIR) $(DSK_DS40):SYS
|
|
83 $(MAKDIR) $(DSK_DS40):MODULES
|
|
84 $(MAKDIR) $(DSK_DS40):DEFS
|
|
85 $(CP) $(SYSGO) $(DSK_DS40):CMDS
|
|
86 $(CD) CMDS; $(CP) $(CMDS) ../$(DSK_DS40):CMDS
|
|
87 $(CD) SYS; $(CP) $(SYS) ../$(DSK_DS40):SYS
|
|
88 $(CD) MODULES; $(CP) $(MODULES) ../$(DSK_DS40):MODULES
|
|
89 $(CD) DEFS; $(CP) $(DEFS) ../$(DSK_DS40):DEFS
|
|
90 $(CP) $(ROOTFILES) $(DSK_DS40):.
|
|
91
|
|
92
|