Files
harbour-core/harbour/contrib/make_b32_all.bat
Viktor Szakats a188940466 2008-07-29 17:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
   * contrib/make_gcc_all.sh
     * Disabled following contribs, to be in sync with the default 
       GNU-make setup:
       hbsqlit2 - Too many warnings in unsupported foreign code. Replacement: hbsqlit3
       hbw32ddr - C++, not maintained, incomplete, warnings.
       hbwhat32 - Problems and warnings, non 64 bit compatible.
       hbziparch - C++, foreign code not well portable, interface 
                   code not Harbour quality. Replacement: hbmzip
     ; NOTE: We should consider what to do with these contribs.
2008-07-29 15:37:02 +00:00

74 lines
3.2 KiB
Batchfile

@echo off
rem
rem $Id$
rem
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 *******************************************************
rem hbsqlit2 hbw32ddr hbwhat32 hbziparch
set _HB_DIRS=gtwvg hbbmcdx hbbtree hbclipsm hbct hbgt hbmisc
for %%n in ( %_HB_DIRS% ) do %COMSPEC% /c %_HB_BATWORKER% %%n %1 %2 %3 %4 %5 %6 %7 %8 %9
set _HB_DIRS=hbmsql hbmzip hbnf hbodbc hbole hbsqlit3
for %%n in ( %_HB_DIRS% ) do %COMSPEC% /c %_HB_BATWORKER% %%n %1 %2 %3 %4 %5 %6 %7 %8 %9
set _HB_DIRS=hbtip hbtpathy hbvpdf hbw32
for %%n in ( %_HB_DIRS% ) do %COMSPEC% /c %_HB_BATWORKER% %%n %1 %2 %3 %4 %5 %6 %7 %8 %9
set _HB_DIRS=rddado xhb
if not "%HB_INC_APOLLO%%HB_DIR_APOLLO%" == "" set _HB_DIRS=%_HB_DIRS% hbapollo
if not "%HB_INC_CURL%%HB_DIR_CURL%" == "" set _HB_DIRS=%_HB_DIRS% hbcurl
if not "%HB_INC_FIREBIRD%%HB_DIR_FIREBIRD%" == "" set _HB_DIRS=%_HB_DIRS% hbfbird
if not "%HB_INC_FREEIMAGE%%HB_DIR_FREEIMAGE%" == "" set _HB_DIRS=%_HB_DIRS% hbfimage
if not "%HB_INC_GD%%HB_DIR_GD%" == "" set _HB_DIRS=%_HB_DIRS% hbgd
if not "%HB_INC_LIBHARU%%HB_DIR_LIBHARU%" == "" set _HB_DIRS=%_HB_DIRS% hbhpdf
if not "%HB_INC_MYSQL%%HB_DIR_MYSQL%" == "" set _HB_DIRS=%_HB_DIRS% hbmysql
if not "%HB_INC_PGSQL%%HB_DIR_PGSQL%" == "" set _HB_DIRS=%_HB_DIRS% hbpgsql
if not "%HB_INC_ADS%%HB_DIR_ADS%" == "" set _HB_DIRS=%_HB_DIRS% rddads
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=