annotate 3rdparty/packages/sierra/policequest1/makefile @ 2216:d096a278e068

Added info targets
author boisy
date Tue, 17 Mar 2009 02:52:57 +0000
parents 981b4e7e8014
children 2033e76ae3c0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
1 include $(NITROS9DIR)/rules.mak
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
2
2134
98c37d4c15d5 Updated to LSL engine
boisy
parents: 2099
diff changeset
3 vpath %.asm ../objs_lsl
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
4
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
5 DEPENDS = ./makefile
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
6
2099
c0e39b3fc9e9 Updated
boisy
parents: 2091
diff changeset
7 DISK_1_40D = policequest1_d1_40d.dsk
c0e39b3fc9e9 Updated
boisy
parents: 2091
diff changeset
8 DISK_2_40D = policequest1_d2_40d.dsk
c0e39b3fc9e9 Updated
boisy
parents: 2091
diff changeset
9 DISK_3_40D = policequest1_d3_40d.dsk
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
10
2216
d096a278e068 Added info targets
boisy
parents: 2202
diff changeset
11 DSKS = $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D)
d096a278e068 Added info targets
boisy
parents: 2202
diff changeset
12
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
13 DISK_1_40D_NAME = "Police Quest I Disk 1"
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
14 DISK_2_40D_NAME = "Police Quest I Disk 2"
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
15 DISK_3_40D_NAME = "Police Quest I Disk 3"
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
16
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
17 CMDS = sierra mnln scrn shdw tocgen
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
18 MD = $(LEVEL2)/coco3/modules
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
19
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
20 # We make our own bootfile and kernel track
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
21 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
22 OS9BOOT_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
23 $(MD)/rbf.mn \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
24 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
25 $(MD)/scf.mn $(MD)/vtio.dr \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
26 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
27 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
28 $(MD)/vrn.dr $(MD)/vi.dd \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
29 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
30
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
31 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
32 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
33 $(LEVEL2)/coco3/cmds/setime
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
34
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
35 TEXTFILES_D1 = startup tOC_40d.txt
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
36 TEXTFILES = startup tOC_80d.txt
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
37
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
38 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
39 vol.1 words.tok
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
40
2099
c0e39b3fc9e9 Updated
boisy
parents: 2091
diff changeset
41 SUPPORTFILES_D2 = object vol.0 vol.2
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
42
2099
c0e39b3fc9e9 Updated
boisy
parents: 2091
diff changeset
43 SUPPORTFILES_D3 = object vol.0 vol.3
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
44
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
45 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
46 vol.1 vol.2 vol.3 words.tok
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
47
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
48 ALLOBJS = $(CMDS)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
49
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
50 all: $(ALLOBJS)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
51
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
52 clean: dskclean
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
53 $(RM) $(ALLOBJS)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
54
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
55 dsk: all
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
56 $(RM) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
57 $(CD) $(LEVEL2)/coco3; make
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
58 $(OS9FORMAT_DS40) -q $(DISK_1_40D) -n$(DISK_1_40D_NAME)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
59 $(MERGE) $(OS9BOOT_40D)>os9boot_40d
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
60 $(MERGE) $(KERNEL)>kernel_1773
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
61 $(OS9GEN) $(DISK_1_40D) -b=os9boot_40d -t=kernel_1773
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
62 $(RM) os9boot_40d os9boot_80d kernel_1773
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
63 $(MAKDIR) $(DISK_1_40D),CMDS
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
64 $(CP) $(CMDS) $(DISK_1_40D),CMDS
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
65 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_40D),CMDS/$(file);)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
66 $(MERGE) $(BOOTCMDS)>shell
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
67 $(CP) shell $(DISK_1_40D),CMDS
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
68 $(RM) shell
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
69 $(OS9ATTR) $(DISK_1_40D),CMDS/shell -e -pe -pr -e -w -r
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
70 $(OS9RENAME) $(DISK_1_40D),CMDS/sierra AutoEx
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
71 $(CPL) $(TEXTFILES_D1) $(DISK_1_40D),.
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
72 $(OS9RENAME) $(DISK_1_40D),tOC_40d.txt tOC.txt
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
73 $(CP) $(SUPPORTFILES_D1) $(DISK_1_40D),.
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
74 tocgen $(DISK_1_40D),tOC.txt $(DISK_1_40D),tOC
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
75 $(OS9FORMAT_DS40) -q $(DISK_2_40D) -n$(DISK_2_40D_NAME)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
76 $(CP) $(SUPPORTFILES_D2) $(DISK_2_40D),.
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
77 $(OS9FORMAT_DS40) -q $(DISK_3_40D) -n$(DISK_3_40D_NAME)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
78 $(CP) $(SUPPORTFILES_D3) $(DISK_3_40D),.
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
79
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
80 dskcopy: dsk
2216
d096a278e068 Added info targets
boisy
parents: 2202
diff changeset
81 $(CP) $(DSKS) $(DSKDIR)
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
82
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
83 dskclean:
2216
d096a278e068 Added info targets
boisy
parents: 2202
diff changeset
84 $(RM) $(DSKS)
d096a278e068 Added info targets
boisy
parents: 2202
diff changeset
85
d096a278e068 Added info targets
boisy
parents: 2202
diff changeset
86 info:
d096a278e068 Added info targets
boisy
parents: 2202
diff changeset
87 @$(ECHO) "*** Police Quest I ***"
d096a278e068 Added info targets
boisy
parents: 2202
diff changeset
88 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)