2012-06-17 01:39 UTC+0200 Viktor Szakats (harbour syenar.net)

* contrib/hbblat/hbblat.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbssl/hbssl.hbp
    ! fix to prev

  * contrib/hbpost.hbm
  * contrib/hbqt/hbqt_common.hbm
    * deleted extra pathsep

  * contrib/hbfbird/hbfbird.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/sddfb/sddfb.hbp
    ! fixed to use .dll imp lib source in -hbdyn mode.
      it's a fix for experimental HB_INSTALL_3RDDYN option.

  * contrib/make.hb
    * minor cleanups in errorlevel descriptions

  * utils/hbmk2/hbmk2.prg
    ! fixed finding scripts in path and without extensions 
      in runner mode
    ! fixed to not execute '.' when runner mode is started 
      with 'hbmk2 .' command
This commit is contained in:
Viktor Szakats
2012-06-16 23:44:08 +00:00
parent e70fa438ce
commit f5f7f12fd9
11 changed files with 104 additions and 22 deletions

View File

@@ -16,6 +16,31 @@
The license applies to all entries newer than 2009-04-28.
*/
2012-06-17 01:39 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbblat/hbblat.hbp
* contrib/hbcurl/hbcurl.hbp
* contrib/hbssl/hbssl.hbp
! fix to prev
* contrib/hbpost.hbm
* contrib/hbqt/hbqt_common.hbm
* deleted extra pathsep
* contrib/hbfbird/hbfbird.hbp
* contrib/hbgd/hbgd.hbp
* contrib/sddfb/sddfb.hbp
! fixed to use .dll imp lib source in -hbdyn mode.
it's a fix for experimental HB_INSTALL_3RDDYN option.
* contrib/make.hb
* minor cleanups in errorlevel descriptions
* utils/hbmk2/hbmk2.prg
! fixed finding scripts in path and without extensions
in runner mode
! fixed to not execute '.' when runner mode is started
with 'hbmk2 .' command
2012-06-17 00:18 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
+ will now gather a list of existing 3rd party dll dependencies

View File

@@ -15,7 +15,6 @@
-depkeyhead=blat:blat.h
-depcontrol=blat:${HB_WITH_BLAT}
-depimplibs=blat:../blat.dll
-depfinish=blat
-iflag={bcc}-a

View File

@@ -6,7 +6,6 @@ hbcurl.hbm
-depimplibs=curl:../libcurl.dll
-depimplibs=curl:../bin/libcurl.dll
-depfinish=curl
-iflag={bcc}-a

View File

@@ -17,8 +17,8 @@
-depincpath=firebird:/usr/include
-depincpath=firebird:/opt/firebird/include
-depincpath=firebird:/Library/Frameworks/Firebird.framework/Headers
-depimplibs=firebird:../bin/fbclient.dll{!(allgcc|allmsvc|allpocc)}
-depimplibs=firebird:../lib/fbclient_ms.lib{allgcc|allmsvc|allpocc}
-depimplibs=firebird:../bin/fbclient.dll{!(allgcc|allmsvc|allpocc)|hbdyn}
-depimplibs=firebird:../lib/fbclient_ms.lib{(allgcc|allmsvc|allpocc)&!hbdyn}
-depimplibd=firebird:fbclient
-instfile=inc:hbfbird.hbx

View File

@@ -18,8 +18,8 @@ hbct.hbc
-depincpath=gd:/usr/include
-depincpath=gd:/usr/local/include
-depincpath=gd:/opt/local/include
-depimplibs=gd:../bin/bgd.dll{!(msvc|pocc|mingw)}
-depimplibs=gd:../lib/bgd.lib{msvc|pocc|mingw}
-depimplibs=gd:../bin/bgd.dll{!(msvc|pocc|mingw)|hbdyn}
-depimplibs=gd:../lib/bgd.lib{(msvc|pocc|mingw)&!hbdyn}
-instfile=inc:gd.ch
-instfile=inc:gdextern.ch

View File

