2010-06-28 21:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbformat/Makefile
* utils/hbi18n/Makefile
* utils/hbtest/Makefile
! Fixed to not try to build shared binaries if HB_BUILD_DLL=no.
* utils/hbmk2/hbmk2.prg
* utils/hbrun/hbrun.prg
+ Recognized .hbs as extension equivalent to .prg.
.hbs means: Harbour Script
This commit is contained in:
@@ -16,6 +16,17 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-06-28 21:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* utils/hbformat/Makefile
|
||||
* utils/hbi18n/Makefile
|
||||
* utils/hbtest/Makefile
|
||||
! Fixed to not try to build shared binaries if HB_BUILD_DLL=no.
|
||||
|
||||
* utils/hbmk2/hbmk2.prg
|
||||
* utils/hbrun/hbrun.prg
|
||||
+ Recognized .hbs as extension equivalent to .prg.
|
||||
.hbs means: Harbour Script
|
||||
|
||||
2010-06-28 21:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbqt/hbmk2_plugin_ui.prg
|
||||
* Further cleanup.
|
||||
|
||||
@@ -15,7 +15,9 @@ PRG_MAIN := hbformat.prg
|
||||
LIBS = $(HB_LIBS_ST_NORDD)
|
||||
|
||||
ifneq ($(filter $(HB_PLATFORM),win wce os2),)
|
||||
HB_BUILD_SHARED := yes
|
||||
ifneq ($(HB_BUILD_DLL),no)
|
||||
HB_BUILD_SHARED := yes
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(TOP)$(ROOT)config/bin.mk
|
||||
|
||||
@@ -12,7 +12,9 @@ PRG_MAIN := hbi18n.prg
|
||||
LIBS = $(HB_LIBS_ST_NORDD)
|
||||
|
||||
ifneq ($(filter $(HB_PLATFORM),win wce os2),)
|
||||
HB_BUILD_SHARED := yes
|
||||
ifneq ($(HB_BUILD_DLL),no)
|
||||
HB_BUILD_SHARED := yes
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(TOP)$(ROOT)config/bin.mk
|
||||
|
||||
@@ -6491,7 +6491,9 @@ STATIC PROCEDURE PlugIn_Load( hbmk )
|
||||
|
||||
IF ! Empty( cFile )
|
||||
lOK := .F.
|
||||
IF !( Lower( cExt ) == ".prg" ) /* Optimization: Don't try to load it as .hrb if the extension is .prg */
|
||||
/* Optimization: Don't try to load it as .hrb if the extension is .prg or .hbs (Harbour script) */
|
||||
IF !( Lower( cExt ) == ".prg" ) .AND. ;
|
||||
!( Lower( cExt ) == ".hbs" )
|
||||
BEGIN SEQUENCE WITH {| oError | Break( oError ) }
|
||||
hrb := hb_hrbLoad( HB_HRB_BIND_FORCELOCAL, cFile )
|
||||
cType := I_( "(compiled)" )
|
||||
|
||||
@@ -110,6 +110,7 @@ PROCEDURE _APPMAIN( cFile, ... )
|
||||
cExt := lower( cExt )
|
||||
SWITCH cExt
|
||||
CASE ".prg"
|
||||
CASE ".hbs"
|
||||
CASE ".hrb"
|
||||
CASE ".dbf"
|
||||
EXIT
|
||||
@@ -121,6 +122,7 @@ PROCEDURE _APPMAIN( cFile, ... )
|
||||
HB_DotPrompt( "USE " + cFile )
|
||||
EXIT
|
||||
CASE ".prg"
|
||||
CASE ".hbs"
|
||||
cFile := HB_COMPILEBUF( HB_ARGV( 0 ), "-n2", "-w", "-es2", "-q0", ;
|
||||
s_aIncDir, cFile )
|
||||
IF cFile == NIL
|
||||
|
||||
@@ -27,7 +27,9 @@ PRG_MAIN := hbtest.prg
|
||||
LIBS = $(HB_LIBS_ST_RDD)
|
||||
|
||||
ifneq ($(filter $(HB_PLATFORM),win wce os2),)
|
||||
HB_BUILD_SHARED := yes
|
||||
ifneq ($(HB_BUILD_DLL),no)
|
||||
HB_BUILD_SHARED := yes
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(TOP)$(ROOT)config/bin.mk
|
||||
|
||||
Reference in New Issue
Block a user