Files
harbour-core/harbour/contrib/pgsql/make_vc.bat
Viktor Szakats b582aa43c0 2007-11-10 12:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/libmisc/common.mak
   * contrib/apollo/common.mak
   * contrib/libnf/common.mak
   * contrib/gd/common.mak
   * contrib/htmllib/common.mak
   * contrib/tip/common.mak
   * contrib/adordd/common.mak
   * contrib/rdd_ads/common.mak
   * contrib/libgt/common.mak
   * contrib/btree/common.mak
   * contrib/win32/common.mak
   * contrib/directx/common.mak
   * contrib/samples/common.mak
   * contrib/mysql/common.mak
   * contrib/bmdbfcdx/common.mak
   * contrib/pgsql/common.mak
     ! .obj -> $(OBJEXT)

   * contrib/pgsql/make_b32.bat
   * contrib/pgsql/make_vc.bat
     ! Minor fix.

   + contrib/pdflib/make_vc.bat
   + contrib/pdflib/make_b32.bat
   + contrib/pdflib/common.mak
   + contrib/pdflib/pdf1.prg
   + contrib/pdflib/pdfhbdoc.ch
   + contrib/pdflib/pdf.ch
   + contrib/pdflib/pdfhbdocs.prg
   * contrib/pdflib/pdflib.h
   * contrib/pdflib/pdfhbdoc.c
     * Borrowed from xhb.
     ! Fixed HB_ITEM -> PHB_ITEM.
     ! Fixed warnings.
     + Added non-GNU make files.
     ; NOTE: I didn't test this, it would be great if someone would.
2007-11-10 11:31:17 +00:00

63 lines
2.0 KiB
Batchfile

@echo off
rem
rem $Id$
rem
rem ---------------------------------------------------------------
rem IMPORTANT: You'll need PostreSQL sources and this envvar
rem to be set to successfully build this library:
rem set C_USR=-IC:\postgresql-8.2.5\src\include
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_MAKE_PROGRAM=
rem set HB_MAKE_FLAGS=
rem ---------------------------------------------------------------
if "%HB_CC_NAME%" == "" set HB_CC_NAME=vc
if "%HB_MAKE_PROGRAM%" == "" set HB_MAKE_PROGRAM=nmake.exe
set HB_MAKEFILE=..\mtpl_%HB_CC_NAME%.mak
set C_USR=%C_USR% -DHB_OS_WIN_32_USED -DPG_DIAG_INTERNAL_POSITION
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