* make_vcce.bat
* make_vcce.mak
* make_b32.bat
* make_b32.mak
* make_vc.bat
* make_vc.mak
* common.mak
+ Now every internally used envvars are reset before
exiting.
! Not tampering with user level envvars by changing
their content to default values.
% HB_GT_* envvar defaulting move to .mak file level,
since these envvars were not used on batch file
level anyway.
* make_vcce.bat
* make_vcce.mak
* CFLAGS -DHB_NO_WIN_CONSOLE moved to the make file.
If there was any reason to have this only CE C flag
in batch file separated from the rest of the extra
CE C flags in the make file, please speak up.
This change may cause trouble for those using
the make file directly and at the same time don't
want to use the HB_NO_WIN_CONSOLE compiler flag.
In this case we should add a documented way to
disable it inside the make file IMO.
* contrib/freeimage/make_b32.bat
* contrib/freeimage/make_vc.bat
* contrib/apollo/make_b32.bat
* contrib/apollo/make_vc.bat
* contrib/firebird/make_b32.bat
* contrib/firebird/make_vc.bat
* contrib/pdflib/make_b32.bat
* contrib/pdflib/make_vc.bat
* contrib/hbzlib/make_b32.bat
* contrib/hbzlib/make_vc.bat
* contrib/pgsql/make_b32.bat
* contrib/pgsql/make_vc.bat
* contrib/gd/make_b32.bat
* contrib/gd/make_vc.bat
* contrib/rdd_ads/make_b32.bat
* contrib/rdd_ads/make_vc.bat
* contrib/mysql/make_b32.bat
* contrib/mysql/make_vc.bat
* contrib/odbc/make_b32.bat
* contrib/odbc/make_vc.bat
* contrib/what32/make_b32.bat
* contrib/what32/make_vc.bat
* contrib/msql/make_b32.bat
* contrib/msql/make_vc.bat
+ Now every internally used envvars are reset before
exiting the batch file, so they won't interact
with other batch files even if being called after
each other using "call". So "%COMPSPEC% /c" is not
necessary anymore when calling these batches.
! Fixed to use _HB_CC_NAME when dealing with .dll to .lib
conversions.
* contrib/make_b32_all.bat
* contrib/make_vc_all.bat
+ Added gtwvg library.
+ Added what32 library (to DO_NOT_COMPILE list for b32).
* contrib/mtpl_b32.bat
* contrib/mtpl_vc.bat
! Undone prev change because it interacted with .dll to .lib
conversions.
60 lines
1.8 KiB
Batchfile
60 lines
1.8 KiB
Batchfile
@echo off
|
|
rem
|
|
rem $Id$
|
|
rem
|
|
|
|
rem ---------------------------------------------------------------
|
|
rem This is a generic template file, if it doesn't fit your own needs
|
|
rem please DON'T MODIFY IT.
|
|
rem
|
|
rem Instead, make a local copy and modify that one, or make a call to
|
|
rem this batch file from your customized one. [vszakats]
|
|
rem
|
|
rem Set any of the below settings to customize your build process:
|
|
rem set HB_MAKE_PROGRAM=
|
|
rem set HB_MAKE_FLAGS=
|
|
rem ---------------------------------------------------------------
|
|
|
|
set _HB_CC_NAME=%HB_CC_NAME%
|
|
set _HB_MAKE_PROGRAM=%HB_MAKE_PROGRAM%
|
|
set _HB_MAKEFILE=%HB_MAKEFILE%
|
|
|
|
if "%_HB_CC_NAME%" == "" set _HB_CC_NAME=vc
|
|
if "%_HB_MAKE_PROGRAM%" == "" set _HB_MAKE_PROGRAM=nmake.exe
|
|
if "%_HB_MAKEFILE%" == "" set _HB_MAKEFILE=..\mtpl_%_HB_CC_NAME%.mak
|
|
set HB_EXIT_LEVEL=
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
if "%1" == "clean" goto CLEAN
|
|
if "%1" == "Clean" goto CLEAN
|
|
if "%1" == "CLEAN" goto CLEAN
|
|
if "%1" == "install" goto INSTALL
|
|
if "%1" == "Install" goto INSTALL
|
|
if "%1" == "INSTALL" goto INSTALL
|
|
|
|
:BUILD
|
|
|
|
%_HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -f %_HB_MAKEFILE% %1 %2 %3 > make_%_HB_CC_NAME%.log
|
|
if errorlevel 1 set HB_EXIT_LEVEL=1
|
|
if errorlevel 1 if not "%HB_SHOW_ERRORS%" == "no" notepad make_%_HB_CC_NAME%.log
|
|
goto EXIT
|
|
|
|
:CLEAN
|
|
|
|
%_HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -f %_HB_MAKEFILE% CLEAN > make_%_HB_CC_NAME%.log
|
|
if errorlevel 1 set HB_EXIT_LEVEL=1
|
|
if errorlevel 1 goto EXIT
|
|
|
|
if exist make_%_HB_CC_NAME%.log del make_%_HB_CC_NAME%.log > nul
|
|
if exist inst_%_HB_CC_NAME%.log del inst_%_HB_CC_NAME%.log > nul
|
|
goto EXIT
|
|
|
|
:INSTALL
|
|
|
|
%_HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -f %_HB_MAKEFILE% INSTALL > nul
|
|
if errorlevel 1 set HB_EXIT_LEVEL=1
|
|
goto EXIT
|
|
|
|
:EXIT
|