3 REM * This script is deprecated for OS/2 libc 06x building! Use the configure
4 REM * mechanism. Run the following commands your OS/2 shell:
6 REM * set CFLAGS=-g -Zomf -O3 -march=pentium -mcpu=pentium4
7 REM * set CXXFLAGS=-g -Zomf -O3 -march=pentium -mcpu=pentium4
8 REM * set LDFLAGS=-s -Zsym -Zmap -Zhigh-mem -Zomf -Zexe -Zargs-wild -Zargs-resp
9 REM * set LN_CP_F=cp.exe
11 REM * set AR=emxomfar -p128
12 REM * sh -c "./configure --enable-spawn"
16 rem *** This is the make command file that is used under OS/2 to make the
17 rem *** first version of dmake. It isn't pretty but it does work, assuming
18 rem *** the compilers have been correctly setup.
21 if %0%1 == %0 goto error
23 if %1 == os2
-ibm
goto mkibm
24 if %1 == os2
-ibm3
goto mkibm3
25 if %1 == winnt
-bcc40
goto mkwntb40
26 if %1 == winnt
-bcc45
goto mkwntb45
27 if %1 == winnt
-bcc50
goto mkwntb50
28 if %1 == winnt
-vpp40
goto mkwntv40
31 rem label the possible DOS variations for dmake here.
33 echo OS
/2 INDEX
: You must specify one of
:
34 echo ------------------
35 echo os2
-ibm
- IBM OS
/2 ICC compile.
36 echo os2
-ibm3
- IBM OS
/2 ICC3 compile.
37 echo winnt
-bcc40
- Windows
-NT Borland C
++ 4.0 Compile
38 echo winnt
-bcc45
- Windows
-NT Borland C
++ 4.5 Compile
39 echo winnt
-bcc50
- Windows
-NT Borland C
++ 5.0 Compile
40 echo winnt
-vpp40
- Windows
-NT Microsoft VC
++ 4.0 Compile
43 rem This is the script that bilds OS/2 dmake using IBM ICC Compiler
52 rem This is the script that makes 32-bit dmake using Borland C++ 4.0.
56 echo The default response
files:
57 echo winnt
\borland
\bcc
40\obj.rsp
58 echo winnt
\borland
\bcc
40\lib.rsp
59 echo contain absolute paths to Borland C
++ runtime startup objects
, and to
60 echo the standard libraries. You should check that these
files contain
61 echo the correct
path names
for your installation of Borland C
++ before
62 echo proceeding further. Also check that the
mkdir command at the
start
63 echo of the response file and the
copy command at the
end of the response
64 echo file will work on your system.
66 echo Continue
if ok
, or abort and edit the response
files.
68 winnt
\borland
\bcc
40\mk.bat
71 rem This is the script that makes 32-bit dmake using Borland C++ 4.5.
75 echo The default response
files:
76 echo winnt
\borland
\bcc
45\obj.rsp
77 echo winnt
\borland
\bcc
45\lib.rsp
78 echo contain absolute paths to Borland C
++ runtime startup objects
, and to
79 echo the standard libraries. You should check that these
files contain
80 echo the correct
path names
for your installation of Borland C
++ before
81 echo proceeding further. Also check that the
mkdir command at the
start
82 echo of the response file and the
copy command at the
end of the response
83 echo file will work on your system.
85 echo Continue
if ok
, or abort and edit the response
files.
87 winnt
\borland
\bcc
45\mk.bat
91 rem This is the script that makes 32-bit dmake using Borland C++ 5.0.
95 echo The default response
files:
96 echo winnt
\borland
\bcc
50\obj.rsp
97 echo winnt
\borland
\bcc
50\lib.rsp
98 echo contain absolute paths to Borland C
++ runtime startup objects
, and to
99 echo the standard libraries. You should check that these
files contain
100 echo the correct
path names
for your installation of Borland C
++ before
101 echo proceeding further. Also check that the
mkdir command at the
start
102 echo of the response file and the
copy command at the
end of the response
103 echo file will work on your system.
105 echo Continue
if ok
, or abort and edit the response
files.
107 winnt
\borland
\bcc
50\mk.bat
111 winnt\microsft
\vpp
40\mk.bat