3 rem *** This is the make batchfile that is used under MSDOS to make the
4 rem *** first version of dmake. It isn't pretty but it does work, assuming
5 rem *** the compilers have been correctly setup. See the warning below
6 rem *** concerning tlink, if you are building any of the Borland compiler
10 if %0%1 == %0 goto error
11 if %1 == tcc20swp goto mktccswp
13 if %1 == bcc30swp goto mkbcc30swp
14 if %1 == bcc40swp goto mkbcc40swp
15 if %1 == bcc45swp goto mkbcc45swp
16 if %1 == bcc50swp goto mkbcc50swp
18 if %1 == msc51 goto mkms51
19 if %1 == msc51swp goto mkms51swp
20 if %1 == msc60 goto mkms60
21 if %1 == msc60swp goto mkms60swp
23 if %1 == win95-bcc50 goto mkw32b50
24 if %1 == win95-vpp40 goto mkw32vp40
26 rem label the possible DOS variations for dmake here.
28 echo MSDOS: You must specify 'make target' where target is one of:
30 echo tcc20swp - Turbo C 2.0 compile of swapping dmake..
32 echo bcc30swp - Borland C++ 3.0 compile of swapping dmake.
33 echo bcc40swp - Borland C++ 4.0 compile of swapping dmake.
34 echo bcc45swp - Borland C++ 4.5 compile of swapping dmake.
35 echo bcc50swp - Borland C++ 5.0 compile of swapping dmake.
37 echo msc51 - Microsoft C 5.1 compile.
38 echo msc51swp - Microsoft C 5.1, MASM 5.1 compile of swapping dmake.
39 echo msc60 - Microsoft C 6.0 compile.
40 echo msc60swp - Microsoft C 6.0, MASM 5.1 compile of swapping dmake.
42 echo win95-bcc50 - Borland C++ 5.0 32-bit compile of dmake.
43 echo win95-vpp40 - Microsoft VC++ 4.0 32-bit compile of dmake.
46 rem This is the script that makes dmake using Microsoft C 5.1
48 msdos\microsft\msc51\mk.bat
52 msdos\microsft\msc51\mkswp.bat
55 rem This is the script that makes dmake using Microsoft C 6.0
57 msdos\microsft\msc60\mk.bat
61 msdos\microsft\msc60\mkswp.bat
65 win95\microsft\vpp40\mk.bat
68 rem This is the script that makes dmake using Turbo C 2.0 or higher.
72 echo The default response files:
73 echo msdos\borland\tcc20\obj.rsp
74 echo msdos\borland\tcc20\lib.rsp
75 echo contain absolute paths to TURBO-C runtime startup objects, and to
76 echo the standard libraries. You should check that these files contain
77 echo the correct path names for your installation of Turbo-C before
78 echo proceeding further. Also check that the mkdir command at the start
79 echo of the response file and the copy command at the end of the response
80 echo file will work on your system.
82 echo Continue if ok, or abort and edit the response files.
84 msdos\borland\tcc20\mk.bat
90 echo The default response files:
91 echo msdos\borland\tcc20\objswp.rsp
92 echo msdos\borland\tcc20\libswp.rsp
93 echo contain absolute paths to TURBO-C runtime startup objects, and to
94 echo the standard libraries. You should check that these files contain
95 echo the correct path names for your installation of Turbo-C before
96 echo proceeding further. Also check that the mkdir command at the start
97 echo of the response file and the copy command at the end of the response
98 echo file will work on your system.
100 echo Continue if ok, or abort and edit the response files.
102 msdos\borland\tcc20\mkswp.bat
105 rem This is the script that makes dmake using Borland C++ 3.0.
109 echo The default response files:
110 echo msdos\borland\bcc30\obj.rsp
111 echo msdos\borland\bcc30\lib.rsp
112 echo contain absolute paths to Borland C++ runtime startup objects, and to
113 echo the standard libraries. You should check that these files contain
114 echo the correct path names for your installation of Borland C++ before
115 echo proceeding further. Also check that the mkdir command at the start
116 echo of the response file and the copy command at the end of the response
117 echo file will work on your system.
119 echo Continue if ok, or abort and edit the response files.
121 msdos\borland\bcc30\mk.bat
127 echo The default response files:
128 echo msdos\borland\bcc30\objswp.rsp
129 echo msdos\borland\bcc30\libswp.rsp
130 echo contain absolute paths to Borland C++ runtime startup objects, and to
131 echo the standard libraries. You should check that these files contain
132 echo the correct path names for your installation of Borland C++ before
133 echo proceeding further. Also check that the mkdir command at the start
134 echo of the response file and the copy command at the end of the response
135 echo file will work on your system.
137 echo Continue if ok, or abort and edit the response files.
139 msdos\borland\bcc30\mkswp.bat
142 rem This is the script that makes dmake using Borland C++ 4.0.
146 echo The default response files:
147 echo msdos\borland\bcc40\obj.rsp
148 echo msdos\borland\bcc40\lib.rsp
149 echo contain absolute paths to Borland C++ runtime startup objects, and to
150 echo the standard libraries. You should check that these files contain
151 echo the correct path names for your installation of Borland C++ before
152 echo proceeding further. Also check that the mkdir command at the start
153 echo of the response file and the copy command at the end of the response
154 echo file will work on your system.
156 echo Continue if ok, or abort and edit the response files.
158 msdos\borland\bcc40\mk.bat
164 echo The default response files:
165 echo msdos\borland\bcc40\objswp.rsp
166 echo msdos\borland\bcc40\libswp.rsp
167 echo contain absolute paths to Borland C++ runtime startup objects, and to
168 echo the standard libraries. You should check that these files contain
169 echo the correct path names for your installation of Borland C++ before
170 echo proceeding further. Also check that the mkdir command at the start
171 echo of the response file and the copy command at the end of the response
172 echo file will work on your system.
174 echo Continue if ok, or abort and edit the response files.
176 msdos\borland\bcc40\mkswp.bat
179 rem This is the script that makes dmake using Borland C++ 4.5.
183 echo The default response files:
184 echo msdos\borland\bcc45\obj.rsp
185 echo msdos\borland\bcc45\lib.rsp
186 echo contain absolute paths to Borland C++ runtime startup objects, and to
187 echo the standard libraries. You should check that these files contain
188 echo the correct path names for your installation of Borland C++ before
189 echo proceeding further. Also check that the mkdir command at the start
190 echo of the response file and the copy command at the end of the response
191 echo file will work on your system.
193 echo Continue if ok, or abort and edit the response files.
195 msdos\borland\bcc45\mk.bat
201 echo The default response files:
202 echo msdos\borland\bcc45\objswp.rsp
203 echo msdos\borland\bcc45\libswp.rsp
204 echo contain absolute paths to Borland C++ runtime startup objects, and to
205 echo the standard libraries. You should check that these files contain
206 echo the correct path names for your installation of Borland C++ before
207 echo proceeding further. Also check that the mkdir command at the start
208 echo of the response file and the copy command at the end of the response
209 echo file will work on your system.
211 echo Continue if ok, or abort and edit the response files.
213 msdos\borland\bcc45\mkswp.bat
216 rem This is the script that makes dmake using Borland C++ 5.0.
220 echo The default response files:
221 echo msdos\borland\bcc50\obj.rsp
222 echo msdos\borland\bcc50\lib.rsp
223 echo contain absolute paths to Borland C++ runtime startup objects, and to
224 echo the standard libraries. You should check that these files contain
225 echo the correct path names for your installation of Borland C++ before
226 echo proceeding further. Also check that the mkdir command at the start
227 echo of the response file and the copy command at the end of the response
228 echo file will work on your system.
230 echo Continue if ok, or abort and edit the response files.
232 msdos\borland\bcc50\mk.bat
238 echo The default response files:
239 echo msdos\borland\bcc50\objswp.rsp
240 echo msdos\borland\bcc50\libswp.rsp
241 echo contain absolute paths to Borland C++ runtime startup objects, and to
242 echo the standard libraries. You should check that these files contain
243 echo the correct path names for your installation of Borland C++ before
244 echo proceeding further. Also check that the mkdir command at the start
245 echo of the response file and the copy command at the end of the response
246 echo file will work on your system.
248 echo Continue if ok, or abort and edit the response files.
250 msdos\borland\bcc50\mkswp.bat
253 rem This is the script that makes 32-bit dmake using Borland C++ 5.0.
257 echo The default response files:
258 echo win95\borland\bcc50\obj.rsp
259 echo win95\borland\bcc50\lib.rsp
260 echo contain absolute paths to Borland C++ runtime startup objects, and to
261 echo the standard libraries. You should check that these files contain
262 echo the correct path names for your installation of Borland C++ before
263 echo proceeding further. Also check that the mkdir command at the start
264 echo of the response file and the copy command at the end of the response
265 echo file will work on your system.
267 echo Continue if ok, or abort and edit the response files.
269 win95\borland\bcc50\mk.bat