Files
harbour-core/harbour/make_vc.bat
Viktor Szakats c7863251db 2007-11-11 18:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/mtpl.mak
   * contrib/mtpl_b32.mak
   * contrib/mtpl_vc.mak
     + Added support for HB_ROOT.
     + Now default HB_*_INSTALL dirs are set inside make files.
       (to avoid manipulating these envvars on the batch file level)

   * contrib/libmisc/make_b32.bat
   * contrib/libmisc/make_vc.bat
     - Removed HB_*_INSTALL manipulation from .bat files.

   * contrib/hgf/win32/make_b32.bat
   * contrib/hgf/win32/make_vc.bat
   - contrib/hgf/win32/make_b32.mak
   - contrib/hgf/win32/make_vc.mak
   + contrib/hgf/win32/common.mak
     + Now using contrib template make files.

   * make_b32.bat
   * make_vc.bat
   * common.mak
     ! Moved HB_*_INSTALL defaulting to make file level.

   + contrib/ole
   + contrib/ole/common.mak
   + contrib/ole/oleauto.prg
   + contrib/ole/test/sample.odt
   + contrib/ole/test/testole.prg
   + contrib/ole/test/bld_b32.bat
   + contrib/ole/ole2.c
   + contrib/ole/make_b32.bat
   + contrib/ole/make_vc.bat
   + contrib/ole/Makefile
     + Restored "old" OLE implementation, as it was reported 
       by Mindaugas Kavaliaskuas that it works better in some 
       respects than the newer version in /contrib/win32.
       Until we know further about the details there is no 
       reason to not have this contrib.
     + Added CreateObject() and GetActiveObject() to enhance 
       compatibility with newer implementation.
     + Standardized make files.
     * test moved to test dir.
     + Added VC make file.

   * contrib/win32/test/testole.prg
   + contrib/ole/test/testole.prg
     + The two test apps from the two OLE implementations 
       were merged and now they are the same. A quick look 
       shows differences when detecting the presence of 
       an OLE object. "old" OLE GPFs with "new" OLE method, 
       "new" OLE RTEs with "old" OLE method.

   * pdflib/common.mak
   * pdflib/pdf1.prg
   * pdflib/pdfhbdocs.prg
   * pdflib/pdfhbdoc.c
   * pdflib/Makefile
     ! Removed GLOBAL requirement.
     ! Moved away C code inside .prg.
     ! Fixed some unused var warnings.
     ! Removed some unused stuff.
     ; Now there are clashing symbols. I suspect this is an 
       unfinished contrib, even in xhb.
2007-11-11 17:08:43 +00:00

67 lines
1.9 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=vc
if "%HB_MAKE_PROGRAM%" == "" set HB_MAKE_PROGRAM=nmake.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
%HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -f %HB_MAKEFILE% INSTALL > nul
goto EXIT
:EXIT
rem ---------------------------------------------------------------
rem Restore user value
set COPYCMD=%HB_ORGENV_COPYCMD%