blob: c0d490ddd969eab2cd994e1ad543fe8cc3965987 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
echo off
REM * This script is deprecated for OS/2 libc 06x building! Use the configure
REM * mechanism. Run the following commands your OS/2 shell:
REM *
REM * set CFLAGS=-g -Zomf -O3 -march=pentium -mcpu=pentium4
REM * set CXXFLAGS=-g -Zomf -O3 -march=pentium -mcpu=pentium4
REM * set LDFLAGS=-s -Zsym -Zmap -Zhigh-mem -Zomf -Zexe -Zargs-wild -Zargs-resp
REM * set LN_CP_F=cp.exe
REM * set RANLIb=echo
REM * set AR=emxomfar -p128
REM * sh -c "./configure --enable-spawn"
REM * make.exe
cls
rem *** This is the make command file that is used under OS/2 to make the
rem *** first version of dmake. It isn't pretty but it does work, assuming
rem *** the compilers have been correctly setup.
rem
if %0%1 == %0 goto error
if %1 == os2-ibm goto mkibm
if %1 == os2-ibm3 goto mkibm3
if %1 == winnt-bcc40 goto mkwntb40
if %1 == winnt-bcc45 goto mkwntb45
if %1 == winnt-bcc50 goto mkwntb50
if %1 == winnt-vpp40 goto mkwntv40
rem label the possible DOS variations for dmake here.
:error
echo OS/2 INDEX: You must specify one of:
echo ------------------
echo os2-ibm - IBM OS/2 ICC compile.
echo os2-ibm3 - IBM OS/2 ICC3 compile.
echo winnt-bcc40 - Windows-NT Borland C++ 4.0 Compile
echo winnt-bcc45 - Windows-NT Borland C++ 4.5 Compile
echo winnt-bcc50 - Windows-NT Borland C++ 5.0 Compile
echo winnt-vpp40 - Windows-NT Microsoft VC++ 4.0 Compile
goto end
rem This is the script that bilds OS/2 dmake using IBM ICC Compiler
:mkibm
os2\ibm\icc\mk.cmd
goto end
:mkibm3
os2\ibm\icc3\mk.cmd
goto end
rem This is the script that makes 32-bit dmake using Borland C++ 4.0.
:mkwntb40
cls
echo WARNING:
echo The default response files:
echo winnt\borland\bcc40\obj.rsp
echo winnt\borland\bcc40\lib.rsp
echo contain absolute paths to Borland C++ runtime startup objects, and to
echo the standard libraries. You should check that these files contain
echo the correct path names for your installation of Borland C++ before
echo proceeding further. Also check that the mkdir command at the start
echo of the response file and the copy command at the end of the response
echo file will work on your system.
echo --
echo Continue if ok, or abort and edit the response files.
pause
winnt\borland\bcc40\mk.bat
goto end
rem This is the script that makes 32-bit dmake using Borland C++ 4.5.
:mkwntb45
cls
echo WARNING:
echo The default response files:
echo winnt\borland\bcc45\obj.rsp
echo winnt\borland\bcc45\lib.rsp
echo contain absolute paths to Borland C++ runtime startup objects, and to
echo the standard libraries. You should check that these files contain
echo the correct path names for your installation of Borland C++ before
echo proceeding further. Also check that the mkdir command at the start
echo of the response file and the copy command at the end of the response
echo file will work on your system.
echo --
echo Continue if ok, or abort and edit the response files.
pause
winnt\borland\bcc45\mk.bat
goto end
rem All done!
rem This is the script that makes 32-bit dmake using Borland C++ 5.0.
:mkwntb50
cls
echo WARNING:
echo The default response files:
echo winnt\borland\bcc50\obj.rsp
echo winnt\borland\bcc50\lib.rsp
echo contain absolute paths to Borland C++ runtime startup objects, and to
echo the standard libraries. You should check that these files contain
echo the correct path names for your installation of Borland C++ before
echo proceeding further. Also check that the mkdir command at the start
echo of the response file and the copy command at the end of the response
echo file will work on your system.
echo --
echo Continue if ok, or abort and edit the response files.
pause
winnt\borland\bcc50\mk.bat
goto end
:mkwntv40
winnt\microsft\vpp40\mk.bat
goto end
rem All done!
:end
|