2009-06-26 01:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* make_gnu.bat
    + Now make_gnu.bat will find embedded GNU Make even if it's
      started from another directory. F.e. to rebuild only
      one contrib or core lib, it's enough to go to that dir
      and type:
        ..\..\make_gnu.bat
    ! More fixes to make build work on paths containing spaces.

  * make_gnu_os2.cmd
  * make_gnu.bat
  * make_gnu.sh
  * mpkg_win.nsi
  * mpkg_gnu.bat
    * Formatted header comment.
    + Added reference to INSTALL.
This commit is contained in:
Viktor Szakats
2009-06-26 23:07:38 +00:00
parent f4bd5a2e66
commit ee715bd2ab
6 changed files with 44 additions and 24 deletions

View File

@@ -17,6 +17,23 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-06-26 01:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu.bat
+ Now make_gnu.bat will find embedded GNU Make even if it's
started from another directory. F.e. to rebuild only
one contrib or core lib, it's enough to go to that dir
and type:
..\..\make_gnu.bat
! More fixes to make build work on paths containing spaces.
* make_gnu_os2.cmd
* make_gnu.bat
* make_gnu.sh
* mpkg_win.nsi
* mpkg_gnu.bat
* Formatted header comment.
+ Added reference to INSTALL.
2009-06-25 21:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/justify.c
! Fixed typo in one of recent const patches.

View File

@@ -8,10 +8,9 @@ rem ---------------------------------------------------------------
rem Copyright 1999-2009 Viktor Szakats (harbour.01 syenar.hu)
rem See COPYING for licensing terms.
rem
rem Initialize environment for GNU Make system to build Harbour
rem Harbour Project build script (for Windows/DOS)
rem
rem For further information about the GNU Make system please
rem check doc/gmake.txt
rem Please read INSTALL for further information.
rem ---------------------------------------------------------------
rem Setup defaults
@@ -129,13 +128,18 @@ if "%HB_COMPILER%" == "" set HB_COMPILER=djgpp
set _HB_MAKE=make.exe
if not "%HB_ARCHITECTURE%" == "dos" goto _FM_WIN
if "%OS%" == "Windows_NT" goto _DOS_NT
if not exist config\djg-make.exe goto SKIP_WINDLL
set _HB_MAKE=config\djg-make.exe
goto _FM_DONE
goto SKIP_WINDLL
:_DOS_NT
if not exist "%~dp0config\djg-make.exe" goto SKIP_WINDLL
set _HB_MAKE="%~dp0config\djg-make.exe"
goto SKIP_WINDLL
:_FM_WIN
if not exist config\mingw32-make.exe goto _FM_NOLOCAL
set _HB_MAKE=config\mingw32-make.exe
if not exist "%~dp0config\mingw32-make.exe" goto _FM_NOLOCAL
set _HB_MAKE="%~dp0config\mingw32-make.exe"
goto _FM_DONE
:_FM_NOLOCAL
if not "%OS%" == "Windows_NT" goto _FM_DONE
@@ -161,7 +165,6 @@ if "%HB_COMPILER%" == "" set HB_COMPILER=djgpp
rem It will automatically build Harbour in two passes, one for
rem the .dlls and a final pass for the regular version.
if "%HB_ARCHITECTURE%" == "dos" goto SKIP_WINDLL
if not "%HB_BUILD_DLL%" == "yes" goto SKIP_WINDLL
if "%HB_COMPILER%%HB_CCPREFIX%" == "mingw64" set HB_CCPREFIX=x86_64-pc-mingw32-

View File

@@ -5,14 +5,12 @@
#
# ---------------------------------------------------------------
# Template to initialize the environment before starting
# the GNU make system for Harbour
#
# For further information about the GNU make system please
# check doc/gmake.txt
#
# Copyright 1999-2001 Viktor Szakats (harbour.01 syenar.hu)
# See COPYING for licensing terms.
#
# Harbour Project build script (for *nix systems)
#
# Please read INSTALL for further information.
# ---------------------------------------------------------------
# ---------------------------------------------------------------
@@ -234,4 +232,3 @@ else
find . -type d -name "$HB_ARCHITECTURE" | xargs rmdir 2> /dev/null
fi
fi

View File

@@ -4,6 +4,12 @@
@echo off
rem ---------------------------------------------------------------
rem Harbour Project build script (for OS/2)
rem
rem Please read INSTALL for further information.
rem ---------------------------------------------------------------
rem Minimal initialization of environment variables for OS2 GCC build
rem for further information about see make_gnu.bat

View File

@@ -5,11 +5,11 @@
@echo off
rem ---------------------------------------------------------------
rem Installer creator for Harbour Project
rem
rem Copyright 2009 Viktor Szakats (harbour.01 syenar.hu)
rem See COPYING for licensing terms.
rem
rem Harbour Project installer creator script (for Windows/DOS)
rem
rem This script requires:
rem - Windows NT or upper
rem - NullSoft Installer installed (NSIS)
@@ -21,6 +21,8 @@ rem (only for Windows builds)
rem - Info-ZIP zip.exe in PATH
rem https://sourceforge.net/project/showfiles.php?group_id=118012
rem - C compiler configured (see INSTALL doc)
rem
rem Please read INSTALL for further information.
rem ---------------------------------------------------------------
if not "%OS%" == "Windows_NT" echo This Harbour build script requires Windows NT or upper.

View File

@@ -3,20 +3,15 @@
;
; ---------------------------------------------------------------
; NSIS installer script for Harbour Project
;
; Copyright 2009 Viktor Szakats (harbour.01 syenar.hu)
; See COPYING for licensing terms.
;
; NOTE: Do not try to use this script directly. It won't work.
; Harbour Project Nullsoft installer script (for Windows/DOS)
; [ Do not try to use this script directly. It won't work. ]
;
; See INSTALL how to create installation packages for
; Windows/DOS platforms.
; Please read INSTALL for further information.
; ---------------------------------------------------------------
; TODO: tests/examples
; TODO: option: install .dlls to system paths
SetCompressor /solid lzma
!include "MUI2.nsh"