* INSTALL
* Updated Ubuntu external pkg list.
+ Added slang to darwin external pkg list.
* config/darwin/libs.mk
+ Added two syslib paths required for slang (gtsln).
* utils/hbmk2/hbmk2.prg
! Fixed to add user GTs before the list of user libs.
This is to ensure proper linkage with linkers which need
this (mingw f.e. and all which used lib grouping switches
before they were removed from hbmk2/make in Harbour)
* config/bin.mk
* config/dyn.mk
+ Added new HB_LINKING_VMMT variable, which is set to non-empty
if hbvmmt is to be linked. It makes it possible to add
MT dependent libs to sys lib list, if needed.
* config/linux/libs.mk
+ Adding pthread lib when HB_LINKING_VMMT is set. This isn't
needed on my *nix systems (Ubuntu and Darwin), but was used
for all platforms in postinst.sh dynlib creation logic, so
please speak up if we should add this lib to other *nix
platforms, or we can delete it from Linux.
43 lines
964 B
Makefile
43 lines
964 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
SYSLIBS :=
|
|
SYSLIBPATHS :=
|
|
|
|
ifneq ($(HB_LINKING_RTL),)
|
|
ifeq ($(HB_CRS_LIB),)
|
|
HB_CRS_LIB := ncurses
|
|
endif
|
|
ifneq ($(HB_HAS_CURSES),)
|
|
SYSLIBS += $(HB_CRS_LIB)
|
|
endif
|
|
ifneq ($(HB_HAS_SLANG),)
|
|
SYSLIBS += slang
|
|
endif
|
|
ifneq ($(HB_HAS_X11),)
|
|
SYSLIBS += X11
|
|
# add 64-bit lib dir needed for some distros (red hat)
|
|
ifneq ($(findstring 64,$(shell uname -m)),)
|
|
SYSLIBPATHS += /usr/X11R6/lib64
|
|
endif
|
|
SYSLIBPATHS += /usr/X11R6/lib
|
|
endif
|
|
ifneq ($(HB_HAS_GPM),)
|
|
SYSLIBS += gpm
|
|
endif
|
|
ifneq ($(filter -DHB_PCRE_REGEX, $(HB_USER_CFLAGS)),)
|
|
SYSLIBS += pcre
|
|
endif
|
|
ifneq ($(filter -DHB_EXT_ZLIB, $(HB_USER_CFLAGS)),)
|
|
SYSLIBS += z
|
|
endif
|
|
SYSLIBS += rt dl
|
|
# Don't seem to be needed here, but added it for reference to move/copy it to *nix platforms where this is required
|
|
ifneq ($(HB_LINKING_VMMT),)
|
|
SYSLIBS += pthread
|
|
endif
|
|
endif
|
|
|
|
SYSLIBS += m
|