]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/makeall.bat
gcc warning fix
[wxWidgets.git] / distrib / msw / tmake / makeall.bat
1 @echo off
2 rem File: makeall.bat
3 rem Purpose: create wxWindows makefiles for all compilers
4 rem Author: Vadim Zeitlin
5 rem Created: 14.07.99
6 rem Copyright: (c) 1999 Vadim Zeitlin
7 rem Version: $Id$
8 rem
9 rem Makefile to create the makefiles for all compilers from the templates using
10 rem tmake. The environment variable WX or WXWIN should be defined and contain
11 rem the root directory of wxWindows installation. TMAKE program should be in
12 rem path or, alternatively, TMAKE environment variable should be set.
13
14 if "x%WX%" == "x" goto skip
15 set WXDIR=%WX%
16 goto ok
17
18 :skip
19 if "x%WXWIN%" == "x" goto no_wx
20 set WXDIR=%WXWIN%
21 goto ok
22
23 :no_wx
24 echo "Please set WX environment variable!"
25 goto end
26
27 :ok
28 rem Let's assume that you have tmake in your PATH but let override it with
29 rem TMAKE env var
30 set TM=call tmake
31 if "x%TMAKE%" == "x" goto skip2
32 set TM=%TMAKE%
33
34 :skip2
35
36 rem this loop just doesn't want to work under command.com and cmd.exe and
37 rem 4nt.exe, so I preferred to unroll it.
38 rem for %%c in (b32 bcc dos g95 sc vc wat) %TM% -t %c% wxwin.pro -o %WXDIR%\src\msw\makefile.%c%
39 echo Generating for Visual C++ 6.0 wxBase C++ (32 bits)...
40 %TM% -t basevc wxwin.pro -o %WXDIR%\src\msw\makebase.vc
41 echo Generating for Visual C++ 6.0 wxWindows.dsp
42 %TM% -t vc6msw wxwin.pro -o %WXDIR%\src\wxWindows.dsp
43 echo Generating for Visual C++ 6.0 wxUniv.dsp
44 %TM% -t vc6univ wxwin.pro -o %WXDIR%\src\wxUniv.dsp
45 echo Generating for Visual C++ 6.0 wxBase.dsp
46 %TM% -t vc6base wxwin.pro -o %WXDIR%\src\wxBase.dsp
47 echo Generating for Visual C++ 4.0...
48 %TM% -t vc wxwin.pro -o %WXDIR%\src\msw\makefile.vc
49 echo Generating for Borland C++ (32 bits)...
50 %TM% -t b32 wxwin.pro -o %WXDIR%\src\msw\makefile.b32
51 %TM% -t b32base wxwin.pro -o %WXDIR%\src\msw\makebase.b32
52 echo Generating for Visual C++ 1.52...
53 %TM% -t dos wxwin.pro -o %WXDIR%\src\msw\makefile.dos
54 echo Generating for Borland C++ (16 bits)...
55 %TM% -t bcc wxwin.pro -o %WXDIR%\src\msw\makefile.bcc
56 echo Generating for Cygwin/Mingw32
57 %TM% -t g95 wxwin.pro -o %WXDIR%\src\msw\makefile.g95
58 echo Generating for Symantec C++...
59 %TM% -t sc wxwin.pro -o %WXDIR%\src\msw\makefile.sc
60 echo Generating for Watcom C++...
61 %TM% -t wat wxwin.pro -o %WXDIR%\src\msw\makefile.wat
62 echo Generating for Unix and Configure...
63 %TM% -t gtk wxwin.pro -o %WXDIR%\src\gtk\files.lst
64 %TM% -t mgl wxwin.pro -o %WXDIR%\src\mgl\files.lst
65 %TM% -t micro wxwin.pro -o %WXDIR%\src\microwin\files.lst
66 %TM% -t univ wxwin.pro -o %WXDIR%\src\univ\files.lst
67 %TM% -t msw wxwin.pro -o %WXDIR%\src\msw\files.lst
68 %TM% -t mac wxwin.pro -o %WXDIR%\src\mac\files.lst
69 %TM% -t motif wxwin.pro -o %WXDIR%\src\motif\files.lst
70 %TM% -t x11 wxwin.pro -o %WXDIR%\src\x11\files.lst
71 %TM% -t os2 wxwin.pro -o %WXDIR%\src\os2\files.lst
72 :end