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