diff 3rdparty/packages/sierra/spacequest1/makefile @ 2724:05b648103e78 lwtools-port

Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
author Boisy Pitre <boisy.pitre@nuance.com>
date Mon, 30 Jul 2012 19:35:05 -0500
parents 0fe5a04e9d0c
children 1868fbf470e7
line wrap: on
line diff
--- a/3rdparty/packages/sierra/spacequest1/makefile	Mon Jul 30 17:31:30 2012 -0500
+++ b/3rdparty/packages/sierra/spacequest1/makefile	Mon Jul 30 19:35:05 2012 -0500
@@ -10,21 +10,21 @@
 DISK_1_40D	= spacequest1_d1_40d.dsk
 DISK_2_40D	= spacequest1_d2_40d.dsk
 DISK_80D	= spacequest1_80d.dsk
-DISK_DW3	= spacequest1_dw3.dsk
+DISK_DW	= spacequest1_dw.dsk
 
-DSKS		= $(DISK_1_40D) $(DISK_2_40D) $(DISK_80D) $(DISK_DW3)
+DSKS		= $(DISK_1_40D) $(DISK_2_40D) $(DISK_80D) $(DISK_DW)
 
 DISK_1_40D_NAME	= "Space Quest I Disk 1"
 DISK_2_40D_NAME	= "Space Quest I Disk 2"
 DISK_80D_NAME	= "Space Quest I"
-DISK_DW3_NAME	= "Space Quest I"
+DISK_DW_NAME	= "Space Quest I"
 
 CMDS		= sierra mnln scrn shdw tocgen
 MD		= $(LEVEL2)/coco3/modules
 
 # We make our own bootfile and kernel track
 KERNEL		= $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
-KERNEL_DW3		= $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn
+KERNEL_DW		= $(MD)/rel_32 $(MD)/boot_dw $(MD)/krn
 OS9BOOT_40D	= $(MD)/krnp2 $(MD)/ioman $(MD)/init \
 		$(MD)/rbf.mn \
 		$(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
@@ -43,14 +43,14 @@
 		$(MD)/vrn.dr $(MD)/vi.dd \
 		$(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
 
-OS9BOOT_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
+OS9BOOT_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
 		$(MD)/rbf.mn \
-		$(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \
+		$(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \
 		$(MD)/scf.mn $(MD)/vtio.dr \
 		$(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
 		$(MD)/covdg_small.io $(MD)/term_vdg.dt \
 		$(MD)/vrn.dr $(MD)/vi.dd \
-		$(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd
+		$(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd
 
 BOOTCMDS	= $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
 		$(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
@@ -122,30 +122,30 @@
 	$(MOVE) toctmp tocgen
 	$(CP) $(SUPPORTFILES) $(DISK_80D),.
 
-dsk_dw3:	all
-	$(RM) $(DISK_DW3)
+dsk_dw:	all
+	$(RM) $(DISK_DW)
 	$(CD) $(LEVEL2)/coco3; make
-	$(OS9FORMAT_DW3) -q $(DISK_DW3) -n$(DISK_DW3_NAME)
-	$(MERGE) $(OS9BOOT_DW3)>os9boot_dw3
-	$(MERGE) $(KERNEL_DW3)>kernel_dw3
-	$(OS9GEN) $(DISK_DW3) -b=os9boot_dw3 -t=kernel_dw3
-	$(RM) os9boot_dw3 kernel_dw3
-	$(MAKDIR) $(DISK_DW3),CMDS
-	$(CP) $(CMDS) $(DISK_DW3),CMDS
-	$(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_DW3),CMDS/$(file);)
+	$(OS9FORMAT_DW) -q $(DISK_DW) -n$(DISK_DW_NAME)
+	$(MERGE) $(OS9BOOT_DW)>os9boot_dw
+	$(MERGE) $(KERNEL_DW)>kernel_dw
+	$(OS9GEN) $(DISK_DW) -b=os9boot_dw -t=kernel_dw
+	$(RM) os9boot_dw kernel_dw
+	$(MAKDIR) $(DISK_DW),CMDS
+	$(CP) $(CMDS) $(DISK_DW),CMDS
+	$(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_DW),CMDS/$(file);)
 	$(MERGE) $(BOOTCMDS)>shell
-	$(CP) shell $(DISK_DW3),CMDS
+	$(CP) shell $(DISK_DW),CMDS
 	$(RM) shell
-	$(OS9ATTR) $(DISK_DW3),CMDS/shell -e -pe -pr -e -w -r
-	$(OS9RENAME) $(DISK_DW3),CMDS/sierra AutoEx
-	$(CPL) $(TEXTFILES) $(DISK_DW3),.
-	$(OS9RENAME) $(DISK_DW3),tOC_80d.txt tOC.txt
+	$(OS9ATTR) $(DISK_DW),CMDS/shell -e -pe -pr -e -w -r
+	$(OS9RENAME) $(DISK_DW),CMDS/sierra AutoEx
+	$(CPL) $(TEXTFILES) $(DISK_DW),.
+	$(OS9RENAME) $(DISK_DW),tOC_80d.txt tOC.txt
 	$(RM) tocgen
-	tocgen $(DISK_DW3),tOC.txt $(DISK_DW3),tOC
-	$(CP) $(SUPPORTFILES) $(DISK_DW3),.
+	tocgen $(DISK_DW),tOC.txt $(DISK_DW),tOC
+	$(CP) $(SUPPORTFILES) $(DISK_DW),.
 
 
-dsk:	dsk_40d dsk_80d dsk_dw3
+dsk:	dsk_40d dsk_80d dsk_dw
 
 dskcopy: dsk
 	$(CP) $(DSKS) $(DSKDIR)