]>
Commit | Line | Data |
---|---|---|
f2071dda VZ |
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 | ||
484523cf | 14 | rem set tmakecmd=E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake |
e564aa15 JS |
15 | Rem set tmakecmd=d:\programs\tmake\bin\tmake |
16 | Rem Let's assume that you have tmake in your PATH | |
17 | set tmakecmd=tmake | |
484523cf | 18 | |
f2071dda VZ |
19 | if "x%WX%" == "x" goto skip |
20 | set WXDIR=%WX% | |
21 | goto ok | |
22 | ||
23 | :skip | |
24 | if "x%WXWIN%" == "x" goto no_wx | |
25 | set WXDIR=%WXWIN% | |
26 | goto ok | |
27 | ||
28 | :no_wx | |
29 | echo "Please set WX environment variable!" | |
30 | goto end | |
31 | ||
32 | :ok | |
33 | set TM=tmake | |
34 | if "x%TMAKE%" == "x" goto skip2 | |
35 | set TM=%TMAKE% | |
36 | ||
37 | :skip2 | |
38 | ||
39 | rem this loop just doesn't want to work under command.com and cmd.exe and | |
40 | rem 4nt.exe, so I preferred to unroll it. | |
41 | rem for %%c in (b32 bcc dos g95 sc vc wat) %TM% -t %c% wxwin.pro -o %WXDIR%\src\msw\makefile.%c% | |
42 | ||
16a70298 GT |
43 | echo Generating for for Visual C++ 6.0 wxBase C++ (32 bits)... |
44 | %tmakecmd% -t basevc wxwin.pro -o %WXDIR%\src\msw\makebase.vc | |
c5627cd8 VZ |
45 | echo Generating for for Visual C++ 6.0 wxWindows.dsp |
46 | %tmakecmd% -t vc6msw wxwin.pro -o %WXDIR%\src\wxWindows.dsp | |
47 | echo Generating for for Visual C++ 6.0 wxUniv.dsp | |
48 | %tmakecmd% -t vc6univ wxwin.pro -o %WXDIR%\src\wxUniv.dsp | |
16a70298 | 49 | echo Generating for for Visual C++ 6.0 wxBase.dsp |
c5627cd8 | 50 | %tmakecmd% -t vc6base wxwin.pro -o %WXDIR%\src\wxBase.dsp |
f2071dda | 51 | echo Generating for Visual C++ 4.0... |
484523cf | 52 | %tmakecmd% -t vc wxwin.pro -o %WXDIR%\src\msw\makefile.vc |
f2071dda | 53 | echo Generating for Borland C++ (32 bits)... |
484523cf | 54 | %tmakecmd% -t b32 wxwin.pro -o %WXDIR%\src\msw\makefile.b32 |
f2071dda | 55 | echo Generating for Visual C++ 1.52... |
484523cf | 56 | %tmakecmd% -t dos wxwin.pro -o %WXDIR%\src\msw\makefile.dos |
f2071dda | 57 | echo Generating for Borland C++ (16 bits)... |
484523cf | 58 | %tmakecmd% -t bcc wxwin.pro -o %WXDIR%\src\msw\makefile.bcc |
f2071dda | 59 | echo Generating for Cygwin/Mingw32 |
484523cf | 60 | %tmakecmd% -t g95 wxwin.pro -o %WXDIR%\src\msw\makefile.g95 |
f2071dda | 61 | echo Generating for Symantec C++... |
484523cf | 62 | %tmakecmd% -t sc wxwin.pro -o %WXDIR%\src\msw\makefile.sc |
f2071dda | 63 | echo Generating for Watcom C++... |
484523cf | 64 | %tmakecmd% -t wat wxwin.pro -o %WXDIR%\src\msw\makefile.wat |
f56b8330 | 65 | echo Generating for Unix and Configure... |
484523cf | 66 | %tmakecmd% -t gtk wxwin.pro -o %WXDIR%\src\gtk\files.lst |
1725144d | 67 | %tmakecmd% -t mgl wxwin.pro -o %WXDIR%\src\mgl\files.lst |
e564aa15 | 68 | %tmakecmd% -t micro wxwin.pro -o %WXDIR%\src\microwin\files.lst |
1e6feb95 | 69 | %tmakecmd% -t univ wxwin.pro -o %WXDIR%\src\univ\files.lst |
a54a9cd3 | 70 | %tmakecmd% -t msw wxwin.pro -o %WXDIR%\src\msw\files.lst |
9b86543d | 71 | %tmakecmd% -t mac wxwin.pro -o %WXDIR%\src\mac\files.lst |
484523cf | 72 | %tmakecmd% -t motif wxwin.pro -o %WXDIR%\src\motif\files.lst |
39353a1c | 73 | %tmakecmd% -t x11 wxwin.pro -o %WXDIR%\src\x11\files.lst |
484523cf | 74 | %tmakecmd% -t os2 wxwin.pro -o %WXDIR%\src\os2\files.lst |
f2071dda | 75 | :end |