* harbour/make_b32.bat
* harbour/make_vc.bat
! install call redirected to nul instead of make_b32.log to avoid
overwriting the build results with less important (no) information.
* harbour/include/hbundoc.api
+ Added _txopen() (not tested)
* harbour/source/rdd/dbfcdx/dbfcdx1.c
* harbour/source/rdd/dbfntx/dbfntx1.c
! BCC -w warnings fixed.
* harbour/source/rtl/filehb.c
+ Added TOFIX about a CA-Cl*pper incompatibility.
In CA-Cl*pper the argument of FILE() is RTrim()-ed
before doing the check.
* harbour/source/rtl/fstemp.c
! Fixed two BCC warnings.
74 lines
2.0 KiB
Batchfile
74 lines
2.0 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_BUILD_MODE=P
|
|
rem set HB_BUILD_DLL=yes
|
|
rem set HB_BUILD_DEBUG=yes
|
|
rem set HB_BUILD_VERBOSE=yes
|
|
rem set HB_MAKE_PROGRAM=
|
|
rem set HB_MAKE_FLAGS=
|
|
rem ---------------------------------------------------------------
|
|
|
|
if "%HB_MAKE_PROGRAM%" == "" set HB_MAKE_PROGRAM=make.exe
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
if "%1" == "clean" goto CLEAN
|
|
if "%1" == "CLEAN" goto CLEAN
|
|
|
|
if "%1" == "install" goto INSTALL
|
|
if "%1" == "INSTALL" goto INSTALL
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
:BUILD
|
|
|
|
%HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -r -fmakefile.bc %1 %2 %3 > make_b32.log
|
|
if errorlevel 1 goto BUILD_ERR
|
|
goto EXIT
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
:BUILD_ERR
|
|
|
|
notepad make_b32.log
|
|
goto EXIT
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
:CLEAN
|
|
|
|
%HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -f makefile.bc CLEAN > make_b32.log
|
|
|
|
rem In this case, the makefile handles most cleanup.
|
|
|
|
if exist make_b32.log del make_b32.log
|
|
goto EXIT
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
:INSTALL
|
|
|
|
if "%HB_INSTALL_PREFIX%" == "" set HB_INSTALL_PREFIX=.
|
|
|
|
if "%HB_BIN_INSTALL%" == "" set HB_BIN_INSTALL=%HB_INSTALL_PREFIX%\bin
|
|
if "%HB_INC_INSTALL%" == "" set HB_INC_INSTALL=%HB_INSTALL_PREFIX%\include
|
|
if "%HB_LIB_INSTALL%" == "" set HB_LIB_INSTALL=%HB_INSTALL_PREFIX%\lib
|
|
|
|
%HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -f makefile.bc INSTALL > nul
|
|
goto EXIT
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
:EXIT
|