annotate 3rdparty/packages/sierra/spacequest0/makefile @ 3295:6b7a7b233925 default tip

makefile: Allow PORTS with level1/2 mix https://sourceforge.net/p/nitros9/feature-requests/10/
author Tormod Volden <debian.tormod@gmail.com>
date Tue, 19 Apr 2022 18:12:17 +0200
parents dd553bb32ebb
children
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
2138
boisy
parents:
diff changeset
2
boisy
parents:
diff changeset
3 vpath %.asm ../objs_lsl
boisy
parents:
diff changeset
4
boisy
parents:
diff changeset
5 DEPENDS = ./makefile
boisy
parents:
diff changeset
6
3199
dd553bb32ebb 3rdparty: Changed the names of many disks for easier reading
Bill Pierce <merlinious999@gmail.com>
parents: 2967
diff changeset
7 DISK_1_40D = SpaceQuest0_d1_40d.dsk
dd553bb32ebb 3rdparty: Changed the names of many disks for easier reading
Bill Pierce <merlinious999@gmail.com>
parents: 2967
diff changeset
8 DISK_2_40D = SpaceQuest0_d2_40d.dsk
dd553bb32ebb 3rdparty: Changed the names of many disks for easier reading
Bill Pierce <merlinious999@gmail.com>
parents: 2967
diff changeset
9 DISK_3_40D = SpaceQuest0_d3_40d.dsk
dd553bb32ebb 3rdparty: Changed the names of many disks for easier reading
Bill Pierce <merlinious999@gmail.com>
parents: 2967
diff changeset
10 DISK_1_80D = SpaceQuest0_d1_80d.dsk
dd553bb32ebb 3rdparty: Changed the names of many disks for easier reading
Bill Pierce <merlinious999@gmail.com>
parents: 2967
diff changeset
11 DISK_2_80D = SpaceQuest0_d2_80d.dsk
dd553bb32ebb 3rdparty: Changed the names of many disks for easier reading
Bill Pierce <merlinious999@gmail.com>
parents: 2967
diff changeset
12 DISK_DW = SpaceQuest0_dw.dsk
dd553bb32ebb 3rdparty: Changed the names of many disks for easier reading
Bill Pierce <merlinious999@gmail.com>
parents: 2967
diff changeset
13 DISK_DW_BECKER = SpaceQuest0_becker.dsk
2138
boisy
parents:
diff changeset
14
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
15 DSKS = $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_1_80D) $(DISK_2_80D) $(DISK_DW) $(DISK_DW_BECKER)
2216
d096a278e068 Added info targets
boisy
parents: 2138
diff changeset
16
2138
boisy
parents:
diff changeset
17 DISK_1_40D_NAME = "Space Quest 0 Disk 1"
boisy
parents:
diff changeset
18 DISK_2_40D_NAME = "Space Quest 0 Disk 2"
boisy
parents:
diff changeset
19 DISK_3_40D_NAME = "Space Quest 0 Disk 3"
boisy
parents:
diff changeset
20 DISK_1_80D_NAME = "Space Quest 0 Disk 1"
boisy
parents:
diff changeset
21 DISK_2_80D_NAME = "Space Quest 0 Disk 2"
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
22 DISK_DW_NAME = "Space Quest 0"
2138
boisy
parents:
diff changeset
23
boisy
parents:
diff changeset
24 CMDS = sierra mnln scrn shdw tocgen
boisy
parents:
diff changeset
25 MD = $(LEVEL2)/coco3/modules
boisy
parents:
diff changeset
26
boisy
parents:
diff changeset
27 # We make our own bootfile and kernel track
boisy
parents:
diff changeset
28 KERNEL = $(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
29 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
30 KERNEL_DW_BECKER = $(MD)/rel_32 $(MD)/boot_dw_becker $(MD)/krn
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
31
2138
boisy
parents:
diff changeset
32 OS9BOOT_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
boisy
parents:
diff changeset
33 $(MD)/rbf.mn \
boisy
parents:
diff changeset
34 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
boisy
parents:
diff changeset
35 $(MD)/scf.mn $(MD)/vtio.dr \
boisy
parents:
diff changeset
36 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
boisy
parents:
diff changeset
37 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
boisy
parents:
diff changeset
38 $(MD)/vrn.dr $(MD)/vi.dd \
boisy
parents:
diff changeset
39 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
boisy
parents:
diff changeset
40
boisy
parents:
diff changeset
41 OS9BOOT_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
boisy
parents:
diff changeset
42 $(MD)/rbf.mn \
boisy
parents:
diff changeset
43 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \
boisy
parents:
diff changeset
44 $(MD)/scf.mn $(MD)/vtio.dr \
boisy
parents:
diff changeset
45 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
boisy
parents:
diff changeset
46 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
boisy
parents:
diff changeset
47 $(MD)/vrn.dr $(MD)/vi.dd \
boisy
parents:
diff changeset
48 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
boisy
parents:
diff changeset
49
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
50 OS9BOOT_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
51 $(MD)/rbf.mn \
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
52 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
53 $(MD)/scf.mn $(MD)/vtio.dr \
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
54 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
55 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
56 $(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
57 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
58
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
59 OS9BOOT_DW_BECKER = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
60 $(MD)/rbf.mn \
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
61 $(MD)/rbdw.dr $(MD)/dwio_becker.sb $(MD)/ddx0.dd \
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
62 $(MD)/scf.mn $(MD)/vtio.dr \
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
63 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
64 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
65 $(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
66 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
67
2138
boisy
parents:
diff changeset
68 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
boisy
parents:
diff changeset
69 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
boisy
parents:
diff changeset
70 $(LEVEL2)/coco3/cmds/setime
boisy
parents:
diff changeset
71
2515
0fe5a04e9d0c Updated
boisy
parents: 2511
diff changeset
72 TEXTFILES_D1 = ../startup tOC_40d.txt
0fe5a04e9d0c Updated
boisy
parents: 2511
diff changeset
73 TEXTFILES = ../startup tOC_80d.txt
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
74 TEXTFILES_DW = ../startup tOC_dw.txt
2138
boisy
parents:
diff changeset
75
boisy
parents:
diff changeset
76 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
boisy
parents:
diff changeset
77 vol.1 words.tok
boisy
parents:
diff changeset
78
boisy
parents:
diff changeset
79 SUPPORTFILES_D2 = object vol.0 vol.2
boisy
parents:
diff changeset
80
boisy
parents:
diff changeset
81 SUPPORTFILES_D3 = object vol.0 vol.3
boisy
parents:
diff changeset
82
boisy
parents:
diff changeset
83 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \
boisy
parents:
diff changeset
84 vol.1 vol.2 words.tok
boisy
parents:
diff changeset
85
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
86 SUPPORTFILES_DW = logDir object picDir sndDir viewDir vol.0 \
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
87 vol.1 vol.2 vol.3 words.tok
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
88
2138
boisy
parents:
diff changeset
89 ALLOBJS = $(CMDS)
boisy
parents:
diff changeset
90
boisy
parents:
diff changeset
91 all: $(ALLOBJS)
boisy
parents:
diff changeset
92
boisy
parents:
diff changeset
93 clean: dskclean
boisy
parents:
diff changeset
94 $(RM) $(ALLOBJS)
boisy
parents:
diff changeset
95
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
96 $(DISK_1_40D):
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
97 $(RM) $@
2138
boisy
parents:
diff changeset
98 $(CD) $(LEVEL2)/coco3; make
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
99 $(OS9FORMAT_DS40) -q $@ -n$(DISK_1_40D_NAME)
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
100 $(MERGE) $(OS9BOOT_40D)>os9boot
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
101 $(MERGE) $(KERNEL)>kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
102 $(OS9GEN) $@ -b=os9boot -t=kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
103 $(RM) os9boot kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
104 $(MAKDIR) $@,CMDS
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
105 $(OS9COPY) $(CMDS) $@,CMDS
2873
46c80d4b0de1 makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents: 2869
diff changeset
106 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file))
2138
boisy
parents:
diff changeset
107 $(MERGE) $(BOOTCMDS)>shell
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
108 $(OS9COPY) shell $@,CMDS
2138
boisy
parents:
diff changeset
109 $(RM) shell
2967
1c81c87c77d4 makefiles: Use OS9ATTR_EXEC macro when possible
Tormod Volden <debian.tormod@gmail.com>
parents: 2927
diff changeset
110 $(OS9ATTR_EXEC) $@,CMDS/shell
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
111 $(OS9RENAME) $@,CMDS/sierra AutoEx
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
112 $(CPL) $(TEXTFILES_D1) $@,.
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
113 $(OS9RENAME) $@,tOC_40d.txt tOC.txt
2927
9d256fa9ba31 sierra makefiles: Add comment about hiding tocgen file temporarily
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
114 $(MOVE) tocgen toctmp # to not confuse Windows hosts # to not confuse Windows hosts
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
115 tocgen $@,tOC.txt $@,tOC
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
116 $(MOVE) toctmp tocgen
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
117 $(OS9COPY) $(SUPPORTFILES_D1) $@,.
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
118
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
119 $(DISK_2_40D):
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
120 $(RM) $@
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
121 $(OS9FORMAT_DS40) -q $@ -n$(DISK_2_40D_NAME)
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
122 $(OS9COPY) $(SUPPORTFILES_D2) $@,.
2138
boisy
parents:
diff changeset
123
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
124 $(DISK_3_40D):
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
125 $(RM) $@
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
126 $(OS9FORMAT_DS40) -q $@ -n$(DISK_3_40D_NAME)
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
127 $(OS9COPY) $(SUPPORTFILES_D3) $@,.
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
128
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
129 $(DISK_1_80D):
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
130 $(RM) $@
2138
boisy
parents:
diff changeset
131 $(CD) $(LEVEL2)/coco3; make
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
132 $(OS9FORMAT_DS80) -q $@ -n$(DISK_1_80D_NAME)
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
133 $(MERGE) $(OS9BOOT_80D)>os9boot
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
134 $(MERGE) $(KERNEL)>kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
135 $(OS9GEN) $@ -b=os9boot -t=kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
136 $(RM) os9boot kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
137 $(MAKDIR) $@,CMDS
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
138 $(OS9COPY) $(CMDS) $@,CMDS
2873
46c80d4b0de1 makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents: 2869
diff changeset
139 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file))
2138
boisy
parents:
diff changeset
140 $(MERGE) $(BOOTCMDS)>shell
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
141 $(OS9COPY) shell $@,CMDS
2138
boisy
parents:
diff changeset
142 $(RM) shell
2967
1c81c87c77d4 makefiles: Use OS9ATTR_EXEC macro when possible
Tormod Volden <debian.tormod@gmail.com>
parents: 2927
diff changeset
143 $(OS9ATTR_EXEC) $@,CMDS/shell
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
144 $(OS9RENAME) $@,CMDS/sierra AutoEx
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
145 $(CPL) $(TEXTFILES) $@,.
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
146 $(OS9RENAME) $@,tOC_80d.txt tOC.txt
2927
9d256fa9ba31 sierra makefiles: Add comment about hiding tocgen file temporarily
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
147 $(MOVE) tocgen toctmp # to not confuse Windows hosts
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
148 tocgen $@,tOC.txt $@,tOC
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
149 $(MOVE) toctmp tocgen
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
150 $(OS9COPY) $(SUPPORTFILES) $@,.
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
151
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
152 $(DISK_2_80D):
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
153 $(RM) $@
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
154 $(OS9FORMAT_DS80) -q $@ -n$(DISK_2_80D_NAME)
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
155 $(OS9COPY) $(SUPPORTFILES_D3) $@,.
2138
boisy
parents:
diff changeset
156
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
157 $(DISK_DW):
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
158 $(RM) $@
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
159 $(CD) $(LEVEL2)/coco3; make
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
160 $(OS9FORMAT_DW) -q $@ -n$(DISK_DW_NAME)
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
161 $(MERGE) $(OS9BOOT_DW)>os9boot
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
162 $(MERGE) $(KERNEL_DW)>kernel
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
163 $(OS9GEN) $@ -b=os9boot -t=kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
164 $(RM) os9boot kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
165 $(MAKDIR) $@,CMDS
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
166 $(OS9COPY) $(CMDS) $@,CMDS
2873
46c80d4b0de1 makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents: 2869
diff changeset
167 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file))
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
168 $(MERGE) $(BOOTCMDS)>shell
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
169 $(OS9COPY) shell $@,CMDS
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
170 $(RM) shell
2967
1c81c87c77d4 makefiles: Use OS9ATTR_EXEC macro when possible
Tormod Volden <debian.tormod@gmail.com>
parents: 2927
diff changeset
171 $(OS9ATTR_EXEC) $@,CMDS/shell
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
172 $(OS9RENAME) $@,CMDS/sierra AutoEx
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
173 $(CPL) $(TEXTFILES_DW) $@,.
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
174 $(OS9RENAME) $@,tOC_dw.txt tOC.txt
2927
9d256fa9ba31 sierra makefiles: Add comment about hiding tocgen file temporarily
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
175 $(MOVE) tocgen toctmp # to not confuse Windows hosts
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
176 tocgen $@,tOC.txt $@,tOC
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
177 $(MOVE) toctmp tocgen
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
178 $(OS9COPY) $(SUPPORTFILES) $@,.
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
179
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
180 $(DISK_DW_BECKER):
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
181 $(RM) $@
2499
2033e76ae3c0 Permits DW3 build to work. RG
robertgault
parents: 2216
diff changeset
182 $(CD) $(LEVEL2)/coco3; make
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
183 $(OS9FORMAT_DW) -q $@ -n$(DISK_DW_NAME)
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
184 $(MERGE) $(OS9BOOT_DW_BECKER)>os9boot
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
185 $(MERGE) $(KERNEL_DW_BECKER)>kernel
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
186 $(OS9GEN) $@ -b=os9boot -t=kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
187 $(RM) os9boot kernel
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
188 $(MAKDIR) $@,CMDS
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
189 $(OS9COPY) $(CMDS) $@,CMDS
2873
46c80d4b0de1 makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents: 2869
diff changeset
190 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file))
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
191 $(MERGE) $(BOOTCMDS)>shell
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
192 $(OS9COPY) shell $@,CMDS
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
193 $(RM) shell
2967
1c81c87c77d4 makefiles: Use OS9ATTR_EXEC macro when possible
Tormod Volden <debian.tormod@gmail.com>
parents: 2927
diff changeset
194 $(OS9ATTR_EXEC) $@,CMDS/shell
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
195 $(OS9RENAME) $@,CMDS/sierra AutoEx
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
196 $(CPL) $(TEXTFILES_DW) $@,.
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2756
diff changeset
197 $(OS9RENAME) $@,tOC_dw.txt tOC.txt
2927
9d256fa9ba31 sierra makefiles: Add comment about hiding tocgen file temporarily
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
198 $(MOVE) tocgen toctmp # to not confuse Windows hosts
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
199 tocgen $@,tOC.txt $@,tOC
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
200 $(MOVE) toctmp tocgen
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
201 $(OS9COPY) $(SUPPORTFILES) $@,.
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
202
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
203 dsk: all $(DSKS)
2138
boisy
parents:
diff changeset
204
boisy
parents:
diff changeset
205 dskcopy: dsk
2216
d096a278e068 Added info targets
boisy
parents: 2138
diff changeset
206 $(CP) $(DSKS) $(DSKDIR)
2138
boisy
parents:
diff changeset
207
boisy
parents:
diff changeset
208 dskclean:
2216
d096a278e068 Added info targets
boisy
parents: 2138
diff changeset
209 $(RM) $(DSKS)
d096a278e068 Added info targets
boisy
parents: 2138
diff changeset
210
d096a278e068 Added info targets
boisy
parents: 2138
diff changeset
211 info:
d096a278e068 Added info targets
boisy
parents: 2138
diff changeset
212 @$(ECHO) "*** Space Quest 0 ***"
d096a278e068 Added info targets
boisy
parents: 2138
diff changeset
213 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)
2748
1ff9d261b398 Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
214