update dev300-m58
[ooovba.git] / dmake / make.cmd
blobc0d490ddd969eab2cd994e1ad543fe8cc3965987
1 echo off
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:
5 REM *
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
10 REM * set RANLIb=echo
11 REM * set AR=emxomfar -p128
12 REM * sh -c "./configure --enable-spawn"
13 REM * make.exe
15 cls
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.
19 rem
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.
32 :error
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
41 goto end
43 rem This is the script that bilds OS/2 dmake using IBM ICC Compiler
44 :mkibm
45 os2\ibm\icc\mk.cmd
46 goto end
48 :mkibm3
49 os2\ibm\icc3\mk.cmd
50 goto end
52 rem This is the script that makes 32-bit dmake using Borland C++ 4.0.
53 :mkwntb40
54 cls
55 echo WARNING:
56 echo The default response files:
57 echo winnt\borland\bcc40\obj.rsp
58 echo winnt\borland\bcc40\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.
65 echo --
66 echo Continue if ok, or abort and edit the response files.
67 pause
68 winnt\borland\bcc40\mk.bat
69 goto end
71 rem This is the script that makes 32-bit dmake using Borland C++ 4.5.
72 :mkwntb45
73 cls
74 echo WARNING:
75 echo The default response files:
76 echo winnt\borland\bcc45\obj.rsp
77 echo winnt\borland\bcc45\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.
84 echo --
85 echo Continue if ok, or abort and edit the response files.
86 pause
87 winnt\borland\bcc45\mk.bat
88 goto end
90 rem All done!
91 rem This is the script that makes 32-bit dmake using Borland C++ 5.0.
92 :mkwntb50
93 cls
94 echo WARNING:
95 echo The default response files:
96 echo winnt\borland\bcc50\obj.rsp
97 echo winnt\borland\bcc50\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.
104 echo --
105 echo Continue if ok, or abort and edit the response files.
106 pause
107 winnt\borland\bcc50\mk.bat
108 goto end
110 :mkwntv40
111 winnt\microsft\vpp40\mk.bat
112 goto end
114 rem All done!
115 :end