* source/rtl/at.c
* include/hbextern.ch
+ Added hb_At() which is equivalent to At() with
HB_EXTENSION turned on. Users are encouraged to
use hb_At(), and this is also a must inside core.
* include/hbextern.ch
! Added missing hb_AIns(), hb_ADel(), hb_AScan()
* source/rtl/persist.prg
! Fixed hard-wired EOL length.
! Fixed to not go into an infinite loop on
non EOL terminated texts. (Thanks Petr)
! Fixed to use hb_At() instead of extended At().
! Fixed to also handle LF delimited texts.
; All this in static function ExtractLine()
* contrib/rdd_ads/doc/gendoc.bat
! Added version header.
* contrib/hgf/tests/bld_b32.bat
! Some more minor cleanups.
* contrib/pgsql/make_vc.bat
* contrib/apollo/make_vc.bat
* contrib/gd/make_vc.bat
* contrib/adordd/make_vc.bat
* contrib/pdflib/make_b32.bat
* contrib/pdflib/make_vc.bat
* contrib/btree/make_vc.bat
* contrib/samples/make_vc.bat
* contrib/mysql/make_vc.bat
* contrib/odbc/make_vc.bat
* contrib/bmdbfcdx/make_vc.bat
! Fixed EOL-style.
+ contrib/libmisc/test
- contrib/libmisc/tests
* Dir rename.
75 lines
2.4 KiB
Batchfile
75 lines
2.4 KiB
Batchfile
@echo off
|
|
rem
|
|
rem $Id$
|
|
rem
|
|
|
|
rem ---------------------------------------------------------------
|
|
rem IMPORTANT: You'll need PostreSQL sources and this envvar
|
|
rem to be set to successfully build this library:
|
|
rem set C_USR=-IC:\postgresql-8.2.5\src\include
|
|
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 ---------------------------------------------------------------
|
|
|
|
if "%HB_CC_NAME%" == "" set HB_CC_NAME=vc
|
|
if "%HB_MAKE_PROGRAM%" == "" set HB_MAKE_PROGRAM=nmake.exe
|
|
set HB_MAKEFILE=..\mtpl_%HB_CC_NAME%.mak
|
|
|
|
set C_USR=%C_USR% -DHB_OS_WIN_32_USED -DPG_DIAG_INTERNAL_POSITION
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
rem Save the user value, force silent file overwrite with COPY
|
|
rem (not all Windows versions support the COPY /Y flag)
|
|
set HB_ORGENV_COPYCMD=%COPYCMD%
|
|
set COPYCMD=/Y
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
if "%1" == "clean" goto CLEAN
|
|
if "%1" == "CLEAN" goto CLEAN
|
|
|
|
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 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 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
|
|
|
|
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 %HB_MAKEFILE% INSTALL > nul
|
|
goto EXIT
|
|
|
|
:EXIT
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
rem Restore user value
|
|
set COPYCMD=%HB_ORGENV_COPYCMD%
|