annotate 3rdparty/packages/sierra/goldrush/makefile @ 2219:94ccee3fceda

Updated makefiles
author boisy
date Tue, 17 Mar 2009 20:00:21 +0000
parents d096a278e068
children aff1f8e99e24
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2095
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
1 include $(NITROS9DIR)/rules.mak
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
2
2139
8b8f3ef42198 Updated to LSL engine
boisy
parents: 2123
diff changeset
3 vpath %.asm ../objs_lsl
2095
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
4
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
5 DEPENDS = ./makefile
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
6
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
7 DSKDW3 = goldrush_dw3.dsk
2099
c0e39b3fc9e9 Updated
boisy
parents: 2095
diff changeset
8 DISK_1_80D = goldrush_d1_80d.dsk
c0e39b3fc9e9 Updated
boisy
parents: 2095
diff changeset
9 DISK_2_80D = goldrush_d2_80d.dsk
c0e39b3fc9e9 Updated
boisy
parents: 2095
diff changeset
10 DISK_3_80D = goldrush_d3_80d.dsk
2095
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
11
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
12 DSKS = $(DISK_1_80D) $(DISK_2_80D) $(DISK_3_80D) $(DSKDW3)
2216
d096a278e068 Added info targets
boisy
parents: 2139
diff changeset
13
2095
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
14 DISK_1_80D_NAME = "Gold Rush Disk 1"
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
15 DISK_2_80D_NAME = "Gold Rush Disk 2"
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
16 DISK_3_80D_NAME = "Gold Rush d1_80dDisk 3"
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
17 DSKDW3_NAME = "Gold Rush"
2095
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
18
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
19 CMDS = sierra mnln scrn shdw tocgen
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
20 MD = $(LEVEL2)/coco3/modules
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
21
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
22 # We make our own bootfile and kernel track
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
23 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
24 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
25 BOOTFILE_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2095
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
26 $(MD)/rbf.mn \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
27 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
28 $(MD)/scf.mn $(MD)/vtio.dr \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
29 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
30 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
31 $(MD)/vrn.dr $(MD)/vi.dd \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
32 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
33
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
34 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
35 $(MD)/rbf.mn \
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
36 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
37 $(MD)/scf.mn $(MD)/vtio.dr \
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
38 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
39 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
40 $(MD)/vrn.dr $(MD)/vi.dd \
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
41 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
42
2095
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
43 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
44 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
45 $(LEVEL2)/coco3/cmds/setime
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
46
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
47 TEXTFILES_D1 = startup tOC_80d.txt tOC_dw3.txt
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
48 TEXTFILES = startup tOC_80d.txt tOC_dw3.txt
2095
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
49
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
50 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
51 vol.1 vol.2 vol.9 vol.10 vol.11 vol.12 words.tok
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
52
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
53 SUPPORTFILES_D2 = object vol.0 vol.3 vol.9 vol.11
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
54
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
55 SUPPORTFILES_D3 = object vol.0 vol.4 vol.5 vol.9 vol.11 vol.12
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
56
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
57 ALLOBJS = $(CMDS)
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
58
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
59 all: $(ALLOBJS)
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
60
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
61 clean: dskclean
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
62 $(RM) $(ALLOBJS)
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
63
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
64 dsk: all $(DSKDW3) $(DISK_1_80D) $(DISK_2_80D) $(DISK_3_80D)
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
65
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
66 $(DSKDW3):
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
67 $(RM) $@
2095
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
68 $(CD) $(LEVEL2)/coco3; make
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
69 $(OS9FORMAT_DW3) -q $@ -n$(DSKDW3_NAME)
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
70 $(MERGE) $(BOOTFILE_DW3)>os9boot
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
71 $(MERGE) $(KERNEL_DW3)>kernel
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
72 $(OS9GEN) $@ -b=os9boot -t=kernel
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
73 $(RM) os9boot kernel
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
74 $(MAKDIR) $@,CMDS
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
75 $(CP) $(CMDS) $@,CMDS
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
76 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
2095
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
77 $(MERGE) $(BOOTCMDS)>shell
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
78 $(CP) shell $@,CMDS
2095
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
79 $(RM) shell
2219
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
80 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
81 $(OS9RENAME) $@,CMDS/sierra AutoEx
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
82 $(CPL) $(TEXTFILES_D1) $@,.
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
83 $(CPL) $(TEXTFILES_D2) $@,.
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
84 $(CPL) $(TEXTFILES_D3) $@,.
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
85 $(OS9RENAME) $@,tOC_dw3.txt tOC.txt
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
86 $(CP) $(SUPPORTFILES_D1) $@,.
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
87 $(CP) $(SUPPORTFILES_D2) $@,.
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
88 $(CP) $(SUPPORTFILES_D3) $@,.
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
89 tocgen $@,tOC.txt $@,tOC
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
90
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
91 $(DISK_1_80D):
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
92 $(RM) $@
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
93 $(CD) $(LEVEL2)/coco3; make
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
94 $(OS9FORMAT_DS80) -q $@ -n$(DISK_1_80D_NAME)
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
95 $(MERGE) $(BOOTFILE_80D)>os9boot
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
96 $(MERGE) $(KERNEL_FLOPPY)>kernel
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
97 $(OS9GEN) $@ -b=os9boot -t=kernel
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
98 $(RM) os9boot_80d os9boot_80d kernel_1773
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
99 $(MAKDIR) $@,CMDS
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
100 $(CP) $(CMDS) $@,CMDS
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
101 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
102 $(MERGE) $(BOOTCMDS)>shell
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
103 $(CP) shell $@,CMDS
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
104 $(RM) shell
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
105 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
106 $(OS9RENAME) $@,CMDS/sierra AutoEx
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
107 $(CPL) $(TEXTFILES_D1) $@,.
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
108 $(OS9RENAME) $@,tOC_80d.txt tOC.txt
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
109 $(CP) $(SUPPORTFILES_D1) $@,.
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
110 tocgen $@,tOC.txt $@,tOC
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
111
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
112 $(DISK_2_80D):
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
113 $(RM) $@
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
114 $(OS9FORMAT_DS80) -q $@ -n$(DISK_2_80D_NAME)
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
115 $(CP) $(SUPPORTFILES_D2) $@,.
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
116
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
117 $(DISK_3_80D):
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
118 $(RM) $@
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
119 $(OS9FORMAT_DS80) -q $@ -n$(DISK_3_80D_NAME)
94ccee3fceda Updated makefiles
boisy
parents: 2216
diff changeset
120 $(CP) $(SUPPORTFILES_D3) $@,.
2095
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
121
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
122 dskcopy: dsk
2216
d096a278e068 Added info targets
boisy
parents: 2139
diff changeset
123 $(CP) $(DSKS) $(DSKDIR)
2095
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
124
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
125 dskclean:
2216
d096a278e068 Added info targets
boisy
parents: 2139
diff changeset
126 $(RM) $(DSKS)
d096a278e068 Added info targets
boisy
parents: 2139
diff changeset
127
d096a278e068 Added info targets
boisy
parents: 2139
diff changeset
128 info:
d096a278e068 Added info targets
boisy
parents: 2139
diff changeset
129 @$(ECHO) "*** Gold Rush ***"
d096a278e068 Added info targets
boisy
parents: 2139
diff changeset
130 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)