Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/sierra/kingsquest1/makefile @ 2898:28ed72477814 lwtools-port
Dummy merge of default branch into lwtools
hg -y merge --tool=internal:fail default
hg revert --all --no-backup --rev .
hg resolve -a -m
This dummy merge discards any changes from the default branch
so that the result is the same as what lwtools already had.
When merging back to default branch later, the discarded
changes will be discarded there also, so the result
will be that the default branch will contain what
the lwtools branch had before these merges.
Only scripts/burst was "rescued" from default branch.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sat, 11 Jan 2014 18:40:44 +0100 |
parents | d5220b220313 46c80d4b0de1 |
children | 9d256fa9ba31 |
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 |
2071 | 2 |
2129
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
3 vpath %.asm ../objs_lsl |
2071 | 4 |
5 DEPENDS = ./makefile | |
6 | |
2129
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
7 DISK_40D = kingsquest1_40d.dsk |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
8 DSKDW = kingsquest1_dw.dsk |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
9 DSKDWBECKER = kingsquest1_becker.dsk |
2078 | 10 |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
11 DSKS = $(DISK_40D) $(DSKDW) $(DSKDWBECKER) |
2216 | 12 |
2129
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
13 DISK_40D_NAME = "King's Quest I" |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
14 DSKDW_NAME = $(DISK_40D_NAME) |
2078 | 15 |
2071 | 16 CMDS = sierra mnln scrn shdw tocgen |
17 MD = $(LEVEL2)/coco3/modules | |
18 | |
19 # We make our own bootfile and kernel track | |
2219 | 20 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
21 KERNEL_DW = $(MD)/rel_32 $(MD)/boot_dw $(MD)/krn |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
22 KERNEL_DW_BECKER = $(MD)/rel_32 $(MD)/boot_dw_becker $(MD)/krn |
2129
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
23 |
2219 | 24 BOOTFILE_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
2071 | 25 $(MD)/rbf.mn \ |
26 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ | |
27 $(MD)/scf.mn $(MD)/vtio.dr \ | |
28 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
29 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
30 $(MD)/vrn.dr $(MD)/vi.dd \ | |
31 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd | |
32 | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
33 BOOTFILE_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
2219 | 34 $(MD)/rbf.mn \ |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
35 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \ |
2219 | 36 $(MD)/scf.mn $(MD)/vtio.dr \ |
37 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
38 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
39 $(MD)/vrn.dr $(MD)/vi.dd \ | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
40 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd |
2219 | 41 |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
42 BOOTFILE_DW_BECKER = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
2746
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
43 $(MD)/rbf.mn \ |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
44 $(MD)/rbdw.dr $(MD)/dwio_becker.sb $(MD)/ddx0.dd \ |
2746
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
45 $(MD)/scf.mn $(MD)/vtio.dr \ |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
46 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
47 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
48 $(MD)/vrn.dr $(MD)/vi.dd \ |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
49 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd |
2746
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
50 |
2071 | 51 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \ |
52 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \ | |
53 $(LEVEL2)/coco3/cmds/setime | |
54 | |
2515 | 55 TEXTFILES = ../startup tOC_40d.txt |
2071 | 56 |
2129
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
57 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \ |
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
58 vol.1 vol.2 words.tok |
2071 | 59 |
60 ALLOBJS = $(CMDS) | |
61 | |
62 all: $(ALLOBJS) | |
63 | |
64 clean: dskclean | |
65 $(RM) $(ALLOBJS) | |
66 | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
67 dsk: all $(DISK_40D) $(DSKDW) $(DSKDWBECKER) |
2219 | 68 |
69 $(DISK_40D): | |
70 $(RM) $@ | |
2071 | 71 $(CD) $(LEVEL2)/coco3; make |
2219 | 72 $(OS9FORMAT_DS40) -q $@ -n$(DISK_40D_NAME) |
73 $(MERGE) $(BOOTFILE_40D)>os9boot | |
74 $(MERGE) $(KERNEL_FLOPPY)>kernel | |
75 $(OS9GEN) $@ -b=os9boot -t=kernel | |
76 $(RM) os9boot kernel | |
77 $(MAKDIR) $@,CMDS | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
78 $(OS9COPY) $(CMDS) $@,CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
79 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
2071 | 80 $(MERGE) $(BOOTCMDS)>shell |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
81 $(OS9COPY) shell $@,CMDS |
2071 | 82 $(RM) shell |
2219 | 83 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
84 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
85 $(CPL) $(TEXTFILES) $@,. | |
86 $(OS9RENAME) $@,tOC_40d.txt tOC.txt | |
2495 | 87 $(MOVE) tocgen toctmp |
2219 | 88 tocgen $@,tOC.txt $@,tOC |
2495 | 89 $(MOVE) toctmp tocgen |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
90 $(OS9COPY) $(SUPPORTFILES) $@,. |
2219 | 91 |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
92 $(DSKDW): |
2219 | 93 $(RM) $@ |
94 $(CD) $(LEVEL2)/coco3; make | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
95 $(OS9FORMAT_DW) -q $@ -n$(DISK_40D_NAME) |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
96 $(MERGE) $(BOOTFILE_DW)>os9boot |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
97 $(MERGE) $(KERNEL_DW)>kernel |
2219 | 98 $(OS9GEN) $@ -b=os9boot -t=kernel |
99 $(RM) os9boot kernel | |
100 $(MAKDIR) $@,CMDS | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
101 $(OS9COPY) $(CMDS) $@,CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
102 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
2219 | 103 $(MERGE) $(BOOTCMDS)>shell |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
104 $(OS9COPY) shell $@,CMDS |
2219 | 105 $(RM) shell |
106 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | |
107 $(OS9RENAME) $@,CMDS/sierra AutoEx | |
108 $(CPL) $(TEXTFILES) $@,. | |
109 $(OS9RENAME) $@,tOC_40d.txt tOC.txt | |
2746
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
110 $(MOVE) tocgen toctmp |
2219 | 111 tocgen $@,tOC.txt $@,tOC |
2746
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
112 $(MOVE) toctmp tocgen |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
113 $(OS9COPY) $(SUPPORTFILES) $@,. |
2746
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
114 |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
115 $(DSKDWBECKER): |
2746
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
116 $(RM) $@ |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
117 $(CD) $(LEVEL2)/coco3; make |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
118 $(OS9FORMAT_DW) -q $@ -n$(DISK_40D_NAME) |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
119 $(MERGE) $(BOOTFILE_DW_BECKER)>os9boot |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
120 $(MERGE) $(KERNEL_DW_BECKER)>kernel |
2746
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
121 $(OS9GEN) $@ -b=os9boot -t=kernel |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
122 $(RM) os9boot kernel |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
123 $(MAKDIR) $@,CMDS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
124 $(OS9COPY) $(CMDS) $@,CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
125 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
2746
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
126 $(MERGE) $(BOOTCMDS)>shell |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
127 $(OS9COPY) shell $@,CMDS |
2746
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
128 $(RM) shell |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
129 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
130 $(OS9RENAME) $@,CMDS/sierra AutoEx |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
131 $(CPL) $(TEXTFILES) $@,. |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
132 $(OS9RENAME) $@,tOC_40d.txt tOC.txt |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
133 $(MOVE) tocgen toctmp |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
134 tocgen $@,tOC.txt $@,tOC |
20a6dfbe8982
Updated makefile(s) to build becker boot disks for drivewire4 server related to KingsQuest1 and Goldrush.
drencor-xeen
parents:
2515
diff
changeset
|
135 $(MOVE) toctmp tocgen |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
136 $(OS9COPY) $(SUPPORTFILES) $@,. |
2123
82081ff99be5
Redid makefiles, separating 40 and 80 track disk images. Also added 80 track disk images to some games that didn't have one.
boisy
parents:
2099
diff
changeset
|
137 |
2071 | 138 dskcopy: dsk |
2216 | 139 $(CP) $(DSKS) $(DSKDIR) |
2071 | 140 |
141 dskclean: | |
2216 | 142 $(RM) $(DSKS) |
143 | |
144 info: | |
145 @$(ECHO) "*** King's Quest I ***" | |
146 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |