From 885e5bb66b505dcd59cb8dc3e9c80e523f1a92a6 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Thu, 13 Sep 2007 18:11:27 +0000 Subject: [PATCH] 2007-09-13 20:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_b32.bat * set svn:eol-style to CRLF --- harbour/make_b32.bat | 182 +++++++++++++++++++++---------------------- 1 file changed, 91 insertions(+), 91 deletions(-) diff --git a/harbour/make_b32.bat b/harbour/make_b32.bat index 98b8a3e1bb..0e44471295 100644 --- a/harbour/make_b32.bat +++ b/harbour/make_b32.bat @@ -1,91 +1,91 @@ -@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=P -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_MAKE_PROGRAM%" == "" set HB_MAKE_PROGRAM=make.exe - -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 --------------------------------------------------------------- - -rem IMPORTANT ! It has to be declared here -if "%CC_DIRNAME%" == "" set CC_DIRNAME=b32 -if "%HB_GT_LIB%" == "" set HB_GT_LIB=gtwin - -rem --------------------------------------------------------------- - -if "%1" == "clean" goto CLEAN -if "%1" == "CLEAN" goto CLEAN - -if "%1" == "install" goto INSTALL -if "%1" == "INSTALL" goto INSTALL - -rem --------------------------------------------------------------- - -:BUILD - - %HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -r -fmakefile.bc %1 %2 %3 > make_%CC_DIRNAME%.log - if errorlevel 1 goto BUILD_ERR - goto EXIT - -rem --------------------------------------------------------------- - -:BUILD_ERR - - notepad make_%CC_DIRNAME%.log - goto EXIT - -rem --------------------------------------------------------------- - -:CLEAN - - %HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -f makefile.bc CLEAN > make_%CC_DIRNAME%.log - - rem In this case, the makefile handles most cleanup. - - if exist make_%CC_DIRNAME%.log del make_%CC_DIRNAME%.log > nul - if exist inst_%CC_DIRNAME%.log del inst_%CC_DIRNAME%.log > nul - - goto EXIT - -rem --------------------------------------------------------------- - -: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 makefile.bc INSTALL > nul - goto EXIT - -rem --------------------------------------------------------------- - -:EXIT -rem Restore user value -set COPYCMD=%HB_ORGENV_COPYCMD% -set HB_ORGENV_COPYCMD= -set CC_DIRNAME= +@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=P +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_MAKE_PROGRAM%" == "" set HB_MAKE_PROGRAM=make.exe + +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 --------------------------------------------------------------- + +rem IMPORTANT ! It has to be declared here +if "%CC_DIRNAME%" == "" set CC_DIRNAME=b32 +if "%HB_GT_LIB%" == "" set HB_GT_LIB=gtwin + +rem --------------------------------------------------------------- + +if "%1" == "clean" goto CLEAN +if "%1" == "CLEAN" goto CLEAN + +if "%1" == "install" goto INSTALL +if "%1" == "INSTALL" goto INSTALL + +rem --------------------------------------------------------------- + +:BUILD + + %HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -r -fmakefile.bc %1 %2 %3 > make_%CC_DIRNAME%.log + if errorlevel 1 goto BUILD_ERR + goto EXIT + +rem --------------------------------------------------------------- + +:BUILD_ERR + + notepad make_%CC_DIRNAME%.log + goto EXIT + +rem --------------------------------------------------------------- + +:CLEAN + + %HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -f makefile.bc CLEAN > make_%CC_DIRNAME%.log + + rem In this case, the makefile handles most cleanup. + + if exist make_%CC_DIRNAME%.log del make_%CC_DIRNAME%.log > nul + if exist inst_%CC_DIRNAME%.log del inst_%CC_DIRNAME%.log > nul + + goto EXIT + +rem --------------------------------------------------------------- + +: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 makefile.bc INSTALL > nul + goto EXIT + +rem --------------------------------------------------------------- + +:EXIT +rem Restore user value +set COPYCMD=%HB_ORGENV_COPYCMD% +set HB_ORGENV_COPYCMD= +set CC_DIRNAME=