2009-07-17 02:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu.sh
* config/global.cf
+ Readded HB_GPM_MOUSE detection to starter script.
; TOFIX: This logic should be moved to GNU Make global.cf.
+ Readded HB_COMMERCE logic but now to global.cf, to
deal with Harbour-wide settings, currently this is only
HB_GPM_MOUSE. lib-specific HB_COMMERCE issues should be
handled in local Makefiles.
* config/global.cf
* Minor formatting.
* TODO added (host CPU detection on non-win platforms).
* config/hpux/gcc.cf
* config/darwin/gcc.cf
* config/global.cf
* config/sunos/gcc.cf
* config/bsd/gcc.cf
- GPM isn't available on these platforms so it's not necessary
to handle it in these make files.
* utils/hbmk2/Makefile
* utils/hbrun/Makefile
! Changed ordering of hbcpl/hbpp/hbcommon libs to this:
hbcplr, hbpp, hbcommon
(from this: hbpp, hbcplr, hbcommon
and this: hbcommon, hbpp, hbcplr)
This syncs it with existing .hbp lib order and hopefully
fixes link problems on sunos/sparc, reported by a user.
Please retest & report results.
This commit is contained in:
@@ -17,6 +17,38 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-07-17 02:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* make_gnu.sh
|
||||
* config/global.cf
|
||||
+ Readded HB_GPM_MOUSE detection to starter script.
|
||||
; TOFIX: This logic should be moved to GNU Make global.cf.
|
||||
+ Readded HB_COMMERCE logic but now to global.cf, to
|
||||
deal with Harbour-wide settings, currently this is only
|
||||
HB_GPM_MOUSE. lib-specific HB_COMMERCE issues should be
|
||||
handled in local Makefiles.
|
||||
|
||||
* config/global.cf
|
||||
* Minor formatting.
|
||||
* TODO added (host CPU detection on non-win platforms).
|
||||
|
||||
* config/hpux/gcc.cf
|
||||
* config/darwin/gcc.cf
|
||||
* config/global.cf
|
||||
* config/sunos/gcc.cf
|
||||
* config/bsd/gcc.cf
|
||||
- GPM isn't available on these platforms so it's not necessary
|
||||
to handle it in these make files.
|
||||
|
||||
* utils/hbmk2/Makefile
|
||||
* utils/hbrun/Makefile
|
||||
! Changed ordering of hbcpl/hbpp/hbcommon libs to this:
|
||||
hbcplr, hbpp, hbcommon
|
||||
(from this: hbpp, hbcplr, hbcommon
|
||||
and this: hbcommon, hbpp, hbcplr)
|
||||
This syncs it with existing .hbp lib order and hopefully
|
||||
fixes link problems on sunos/sparc, reported by a user.
|
||||
Please retest & report results.
|
||||
|
||||
2009-07-16 23:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
- examples/hbdoc/examples/hbmisc/gendoc.bat
|
||||
+ examples/hbdoc/examples/hbmisc/readme.txt
|
||||
|
||||
@@ -73,12 +73,6 @@ LINKLIBS += -lX11
|
||||
LINKPATHS += -L/usr/X11R6/lib
|
||||
endif
|
||||
|
||||
# HB_GPM_MOUSE: use gpm mouse driver
|
||||
# Actually, there is no gpm on BSD.
|
||||
ifeq ($(HB_GPM_MOUSE),yes)
|
||||
LINKLIBS += -lgpm
|
||||
endif
|
||||
|
||||
LINKPATHS += -L/usr/local/lib
|
||||
|
||||
endif
|
||||
|
||||
@@ -85,12 +85,6 @@ LINKLIBS += -lX11
|
||||
LINKPATHS += -L/usr/X11R6/lib
|
||||
endif
|
||||
|
||||
# HB_GPM_MOUSE: use gpm mouse driver
|
||||
# Actually, there is no gpm on BSD.
|
||||
ifeq ($(HB_GPM_MOUSE),yes)
|
||||
LINKLIBS += -lgpm
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
ifneq ($(findstring -DHB_PCRE_REGEX, $(HB_USER_CFLAGS)),)
|
||||
|
||||
@@ -162,7 +162,6 @@ ifeq ($(HB_HOST_ARCH),)
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
ifeq ($(HB_HOST_ARCH),)
|
||||
ifneq ($(OS2_SHELL),)
|
||||
HB_HOST_ARCH := os2
|
||||
@@ -196,6 +195,8 @@ ifeq ($(HB_HOST_ARCH),win)
|
||||
HB_HOST_CPU := x86
|
||||
endif
|
||||
endif
|
||||
else
|
||||
# TODO: CPU detection for rest of systems.
|
||||
endif
|
||||
|
||||
ifeq ($(HB_BUILD_VERBOSE),yes)
|
||||
@@ -207,7 +208,7 @@ endif
|
||||
# TODO: Set this in <arch>/<comp>.cf
|
||||
HB_CPU :=
|
||||
ifeq ($(HB_ARCHITECTURE),win)
|
||||
ifeq ($(HB_COMPILER),msvc64)
|
||||
ifeq ($(HB_COMPILER),msvc64)
|
||||
HB_CPU := x86_64
|
||||
else
|
||||
ifeq ($(HB_COMPILER),mingw64)
|
||||
@@ -315,6 +316,11 @@ ifneq ($(HB_HOST_ARCH)$(HB_HOST_CPU),$(HB_ARCHITECTURE)$(HB_CPU))
|
||||
endif
|
||||
endif
|
||||
|
||||
# Exclude Harbour-wide features prohibiting commercial usage
|
||||
ifeq ($(HB_COMMERCE),yes)
|
||||
HB_GPM_MOUSE := no
|
||||
endif
|
||||
|
||||
# Names of portable GT drivers
|
||||
HB_GT_LIBS=\
|
||||
gtcgi \
|
||||
|
||||
@@ -72,11 +72,6 @@ LINKLIBS += -lX11
|
||||
LINKPATHS += -L/usr/X11R6/lib
|
||||
endif
|
||||
|
||||
# HB_GPM_MOUSE: use gpm mouse driver
|
||||
ifeq ($(HB_GPM_MOUSE),yes)
|
||||
LINKLIBS += -lgpm
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
ifneq ($(findstring -DHB_PCRE_REGEX, $(HB_USER_CFLAGS)),)
|
||||
|
||||
@@ -68,11 +68,6 @@ LINKLIBS += -lX11
|
||||
LINKPATHS += -L/usr/X11R6/lib
|
||||
endif
|
||||
|
||||
# HB_GPM_MOUSE: use gpm mouse driver
|
||||
ifeq ($(HB_GPM_MOUSE),yes)
|
||||
LINKLIBS += -lgpm
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
ifneq ($(findstring -DHB_PCRE_REGEX, $(HB_USER_CFLAGS)),)
|
||||
|
||||
@@ -51,6 +51,16 @@ then
|
||||
export HB_ARCHITECTURE=win
|
||||
fi
|
||||
|
||||
if [ -z "$HB_GPM_MOUSE" ]; then
|
||||
if [ "$HB_ARCHITECTURE" = "linux" ] && \
|
||||
( [ -f /usr/include/gpm.h ] || [ -f /usr/local/include/gpm.h ]); then
|
||||
HB_GPM_MOUSE=yes
|
||||
else
|
||||
HB_GPM_MOUSE=no
|
||||
fi
|
||||
export HB_GPM_MOUSE
|
||||
fi
|
||||
|
||||
if [ "$HB_ARCHITECTURE" = "linux" ]
|
||||
then
|
||||
if [ "${HB_USER_CFLAGS}" == "${HB_USER_CFLAGS//-fPIC/}" ]
|
||||
|
||||
@@ -23,8 +23,8 @@ LIBS=\
|
||||
hbrtl \
|
||||
hbvmmt \
|
||||
hbmacro \
|
||||
hbcommon \
|
||||
hbpp \
|
||||
hbcplr \
|
||||
hbpp \
|
||||
hbcommon \
|
||||
|
||||
include $(TOP)$(ROOT)config/bin.cf
|
||||
|
||||
@@ -24,8 +24,8 @@ LIBS=\
|
||||
hbrtl \
|
||||
hbvm \
|
||||
hbmacro \
|
||||
hbpp \
|
||||
hbcplr \
|
||||
hbpp \
|
||||
hbcommon \
|
||||
|
||||
ifeq ($(findstring -DHB_PCRE_REGEX, $(HB_USER_CFLAGS)),)
|
||||
|
||||
Reference in New Issue
Block a user