Files
harbour-core/harbour/contrib/rddsql/make_b32.bat
Viktor Szakats a1214e16fc 2009-02-06 22:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/make_b32_all.bat
  * contrib/make_gcc_all.sh
  * contrib/make_vc_all.bat
    * Corrected to always build rddsql (not just when MYSQL
      is configured).

  * contrib/rddsql/make_b32.bat
  * contrib/rddsql/make_vc.bat
  * contrib/rddsql/make_gcc.sh
    + Added logic to build sdds.
      (logic copied from contrib/make_*_all.* files)

  * contrib/rddsql/sddfb/make_b32.bat
  * contrib/rddsql/sddfb/make_vc.bat
  * contrib/rddsql/sddfb/Makefile
    * FBIRD -> FIREBIRD to be in sync with hbfbird setup.

  * contrib/rddsql/sddfb/fbirddd.c
    + Added hack (from hbfbird) to make it work with latest
      FB and BCC versions.
2009-02-06 21:45:03 +00:00

60 lines
2.3 KiB
Batchfile

@echo off
rem
rem $Id$
rem
call ..\mtpl_b32.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
rem *******************************************************
rem Bat file for creating (almost all) contrib libs
rem for Harbour Project for Borland C/C++
rem *******************************************************
rem *******************************************************
rem Copyright 2007 Marek Paliwoda (mpaliwoda "at" interia "dot" pl)
rem See doc/license.txt for licensing terms.
rem *******************************************************
rem *******************************************************
rem The compilation is done in three steps. PLEASE DO NOT MODIFY IT
rem or you will break a Windows9x command.com line length limit !!!
rem *******************************************************
set HB_SHOW_ERRORS=no
rem *******************************************************
rem Creating a worker bat file ...
rem *******************************************************
set _HB_BATWORKER=_hbwrk_.bat
echo @echo off > %_HB_BATWORKER%
echo if %%1x == x goto EXIT >> %_HB_BATWORKER%
echo if not exist %%1\make_b32.bat goto EXIT >> %_HB_BATWORKER%
echo echo Entering: %%1 >> %_HB_BATWORKER%
echo cd %%1 >> %_HB_BATWORKER%
echo call make_b32.bat %%2 %%3 %%4 %%5 %%6 %%7 %%8 %%9 >> %_HB_BATWORKER%
echo cd .. >> %_HB_BATWORKER%
echo :EXIT >> %_HB_BATWORKER%
rem *******************************************************
rem Compiling contrib dirs ...
rem *******************************************************
set _HB_DIRS=
if not "%HB_INC_FIREBIRD%%HB_DIR_FIREBIRD%" == "" set _HB_DIRS=%_HB_DIRS% sddfb
if not "%HB_INC_MYSQL%%HB_DIR_MYSQL%" == "" set _HB_DIRS=%_HB_DIRS% sddmy
if not "%HB_INC_PGSQL%%HB_DIR_PGSQL%" == "" set _HB_DIRS=%_HB_DIRS% sddpg
for %%n in ( %_HB_DIRS% ) do %COMSPEC% /c %_HB_BATWORKER% %%n %1 %2 %3 %4 %5 %6 %7 %8 %9
rem *******************************************************
rem Cleaning ...
rem *******************************************************
del %_HB_BATWORKER% > nul
set _HB_DIRS=
set _HB_BATWORKER=
set HB_SHOW_ERRORS=