1999-07-14 18:46:12 -04:00
|
|
|
@echo off
|
|
|
|
rem File: makeall.bat
|
|
|
|
rem Purpose: create wxWindows makefiles for all compilers
|
|
|
|
rem Author: Vadim Zeitlin
|
|
|
|
rem Created: 14.07.99
|
|
|
|
rem Copyright: (c) 1999 Vadim Zeitlin
|
|
|
|
rem Version: $Id$
|
|
|
|
rem
|
|
|
|
rem Makefile to create the makefiles for all compilers from the templates using
|
|
|
|
rem tmake. The environment variable WX or WXWIN should be defined and contain
|
|
|
|
rem the root directory of wxWindows installation. TMAKE program should be in
|
|
|
|
rem path or, alternatively, TMAKE environment variable should be set.
|
|
|
|
|
2000-08-04 09:59:45 -04:00
|
|
|
rem set tmakecmd=E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake
|
2001-03-13 17:00:45 -05:00
|
|
|
set tmakecmd=d:\programs\tmake\bin\tmake
|
2000-08-04 09:59:45 -04:00
|
|
|
|
1999-07-14 18:46:12 -04:00
|
|
|
if "x%WX%" == "x" goto skip
|
|
|
|
set WXDIR=%WX%
|
|
|
|
goto ok
|
|
|
|
|
|
|
|
:skip
|
|
|
|
if "x%WXWIN%" == "x" goto no_wx
|
|
|
|
set WXDIR=%WXWIN%
|
|
|
|
goto ok
|
|
|
|
|
|
|
|
:no_wx
|
|
|
|
echo "Please set WX environment variable!"
|
|
|
|
goto end
|
|
|
|
|
|
|
|
:ok
|
|
|
|
set TM=tmake
|
|
|
|
if "x%TMAKE%" == "x" goto skip2
|
|
|
|
set TM=%TMAKE%
|
|
|
|
|
|
|
|
:skip2
|
|
|
|
|
|
|
|
rem this loop just doesn't want to work under command.com and cmd.exe and
|
|
|
|
rem 4nt.exe, so I preferred to unroll it.
|
|
|
|
rem for %%c in (b32 bcc dos g95 sc vc wat) %TM% -t %c% wxwin.pro -o %WXDIR%\src\msw\makefile.%c%
|
|
|
|
|
2001-03-13 17:00:45 -05:00
|
|
|
echo Generating for for Visual C++ 6.0 wxBase C++ (32 bits)...
|
|
|
|
%tmakecmd% -t basevc wxwin.pro -o %WXDIR%\src\msw\makebase.vc
|
|
|
|
echo Generating for for Visual C++ 6.0 wxBase.dsp
|
|
|
|
%tmakecmd% -t vc6base wxwin.pro -o %WXDIR%\wxBase.dsp
|
1999-07-14 18:46:12 -04:00
|
|
|
echo Generating for Visual C++ 4.0...
|
2000-08-04 09:59:45 -04:00
|
|
|
%tmakecmd% -t vc wxwin.pro -o %WXDIR%\src\msw\makefile.vc
|
1999-07-14 18:46:12 -04:00
|
|
|
echo Generating for Borland C++ (32 bits)...
|
2000-08-04 09:59:45 -04:00
|
|
|
%tmakecmd% -t b32 wxwin.pro -o %WXDIR%\src\msw\makefile.b32
|
1999-07-14 18:46:12 -04:00
|
|
|
echo Generating for Visual C++ 1.52...
|
2000-08-04 09:59:45 -04:00
|
|
|
%tmakecmd% -t dos wxwin.pro -o %WXDIR%\src\msw\makefile.dos
|
1999-07-14 18:46:12 -04:00
|
|
|
echo Generating for Borland C++ (16 bits)...
|
2000-08-04 09:59:45 -04:00
|
|
|
%tmakecmd% -t bcc wxwin.pro -o %WXDIR%\src\msw\makefile.bcc
|
1999-07-14 18:46:12 -04:00
|
|
|
echo Generating for Cygwin/Mingw32
|
2000-08-04 09:59:45 -04:00
|
|
|
%tmakecmd% -t g95 wxwin.pro -o %WXDIR%\src\msw\makefile.g95
|
1999-07-14 18:46:12 -04:00
|
|
|
echo Generating for Symantec C++...
|
2000-08-04 09:59:45 -04:00
|
|
|
%tmakecmd% -t sc wxwin.pro -o %WXDIR%\src\msw\makefile.sc
|
1999-07-14 18:46:12 -04:00
|
|
|
echo Generating for Watcom C++...
|
2000-08-04 09:59:45 -04:00
|
|
|
%tmakecmd% -t wat wxwin.pro -o %WXDIR%\src\msw\makefile.wat
|
1999-07-29 18:18:41 -04:00
|
|
|
echo Generating for Unix and Configure...
|
2000-08-04 09:59:45 -04:00
|
|
|
%tmakecmd% -t gtk wxwin.pro -o %WXDIR%\src\gtk\files.lst
|
2001-01-04 07:55:56 -05:00
|
|
|
%tmakecmd% -t msw wxwin.pro -o %WXDIR%\src\msw\files.lst
|
2000-08-04 09:59:45 -04:00
|
|
|
%tmakecmd% -t motif wxwin.pro -o %WXDIR%\src\motif\files.lst
|
|
|
|
%tmakecmd% -t os2 wxwin.pro -o %WXDIR%\src\os2\files.lst
|
1999-07-14 18:46:12 -04:00
|
|
|
:end
|