Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/sierra/leisuresuitlarry/makefile @ 2228:77f41e861afc
Udated makefiles to make DW3 disks
author | boisy |
---|---|
date | Sun, 22 Mar 2009 12:21:43 +0000 |
parents | f9c8c46feb74 |
children | 2033e76ae3c0 |
rev | line source |
---|---|
2075 | 1 include $(NITROS9DIR)/rules.mak |
2 | |
3 vpath %.asm ../objs_lsl | |
777 | 4 |
1363 | 5 DEPENDS = ./makefile |
777 | 6 |
2228 | 7 DSK_FLOPPY = leisuresuitlarry.dsk |
8 DSK_DW3 = leisuresuitlarry_dw3.dsk | |
9 DSK_NAME = "Leisure Suit Larry" | |
2086 | 10 |
2228 | 11 DSKS = $(DSK_FLOPPY) $(DSK_DW3) |
2216 | 12 |
777 | 13 CMDS = sierra mnln scrn shdw |
2064 | 14 MD = $(LEVEL2)/coco3/modules |
777 | 15 |
16 # We make our own bootfile and kernel track | |
2228 | 17 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn |
18 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn | |
19 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
777 | 20 $(MD)/rbf.mn \ |
1638 | 21 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ |
1934 | 22 $(MD)/scf.mn $(MD)/vtio.dr \ |
1311
e7cac8de00e9
Updated Makefiles to build bootfiles from new module filenames
boisy
parents:
1129
diff
changeset
|
23 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1934 | 24 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
777 | 25 $(MD)/vrn.dr $(MD)/vi.dd \ |
1318 | 26 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd |
2228 | 27 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
28 $(MD)/rbf.mn \ | |
29 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \ | |
30 $(MD)/scf.mn $(MD)/vtio.dr \ | |
31 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
32 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
33 $(MD)/vrn.dr $(MD)/vi.dd \ | |
34 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd | |
777 | 35 |
2086 | 36 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \ |
777 | 37 vol.1 vol.2 vol.3 vol.4 words.tok |
38 | |
39 ALLOBJS = $(CMDS) | |
40 | |
41 all: $(ALLOBJS) | |
42 | |
43 clean: dskclean | |
44 $(RM) $(ALLOBJS) | |
45 | |
2228 | 46 dsk: all $(DSKS) |
47 | |
48 $(DSK_FLOPPY): | |
49 $(RM) $@ | |
2064 | 50 $(CD) $(LEVEL2)/coco3; make |
2228 | 51 $(OS9FORMAT_DS40) -q $@ -n$(DSK_NAME) |
52 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot | |
53 $(MERGE) $(KERNEL_FLOPPY)>kernel | |
54 $(OS9GEN) $@ -b=os9boot -t=kernel | |
55 $(RM) os9boot kernel | |
56 $(MAKDIR) $@,CMDS | |
57 $(CP) $(CMDS) $@,CMDS | |
58 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
59 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
60 $(CP) $(SUPPORTFILES) $@,. | |
61 tocgen tOC.txt $@,tOC | |
62 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
63 | |
64 $(DSK_DW3): | |
65 $(RM) $@ | |
66 $(CD) $(LEVEL2)/coco3; make | |
67 $(OS9FORMAT_DS40) -q $@ -n$(DSK_NAME) | |
68 $(MERGE) $(BOOTFILE_DW3)>os9boot | |
69 $(MERGE) $(KERNEL_DW3)>kernel | |
70 $(OS9GEN) $@ -b=os9boot -t=kernel | |
71 $(RM) os9boot kernel | |
72 $(MAKDIR) $@,CMDS | |
73 $(CP) $(CMDS) $@,CMDS | |
74 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
75 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
76 $(CP) $(SUPPORTFILES) $@,. | |
77 tocgen tOC.txt $@,tOC | |
78 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
777 | 79 |
1121 | 80 dskcopy: dsk |
2216 | 81 $(CP) $(DSKS) $(DSKDIR) |
1121 | 82 |
777 | 83 dskclean: |
2216 | 84 $(RM) $(DSKS) |
85 | |
86 info: | |
87 @$(ECHO) "*** Leisure Suit Larry ***" | |
88 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |