annotate 3rdparty/packages/subsim/makefile @ 2890:1addfd8c9d5f

Revert e4a0f58a5f9b (set NITROS9DIR in makefiles) This was not done in lwtools-port and makes it more difficult to compare the trees. Therefore revert it for now. I will reapply or do it in another way later.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 24 Nov 2013 23:13:46 +0100
parents 46c80d4b0de1
children 28ed72477814
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
7d5919f5610b Makefile
boisy
parents:
diff changeset
2
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1343
diff changeset
3 DEPENDS = ./makefile
795
7d5919f5610b Makefile
boisy
parents:
diff changeset
4
2206
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
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
7d5919f5610b Makefile
boisy
parents:
diff changeset
9 CMDS = presub sub sub1 sub2 sub3 sub4 sub5 sub6
2064
c8bb06c82d68 Changes for new NitrOS-9 directory structure
boisy
parents: 1934
diff changeset
10 MD = $(LEVEL2)/coco3/modules
795
7d5919f5610b Makefile
boisy
parents:
diff changeset
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
d096a278e068 Added info targets
boisy
parents: 2206
diff changeset
13
795
7d5919f5610b Makefile
boisy
parents:
diff changeset
14 # We make our own bootfile and kernel track
2206
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
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
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
19 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
795
7d5919f5610b Makefile
boisy
parents:
diff changeset
20 $(MD)/rbf.mn \
1638
1b23a41c674d Updated makefiles
boisy
parents: 1371
diff changeset
21 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
1934
af946652495d Makefiles reflect new module names
boisy
parents: 1638
diff changeset
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
af946652495d Makefiles reflect new module names
boisy
parents: 1638
diff changeset
24 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
1318
a543ba9d856b Makefiles now reference sysgo instead of cc3go
boisy
parents: 1311
diff changeset
25 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
795
7d5919f5610b Makefile
boisy
parents:
diff changeset
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
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
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
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
30 $(MD)/scf.mn $(MD)/vtio.dr \
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
31 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
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
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
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
7d5919f5610b Makefile
boisy
parents:
diff changeset
43 SUPPORTFILES = control1.cmp convoys.dat diesel.dat fonts.dat germap.cmp \
7d5919f5610b Makefile
boisy
parents:
diff changeset
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
7d5919f5610b Makefile
boisy
parents:
diff changeset
46
7d5919f5610b Makefile
boisy
parents:
diff changeset
47 ALLOBJS = $(CMDS)
7d5919f5610b Makefile
boisy
parents:
diff changeset
48
7d5919f5610b Makefile
boisy
parents:
diff changeset
49 all: $(ALLOBJS)
7d5919f5610b Makefile
boisy
parents:
diff changeset
50
7d5919f5610b Makefile
boisy
parents:
diff changeset
51 clean: dskclean
7d5919f5610b Makefile
boisy
parents:
diff changeset
52 $(RM) $(ALLOBJS)
7d5919f5610b Makefile
boisy
parents:
diff changeset
53
2216
d096a278e068 Added info targets
boisy
parents: 2206
diff changeset
54 dsk: all $(DSKS)
2206
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
55
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
56 $(DSK_FLOPPY):
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
57 $(RM) $@
2064
c8bb06c82d68 Changes for new NitrOS-9 directory structure
boisy
parents: 1934
diff changeset
58 $(CD) $(LEVEL2)/coco3; make
2206
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
59 $(OS9FORMAT_DS40) $@ -n"Sub Battle Simulator"
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
60 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
61 $(MERGE) $(KERNEL_FLOPPY)>kernel
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
62 $(OS9GEN) $@ -b=os9boot -t=kernel
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
63 $(RM) os9boot kernel
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
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
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
68 $(OS9ATTR_EXEC) $@,CMDS/shell
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
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
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
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
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
74
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2759
diff changeset
75 $(DSK_DW):
2206
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
76 $(RM) $@
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
77 $(CD) $(LEVEL2)/coco3; make
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
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
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
81 $(OS9GEN) $@ -b=os9boot -t=kernel
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
82 $(RM) os9boot kernel
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
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
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
87 $(OS9ATTR_EXEC) $@,CMDS/shell
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
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
612a4ff2e5f8 added DW3 disks
boisy
parents: 2064
diff changeset
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
7d5919f5610b Makefile
boisy
parents:
diff changeset
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
d096a278e068 Added info targets
boisy
parents: 2206
diff changeset
114 $(CP) $(DSKS) $(DSKDIR)
1121
6a058c03adb1 More Makefile changes
boisy
parents: 1036
diff changeset
115
795
7d5919f5610b Makefile
boisy
parents:
diff changeset
116 dskclean:
2216
d096a278e068 Added info targets
boisy
parents: 2206
diff changeset
117 $(RM) $(DSKS)
d096a278e068 Added info targets
boisy
parents: 2206
diff changeset
118
d096a278e068 Added info targets
boisy
parents: 2206
diff changeset
119 info:
d096a278e068 Added info targets
boisy
parents: 2206
diff changeset
120 @$(ECHO) "*** Sub Battle Simluator ***"
d096a278e068 Added info targets
boisy
parents: 2206
diff changeset
121 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)