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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
eb13221efaed Updated
boisy
parents: 2064
diff changeset
2
eb13221efaed Updated
boisy
parents: 2064
diff changeset
3 vpath %.asm ../objs_lsl
777
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
4
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1318
diff changeset
5 DEPENDS = ./makefile
777
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
6
2228
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
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
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
11 DSK_NAME = "Leisure Suit Larry"
2086
82113c6e5aa8 Updated to use tocgen
boisy
parents: 2075
diff changeset
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
d096a278e068 Added info targets
boisy
parents: 2099
diff changeset
14
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2228
diff changeset
15 CMDS = sierra mnln scrn shdw tocgen
2064
c8bb06c82d68 Changes for new NitrOS-9 directory structure
boisy
parents: 1934
diff changeset
16 MD = $(LEVEL2)/coco3/modules
777
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
17
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
18 # We make our own bootfile and kernel track
2228
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
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
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
23 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
777
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
24 $(MD)/rbf.mn \
1638
1b23a41c674d Updated makefiles
boisy
parents: 1371
diff changeset
25 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
1934
af946652495d Makefiles reflect new module names
boisy
parents: 1638
diff changeset
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
af946652495d Makefiles reflect new module names
boisy
parents: 1638
diff changeset
28 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
777
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
29 $(MD)/vrn.dr $(MD)/vi.dd \
1318
a543ba9d856b Makefiles now reference sysgo instead of cc3go
boisy
parents: 1311
diff changeset
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
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
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
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
35 $(MD)/scf.mn $(MD)/vtio.dr \
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
36 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
37 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
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
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
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
82113c6e5aa8 Updated to use tocgen
boisy
parents: 2075
diff changeset
50 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \
777
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
51 vol.1 vol.2 vol.3 vol.4 words.tok
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
52
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
53 ALLOBJS = $(CMDS)
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
54
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
55 all: $(ALLOBJS)
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
56
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
57 clean: dskclean
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
58 $(RM) $(ALLOBJS)
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
59
2228
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
60 dsk: all $(DSKS)
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
61
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
62 $(DSK_FLOPPY):
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
63 $(RM) $@
2064
c8bb06c82d68 Changes for new NitrOS-9 directory structure
boisy
parents: 1934
diff changeset
64 $(CD) $(LEVEL2)/coco3; make
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2228
diff changeset
65 $(OS9FORMAT_DS80) -q $@ -n$(DSK_NAME)
2228
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
66 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
67 $(MERGE) $(KERNEL_FLOPPY)>kernel
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
68 $(OS9GEN) $@ -b=os9boot -t=kernel
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
69 $(RM) os9boot kernel
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
70 $(MAKDIR) $@,CMDS
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
71 $(CP) $(CMDS) $@,CMDS
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
72 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
73 $(OS9RENAME) $@,CMDS/sierra AutoEx
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
74 $(CP) $(SUPPORTFILES) $@,.
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2228
diff changeset
75 $(MOVE) tocgen toctmp
2228
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
76 tocgen tOC.txt $@,tOC
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2228
diff changeset
77 $(MOVE) toctmp tocgen
2228
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
78 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);)
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
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
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
81 $(RM) $@
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
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
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
86 $(OS9GEN) $@ -b=os9boot -t=kernel
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
87 $(RM) os9boot kernel
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
88 $(MAKDIR) $@,CMDS
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
89 $(CP) $(CMDS) $@,CMDS
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
90 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
91 $(OS9RENAME) $@,CMDS/sierra AutoEx
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
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
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
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
77f41e861afc Udated makefiles to make DW3 disks
boisy
parents: 2225
diff changeset
114 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);)
777
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
115
1121
6a058c03adb1 More Makefile changes
boisy
parents: 1036
diff changeset
116 dskcopy: dsk
2216
d096a278e068 Added info targets
boisy
parents: 2099
diff changeset
117 $(CP) $(DSKS) $(DSKDIR)
1121
6a058c03adb1 More Makefile changes
boisy
parents: 1036
diff changeset
118
777
3a8f068cc438 Import of sources
boisy
parents:
diff changeset
119 dskclean:
2216
d096a278e068 Added info targets
boisy
parents: 2099
diff changeset
120 $(RM) $(DSKS)
d096a278e068 Added info targets
boisy
parents: 2099
diff changeset
121
d096a278e068 Added info targets
boisy
parents: 2099
diff changeset
122 info:
d096a278e068 Added info targets
boisy
parents: 2099
diff changeset
123 @$(ECHO) "*** Leisure Suit Larry ***"
d096a278e068 Added info targets
boisy
parents: 2099
diff changeset
124 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)