* make_b32.bat
* make_vc.bat
* contrib/xhb/make_b32.bat
* contrib/xhb/make_vc.bat
* contrib/libmisc/make_b32.bat
* contrib/libmisc/make_vc.bat
* contrib/pgsql/make_b32.bat
* contrib/pgsql/make_vc.bat
* contrib/apollo/make_b32.bat
* contrib/apollo/make_vc.bat
* contrib/libnf/make_b32.bat
* contrib/libnf/make_vc.bat
* contrib/gd/make_b32.bat
* contrib/gd/make_vc.bat
* contrib/htmllib/make_b32.bat
* contrib/htmllib/make_vc.bat
* contrib/tip/make_b32.bat
* contrib/tip/make_vc.bat
* contrib/libct/make_b32.bat
* contrib/libct/make_vc.bat
* contrib/adordd/make_b32.bat
* contrib/adordd/make_vc.bat
* contrib/pdflib/make_b32.bat
* contrib/pdflib/make_vc.bat
* contrib/rdd_ads/make_b32.bat
* contrib/rdd_ads/make_vc.bat
* contrib/libgt/make_b32.bat
* contrib/libgt/make_vc.bat
* contrib/btree/make_b32.bat
* contrib/btree/make_vc.bat
* contrib/win32/make_b32.bat
* contrib/win32/make_vc.bat
* contrib/directx/make_b32.bat
* contrib/directx/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
* contrib/hgf/win32/make_b32.bat
* contrib/hgf/win32/make_vc.bat
! Readded COPYCMD "hack" to core Harbour for fully portable
"copy /y" functionality across all Micro$oft operating systems.
+ Same feature added for all contribs.
* contrib/hbzlib/make_b32_dll.bat
* contrib/hbzlib/make_b32_dll.mak
* contrib/hbzlib/make_b32.bat
- contrib/hbzlib/make_b32.mak
* contrib/hbzlib/make_vc.bat
- contrib/hbzlib/make_vc.mak
+ contrib/hbzlib/common.mak
+ Standardized make files (and some cleanup along the way)
; TODO: BC dll creating is still to be cleaned.
; TOFIX: Lots of warnings if compiled with standard BCC switch set.
; TOFIX: Lots of warnings when compiler for MSVC.
* contrib/hgf/win32/win32.c
* contrib/hgf/win32/form.prg
! Fixed one unused var warning in .prg code.
! Fixed to not use Harbour internals.
(Petr, this should have the same effect as your request,
but pls test this change.)
73 lines
2.2 KiB
Batchfile
73 lines
2.2 KiB
Batchfile
@echo off
|
|
rem
|
|
rem $Id$
|
|
rem
|
|
|
|
rem ---------------------------------------------------------------
|
|
rem This is a generic template file, if it doesn't fit your own needs
|
|
rem please DON'T MODIFY IT.
|
|
rem
|
|
rem Instead, make a local copy and modify that one, or make a call to
|
|
rem this batch file from your customized one. [vszakats]
|
|
rem
|
|
rem Set any of the below settings to customize your build process:
|
|
rem set HB_BUILD_MODE=C
|
|
rem set HB_BUILD_DLL=yes
|
|
rem set HB_BUILD_DEBUG=yes
|
|
rem set HB_BUILD_VERBOSE=yes
|
|
rem set HB_REBUILD_PARSER=yes
|
|
rem set HB_MAKE_PROGRAM=
|
|
rem set HB_MAKE_FLAGS=
|
|
rem ---------------------------------------------------------------
|
|
|
|
if "%HB_GT_LIB%" == "" set HB_GT_LIB=gtwin
|
|
if "%HB_CC_NAME%" == "" set HB_CC_NAME=b32
|
|
if "%HB_MAKE_PROGRAM%" == "" set HB_MAKE_PROGRAM=make.exe
|
|
set HB_MAKEFILE=make_%HB_CC_NAME%.mak
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
rem Save the user value, force silent file overwrite with COPY
|
|
rem (not all Windows versions support the COPY /Y flag)
|
|
set HB_ORGENV_COPYCMD=%COPYCMD%
|
|
set COPYCMD=/Y
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
if "%1" == "clean" goto CLEAN
|
|
if "%1" == "CLEAN" goto CLEAN
|
|
|
|
if "%1" == "install" goto INSTALL
|
|
if "%1" == "INSTALL" goto INSTALL
|
|
|
|
:BUILD
|
|
|
|
%HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -f %HB_MAKEFILE% %1 %2 %3 > make_%HB_CC_NAME%.log
|
|
if errorlevel 1 notepad make_%HB_CC_NAME%.log
|
|
goto EXIT
|
|
|
|
:CLEAN
|
|
|
|
%HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -f %HB_MAKEFILE% CLEAN > make_%HB_CC_NAME%.log
|
|
if exist make_%HB_CC_NAME%.log del make_%HB_CC_NAME%.log > nul
|
|
if exist inst_%HB_CC_NAME%.log del inst_%HB_CC_NAME%.log > nul
|
|
goto EXIT
|
|
|
|
:INSTALL
|
|
|
|
if "%HB_INSTALL_PREFIX%" == "" set HB_INSTALL_PREFIX=.
|
|
|
|
if "%HB_BIN_INSTALL%" == "" set HB_BIN_INSTALL=%HB_INSTALL_PREFIX%\bin
|
|
if "%HB_INC_INSTALL%" == "" set HB_INC_INSTALL=%HB_INSTALL_PREFIX%\include
|
|
if "%HB_LIB_INSTALL%" == "" set HB_LIB_INSTALL=%HB_INSTALL_PREFIX%\lib
|
|
|
|
%HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -f %HB_MAKEFILE% INSTALL > nul
|
|
goto EXIT
|
|
|
|
:EXIT
|
|
|
|
rem ---------------------------------------------------------------
|
|
|
|
rem Restore user value
|
|
set COPYCMD=%HB_ORGENV_COPYCMD%
|