* INSTALL
* Updated dev list max attachment size.
* INSTALL
* config/beos/libs.mk
* config/global.mk
* config/bsd/libs.mk
* config/bin.mk
* config/wce/global.mk
* config/hpux/libs.mk
* config/darwin/libs.mk
* config/dos/djgpp.mk
* config/win/global.mk
* config/linux/libs.mk
* config/os2/gcc.mk
* config/sunos/libs.mk
+ Added support for HB_USER_LIBS build option to specify
extra libs. Note: This is useful only in very special
cases, so pls don't use it unless you exactly know what
you want to do. The libs have to be specced without
prefixes and extensions. It will be added after Harbour
libs and before system libs.
44 lines
971 B
Makefile
44 lines
971 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
SYSLIBPATHS :=
|
|
|
|
ifneq ($(HB_LINKING_RTL),)
|
|
ifeq ($(HB_LIBNAME_CURSES),)
|
|
HB_LIBNAME_CURSES := ncurses
|
|
endif
|
|
ifneq ($(HB_HAS_CURSES),)
|
|
SYSLIBS += $(HB_LIBNAME_CURSES)
|
|
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 ($(HB_HAS_PCRE),)
|
|
ifeq ($(HB_HAS_PCRE_LOCAL),)
|
|
SYSLIBS += pcre
|
|
endif
|
|
endif
|
|
ifeq ($(HB_HAS_ZLIB_LOCAL),)
|
|
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
|