# # $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