Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/subsim/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 1addfd8c9d5f |
children | e4d95d73b8dd |
rev | line source |
---|---|
2890
1addfd8c9d5f
Revert e4a0f58a5f9b (set NITROS9DIR in makefiles)
Tormod Volden <debian.tormod@gmail.com>
parents:
2873
diff
changeset
|
1 include ../../../rules.mak |
795 | 2 |
1363 | 3 DEPENDS = ./makefile |
795 | 4 |
2206 | 5 DSK_FLOPPY = subsim.dsk |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2759
diff
changeset
|
6 DSK_DW = subsim_dw.dsk |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2759
diff
changeset
|
7 DSK_DW_BECKER = subsim_becker.dsk |
2749
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
8 |
795 | 9 CMDS = presub sub sub1 sub2 sub3 sub4 sub5 sub6 |
2064 | 10 MD = $(LEVEL2)/coco3/modules |
795 | 11 |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2759
diff
changeset
|
12 DSKS = $(DSK_FLOPPY) $(DSK_DW) $(DSK_DW_BECKER) |
2216 | 13 |
795 | 14 # We make our own bootfile and kernel track |
2206 | 15 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:
2759
diff
changeset
|
16 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:
2759
diff
changeset
|
17 KERNEL_DW_BECKER = $(MD)/rel_32 $(MD)/boot_dw_becker $(MD)/krn |
2749
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
18 |
2206 | 19 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
795 | 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 \ |
1318 | 25 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd |
795 | 26 |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2759
diff
changeset
|
27 BOOTFILE_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
2206 | 28 $(MD)/rbf.mn \ |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2759
diff
changeset
|
29 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \ |
2206 | 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 \ | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2759
diff
changeset
|
33 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd |
2206 | 34 |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2759
diff
changeset
|
35 BOOTFILE_DW_BECKER = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
2749
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
36 $(MD)/rbf.mn \ |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2759
diff
changeset
|
37 $(MD)/rbdw.dr $(MD)/dwio_becker.sb $(MD)/ddx0.dd \ |
2749
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
38 $(MD)/scf.mn $(MD)/vtio.dr \ |
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
39 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
40 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2759
diff
changeset
|
41 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd |
2749
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
42 |
795 | 43 SUPPORTFILES = control1.cmp convoys.dat diesel.dat fonts.dat germap.cmp \ |
44 hiscore.dat mission.txt missions.dat radar.dat shipmap2.dat \ | |
1343
04d092844f61
Robert Gault added missing files, modified Makefile to make dsk proper.
boisy
parents:
1318
diff
changeset
|
45 sintbl.dat stitle.pic sub.dat usamap.cmp status.dat substats.dat |
795 | 46 |
47 ALLOBJS = $(CMDS) | |
48 | |
49 all: $(ALLOBJS) | |
50 | |
51 clean: dskclean | |
52 $(RM) $(ALLOBJS) | |
53 | |
2216 | 54 dsk: all $(DSKS) |
2206 | 55 |
56 $(DSK_FLOPPY): | |
57 $(RM) $@ | |
2064 | 58 $(CD) $(LEVEL2)/coco3; make |
2206 | 59 $(OS9FORMAT_DS40) $@ -n"Sub Battle Simulator" |
60 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot | |
61 $(MERGE) $(KERNEL_FLOPPY)>kernel | |
62 $(OS9GEN) $@ -b=os9boot -t=kernel | |
63 $(RM) os9boot kernel | |
64 $(MAKDIR) $@,CMDS $@,SUB | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
65 $(OS9COPY) $(CMDS) $@,CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
66 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
67 $(OS9COPY) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell |
2206 | 68 $(OS9ATTR_EXEC) $@,CMDS/shell |
69 $(OS9RENAME) $@,CMDS/presub AutoEx | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
70 $(OS9COPY) $(SUPPORTFILES) $@,SUB |
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
71 $(OS9COPY) sub6 $@,SUB |
2206 | 72 $(OS9ATTR_EXEC) $@,SUB/sub6 |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
73 $(OS9ATTR_TEXT) $(foreach file,$(SUPPORTFILES),$@,SUB/$(file)) |
2206 | 74 |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2759
diff
changeset
|
75 $(DSK_DW): |
2206 | 76 $(RM) $@ |
77 $(CD) $(LEVEL2)/coco3; make | |
78 $(OS9FORMAT_SS80) $@ -n"Sub Battle Simulator" | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2759
diff
changeset
|
79 $(MERGE) $(BOOTFILE_DW)>os9boot |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2759
diff
changeset
|
80 $(MERGE) $(KERNEL_DW)>kernel |
2206 | 81 $(OS9GEN) $@ -b=os9boot -t=kernel |
82 $(RM) os9boot kernel | |
83 $(MAKDIR) $@,CMDS $@,SUB | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
84 $(OS9COPY) $(CMDS) $@,CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
85 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
86 $(OS9COPY) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell |
2206 | 87 $(OS9ATTR_EXEC) $@,CMDS/shell |
88 $(OS9RENAME) $@,CMDS/presub AutoEx | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
89 $(OS9COPY) $(SUPPORTFILES) $@,SUB |
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
90 $(OS9COPY) sub6 $@,SUB |
2206 | 91 $(OS9ATTR_EXEC) $@,SUB/sub6 |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
92 $(OS9ATTR_TEXT) $(foreach file,$(SUPPORTFILES),$@,SUB/$(file)) |
795 | 93 |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2759
diff
changeset
|
94 $(DSK_DW_BECKER): |
2749
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
95 $(RM) $@ |
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
96 $(CD) $(LEVEL2)/coco3; make |
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
97 $(OS9FORMAT_SS80) $@ -n"Sub Battle Simulator" |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2759
diff
changeset
|
98 $(MERGE) $(BOOTFILE_DW_BECKER)>os9boot |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2759
diff
changeset
|
99 $(MERGE) $(KERNEL_DW_BECKER)>kernel |
2749
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
100 $(OS9GEN) $@ -b=os9boot -t=kernel |
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
101 $(RM) os9boot kernel |
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
102 $(MAKDIR) $@,CMDS $@,SUB |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
103 $(OS9COPY) $(CMDS) $@,CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
104 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
105 $(OS9COPY) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell |
2749
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
106 $(OS9ATTR_EXEC) $@,CMDS/shell |
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
107 $(OS9RENAME) $@,CMDS/presub AutoEx |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
108 $(OS9COPY) $(SUPPORTFILES) $@,SUB |
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
109 $(OS9COPY) sub6 $@,SUB |
2749
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
110 $(OS9ATTR_EXEC) $@,SUB/sub6 |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
111 $(OS9ATTR_TEXT) $(foreach file,$(SUPPORTFILES),$@,SUB/$(file)) |
2749
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2216
diff
changeset
|
112 |
2759
e26e3b45ff86
Found the makefile for subsim in the 3rdparty/packages was not creating the disk images when the "make dskcopy" was being given.
drencor-xeen
parents:
2758
diff
changeset
|
113 dskcopy: dsk |
2216 | 114 $(CP) $(DSKS) $(DSKDIR) |
1121 | 115 |
795 | 116 dskclean: |
2216 | 117 $(RM) $(DSKS) |
118 | |
119 info: | |
120 @$(ECHO) "*** Sub Battle Simluator ***" | |
121 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |