annotate 3rdparty/packages/sierra/kingsquest3/makefile @ 876:c6f3d53b987e

Added additional disks to dskclean target
author boisy
date Fri, 17 Jan 2003 04:01:38 +0000
parents 907c5ccd392f
children 16d7698f8929
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
816
boisy
parents:
diff changeset
1 include ../../../Makefile.rules
boisy
parents:
diff changeset
2
boisy
parents:
diff changeset
3 DEPENDS = ./Makefile
boisy
parents:
diff changeset
4
boisy
parents:
diff changeset
5 DISK_1 = kq3_d1.dsk
boisy
parents:
diff changeset
6 DISK_2 = kq3_d2.dsk
boisy
parents:
diff changeset
7 DISK_3 = kq3_d3.dsk
boisy
parents:
diff changeset
8 CMDS = sierra mnln scrn shdw tocgen
boisy
parents:
diff changeset
9 MD = $(LEVEL2)/MODULES
boisy
parents:
diff changeset
10
boisy
parents:
diff changeset
11 # We make our own bootfile and kernel track
boisy
parents:
diff changeset
12 KERNEL = $(MD)/rel $(MD)/boot_1773 $(MD)/os9p1
boisy
parents:
diff changeset
13 OS9BOOT = $(MD)/os9p2 $(MD)/ioman $(MD)/init \
boisy
parents:
diff changeset
14 $(MD)/rbf.mn \
boisy
parents:
diff changeset
15 $(MD)/cc3disk.dr $(MD)/ddd0_40d.dd \
boisy
parents:
diff changeset
16 $(MD)/scf.mn $(MD)/cc3io.dr \
boisy
parents:
diff changeset
17 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \
boisy
parents:
diff changeset
18 $(MD)/vdgint_small.io $(MD)/term_vdg.dt \
boisy
parents:
diff changeset
19 $(MD)/vrn.dr $(MD)/vi.dd \
boisy
parents:
diff changeset
20 $(MD)/clock_soft $(MD)/cc3go
boisy
parents:
diff changeset
21
818
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
22 BOOTCMDS = $(LEVEL2)/CMDS/shell_21 $(LEVEL2)/CMDS/date \
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
23 $(LEVEL2)/CMDS/echo $(LEVEL2)/CMDS/link \
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
24 $(LEVEL2)/CMDS/setime
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
25
816
boisy
parents:
diff changeset
26 SUPPORTFILES_D1 = Startup logDir object picDir sndDir tOC viewDir vol.0 \
boisy
parents:
diff changeset
27 vol.1 vol.2 vol.3 vol.4 vol.12 vol.14 words.tok tOC.txt
boisy
parents:
diff changeset
28
boisy
parents:
diff changeset
29 SUPPORTFILES_D2 = logDir object picDir sndDir tOC viewDir vol.0 \
boisy
parents:
diff changeset
30 vol.5 vol.6 vol.7 vol.8 vol.11 vol.12 vol.14 words.tok
boisy
parents:
diff changeset
31
boisy
parents:
diff changeset
32 SUPPORTFILES_D3 = logDir object picDir sndDir tOC viewDir vol.0 \
boisy
parents:
diff changeset
33 vol.5 vol.6 vol.7 vol.9 vol.11 vol.12 vol.14 words.tok
boisy
parents:
diff changeset
34
boisy
parents:
diff changeset
35 ALLOBJS = $(CMDS)
818
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
36 TEXTFILES = tOC.txt Startup
816
boisy
parents:
diff changeset
37
boisy
parents:
diff changeset
38 all: $(ALLOBJS)
818
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
39 $(UNIX2OS9) $(TEXTFILES)
816
boisy
parents:
diff changeset
40 $(CHMOD) 755 $(CMDS)
boisy
parents:
diff changeset
41
boisy
parents:
diff changeset
42 clean: dskclean
boisy
parents:
diff changeset
43 $(RM) $(ALLOBJS)
818
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
44 $(OS92UNIX) $(TEXTFILES)
816
boisy
parents:
diff changeset
45
boisy
parents:
diff changeset
46 dsk: all
boisy
parents:
diff changeset
47 $(RM) $(DISK_1) $(DISK_2) $(DISK_3)
boisy
parents:
diff changeset
48 $(CD) $(LEVEL2); make
boisy
parents:
diff changeset
49 $(OS9FORMAT) $(DISK_1) -t40 -h2 -n"King's Quest III Disk 1"
boisy
parents:
diff changeset
50 $(MERGE) $(OS9BOOT)>os9boot
boisy
parents:
diff changeset
51 $(MERGE) $(KERNEL)>kernel_1773
boisy
parents:
diff changeset
52 $(OS9GEN) $(DISK_1) os9boot kernel_1773
boisy
parents:
diff changeset
53 $(RM) os9boot kernel_1773
boisy
parents:
diff changeset
54 $(MAKDIR) $(DISK_1),CMDS
boisy
parents:
diff changeset
55 $(CP) $(CMDS) $(DISK_1),CMDS
818
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
56 $(MERGE) $(BOOTCMDS)>shell
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
57 $(CP) shell $(DISK_1),CMDS
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
58 $(RM) shell
907c5ccd392f Added shell and utils, now disks work properly
boisy
parents: 816
diff changeset
59 $(OS9ATTR) $(DISK_1),CMDS/shell -e -pe -pr -e -w -r
816
boisy
parents:
diff changeset
60 $(OS9RENAME) $(DISK_1),CMDS/sierra AutoEx
boisy
parents:
diff changeset
61 $(CP) $(SUPPORTFILES_D1) $(DISK_1),.
boisy
parents:
diff changeset
62 $(OS9FORMAT) $(DISK_2) -t40 -h2 -n"King's Quest III Disk 2"
boisy
parents:
diff changeset
63 $(CP) $(SUPPORTFILES_D2) $(DISK_2),.
boisy
parents:
diff changeset
64 $(OS9FORMAT) $(DISK_3) -t40 -h2 -n"King's Quest III Disk 3"
boisy
parents:
diff changeset
65 $(CP) $(SUPPORTFILES_D3) $(DISK_3),.
boisy
parents:
diff changeset
66
boisy
parents:
diff changeset
67 dskclean:
876
c6f3d53b987e Added additional disks to dskclean target
boisy
parents: 818
diff changeset
68 $(RM) $(DISK_1) $(DISK_2) $(DISK_3)