comparison 3rdparty/packages/sierra/kingsquest3/makefile @ 2081:b50ba27b6c06

Updated
author boisy
date Fri, 21 Jul 2006 16:46:31 +0000
parents 1994ad53d119
children c0e39b3fc9e9
comparison
equal deleted inserted replaced
2080:c4274b6dc175 2081:b50ba27b6c06
6 6
7 DISK_1_40D = kq3_d1_40d.dsk 7 DISK_1_40D = kq3_d1_40d.dsk
8 DISK_2_40D = kq3_d2_40d.dsk 8 DISK_2_40D = kq3_d2_40d.dsk
9 DISK_3_40D = kq3_d3_40d.dsk 9 DISK_3_40D = kq3_d3_40d.dsk
10 DISK_80D = kq3_80d.dsk 10 DISK_80D = kq3_80d.dsk
11
12 DISK_1_40D_NAME = "King's Quest III Disk 1"
13 DISK_2_40D_NAME = "King's Quest III Disk 2"
14 DISK_3_40D_NAME = "King's Quest III Disk 3"
15 DISK_80D_NAME = "King's Quest III"
16
11 CMDS = sierra mnln scrn shdw tocgen 17 CMDS = sierra mnln scrn shdw tocgen
12 MD = $(LEVEL2)/coco3/modules 18 MD = $(LEVEL2)/coco3/modules
13 19
14 # We make our own bootfile and kernel track 20 # We make our own bootfile and kernel track
15 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn 21 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
36 $(LEVEL2)/coco3/cmds/setime 42 $(LEVEL2)/coco3/cmds/setime
37 43
38 TEXTFILES_D1 = startup tOC_40d.txt 44 TEXTFILES_D1 = startup tOC_40d.txt
39 TEXTFILES = startup tOC_80d.txt 45 TEXTFILES = startup tOC_80d.txt
40 46
41 SUPPORTFILES_D1 = logDir object picDir sndDir tOC_40d viewDir vol.0 \ 47 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
42 vol.1 vol.2 vol.3 vol.4 vol.12 vol.14 words.tok 48 vol.1 vol.2 vol.3 vol.4 vol.12 vol.14 words.tok
43 49
44 SUPPORTFILES_D2 = logDir object picDir sndDir tOC_40d viewDir vol.0 \ 50 SUPPORTFILES_D2 = logDir object picDir sndDir viewDir vol.0 \
45 vol.5 vol.6 vol.7 vol.8 vol.11 vol.12 vol.14 words.tok 51 vol.5 vol.6 vol.7 vol.8 vol.11 vol.12 vol.14 words.tok
46 52
47 SUPPORTFILES_D3 = logDir object picDir sndDir tOC_40d viewDir vol.0 \ 53 SUPPORTFILES_D3 = logDir object picDir sndDir viewDir vol.0 \
48 vol.5 vol.6 vol.7 vol.9 vol.11 vol.12 vol.14 words.tok 54 vol.5 vol.6 vol.7 vol.9 vol.11 vol.12 vol.14 words.tok
49 55
50 SUPPORTFILES = logDir object picDir sndDir tOC_80d viewDir vol.0 \ 56 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \
51 vol.1 vol.2 vol.3 vol.4 vol.5 vol.6 vol.7 vol.8 vol.9 \ 57 vol.1 vol.2 vol.3 vol.4 vol.5 vol.6 vol.7 vol.8 vol.9 \
52 vol.11 vol.12 vol.14 words.tok 58 vol.11 vol.12 vol.14 words.tok
53 59
54 ALLOBJS = $(CMDS) 60 ALLOBJS = $(CMDS)
55 61
59 $(RM) $(ALLOBJS) 65 $(RM) $(ALLOBJS)
60 66
61 dsk: all 67 dsk: all
62 $(RM) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_80D) 68 $(RM) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_80D)
63 $(CD) $(LEVEL2)/coco3; make 69 $(CD) $(LEVEL2)/coco3; make
64 $(OS9FORMAT_DS40) -q $(DISK_1_40D) -n"King's Quest III Disk 1" 70 $(OS9FORMAT_DS40) -q $(DISK_1_40D) -n$(DISK_1_40D_NAME)
65 $(OS9FORMAT_DS80) -q $(DISK_80D) -n"King's Quest III" 71 $(OS9FORMAT_DS80) -q $(DISK_80D) -n$(DISK_80D_NAME)
66 $(MERGE) $(OS9BOOT_40D)>os9boot_40d 72 $(MERGE) $(OS9BOOT_40D)>os9boot_40d
67 $(MERGE) $(OS9BOOT_80D)>os9boot_80d 73 $(MERGE) $(OS9BOOT_80D)>os9boot_80d
68 $(MERGE) $(KERNEL)>kernel_1773 74 $(MERGE) $(KERNEL)>kernel_1773
69 $(OS9GEN) $(DISK_1_40D) -b=os9boot_40d -t=kernel_1773 75 $(OS9GEN) $(DISK_1_40D) -b=os9boot_40d -t=kernel_1773
70 $(OS9GEN) $(DISK_80D) -b=os9boot_80d -t=kernel_1773 76 $(OS9GEN) $(DISK_80D) -b=os9boot_80d -t=kernel_1773
86 $(CPL) $(TEXTFILES_D1) $(DISK_1_40D),. 92 $(CPL) $(TEXTFILES_D1) $(DISK_1_40D),.
87 $(OS9RENAME) $(DISK_1_40D),tOC_40d.txt tOC.txt 93 $(OS9RENAME) $(DISK_1_40D),tOC_40d.txt tOC.txt
88 $(CPL) $(TEXTFILES) $(DISK_80D),. 94 $(CPL) $(TEXTFILES) $(DISK_80D),.
89 $(OS9RENAME) $(DISK_80D),tOC_80d.txt tOC.txt 95 $(OS9RENAME) $(DISK_80D),tOC_80d.txt tOC.txt
90 $(CP) $(SUPPORTFILES_D1) $(DISK_1_40D),. 96 $(CP) $(SUPPORTFILES_D1) $(DISK_1_40D),.
91 $(OS9RENAME) $(DISK_1_40D),tOC_40d tOC 97 tocgen $(DISK_1_40D),tOC.txt $(DISK_1_40D),tOC
92 $(OS9FORMAT_DS40) -q $(DISK_2_40D) -n"King's Quest III Disk 2" 98 $(OS9FORMAT_DS40) -q $(DISK_2_40D) -n$(DISK_2_40D_NAME)
93 $(CP) $(SUPPORTFILES_D2) $(DISK_2_40D),. 99 $(CP) $(SUPPORTFILES_D2) $(DISK_2_40D),.
94 $(OS9RENAME) $(DISK_2_40D),tOC_40d tOC 100 tocgen $(DISK_1_40D),tOC.txt $(DISK_2_40D),tOC
95 $(OS9FORMAT_DS40) -q $(DISK_3_40D) -n"King's Quest III Disk 3" 101 $(OS9FORMAT_DS40) -q $(DISK_3_40D) -n$(DISK_3_40D_NAME)
96 $(CP) $(SUPPORTFILES_D3) $(DISK_3_40D),. 102 $(CP) $(SUPPORTFILES_D3) $(DISK_3_40D),.
97 $(OS9RENAME) $(DISK_3_40D),tOC_40d tOC 103 tocgen $(DISK_1_40D),tOC.txt $(DISK_3_40D),tOC
98 $(CP) $(SUPPORTFILES) $(DISK_80D),. 104 $(CP) $(SUPPORTFILES) $(DISK_80D),.
99 $(OS9RENAME) $(DISK_80D),tOC_80d tOC 105 tocgen $(DISK_80D),tOC.txt $(DISK_80D),tOC
100 106
101 dskcopy: dsk 107 dskcopy: dsk
102 $(CP) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_80D) $(DSKDIR) 108 $(CP) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_80D) $(DSKDIR)
103 109
104 dskclean: 110 dskclean: