- contrib/hbmisc/dbftools.c
* contrib/hbmisc/common.mak
* contrib/hbmisc/Makefile
- Removed to avoid collision with similar file in hbct.
Notice the content was also similar, except that
in hbct it was updated and extended. There was also
FIELDTYPE() implemented which was colliding with
function with the same name in core.
* include/hbextern.ch
* source/rdd/dbcmd.c
* source/rdd/dbdrop.c
* source/rdd/dbexists.c
* source/rdd/fieldhb.c
+ Added HB_ prefixed versions of DBDROP(),
DBEXISTS(), FIELDDEC(), FIELDLEN(), FIELDTYPE()
* source/rdd/rddinfo.c
! Comment.
* tests/multifnc/Makefile
! Updated lib names.
* contrib/hbapollo/apollo.c
! Fixed MSVC errors.
* contrib/mtpl_b32.bat
* contrib/mtpl_vc.bat
! Removed one obsolete line.
+ Now defines _HB_MAKELOG.
* contrib/hbapollo/make_b32.bat
* contrib/hbapollo/make_vc.bat
* contrib/hbfimage/make_b32.bat
* contrib/hbgd/make_b32.bat
* contrib/hbhpdf/make_b32.bat
* contrib/hbmysql/make_b32.bat
* contrib/hbodbc/make_b32.bat
* contrib/hbodbc/make_vc.bat
* contrib/hbpgsql/make_b32.bat
* contrib/hbpgsql/make_vc.bat
* contrib/hbw32ddr/make_b32.bat
* contrib/hbw32ddr/make_vc.bat
* contrib/hbzlib/make_b32.bat
* contrib/rddads/make_b32.bat
+ Redirects .lib creation (implib, lib) output to log file.
* contrib/xhb/hbcompat.ch
+ Added some more converions for xhb code.
* contrib/rddads/ads1.c
+ Added two TODOs. (to adsDrop and adsExists)
* source/pp/hbppgen.c
! MSVC warning fixed.
* make_vc.mak
! Typo in prev commit.
63 lines
1.9 KiB
Batchfile
63 lines
1.9 KiB
Batchfile
@echo off
|
|
rem
|
|
rem $Id$
|
|
rem
|
|
|
|
if not "%PGSQL_DIR%" == "" goto DIR_OK
|
|
|
|
echo ---------------------------------------------------------------
|
|
echo IMPORTANT: You'll need PostreSQL package and this envvar
|
|
echo to be set to successfully build this library:
|
|
echo set PGSQL_DIR=C:\pgsql
|
|
echo ---------------------------------------------------------------
|
|
goto POST_EXIT
|
|
|
|
:DIR_OK
|
|
|
|
set CFLAGS=-I"%PGSQL_DIR%\include"
|
|
rem .exe
|
|
set HB_DLL_NAME=postgres
|
|
set HB_DLL_DIR=%PGSQL_DIR%\bin
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
call ..\mtpl_b32.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
set _HB_INSTALL_PREFIX=%HB_INSTALL_PREFIX%
|
|
if "%_HB_INSTALL_PREFIX%" == "" set _HB_INSTALL_PREFIX=..\..
|
|
set _HB_LIB_INSTALL=%HB_LIB_INSTALL%
|
|
if "%_HB_LIB_INSTALL%" == "" set _HB_LIB_INSTALL=%_HB_INSTALL_PREFIX%\lib
|
|
|
|
if "%1" == "clean" goto POST_CLEAN
|
|
if "%1" == "Clean" goto POST_CLEAN
|
|
if "%1" == "CLEAN" goto POST_CLEAN
|
|
if "%1" == "install" goto POST_INSTALL
|
|
if "%1" == "Install" goto POST_INSTALL
|
|
if "%1" == "INSTALL" goto POST_INSTALL
|
|
|
|
:POST_BUILD
|
|
|
|
implib ..\..\lib\%_HB_CC_NAME%\%HB_DLL_NAME%.lib "%HB_DLL_DIR%\%HB_DLL_NAME%.exe" >> %_HB_MAKELOG%
|
|
goto POST_EXIT
|
|
|
|
:POST_CLEAN
|
|
|
|
if exist ..\..\lib\%_HB_CC_NAME%\%HB_DLL_NAME%.lib del ..\..\lib\%_HB_CC_NAME%\%HB_DLL_NAME%.lib > nul
|
|
if exist ..\..\lib\%_HB_CC_NAME%\%HB_DLL_NAME%.exp del ..\..\lib\%_HB_CC_NAME%\%HB_DLL_NAME%.exp > nul
|
|
if exist %_HB_LIB_INSTALL%\%HB_DLL_NAME%.lib del %_HB_LIB_INSTALL%\%HB_DLL_NAME%.lib > nul
|
|
goto POST_EXIT
|
|
|
|
:POST_INSTALL
|
|
|
|
if exist %_HB_LIB_INSTALL%\%HB_DLL_NAME%.lib del %_HB_LIB_INSTALL%\%HB_DLL_NAME%.lib
|
|
if exist ..\..\lib\%_HB_CC_NAME%\%HB_DLL_NAME%.lib copy ..\..\lib\%_HB_CC_NAME%\%HB_DLL_NAME%.lib %_HB_LIB_INSTALL%
|
|
goto POST_EXIT
|
|
|
|
:POST_EXIT
|
|
|
|
set CFLAGS=
|
|
set HB_DLL_NAME=
|
|
set HB_DLL_DIR=
|