2010-09-28 03:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* utils/hbmk2/hbmk2.prg
  * config/global.mk
  * INSTALL
    ! HB_BUILD_NAME/-build= no longer supports pathseps (backslash/fwdslash)
      (it would need costly solution to resolve compilation of 
       hbrun.rc, maybe more. It's also "cleaner" this way, since the 
       dir structure is not altered)
This commit is contained in:
Viktor Szakats
2010-09-28 01:54:18 +00:00
parent 67d08334d6
commit f43e6c2d40
4 changed files with 13 additions and 2 deletions

View File

@@ -16,6 +16,15 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-09-28 03:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
* config/global.mk
* INSTALL
! HB_BUILD_NAME/-build= no longer supports pathseps (backslash/fwdslash)
(it would need costly solution to resolve compilation of
hbrun.rc, maybe more. It's also "cleaner" this way, since the
dir structure is not altered)
2010-09-27 19:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbtrace.h
* harbour/src/common/hbtrace.c

View File

@@ -659,7 +659,8 @@ HARBOUR
NOTE: In current implementation it's
appended to compiler directory name, so all
filesystem/platform name rules and limits
apply. It's valid to use (back)slashes though.
apply. (Back)slashes will be stripped from
the name though.
- HB_BUILD_PKG=yes Create release package. Default: no
Requires 'clean install' in root source dir.
- HB_BUILD_DYN=no Create Harbour dynamic libraries. Default: yes

View File

@@ -88,6 +88,7 @@ find_in_path_prw = $(strip $(subst $(substpat), ,$(firstword $(subst |, ,$(subst
# Some presets based on HB_BUILD_NAME
ifneq ($(HB_BUILD_NAME),)
export HB_BUILD_NAME := $(subst /,,$(subst \,/,$(HB_BUILD_NAME)))
ifeq ($(HB_BUILD_NAME),.r)
HB_BUILD_DEBUG := no
HB_BUILD_OPTIM := yes

View File

@@ -1024,7 +1024,7 @@ FUNCTION hbmk2( aArgs, nArgTarget, /* @ */ lPause, nLevel )
CASE Left( cParamL, 10 ) == "-platform=" ; ParseCOMPPLATCPU( hbmk, SubStr( cParam, 11 ), _TARG_PLAT )
CASE Left( cParamL, 6 ) == "-arch=" ; ParseCOMPPLATCPU( hbmk, SubStr( cParam, 7 ), _TARG_PLAT ) /* Compatibility */
CASE Left( cParamL, 5 ) == "-cpu=" ; ParseCOMPPLATCPU( hbmk, SubStr( cParam, 6 ), _TARG_CPU )
CASE Left( cParamL, 7 ) == "-build=" ; hbmk[ _HBMK_cBUILD ] := PathSepToSelf( SubStr( cParam, 8 ) )
CASE Left( cParamL, 7 ) == "-build=" ; hbmk[ _HBMK_cBUILD ] := StrTran( PathSepToSelf( SubStr( cParam, 8 ) ), hb_ps() )
CASE Left( cParamL, 6 ) == "-build" ; hbmk[ _HBMK_lStopAfterHarbour ] := .T.
CASE Left( cParamL, 6 ) == "-lang=" ; hbmk[ _HBMK_cUILNG ] := SubStr( cParam, 7 ) ; SetUILang( hbmk )
CASE Left( cParamL, 4 ) == "-shl" ; hbmk[ _HBMK_lShowLevel ] := .T.