Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/sierra/leisuresuitlarry/makefile @ 2774:1868fbf470e7 lwtools-port
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
changeset: 2773:ce3dba57003b
branch: lwtools-port
tag: tip
parent: 2770:bfe3de781ddf
user: Boisy Pitre <boisy.pitre@nuance.com>
date: Wed Jan 23 14:54:29 2013 -0600
summary: boot_dw now uses dwinit.asm.
changeset: 2772:0a3f4d8ea6d5
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Wed, 23 Jan 2013 21:02:34 -0600 |
parents | 05b648103e78 |
children | 84d9d5765057 |
rev | line source |
---|---|
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
1 include ../../../../rules.mak |
2075 | 2 |
3 vpath %.asm ../objs_lsl | |
777 | 4 |
1363 | 5 DEPENDS = ./makefile |
777 | 6 |
2228 | 7 DSK_FLOPPY = leisuresuitlarry.dsk |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2499
diff
changeset
|
8 DSK_DW = leisuresuitlarry_dw.dsk |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
9 DSK_DW_BECKER = leisuresuitlarry_becker.dsk |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
10 |
2228 | 11 DSK_NAME = "Leisure Suit Larry" |
2086 | 12 |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
13 DSKS = $(DSK_FLOPPY) $(DSK_DW) $(DSK_DW_BECKER) |
2216 | 14 |
2499 | 15 CMDS = sierra mnln scrn shdw tocgen |
2064 | 16 MD = $(LEVEL2)/coco3/modules |
777 | 17 |
18 # We make our own bootfile and kernel track | |
2228 | 19 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2499
diff
changeset
|
20 KERNEL_DW = $(MD)/rel_32 $(MD)/boot_dw $(MD)/krn |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
21 KERNEL_DW_BECKER = $(MD)/rel_32 $(MD)/boot_dw_becker $(MD)/krn |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
22 |
2228 | 23 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
777 | 24 $(MD)/rbf.mn \ |
1638 | 25 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ |
1934 | 26 $(MD)/scf.mn $(MD)/vtio.dr \ |
1311
e7cac8de00e9
Updated Makefiles to build bootfiles from new module filenames
boisy
parents:
1129
diff
changeset
|
27 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1934 | 28 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
777 | 29 $(MD)/vrn.dr $(MD)/vi.dd \ |
1318 | 30 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
31 |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2499
diff
changeset
|
32 BOOTFILE_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
2228 | 33 $(MD)/rbf.mn \ |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2499
diff
changeset
|
34 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \ |
2228 | 35 $(MD)/scf.mn $(MD)/vtio.dr \ |
36 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
37 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
38 $(MD)/vrn.dr $(MD)/vi.dd \ | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2499
diff
changeset
|
39 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd |
777 | 40 |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
41 BOOTFILE_DW_BECKER = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
42 $(MD)/rbf.mn \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
43 $(MD)/rbdw.dr $(MD)/dwio_becker.sb $(MD)/ddx0.dd \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
44 $(MD)/scf.mn $(MD)/vtio.dr \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
45 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
46 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
47 $(MD)/vrn.dr $(MD)/vi.dd \ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
48 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
49 |
2086 | 50 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \ |
777 | 51 vol.1 vol.2 vol.3 vol.4 words.tok |
52 | |
53 ALLOBJS = $(CMDS) | |
54 | |
55 all: $(ALLOBJS) | |
56 | |
57 clean: dskclean | |
58 $(RM) $(ALLOBJS) | |
59 | |
2228 | 60 dsk: all $(DSKS) |
61 | |
62 $(DSK_FLOPPY): | |
63 $(RM) $@ | |
2064 | 64 $(CD) $(LEVEL2)/coco3; make |
2499 | 65 $(OS9FORMAT_DS80) -q $@ -n$(DSK_NAME) |
2228 | 66 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot |
67 $(MERGE) $(KERNEL_FLOPPY)>kernel | |
68 $(OS9GEN) $@ -b=os9boot -t=kernel | |
69 $(RM) os9boot kernel | |
70 $(MAKDIR) $@,CMDS | |
71 $(CP) $(CMDS) $@,CMDS | |
72 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
73 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
74 $(CP) $(SUPPORTFILES) $@,. | |
2499 | 75 $(MOVE) tocgen toctmp |
2228 | 76 tocgen tOC.txt $@,tOC |
2499 | 77 $(MOVE) toctmp tocgen |
2228 | 78 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) |
79 | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2499
diff
changeset
|
80 $(DSK_DW): |
2228 | 81 $(RM) $@ |
82 $(CD) $(LEVEL2)/coco3; make | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2499
diff
changeset
|
83 $(OS9FORMAT_DW) -q $@ -n$(DSK_NAME) |
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2499
diff
changeset
|
84 $(MERGE) $(BOOTFILE_DW)>os9boot |
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2499
diff
changeset
|
85 $(MERGE) $(KERNEL_DW)>kernel |
2228 | 86 $(OS9GEN) $@ -b=os9boot -t=kernel |
87 $(RM) os9boot kernel | |
88 $(MAKDIR) $@,CMDS | |
89 $(CP) $(CMDS) $@,CMDS | |
90 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
91 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
92 $(CP) $(SUPPORTFILES) $@,. | |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
93 $(MOVE) tocgen toctmp |
2228 | 94 tocgen tOC.txt $@,tOC |
2774
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
95 $(MOVE) toctmp tocgen |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
96 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
97 |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
98 $(DSK_DW_BECKER): |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
99 $(RM) $@ |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
100 $(CD) $(LEVEL2)/coco3; make |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
101 $(OS9FORMAT_DW) -q $@ -n$(DSK_NAME) |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
102 $(MERGE) $(BOOTFILE_DW_BECKER)>os9boot |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
103 $(MERGE) $(KERNEL_DW_BECKER)>kernel |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
104 $(OS9GEN) $@ -b=os9boot -t=kernel |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
105 $(RM) os9boot kernel |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
106 $(MAKDIR) $@,CMDS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
107 $(CP) $(CMDS) $@,CMDS |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
108 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
109 $(OS9RENAME) $@,CMDS/sierra AutoEx |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
110 $(CP) $(SUPPORTFILES) $@,. |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
111 $(MOVE) tocgen toctmp |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
112 tocgen tOC.txt $@,tOC |
1868fbf470e7
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2724
diff
changeset
|
113 $(MOVE) toctmp tocgen |
2228 | 114 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) |
777 | 115 |
1121 | 116 dskcopy: dsk |
2216 | 117 $(CP) $(DSKS) $(DSKDIR) |
1121 | 118 |
777 | 119 dskclean: |
2216 | 120 $(RM) $(DSKS) |
121 | |
122 info: | |
123 @$(ECHO) "*** Leisure Suit Larry ***" | |
124 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |