+ contrib/mtpl_b32.bat
+ contrib/mtpl_vc.bat
+ Added generic non-GNU make batch files.
; Thanks to Marek.
* utils/hbmake/hbmutils.prg
! Some untested fixes to hbmake. If someone
uses this tool, pls send reports.
- contrib/mkall_b32.bat
* contrib/make_b32_all.bat
+ contrib/make_vc_all.bat
* Renamed.
+ VC version added.
* contrib/mtpl_b32.mak
* contrib/mtpl_vc.mak
! Minor fix by Marek.
* contrib/rdd_ads/doc/gendoc.bat
! Fix to run from its place.
* contrib/rdd_ads/adsmgmnt.c
! Fixed to compile with ADS 8.10.
#define ADS_VER=810 (or upper) to enable this.
* contrib/rdd_ads/rddads.h
! Fixed to compile using original ads.h headers.
(tested with 6.11, 7.00, 7.10, 8.00, 8.10)
* contrib/rdd_ads/ads1.c
* contrib/rdd_ads/adsfunc.c
! Suppressed this BCC32 warning using #pragma:
'Call to function 'AdsApplicationExit' with no prototype in function ...'
+ contrib/rdd_ads/unixutils.h
+ Added dummy header to fix compilation under
Linux, using the original ads.h headers.
Not tested. Supposed to replace the workaround
currently in local ads.h where '#include "unixutils.h"'
is commented out.
* contrib/rdd_ads/readme.txt
! Added SVN header.
* contrib/pgsql/Makefile
* contrib/pgsql/common.mak
+ Added pgrdd.prg to make files.
- contrib/pgsql/tstpgrdd.prg
+ contrib/pgsql/tests/tstpgrdd.prg
! Moved test to test dir.
* contrib/pgsql/pgrdd.prg
! Fixed warnings.
- contrib/pgsql/README
+ contrib/pgsql/readme.txt
* Rename.
* contrib/pgsql/common.mak
! Lib name change: libhbpg -> hbpg
+ contrib/pgsql/tests/bld_b32.bat
+ Added test app build helper.
* contrib/rdd_ads/make_b32.bat
* contrib/rdd_ads/make_vc.bat
* contrib/pgsql/make_b32.bat
* contrib/pgsql/make_vc.bat
* contrib/ole/make_b32.bat
* contrib/ole/make_vc.bat
* contrib/xhb/make_b32.bat
* contrib/xhb/make_vc.bat
* contrib/libmisc/make_b32.bat
* contrib/libmisc/make_vc.bat
* contrib/freeimage/make_b32.bat
* contrib/freeimage/make_vc.bat
* contrib/apollo/make_b32.bat
* contrib/apollo/make_vc.bat
* contrib/firebird/make_b32.bat
* contrib/firebird/make_vc.bat
* contrib/htmllib/make_b32.bat
* contrib/htmllib/make_vc.bat
* contrib/libct/make_b32.bat
* contrib/libct/make_vc.bat
* contrib/pdflib/make_b32.bat
* contrib/pdflib/make_vc.bat
* contrib/libgt/make_b32.bat
* contrib/libgt/make_vc.bat
* contrib/hgf/win32/make_b32.bat
* contrib/hgf/win32/make_vc.bat
* contrib/telepath/make_b32.bat
* contrib/telepath/make_vc.bat
* contrib/hbzlib/make_b32.bat
* contrib/hbzlib/make_vc.bat
* contrib/gd/make_b32.bat
* contrib/gd/make_vc.bat
* contrib/libnf/make_b32.bat
* contrib/libnf/make_vc.bat
* contrib/tip/make_b32.bat
* contrib/tip/make_vc.bat
* contrib/adordd/make_b32.bat
* contrib/adordd/make_vc.bat
* contrib/btree/make_b32.bat
* contrib/btree/make_vc.bat
* contrib/directx/make_b32.bat
* contrib/directx/make_vc.bat
* contrib/win32/make_b32.bat
* contrib/win32/make_vc.bat
* contrib/samples/make_b32.bat
* contrib/samples/make_vc.bat
* contrib/mysql/make_b32.bat
* contrib/mysql/make_vc.bat
* contrib/odbc/make_b32.bat
* contrib/odbc/make_vc.bat
* contrib/bmdbfcdx/make_b32.bat
* contrib/bmdbfcdx/make_vc.bat
% Using the batch file templates.
+ Some other additions and fixes related to make it easy
to specifiy 3rd party package locations.
These envvars can be used for our libs:
set APOLLO_DIR=C:\Apollo
set FIREBIRD_DIR=C:\Firebird
set FREEIMAGE_DIR=C:\FreeImage
set GD_DIR=C:\gd
set MYSQL_DIR=C:\mysql
set PDFLIB_DIR=C:\pdflib
set PGSQL_DIR=C:\pgsql
81 lines
2.0 KiB
Batchfile
81 lines
2.0 KiB
Batchfile
@echo off
|
|
rem
|
|
rem $Id$
|
|
rem
|
|
|
|
if A%1 == A GOTO :SYNTAX
|
|
if NOT EXIST %1.prg GOTO :NOEXIST
|
|
|
|
ECHO Build: Compiling...
|
|
|
|
set hdir=..\..\..
|
|
|
|
%hdir%\bin\harbour %1 /w /n /i..\include;%hdir%\include %2 %3 > bld_b32.log
|
|
type bld_b32.log
|
|
IF ERRORLEVEL 1 PAUSE
|
|
IF ERRORLEVEL 1 GOTO EXIT
|
|
|
|
echo -O2 -e%1.exe -I%hdir%\include %1.c > bld_b32.mak
|
|
bcc32 -M -c @bld_b32.mak
|
|
:ENDCOMPILE
|
|
|
|
echo c0w32.obj + > bld_b32.mak
|
|
echo %1.obj, + >> bld_b32.mak
|
|
echo %1.exe, + >> bld_b32.mak
|
|
echo %1.map, + >> bld_b32.mak
|
|
echo %hdir%\lib\rtl.lib + >> bld_b32.mak
|
|
echo %hdir%\lib\vm.lib + >> bld_b32.mak
|
|
echo %hdir%\lib\gtwin.lib + >> bld_b32.mak
|
|
echo %hdir%\lib\lang.lib + >> bld_b32.mak
|
|
echo %hdir%\lib\macro.lib + >> bld_b32.mak
|
|
echo %hdir%\lib\rdd.lib + >> bld_b32.mak
|
|
echo %hdir%\lib\dbfntx.lib + >> bld_b32.mak
|
|
echo %hdir%\lib\dbfcdx.lib + >> bld_b32.mak
|
|
echo %hdir%\lib\debug.lib + >> bld_b32.mak
|
|
echo %hdir%\lib\common.lib + >> bld_b32.mak
|
|
echo %hdir%\lib\pp.lib + >> bld_b32.mak
|
|
echo %hdir%\lib\hbsix.lib + >> bld_b32.mak
|
|
echo %hdir%\lib\dbffpt.lib + >> bld_b32.mak
|
|
echo %hdir%\lib\postgres.lib + >> bld_b32.mak
|
|
echo %hdir%\lib\hbpg.lib + >> bld_b32.mak
|
|
|
|
rem Uncomment these two lines to use Advantage RDD
|
|
rem echo %hdir%\lib\rddads.lib + >> bld_b32.mak
|
|
rem echo %hdir%\lib\ace32.lib + >> bld_b32.mak
|
|
|
|
echo cw32.lib + >> bld_b32.mak
|
|
echo import32.lib, >> bld_b32.mak
|
|
|
|
ECHO Build: Linking...
|
|
rem Use these flags to avoid the console window creation
|
|
rem ilink32 -Gn -aa -Tpe -s @bld_b32.mak
|
|
ilink32 -Gn -Tpe -s @bld_b32.mak
|
|
|
|
rem delete temporary files
|
|
del %1.c
|
|
del %1.obj
|
|
if exist %1.map del %1.map
|
|
if exist %1.tds del %1.tds
|
|
del bld_b32.mak
|
|
del bld_b32.log
|
|
|
|
IF ERRORLEVEL 1 GOTO LINKERROR
|
|
ECHO Build: Done.
|
|
%1
|
|
GOTO EXIT
|
|
ECHO
|
|
|
|
:LINKERROR
|
|
rem if exist meminfo.txt notepad meminfo.txt
|
|
rem PAUSE * Linking errors *
|
|
GOTO EXIT
|
|
|
|
:SYNTAX
|
|
ECHO SYNTAX: bld_b32 [Program] {-- Don't specify .prg extension
|
|
GOTO EXIT
|
|
|
|
:NOEXIST
|
|
ECHO Build: The specified %1.prg does not exist
|
|
|
|
:EXIT
|