]>
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 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 | rem set tmakecmd=E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake | |
15 | set tmakecmd=c:\progra~1\tmake\bin\tmake | |
16 | ||
17 | if "x%WX%" == "x" goto skip | |
18 | set WXDIR=%WX% | |
19 | goto ok | |
20 | ||
21 | :skip | |
22 | if "x%WXWIN%" == "x" goto no_wx | |
23 | set WXDIR=%WXWIN% | |
24 | goto ok | |
25 | ||
26 | :no_wx | |
27 | echo "Please set WX environment variable!" | |
28 | goto end | |
29 | ||
30 | :ok | |
31 | set TM=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 | ||
41 | echo Generating for Visual C++ 4.0... | |
42 | %tmakecmd% -t vc wxwin.pro -o %WXDIR%\src\msw\makefile.vc | |
43 | echo Generating for Borland C++ (32 bits)... | |
44 | %tmakecmd% -t b32 wxwin.pro -o %WXDIR%\src\msw\makefile.b32 | |
45 | echo Generating for Visual C++ 1.52... | |
46 | %tmakecmd% -t dos wxwin.pro -o %WXDIR%\src\msw\makefile.dos | |
47 | echo Generating for Borland C++ (16 bits)... | |
48 | %tmakecmd% -t bcc wxwin.pro -o %WXDIR%\src\msw\makefile.bcc | |
49 | echo Generating for Cygwin/Mingw32 | |
50 | %tmakecmd% -t g95 wxwin.pro -o %WXDIR%\src\msw\makefile.g95 | |
51 | echo Generating for Symantec C++... | |
52 | %tmakecmd% -t sc wxwin.pro -o %WXDIR%\src\msw\makefile.sc | |
53 | echo Generating for Watcom C++... | |
54 | %tmakecmd% -t wat wxwin.pro -o %WXDIR%\src\msw\makefile.wat | |
55 | echo Generating for Unix and Configure... | |
56 | %tmakecmd% -t gtk wxwin.pro -o %WXDIR%\src\gtk\files.lst | |
57 | %tmakecmd% -t msw wxwin.pro -o %WXDIR%\src\msw\files.lst | |
58 | %tmakecmd% -t motif wxwin.pro -o %WXDIR%\src\motif\files.lst | |
59 | %tmakecmd% -t os2 wxwin.pro -o %WXDIR%\src\os2\files.lst | |
60 | :end |