2010-03-28 11:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/wce/mingwarm.mk
* config/win/mingw.mk
* config/win/cygwin.mk
* config/os2/gcc.mk
! Fixed resource compiler binary name to honor CCPREFIX and friends.
* utils/hbrun/Makefile
+ utils/hbrun/hbrun.rc
+ Added resource file to include icon.
; TOFIX: The .ico file path is hard-wired and will break if HB_BUILD_NAME
contains subdirs.
* bin/postinst.bat
- Deleted no more necessary hack to build hbrun with icon using hbmk2.
This commit is contained in:
@@ -17,6 +17,22 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2010-03-28 11:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* config/wce/mingwarm.mk
|
||||
* config/win/mingw.mk
|
||||
* config/win/cygwin.mk
|
||||
* config/os2/gcc.mk
|
||||
! Fixed resource compiler binary name to honor CCPREFIX and friends.
|
||||
|
||||
* utils/hbrun/Makefile
|
||||
+ utils/hbrun/hbrun.rc
|
||||
+ Added resource file to include icon.
|
||||
; TOFIX: The .ico file path is hard-wired and will break if HB_BUILD_NAME
|
||||
contains subdirs.
|
||||
|
||||
* bin/postinst.bat
|
||||
- Deleted no more necessary hack to build hbrun with icon using hbmk2.
|
||||
|
||||
2010-03-28 11:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* INSTALL
|
||||
* config/rules.mk
|
||||
|
||||
@@ -33,23 +33,6 @@ if "%HB_SHELL%" == "nt" goto _SH_NT
|
||||
|
||||
:_SH_NT
|
||||
|
||||
if "%HB_PLATFORM%" == "dos" goto _NO_ICON_BIN
|
||||
if "%HB_PLATFORM%" == "linux" goto _NO_ICON_BIN
|
||||
|
||||
rem ; We build this here, because GNU Make wouldn't add the icon.
|
||||
echo ! Making hbrun with application icon...
|
||||
|
||||
set _HB_OPTIONS_=
|
||||
if "%HB_BUILD_SHARED%" == "yes" set _HB_OPTIONS_=-shared
|
||||
if "%HB_BUILD_DLL%" == "no" set _HB_OPTIONS_=
|
||||
if "%HB_BUILD_MODE%" == "cpp" set _HB_OPTIONS_=%_HB_OPTIONS_% -cpp=yes
|
||||
if "%HB_BUILD_MODE%" == "c" set _HB_OPTIONS_=%_HB_OPTIONS_% -cpp=no
|
||||
if "%HB_BUILD_DEBUG%" == "yes" set _HB_OPTIONS_=%_HB_OPTIONS_% -debug
|
||||
"%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lang=en %_HB_OPTIONS_% "-o%HB_BIN_INSTALL%\hbrun" "%~dp0..\utils\hbrun\hbrun.hbp"
|
||||
set _HB_OPTIONS_=
|
||||
|
||||
:_NO_ICON_BIN
|
||||
|
||||
if "%HB_PLATFORM%" == "linux" goto _NO_PKG
|
||||
if not "%HB_BUILD_PKG%" == "yes" goto _NO_PKG
|
||||
if "%HB_TOP%" == "" goto _NO_PKG
|
||||
|
||||
@@ -39,7 +39,7 @@ ifeq ($(HB_BUILD_DEBUG),yes)
|
||||
CFLAGS += -g
|
||||
endif
|
||||
|
||||
RC := windres
|
||||
RC := $(HB_CCPATH)$(HB_CCPREFIX)windres
|
||||
RC_OUT := -o$(subst x,x, )
|
||||
ifeq ($(HB_COMPILER),gccomf)
|
||||
RCFLAGS := -O omf
|
||||
|
||||
@@ -34,7 +34,7 @@ ifeq ($(HB_BUILD_DEBUG),yes)
|
||||
CFLAGS += -g
|
||||
endif
|
||||
|
||||
RC := windres
|
||||
RC := $(HB_CCPATH)$(HB_CCPREFIX)windres
|
||||
RC_OUT := -o$(subst x,x, )
|
||||
RCFLAGS := -O coff
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ ifeq ($(HB_BUILD_DEBUG),yes)
|
||||
CFLAGS += -g
|
||||
endif
|
||||
|
||||
RC := windres
|
||||
RC := $(HB_CCPATH)$(HB_CCPREFIX)windres
|
||||
RC_OUT := -o$(subst x,x, )
|
||||
RCFLAGS := -O coff
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ ifeq ($(HB_BUILD_DEBUG),yes)
|
||||
CFLAGS += -g
|
||||
endif
|
||||
|
||||
RC := windres
|
||||
RC := $(HB_CCPATH)$(HB_CCPREFIX)windres
|
||||
RC_OUT := -o$(subst x,x, )
|
||||
RCFLAGS := -O coff
|
||||
|
||||
|
||||
@@ -9,6 +9,9 @@ include $(TOP)$(ROOT)config/global.mk
|
||||
PRG_SOURCES := \
|
||||
hbrun.prg \
|
||||
|
||||
RC_SOURCES := \
|
||||
hbrun.rc
|
||||
|
||||
PRG_MAIN := hbrun.prg
|
||||
|
||||
LIBS = hbcplr hbpp hbcommon $(HB_LIBS_ST_RDD)
|
||||
|
||||
9
harbour/utils/hbrun/hbrun.rc
Normal file
9
harbour/utils/hbrun/hbrun.rc
Normal file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#if defined( __BORLANDC__ )
|
||||
ICON1 ICON DISCARDABLE "..\..\..\..\..\package\harbour.ico"
|
||||
#else
|
||||
ICON1 ICON DISCARDABLE "..\\..\\..\\..\\..\\package\\harbour.ico"
|
||||
#endif
|
||||
Reference in New Issue
Block a user