annotate 3rdparty/packages/sierra/spacequest0/makefile @ 2138:dd542d2395e2

Added
author boisy
date Wed, 26 Dec 2007 16:09:13 +0000
parents
children d096a278e068
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2138
boisy
parents:
diff changeset
1 include $(NITROS9DIR)/rules.mak
boisy
parents:
diff changeset
2
boisy
parents:
diff changeset
3 vpath %.asm ../objs_lsl
boisy
parents:
diff changeset
4
boisy
parents:
diff changeset
5 DEPENDS = ./makefile
boisy
parents:
diff changeset
6
boisy
parents:
diff changeset
7 DISK_1_40D = spacequest0_d1_40d.dsk
boisy
parents:
diff changeset
8 DISK_2_40D = spacequest0_d2_40d.dsk
boisy
parents:
diff changeset
9 DISK_3_40D = spacequest0_d3_40d.dsk
boisy
parents:
diff changeset
10 DISK_1_80D = spacequest0_d1_80d.dsk
boisy
parents:
diff changeset
11 DISK_2_80D = spacequest0_d2_80d.dsk
boisy
parents:
diff changeset
12
boisy
parents:
diff changeset
13 DISK_1_40D_NAME = "Space Quest 0 Disk 1"
boisy
parents:
diff changeset
14 DISK_2_40D_NAME = "Space Quest 0 Disk 2"
boisy
parents:
diff changeset
15 DISK_3_40D_NAME = "Space Quest 0 Disk 3"
boisy
parents:
diff changeset
16 DISK_1_80D_NAME = "Space Quest 0 Disk 1"
boisy
parents:
diff changeset
17 DISK_2_80D_NAME = "Space Quest 0 Disk 2"
boisy
parents:
diff changeset
18
boisy
parents:
diff changeset
19 CMDS = sierra mnln scrn shdw tocgen
boisy
parents:
diff changeset
20 MD = $(LEVEL2)/coco3/modules
boisy
parents:
diff changeset
21
boisy
parents:
diff changeset
22 # We make our own bootfile and kernel track
boisy
parents:
diff changeset
23 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
boisy
parents:
diff changeset
24 OS9BOOT_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
boisy
parents:
diff changeset
25 $(MD)/rbf.mn \
boisy
parents:
diff changeset
26 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
boisy
parents:
diff changeset
27 $(MD)/scf.mn $(MD)/vtio.dr \
boisy
parents:
diff changeset
28 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
boisy
parents:
diff changeset
29 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
boisy
parents:
diff changeset
30 $(MD)/vrn.dr $(MD)/vi.dd \
boisy
parents:
diff changeset
31 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
boisy
parents:
diff changeset
32
boisy
parents:
diff changeset
33 OS9BOOT_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
boisy
parents:
diff changeset
34 $(MD)/rbf.mn \
boisy
parents:
diff changeset
35 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \
boisy
parents:
diff changeset
36 $(MD)/scf.mn $(MD)/vtio.dr \
boisy
parents:
diff changeset
37 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
boisy
parents:
diff changeset
38 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
boisy
parents:
diff changeset
39 $(MD)/vrn.dr $(MD)/vi.dd \
boisy
parents:
diff changeset
40 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
boisy
parents:
diff changeset
41
boisy
parents:
diff changeset
42 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
boisy
parents:
diff changeset
43 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
boisy
parents:
diff changeset
44 $(LEVEL2)/coco3/cmds/setime
boisy
parents:
diff changeset
45
boisy
parents:
diff changeset
46 TEXTFILES_D1 = startup tOC_40d.txt
boisy
parents:
diff changeset
47 TEXTFILES = startup tOC_80d.txt
boisy
parents:
diff changeset
48
boisy
parents:
diff changeset
49 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
boisy
parents:
diff changeset
50 vol.1 words.tok
boisy
parents:
diff changeset
51
boisy
parents:
diff changeset
52 SUPPORTFILES_D2 = object vol.0 vol.2
boisy
parents:
diff changeset
53
boisy
parents:
diff changeset
54 SUPPORTFILES_D3 = object vol.0 vol.3
boisy
parents:
diff changeset
55
boisy
parents:
diff changeset
56 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \
boisy
parents:
diff changeset
57 vol.1 vol.2 words.tok
boisy
parents:
diff changeset
58
boisy
parents:
diff changeset
59 ALLOBJS = $(CMDS)
boisy
parents:
diff changeset
60
boisy
parents:
diff changeset
61 all: $(ALLOBJS)
boisy
parents:
diff changeset
62
boisy
parents:
diff changeset
63 clean: dskclean
boisy
parents:
diff changeset
64 $(RM) $(ALLOBJS)
boisy
parents:
diff changeset
65
boisy
parents:
diff changeset
66 dsk_40d: all
boisy
parents:
diff changeset
67 $(RM) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D)
boisy
parents:
diff changeset
68 $(CD) $(LEVEL2)/coco3; make
boisy
parents:
diff changeset
69 $(OS9FORMAT_DS40) -q $(DISK_1_40D) -n$(DISK_1_40D_NAME)
boisy
parents:
diff changeset
70 $(OS9FORMAT_DS40) -q $(DISK_2_40D) -n$(DISK_2_40D_NAME)
boisy
parents:
diff changeset
71 $(OS9FORMAT_DS40) -q $(DISK_3_40D) -n$(DISK_3_40D_NAME)
boisy
parents:
diff changeset
72 $(MERGE) $(OS9BOOT_40D)>os9boot_40d
boisy
parents:
diff changeset
73 $(MERGE) $(KERNEL)>kernel_1773
boisy
parents:
diff changeset
74 $(OS9GEN) $(DISK_1_40D) -b=os9boot_40d -t=kernel_1773
boisy
parents:
diff changeset
75 $(RM) os9boot_40d kernel_1773
boisy
parents:
diff changeset
76 $(MAKDIR) $(DISK_1_40D),CMDS
boisy
parents:
diff changeset
77 $(CP) $(CMDS) $(DISK_1_40D),CMDS
boisy
parents:
diff changeset
78 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_40D),CMDS/$(file);)
boisy
parents:
diff changeset
79 $(MERGE) $(BOOTCMDS)>shell
boisy
parents:
diff changeset
80 $(CP) shell $(DISK_1_40D),CMDS
boisy
parents:
diff changeset
81 $(RM) shell
boisy
parents:
diff changeset
82 $(OS9ATTR) $(DISK_1_40D),CMDS/shell -e -pe -pr -e -w -r
boisy
parents:
diff changeset
83 $(OS9RENAME) $(DISK_1_40D),CMDS/sierra AutoEx
boisy
parents:
diff changeset
84 $(CPL) $(TEXTFILES_D1) $(DISK_1_40D),.
boisy
parents:
diff changeset
85 $(OS9RENAME) $(DISK_1_40D),tOC_40d.txt tOC.txt
boisy
parents:
diff changeset
86 tocgen $(DISK_1_40D),tOC.txt $(DISK_1_40D),tOC
boisy
parents:
diff changeset
87 $(CP) $(SUPPORTFILES_D1) $(DISK_1_40D),.
boisy
parents:
diff changeset
88 $(CP) $(SUPPORTFILES_D2) $(DISK_2_40D),.
boisy
parents:
diff changeset
89 $(CP) $(SUPPORTFILES_D3) $(DISK_3_40D),.
boisy
parents:
diff changeset
90
boisy
parents:
diff changeset
91 dsk_80d: all
boisy
parents:
diff changeset
92 $(RM) $(DISK_1_80D) $(DISK_2_80D)
boisy
parents:
diff changeset
93 $(CD) $(LEVEL2)/coco3; make
boisy
parents:
diff changeset
94 $(OS9FORMAT_DS80) -q $(DISK_1_80D) -n$(DISK_1_80D_NAME)
boisy
parents:
diff changeset
95 $(OS9FORMAT_DS80) -q $(DISK_2_80D) -n$(DISK_2_80D_NAME)
boisy
parents:
diff changeset
96 $(MERGE) $(OS9BOOT_80D)>os9boot_80d
boisy
parents:
diff changeset
97 $(MERGE) $(KERNEL)>kernel_1773
boisy
parents:
diff changeset
98 $(OS9GEN) $(DISK_1_80D) -b=os9boot_80d -t=kernel_1773
boisy
parents:
diff changeset
99 $(RM) os9boot_80d kernel_1773
boisy
parents:
diff changeset
100 $(MAKDIR) $(DISK_1_80D),CMDS
boisy
parents:
diff changeset
101 $(CP) $(CMDS) $(DISK_1_80D),CMDS
boisy
parents:
diff changeset
102 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_80D),CMDS/$(file);)
boisy
parents:
diff changeset
103 $(MERGE) $(BOOTCMDS)>shell
boisy
parents:
diff changeset
104 $(CP) shell $(DISK_1_80D),CMDS
boisy
parents:
diff changeset
105 $(RM) shell
boisy
parents:
diff changeset
106 $(OS9ATTR) $(DISK_1_80D),CMDS/shell -e -pe -pr -e -w -r
boisy
parents:
diff changeset
107 $(OS9RENAME) $(DISK_1_80D),CMDS/sierra AutoEx
boisy
parents:
diff changeset
108 $(CPL) $(TEXTFILES) $(DISK_1_80D),.
boisy
parents:
diff changeset
109 $(OS9RENAME) $(DISK_1_80D),tOC_80d.txt tOC.txt
boisy
parents:
diff changeset
110 tocgen $(DISK_1_80D),tOC.txt $(DISK_1_80D),tOC
boisy
parents:
diff changeset
111 $(CP) $(SUPPORTFILES) $(DISK_1_80D),.
boisy
parents:
diff changeset
112 $(CP) $(SUPPORTFILES_D3) $(DISK_2_80D),.
boisy
parents:
diff changeset
113
boisy
parents:
diff changeset
114 dsk: dsk_40d dsk_80d
boisy
parents:
diff changeset
115
boisy
parents:
diff changeset
116 dskcopy: dsk
boisy
parents:
diff changeset
117 $(CP) $(DISK_1_40D) $(DISK_2_40D) $(DISK_1_80D) $(DISK_2_80D) $(DSKDIR)
boisy
parents:
diff changeset
118
boisy
parents:
diff changeset
119 dskclean:
boisy
parents:
diff changeset
120 $(RM) $(DISK_1_40D) $(DISK_2_40D) $(DISK_1_80D) $(DISK_2_80D)