Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/sierra/leisuresuitlarry/makefile @ 2747:7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
Updated makefile(s) for kingsquest2, kingsquest3, kingsquest4, leisuresuitlarry, manhunter1, and manhunter2 so that becker boot disks for use with drivewire4 server are created.
author | drencor-xeen |
---|---|
date | Wed, 09 Jan 2013 16:51:45 -0600 |
parents | 2033e76ae3c0 |
children | 8b00f21d5b86 |
rev | line source |
---|---|
2499 | 1 ifndef NITROS9DIR |
2 NITROS9DIR = $(HOME)/nitros9 | |
3 endif | |
2075 | 4 include $(NITROS9DIR)/rules.mak |
5 | |
6 vpath %.asm ../objs_lsl | |
777 | 7 |
1363 | 8 DEPENDS = ./makefile |
777 | 9 |
2228 | 10 DSK_FLOPPY = leisuresuitlarry.dsk |
11 DSK_DW3 = leisuresuitlarry_dw3.dsk | |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
12 DSK_DW3_BECKER = leisuresuitlarry_dw3_becker.dsk |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
13 |
2228 | 14 DSK_NAME = "Leisure Suit Larry" |
2086 | 15 |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
16 DSKS = $(DSK_FLOPPY) $(DSK_DW3) $(DSK_DW3_BECKER) |
2216 | 17 |
2499 | 18 CMDS = sierra mnln scrn shdw tocgen |
2064 | 19 MD = $(LEVEL2)/coco3/modules |
777 | 20 |
21 # We make our own bootfile and kernel track | |
2228 | 22 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn |
23 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn | |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
24 KERNEL_DW3_BECKER = $(MD)/rel_32 $(MD)/boot_dw3_becker $(MD)/krn |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
25 |
2228 | 26 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
777 | 27 $(MD)/rbf.mn \ |
1638 | 28 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ |
1934 | 29 $(MD)/scf.mn $(MD)/vtio.dr \ |
1311
e7cac8de00e9
Updated Makefiles to build bootfiles from new module filenames
boisy
parents:
1129
diff
changeset
|
30 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1934 | 31 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
777 | 32 $(MD)/vrn.dr $(MD)/vi.dd \ |
1318 | 33 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
34 |
2228 | 35 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
36 $(MD)/rbf.mn \ | |
37 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \ | |
38 $(MD)/scf.mn $(MD)/vtio.dr \ | |
39 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
40 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
41 $(MD)/vrn.dr $(MD)/vi.dd \ | |
42 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd | |
777 | 43 |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
44 BOOTFILE_DW3_BECKER = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
45 $(MD)/rbf.mn \ |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
46 $(MD)/rbdw3.dr $(MD)/dw3_becker.sb $(MD)/ddx0.dd \ |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
47 $(MD)/scf.mn $(MD)/vtio.dr \ |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
48 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
49 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
50 $(MD)/vrn.dr $(MD)/vi.dd \ |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
51 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
52 |
2086 | 53 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \ |
777 | 54 vol.1 vol.2 vol.3 vol.4 words.tok |
55 | |
56 ALLOBJS = $(CMDS) | |
57 | |
58 all: $(ALLOBJS) | |
59 | |
60 clean: dskclean | |
61 $(RM) $(ALLOBJS) | |
62 | |
2228 | 63 dsk: all $(DSKS) |
64 | |
65 $(DSK_FLOPPY): | |
66 $(RM) $@ | |
2064 | 67 $(CD) $(LEVEL2)/coco3; make |
2499 | 68 $(OS9FORMAT_DS80) -q $@ -n$(DSK_NAME) |
2228 | 69 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot |
70 $(MERGE) $(KERNEL_FLOPPY)>kernel | |
71 $(OS9GEN) $@ -b=os9boot -t=kernel | |
72 $(RM) os9boot kernel | |
73 $(MAKDIR) $@,CMDS | |
74 $(CP) $(CMDS) $@,CMDS | |
75 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
76 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
77 $(CP) $(SUPPORTFILES) $@,. | |
2499 | 78 $(MOVE) tocgen toctmp |
2228 | 79 tocgen tOC.txt $@,tOC |
2499 | 80 $(MOVE) toctmp tocgen |
2228 | 81 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) |
82 | |
83 $(DSK_DW3): | |
84 $(RM) $@ | |
85 $(CD) $(LEVEL2)/coco3; make | |
2499 | 86 $(OS9FORMAT_DW3) -q $@ -n$(DSK_NAME) |
2228 | 87 $(MERGE) $(BOOTFILE_DW3)>os9boot |
88 $(MERGE) $(KERNEL_DW3)>kernel | |
89 $(OS9GEN) $@ -b=os9boot -t=kernel | |
90 $(RM) os9boot kernel | |
91 $(MAKDIR) $@,CMDS | |
92 $(CP) $(CMDS) $@,CMDS | |
93 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
94 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
95 $(CP) $(SUPPORTFILES) $@,. | |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
96 $(MOVE) tocgen toctmp |
2228 | 97 tocgen tOC.txt $@,tOC |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
98 $(MOVE) toctmp tocgen |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
99 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
100 |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
101 $(DSK_DW3_BECKER): |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
102 $(RM) $@ |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
103 $(CD) $(LEVEL2)/coco3; make |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
104 $(OS9FORMAT_DW3) -q $@ -n$(DSK_NAME) |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
105 $(MERGE) $(BOOTFILE_DW3_BECKER)>os9boot |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
106 $(MERGE) $(KERNEL_DW3_BECKER)>kernel |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
107 $(OS9GEN) $@ -b=os9boot -t=kernel |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
108 $(RM) os9boot kernel |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
109 $(MAKDIR) $@,CMDS |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
110 $(CP) $(CMDS) $@,CMDS |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
111 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
112 $(OS9RENAME) $@,CMDS/sierra AutoEx |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
113 $(CP) $(SUPPORTFILES) $@,. |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
114 $(MOVE) tocgen toctmp |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
115 tocgen tOC.txt $@,tOC |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2499
diff
changeset
|
116 $(MOVE) toctmp tocgen |
2228 | 117 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) |
777 | 118 |
1121 | 119 dskcopy: dsk |
2216 | 120 $(CP) $(DSKS) $(DSKDIR) |
1121 | 121 |
777 | 122 dskclean: |
2216 | 123 $(RM) $(DSKS) |
124 | |
125 info: | |
126 @$(ECHO) "*** Leisure Suit Larry ***" | |
127 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |