changeset 455:22eef8cc6d07

Mods
author boisy
date Mon, 23 Sep 2002 03:08:04 +0000
parents 14157dc9e1d2
children 6a98b7ce64de
files level2/makefile
diffstat 1 files changed, 65 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/level2/makefile	Mon Sep 23 03:07:44 2002 +0000
+++ b/level2/makefile	Mon Sep 23 03:08:04 2002 +0000
@@ -1,6 +1,22 @@
 include ../Makefile.rules
 
+RELEASE		= os9l2v030002beta2
+BOOTFILE	= bootfile_1773
+KERNEL		= kernel_1773
+
+CMDS            = $(shell $(CD) CMDS; make showobjs)
+MODULES         = $(shell $(CD) MODULES; make showcopyobjs)
+DEFS            = $(shell $(CD) DEFS; make showobjs)
+SYS             = $(shell $(CD) SYS; make showobjs)
 ROOTFILES	= startup upgrade_song
+SYSGO           = MODULES/cc3go
+
+PACKAGENAME     = $(RELEASE).zip
+DSK_SS40_1      = $(RELEASE)_ss40_1.dsk
+DSK_SS40_2      = $(RELEASE)_ss40_2.dsk
+DSK_SS40_3      = $(RELEASE)_ss40_3.dsk
+DSK_DS40        = $(RELEASE)_ds40.dsk
+
 
 # Make all components
 all:
@@ -19,10 +35,58 @@
 	$(CHMOD) 644 $(ROOTFILES)
 
 # Clean all components
-clean:
+clean: dskclean
 	-$(CD) CMDS; make clean
 	-$(CD) MODULES; make clean
 	-$(CD) DEFS; make clean
 	-$(CD) SYS; make clean
 	-$(CD) BOOTFILES; make clean
 	-$(OS92UNIX) $(ROOTFILES)
+
+dskclean:
+	-$(RM) $(PACKAGENAME) $(DSK_SS40_1) $(DSK_SS40_2) $(DSK_SS40_3) $(DSK_DS40)
+
+dsk: all $(PACKAGENAME)
+
+$(PACKAGENAME): $(DSK_SS40_1) $(DSK_SS40_2) $(DSK_SS40_3) $(DSK_DS40)
+	$(ZIP) $(PACKAGENAME) $(DSK_SS40_1) $(DSK_SS40_2) $(DSK_SS40_3) $(DSK_DS40) ReleaseNotes
+
+$(DSK_SS40_1):
+	$(RM) $(DSK_SS40_1)
+	$(OS9FORMAT) $(DSK_SS40_1) -t40 -h1 -n"OS-9 Level Two System Disk"
+	$(OS9GEN) $(DSK_SS40_1) BOOTFILES/$(BOOTFILE) BOOTFILES/$(KERNEL)
+	$(MAKDIR) $(DSK_SS40_1):CMDS
+	$(MAKDIR) $(DSK_SS40_1):SYS
+	$(CP) $(SYSGO) $(DSK_SS40_1):CMDS
+	$(CD) CMDS; $(CP) $(CMDS) ../$(DSK_SS40_1):CMDS
+	$(CD) SYS; $(CP) $(SYS) ../$(DSK_SS40_1):SYS
+	$(CP) $(ROOTFILES) $(DSK_SS40_1):.
+
+$(DSK_SS40_2):
+	-$(RM) $(DSK_SS40_2)
+	$(OS9FORMAT) $(DSK_SS40_2) -t40 -h1 -n"OS-9 Level Two Modules Disk"
+	$(MAKDIR) $(DSK_SS40_2):MODULES
+	$(CD) MODULES; $(CP) $(MODULES) ../$(DSK_SS40_2):MODULES
+
+$(DSK_SS40_3):
+	-$(RM) $(DSK_SS40_3)
+	$(OS9FORMAT) $(DSK_SS40_3) -t40 -h1 -n"OS-9 Level Two Defs Disk"
+	$(MAKDIR) $(DSK_SS40_3):DEFS
+	$(CD) DEFS; $(CP) $(DEFS) ../$(DSK_SS40_3):DEFS
+
+$(DSK_DS40):
+	-$(RM) $(DSK_DS40)
+	$(OS9FORMAT) $(DSK_DS40) -t40 -h2 -n"OS-9 Level Two"
+	$(OS9GEN) $(DSK_DS40) BOOTFILES/$(BOOTFILE) BOOTFILES/$(KERNEL)
+	$(MAKDIR) $(DSK_DS40):CMDS
+	$(MAKDIR) $(DSK_DS40):SYS
+	$(MAKDIR) $(DSK_DS40):MODULES
+	$(MAKDIR) $(DSK_DS40):DEFS
+	$(CP) $(SYSGO) $(DSK_DS40):CMDS
+	$(CD) CMDS; $(CP) $(CMDS) ../$(DSK_DS40):CMDS
+	$(CD) SYS; $(CP) $(SYS) ../$(DSK_DS40):SYS
+	$(CD) MODULES; $(CP) $(MODULES) ../$(DSK_DS40):MODULES
+	$(CD) DEFS; $(CP) $(DEFS) ../$(DSK_DS40):DEFS
+	$(CP) $(ROOTFILES) $(DSK_DS40):.
+
+