2008-07-02 12:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbapollo/make_b32.bat
* contrib/hbapollo/make_vc.bat
* contrib/hbcurl/make_b32.bat
* contrib/hbcurl/make_vc.bat
* contrib/hbfbird/make_b32.bat
* contrib/hbfbird/make_vc.bat
* contrib/hbfimage/make_b32.bat
* contrib/hbfimage/make_vc.bat
* contrib/hbgd/make_b32.bat
* contrib/hbgd/make_vc.bat
* contrib/hbhpdf/make_b32.bat
* contrib/hbhpdf/make_vc.bat
* contrib/hbmysql/make_b32.bat
* contrib/hbmysql/make_vc.bat
* contrib/hbpgsql/make_b32.bat
* contrib/hbpgsql/make_vc.bat
* contrib/rddads/make_b32.bat
* contrib/rddads/make_vc.bat
+ Added possibility to use HB_INC_* envvars to
specify the header directories for external
packages. This way _all_ Harbour make systems
now able to use the same common logic to specify
external header dirs. (For GNU-make you can even
use a dir list).
If HB_INC_* is used with the non-GNU make system,
the .dll to .lib generation _won't_ happen, which
is desirable for binary builds for distribution.
HB_DIR_* envvars continue to work, in this case
.libs are copied/generated from the external .dlls,
and this is useful who build their Harbour from
source.
For official Harbour binary distributions HB_INC_*
must be used.
This commit is contained in:
@@ -8,6 +8,41 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2008-07-02 12:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* contrib/hbapollo/make_b32.bat
|
||||
* contrib/hbapollo/make_vc.bat
|
||||
* contrib/hbcurl/make_b32.bat
|
||||
* contrib/hbcurl/make_vc.bat
|
||||
* contrib/hbfbird/make_b32.bat
|
||||
* contrib/hbfbird/make_vc.bat
|
||||
* contrib/hbfimage/make_b32.bat
|
||||
* contrib/hbfimage/make_vc.bat
|
||||
* contrib/hbgd/make_b32.bat
|
||||
* contrib/hbgd/make_vc.bat
|
||||
* contrib/hbhpdf/make_b32.bat
|
||||
* contrib/hbhpdf/make_vc.bat
|
||||
* contrib/hbmysql/make_b32.bat
|
||||
* contrib/hbmysql/make_vc.bat
|
||||
* contrib/hbpgsql/make_b32.bat
|
||||
* contrib/hbpgsql/make_vc.bat
|
||||
* contrib/rddads/make_b32.bat
|
||||
* contrib/rddads/make_vc.bat
|
||||
+ Added possibility to use HB_INC_* envvars to
|
||||
specify the header directories for external
|
||||
packages. This way _all_ Harbour make systems
|
||||
now able to use the same common logic to specify
|
||||
external header dirs. (For GNU-make you can even
|
||||
use a dir list).
|
||||
If HB_INC_* is used with the non-GNU make system,
|
||||
the .dll to .lib generation _won't_ happen, which
|
||||
is desirable for binary builds for distribution.
|
||||
HB_DIR_* envvars continue to work, in this case
|
||||
.libs are copied/generated from the external .dlls,
|
||||
and this is useful who build their Harbour from
|
||||
source.
|
||||
For official Harbour binary distributions HB_INC_*
|
||||
must be used.
|
||||
|
||||
2008-07-02 12:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* contrib/hbapollo/make_b32.bat
|
||||
* contrib/hbapollo/make_vc.bat
|
||||
|
||||
@@ -3,12 +3,15 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_APOLLO%" == "" goto DIR_OK
|
||||
if not "%HB_INC_APOLLO%%HB_DIR_APOLLO%" == "" goto DIR_OK
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need Apollo headers and lib and this envvar
|
||||
echo to be set to successfully build this library:
|
||||
echo set HB_INC_APOLLO=C:\Apollo\include
|
||||
echo or
|
||||
echo set HB_DIR_APOLLO=C:\Apollo
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
|
||||
@@ -3,12 +3,15 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_APOLLO%" == "" goto DIR_OK
|
||||
if not "%HB_INC_APOLLO%%HB_DIR_APOLLO%" == "" goto DIR_OK
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need Apollo headers and lib and this envvar
|
||||
echo to be set to successfully build this library:
|
||||
echo set HB_INC_APOLLO=C:\Apollo\include
|
||||
echo or
|
||||
echo set HB_DIR_APOLLO=C:\Apollo
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
|
||||
@@ -3,12 +3,15 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_CURL%" == "" goto DIR_OK
|
||||
if not "%HB_INC_CURL%%HB_DIR_CURL%" == "" goto DIR_OK
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need the 'libcurl' package and this envvar
|
||||
echo to be set to successfully build this library:
|
||||
echo set HB_INC_CURL=C:\curl\include
|
||||
echo or
|
||||
echo set HB_DIR_CURL=C:\curl
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
@@ -20,7 +23,7 @@ set _HB_DLL_NAME=libcurl
|
||||
if exist "%HB_DIR_CURL%\bin\%_HB_DLL_NAME%.dll" set _HB_DLL_DIR=%HB_DIR_CURL%\bin
|
||||
if exist "%HB_DIR_CURL%\%_HB_DLL_NAME%.dll" set _HB_DLL_DIR=%HB_DIR_CURL%
|
||||
|
||||
echo Using this .dll: "%_HB_DLL_DIR%\%_HB_DLL_NAME%.dll"
|
||||
if not "%_HB_DLL_DIR%" == "" echo Using .dll: "%_HB_DLL_DIR%\%_HB_DLL_NAME%.dll"
|
||||
|
||||
rem ---------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -3,12 +3,15 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_CURL%" == "" goto DIR_OK
|
||||
if not "%HB_INC_CURL%%HB_DIR_CURL%" == "" goto DIR_OK
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need the 'libcurl' package and this envvar
|
||||
echo to be set to successfully build this library:
|
||||
echo set HB_INC_CURL=C:\curl\include
|
||||
echo or
|
||||
echo set HB_DIR_CURL=C:\curl
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
@@ -20,7 +23,7 @@ set _HB_DLL_NAME=libcurl
|
||||
if exist "%HB_DIR_CURL%\bin\%_HB_DLL_NAME%.dll" set _HB_DLL_DIR=%HB_DIR_CURL%\bin
|
||||
if exist "%HB_DIR_CURL%\%_HB_DLL_NAME%.dll" set _HB_DLL_DIR=%HB_DIR_CURL%
|
||||
|
||||
echo Using this .dll: "%_HB_DLL_DIR%\%_HB_DLL_NAME%.dll"
|
||||
if not "%_HB_DLL_DIR%" == "" echo Using .dll: "%_HB_DLL_DIR%\%_HB_DLL_NAME%.dll"
|
||||
|
||||
rem ---------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -3,12 +3,15 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_FIREBIRD%" == "" goto DIR_OK
|
||||
if not "%HB_INC_FIREBIRD%%HB_DIR_FIREBIRD%" == "" goto DIR_OK
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need Firebird package and this envvar
|
||||
echo to be set to successfully build this library:
|
||||
echo set HB_INC_FIREBIRD=C:\Firebird\include
|
||||
echo or
|
||||
echo set HB_DIR_FIREBIRD=C:\Firebird
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
|
||||
@@ -3,12 +3,15 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_FIREBIRD%" == "" goto DIR_OK
|
||||
if not "%HB_INC_FIREBIRD%%HB_DIR_FIREBIRD%" == "" goto DIR_OK
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need Firebird package and this envvar
|
||||
echo to be set to successfully build this library:
|
||||
echo set HB_INC_FIREBIRD=C:\Firebird\include
|
||||
echo or
|
||||
echo set HB_DIR_FIREBIRD=C:\Firebird
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
|
||||
@@ -3,13 +3,16 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_FREEIMAGE%" == "" goto DIR_OK
|
||||
if not "%HB_INC_FREEIMAGE%%HB_DIR_FREEIMAGE%" == "" goto DIR_OK
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need Freeimage headers and binary from here:
|
||||
echo http://freeimage.sourceforge.net/download.html
|
||||
echo and this envvar to be set to successfully build this library:
|
||||
echo set HB_INC_FREEIMAGE=C:\FreeImage\source
|
||||
echo or
|
||||
echo set HB_DIR_FREEIMAGE=C:\FreeImage
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
|
||||
@@ -3,13 +3,16 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_FREEIMAGE%" == "" goto DIR_OK
|
||||
if not "%HB_INC_FREEIMAGE%%HB_DIR_FREEIMAGE%" == "" goto DIR_OK
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need Freeimage headers and binary from here:
|
||||
echo http://freeimage.sourceforge.net/download.html
|
||||
echo and this envvar to be set to successfully build this library:
|
||||
echo set HB_INC_FREEIMAGE=C:\FreeImage\source
|
||||
echo or
|
||||
echo set HB_DIR_FREEIMAGE=C:\FreeImage
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
|
||||
@@ -3,12 +3,15 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_GD%" == "" goto DIR_OK
|
||||
if not "%HB_INC_GD%%HB_DIR_GD%" == "" goto DIR_OK
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need GD lib package from www.libgd.org and this envvar
|
||||
echo to be set to successfully build this library:
|
||||
echo set HB_INC_GD=-IC:\gd\include
|
||||
echo or
|
||||
echo set HB_DIR_GD=-IC:\gd
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
|
||||
@@ -3,12 +3,15 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_GD%" == "" goto DIR_OK
|
||||
if not "%HB_INC_GD%%HB_DIR_GD%" == "" goto DIR_OK
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need GD lib package from www.libgd.org and this envvar
|
||||
echo to be set to successfully build this library:
|
||||
echo set HB_INC_GD=-IC:\gd\include
|
||||
echo or
|
||||
echo set HB_DIR_GD=-IC:\gd
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
|
||||
@@ -3,13 +3,16 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_LIBHARU%" == "" goto DIR_OK
|
||||
if not "%HB_INC_LIBHARU%%HB_DIR_LIBHARU%" == "" goto DIR_OK
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need Haru Free PDF Library (libharu) DLL package
|
||||
echo from www.libharu.org and this envvar to be set to
|
||||
echo successfully build this library:
|
||||
echo set HB_INC_LIBHARU=-IC:\libharu\include
|
||||
echo or
|
||||
echo set HB_DIR_LIBHARU=-IC:\libharu
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
|
||||
@@ -3,13 +3,16 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_LIBHARU%" == "" goto DIR_OK
|
||||
if not "%HB_INC_LIBHARU%%HB_DIR_LIBHARU%" == "" goto DIR_OK
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need Haru Free PDF Library (libharu) DLL package
|
||||
echo from www.libharu.org and this envvar to be set to
|
||||
echo successfully build this library:
|
||||
echo set HB_INC_LIBHARU=-IC:\libharu\include
|
||||
echo or
|
||||
echo set HB_DIR_LIBHARU=-IC:\libharu
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
|
||||
@@ -3,12 +3,15 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_MYSQL%" == "" goto DIR_OK
|
||||
if not "%HB_INC_MYSQL%%HB_DIR_MYSQL%" == "" goto DIR_OK
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need MySQL package and this envvar
|
||||
echo to be set to successfully build this library:
|
||||
echo set HB_INC_MYSQL=C:\mysql\include
|
||||
echo or
|
||||
echo set HB_DIR_MYSQL=C:\mysql
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
|
||||
@@ -3,12 +3,15 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_MYSQL%" == "" goto DIR_OK
|
||||
if not "%HB_INC_MYSQL%%HB_DIR_MYSQL%" == "" goto DIR_OK
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need MySQL package and this envvar
|
||||
echo to be set to successfully build this library:
|
||||
echo set HB_INC_MYSQL=C:\mysql\include
|
||||
echo or
|
||||
echo set HB_DIR_MYSQL=C:\mysql
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
|
||||
@@ -3,12 +3,15 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_PGSQL%" == "" goto DIR_OK
|
||||
if not "%HB_INC_PGSQL%%HB_DIR_PGSQL%" == "" 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 HB_INC_PGSQL=C:\pgsql\include
|
||||
echo or
|
||||
echo set HB_DIR_PGSQL=C:\pgsql
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
|
||||
@@ -3,12 +3,15 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_PGSQL%" == "" goto DIR_OK
|
||||
if not "%HB_INC_PGSQL%%HB_DIR_PGSQL%" == "" 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 HB_INC_PGSQL=C:\pgsql\include
|
||||
echo or
|
||||
echo set HB_DIR_PGSQL=C:\pgsql
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
|
||||
@@ -3,12 +3,15 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_ADS%" == "" goto DIR_OK
|
||||
if not "%HB_INC_ADS%%HB_DIR_ADS%" == "" goto DIR_OK
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need Advantage Client Engine (5.0 or upper)
|
||||
echo and this envvar to be set to successfully build this library:
|
||||
echo set HB_INC_ADS=C:\ads\acesdk
|
||||
echo or
|
||||
echo set HB_DIR_ADS=C:\ads\acesdk
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
@@ -21,7 +24,7 @@ if exist "%HB_DIR_ADS%\Redistribute\%_HB_DLL_NAME%.dll" set _HB_DLL_DIR=%HB_DIR_
|
||||
if exist "%HB_DIR_ADS%\%_HB_DLL_NAME%.dll" set _HB_DLL_DIR=%HB_DIR_ADS%
|
||||
if exist "%HB_DIR_ADS%\32bit\%_HB_DLL_NAME%.dll" set _HB_DLL_DIR=%HB_DIR_ADS%\32bit
|
||||
|
||||
echo Using this .dll: "%_HB_DLL_DIR%\%_HB_DLL_NAME%.dll"
|
||||
if not "%_HB_DLL_DIR%" == "" echo Using .dll: "%_HB_DLL_DIR%\%_HB_DLL_NAME%.dll"
|
||||
|
||||
rem ---------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -3,12 +3,15 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
if not "%HB_DIR_ADS%" == "" goto DIR_OK
|
||||
if not "%HB_INC_ADS%%HB_DIR_ADS%" == "" goto DIR_OK
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need Advantage Client Engine (5.0 or upper)
|
||||
echo and this envvar to be set to successfully build this library:
|
||||
echo set HB_INC_ADS=C:\ads\acesdk
|
||||
echo or
|
||||
echo set HB_DIR_ADS=C:\ads\acesdk
|
||||
echo if you want to generate .lib for the .dll.
|
||||
echo ---------------------------------------------------------------
|
||||
goto POST_EXIT
|
||||
|
||||
@@ -21,7 +24,7 @@ if exist "%HB_DIR_ADS%\Redistribute\%_HB_DLL_NAME%.dll" set _HB_DLL_DIR=%HB_DIR_
|
||||
if exist "%HB_DIR_ADS%\%_HB_DLL_NAME%.dll" set _HB_DLL_DIR=%HB_DIR_ADS%
|
||||
if exist "%HB_DIR_ADS%\32bit\%_HB_DLL_NAME%.dll" set _HB_DLL_DIR=%HB_DIR_ADS%\32bit
|
||||
|
||||
echo Using this .dll: "%_HB_DLL_DIR%\%_HB_DLL_NAME%.dll"
|
||||
if not "%_HB_DLL_DIR%" == "" echo Using .dll: "%_HB_DLL_DIR%\%_HB_DLL_NAME%.dll"
|
||||
|
||||
rem ---------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user