@@ -79,12 +79,12 @@
{hbdyn&(cygwin|!unix)}-workdir=../bin/${hb_plat}/${hb_comp}${hb_build}/${hb_work}/${hb_outputname}${hb_workdynsub}
# copy contrib-specific public files
-instfile=contrib:${_HB_CONTRIB_SUBDIR}/*.hb
-instfile=contrib:${_HB_CONTRIB_SUBDIR}/*.hbc
-instfile=contrib:${_HB_CONTRIB_SUBDIR}/*.hbx
-instfile=contrib:${_HB_CONTRIB_SUBDIR}/*.ch
-instfile=contrib:${_HB_CONTRIB_SUBDIR}/*.txt
-instfile=contrib_tests:${_HB_CONTRIB_SUBDIR}/tests/*.*
-instfile=contrib:${_HB_CONTRIB_SUBDIR}*.hb
-instfile=contrib:${_HB_CONTRIB_SUBDIR}*.hbc
-instfile=contrib:${_HB_CONTRIB_SUBDIR}*.hbx
-instfile=contrib:${_HB_CONTRIB_SUBDIR}*.ch
-instfile=contrib:${_HB_CONTRIB_SUBDIR}*.txt
-instfile=contrib_tests:${_HB_CONTRIB_SUBDIR}tests/*.*
# install
{_HB_BUILD_INSTALL&_HB_INSTALL_LIB&hblib}-instpath=${_HB_INSTALL_LIB}/

View File

@@ -41,5 +41,5 @@
-instfile=contrib_qt:*.txt
-instfile=contrib_qt_tests:tests/*.*
{_HB_BUILD_INSTALL&_HB_INSTALL_CONTRIB&hblib}-instpath=contrib_qt:${_HB_INSTALL_CONTRIB}/${_HB_CONTRIB_SUBDIR}/../
{_HB_BUILD_INSTALL&_HB_INSTALL_CONTRIB&hblib}-instpath=contrib_qt_tests:${_HB_INSTALL_CONTRIB}/${_HB_CONTRIB_SUBDIR}/../tests/
{_HB_BUILD_INSTALL&_HB_INSTALL_CONTRIB&hblib}-instpath=contrib_qt:${_HB_INSTALL_CONTRIB}/${_HB_CONTRIB_SUBDIR}../
{_HB_BUILD_INSTALL&_HB_INSTALL_CONTRIB&hblib}-instpath=contrib_qt_tests:${_HB_INSTALL_CONTRIB}/${_HB_CONTRIB_SUBDIR}../tests/

View File

@@ -9,7 +9,6 @@
-depimplibs=openssl:../dll/ssleay32.dll
-depimplibs=openssl:../libeay32.dll
-depimplibs=openssl:../ssleay32.dll
-depfinish=openssl
hbssl.hbm

View File

@@ -584,15 +584,15 @@ STATIC FUNCTION hbmk2_errorstr( nErrorLevel )
CASE 2 ; RETURN "unknown compiler"
CASE 3 ; RETURN "failed Harbour detection"
CASE 5 ; RETURN "failed stub creation"
CASE 6 ; RETURN "failed in compilation phase"
CASE 7 ; RETURN "failed in final assembly phase"
CASE 6 ; RETURN "failed in compilation"
CASE 7 ; RETURN "failed in final assembly"
CASE 8 ; RETURN "unsupported"
CASE 9 ; RETURN "failed to create working directory"
CASE 19 ; RETURN "help"
CASE 10 ; RETURN "dependency missing or disabled"
CASE 20 ; RETURN "plugin initialization"
CASE 30 ; RETURN "too deep nesting"
CASE 50 ; RETURN "stop requested by makefile"
CASE 50 ; RETURN "stop requested"
ENDSWITCH
RETURN "unknown"

View File

@@ -19,8 +19,8 @@ rddsql.hbc
-depincpath=firebird:/usr/include
-depincpath=firebird:/opt/firebird/include
-depincpath=firebird:/Library/Frameworks/Firebird.framework/Headers
-depimplibs=firebird:../bin/fbclient.dll{!(allgcc|allmsvc|allpocc)}
-depimplibs=firebird:../lib/fbclient_ms.lib{allgcc|allmsvc|allpocc}
-depimplibs=firebird:../bin/fbclient.dll{!(allgcc|allmsvc|allpocc)|hbdyn}
-depimplibs=firebird:../lib/fbclient_ms.lib{(allgcc|allmsvc|allpocc)&!hbdyn}
-depimplibd=firebird:fbclient
# For FireBird headers

View File

@@ -12248,8 +12248,9 @@ STATIC PROCEDURE __hbshell( cFile, ... )
/* Do the thing */
IF ! Empty( hb_FNameName( cFile ) ) .AND. ;
! Empty( cFile := FindInPath( cFile ) )
IF !( cFile == "." ) .AND. ;
! Empty( hb_FNameName( cFile ) ) .AND. ;
! Empty( cFile := __hbshell_FindInPath( cFile ) )
cExt := Lower( hb_FNameExt( cFile ) )
@@ -12322,6 +12323,65 @@ STATIC PROCEDURE __hbshell( cFile, ... )
RETURN
STATIC FUNCTION __hbshell_FindInPath( cFileName, xPath )
LOCAL cDir
LOCAL cName
LOCAL cExt
LOCAL cFullName
LOCAL aExt
hb_FNameSplit( cFileName, @cDir, @cName, @cExt )
aExt := iif( Empty( cExt ), { ".hb", ".hrb" }, { cExt } )
FOR EACH cExt IN aExt
/* Check original filename (in supplied path or current dir) */
IF hb_FileExists( cFullName := hb_FNameMerge( cDir, cName, cExt ) )
RETURN cFullName
ENDIF
NEXT
IF Empty( cDir )
IF ! Empty( cDir := hb_DirBase() )
/* Check in the dir of this executable. */
FOR EACH cExt IN aExt
IF hb_FileExists( cFullName := hb_FNameMerge( cDir, cName, cExt ) )
RETURN cFullName
ENDIF
NEXT
ENDIF
IF ! HB_ISSTRING( xPath ) .AND. ;
! HB_ISARRAY( xPath )
xPath := GetEnv( "PATH" )
ENDIF
IF HB_ISSTRING( xPath )
#if defined( __PLATFORM__WINDOWS ) .OR. ;
defined( __PLATFORM__DOS ) .OR. ;
defined( __PLATFORM__OS2 )
xPath := hb_ATokens( xPath, hb_osPathListSeparator(), .T., .T. )
#else
xPath := hb_ATokens( xPath, hb_osPathListSeparator() )
#endif
ENDIF
FOR EACH cExt IN aExt
/* Check in the PATH. */
FOR EACH cDir IN xPath
IF Left( cDir, 1 ) == '"' .AND. Right( cDir, 1 ) == '"'
cDir := SubStr( cDir, 2, Len( cDir ) - 2 )
ENDIF
IF ! Empty( cDir )
IF hb_FileExists( cFullName := hb_FNameMerge( cDir, cName, cExt ) )
RETURN cFullName
ENDIF
ENDIF
NEXT
NEXT
ENDIF
RETURN NIL
STATIC FUNCTION __hbshell_FileSig( cFile )
LOCAL hFile
LOCAL cBuff, cSig, cExt