annotate 3rdparty/packages/sierra/manhunter1/makefile @ 2132:cfb9d6f84aa8

Updated to LSL engine
author boisy
date Wed, 26 Dec 2007 15:33:14 +0000
parents 6409514a5553
children 27edbe1d2673
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2096
boisy
parents:
diff changeset
1 include $(NITROS9DIR)/rules.mak
boisy
parents:
diff changeset
2
2132
cfb9d6f84aa8 Updated to LSL engine
boisy
parents: 2096
diff changeset
3 vpath %.asm ../objs_lsl
2096
boisy
parents:
diff changeset
4
boisy
parents:
diff changeset
5 DEPENDS = ./makefile
boisy
parents:
diff changeset
6
boisy
parents:
diff changeset
7 DISK_1_80D = manhunter1_d1_80d.dsk
boisy
parents:
diff changeset
8 DISK_2_80D = manhunter1_d2_80d.dsk
boisy
parents:
diff changeset
9 DISK_3_80D = manhunter1_d3_80d.dsk
boisy
parents:
diff changeset
10
boisy
parents:
diff changeset
11 DISK_1_80D_NAME = "Manhunter I Disk 1"
boisy
parents:
diff changeset
12 DISK_2_80D_NAME = "Manhunter I Disk 2"
boisy
parents:
diff changeset
13 DISK_3_80D_NAME = "Manhunter I Disk 3"
boisy
parents:
diff changeset
14
boisy
parents:
diff changeset
15 CMDS = sierra mnln scrn shdw tocgen
boisy
parents:
diff changeset
16 MD = $(LEVEL2)/coco3/modules
boisy
parents:
diff changeset
17
boisy
parents:
diff changeset
18 # We make our own bootfile and kernel track
boisy
parents:
diff changeset
19 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
boisy
parents:
diff changeset
20 OS9BOOT_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
boisy
parents:
diff changeset
21 $(MD)/rbf.mn \
boisy
parents:
diff changeset
22 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \
boisy
parents:
diff changeset
23 $(MD)/scf.mn $(MD)/vtio.dr \
boisy
parents:
diff changeset
24 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
boisy
parents:
diff changeset
25 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
boisy
parents:
diff changeset
26 $(MD)/vrn.dr $(MD)/vi.dd \
boisy
parents:
diff changeset
27 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
boisy
parents:
diff changeset
28
boisy
parents:
diff changeset
29 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
boisy
parents:
diff changeset
30 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
boisy
parents:
diff changeset
31 $(LEVEL2)/coco3/cmds/setime
boisy
parents:
diff changeset
32
boisy
parents:
diff changeset
33 TEXTFILES_D1 = startup tOC_80d.txt
boisy
parents:
diff changeset
34 TEXTFILES = startup tOC_80d.txt
boisy
parents:
diff changeset
35
boisy
parents:
diff changeset
36 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
2132
cfb9d6f84aa8 Updated to LSL engine
boisy
parents: 2096
diff changeset
37 vol.1 vol.2 vol.9 vol.10 vol.11 vol.12 words.tok
2096
boisy
parents:
diff changeset
38
2132
cfb9d6f84aa8 Updated to LSL engine
boisy
parents: 2096
diff changeset
39 SUPPORTFILES_D2 = object vol.0 vol.3 vol.4 vol.9 vol.10 vol.11 vol.12
2096
boisy
parents:
diff changeset
40
boisy
parents:
diff changeset
41 SUPPORTFILES_D3 = object vol.0 vol.5 vol.9 vol.10 vol.11 vol.12
boisy
parents:
diff changeset
42
boisy
parents:
diff changeset
43 ALLOBJS = $(CMDS)
boisy
parents:
diff changeset
44
boisy
parents:
diff changeset
45 all: $(ALLOBJS)
boisy
parents:
diff changeset
46
boisy
parents:
diff changeset
47 clean: dskclean
boisy
parents:
diff changeset
48 $(RM) $(ALLOBJS)
boisy
parents:
diff changeset
49
boisy
parents:
diff changeset
50 dsk: all
boisy
parents:
diff changeset
51 $(RM) $(DISK_1_80D) $(DISK_2_80D) $(DISK_3_80D)
boisy
parents:
diff changeset
52 $(CD) $(LEVEL2)/coco3; make
boisy
parents:
diff changeset
53 $(OS9FORMAT_DS80) -q $(DISK_1_80D) -n$(DISK_1_80D_NAME)
boisy
parents:
diff changeset
54 $(MERGE) $(OS9BOOT_80D)>os9boot_80d
boisy
parents:
diff changeset
55 $(MERGE) $(KERNEL)>kernel_1773
boisy
parents:
diff changeset
56 $(OS9GEN) $(DISK_1_80D) -b=os9boot_80d -t=kernel_1773
boisy
parents:
diff changeset
57 $(RM) os9boot_80d os9boot_80d kernel_1773
boisy
parents:
diff changeset
58 $(MAKDIR) $(DISK_1_80D),CMDS
boisy
parents:
diff changeset
59 $(CP) $(CMDS) $(DISK_1_80D),CMDS
boisy
parents:
diff changeset
60 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_80D),CMDS/$(file);)
boisy
parents:
diff changeset
61 $(MERGE) $(BOOTCMDS)>shell
boisy
parents:
diff changeset
62 $(CP) shell $(DISK_1_80D),CMDS
boisy
parents:
diff changeset
63 $(RM) shell
boisy
parents:
diff changeset
64 $(OS9ATTR) $(DISK_1_80D),CMDS/shell -e -pe -pr -e -w -r
boisy
parents:
diff changeset
65 $(OS9RENAME) $(DISK_1_80D),CMDS/sierra AutoEx
boisy
parents:
diff changeset
66 $(CPL) $(TEXTFILES_D1) $(DISK_1_80D),.
boisy
parents:
diff changeset
67 $(OS9RENAME) $(DISK_1_80D),tOC_80d.txt tOC.txt
boisy
parents:
diff changeset
68 $(CP) $(SUPPORTFILES_D1) $(DISK_1_80D),.
boisy
parents:
diff changeset
69 tocgen $(DISK_1_80D),tOC.txt $(DISK_1_80D),tOC
boisy
parents:
diff changeset
70 $(OS9FORMAT_DS80) -q $(DISK_2_80D) -n$(DISK_2_80D_NAME)
boisy
parents:
diff changeset
71 $(CP) $(SUPPORTFILES_D2) $(DISK_2_80D),.
boisy
parents:
diff changeset
72 $(OS9FORMAT_DS80) -q $(DISK_3_80D) -n$(DISK_3_80D_NAME)
boisy
parents:
diff changeset
73 $(CP) $(SUPPORTFILES_D3) $(DISK_3_80D),.
boisy
parents:
diff changeset
74
boisy
parents:
diff changeset
75 dskcopy: dsk
boisy
parents:
diff changeset
76 $(CP) $(DISK_1_80D) $(DISK_2_80D) $(DISK_3_80D)
boisy
parents:
diff changeset
77
boisy
parents:
diff changeset
78 dskclean:
boisy
parents:
diff changeset
79 $(RM) $(DISK_1_80D) $(DISK_2_80D) $(DISK_3_80D)