* 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.
42 lines
506 B
Makefile
42 lines
506 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ifeq ($(HB_MAIN),)
|
|
HB_MAIN = std
|
|
endif
|
|
|
|
ROOT = ../../
|
|
|
|
PRG_SOURCES=\
|
|
hbrun.prg \
|
|
|
|
PRG_MAIN=hbrun.prg
|
|
|
|
LIBS=\
|
|
hbextern \
|
|
hbdebug \
|
|
hbvm \
|
|
hbrtl \
|
|
hblang \
|
|
hbcpage \
|
|
hbrdd \
|
|
hbrtl \
|
|
hbvm \
|
|
hbmacro \
|
|
hbcplr \
|
|
hbpp \
|
|
hbcommon \
|
|
|
|
ifeq ($(findstring -DHB_PCRE_REGEX, $(HB_USER_CFLAGS)),)
|
|
ifeq ($(findstring -DHB_POSIX_REGEX, $(HB_USER_CFLAGS)),)
|
|
LIBS += hbpcre
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(findstring -DHB_EXT_ZLIB, $(HB_USER_CFLAGS)),)
|
|
LIBS += hbzlib
|
|
endif
|
|
|
|
include $(TOP)$(ROOT)config/bin.cf
|