* include/hb_io.h
* include/hbthread.h
* include/hbsetup.h
* src/vm/thread.c
* src/vm/dynlibhb.c
* src/common/hbgete.c
* src/common/hbprintf.c
* src/rtl/gttrm/Makefile
* src/rtl/hbsocket.c
* src/rtl/filesys.c
* src/rtl/hbcom.c
* config/global.mk
- config/win/cygwin.mk
+ config/cygwin
+ config/cygwin/libs.mk
+ config/cygwin/gcc.mk
+ config/cygwin/global.mk
+ Applied cygwin patch from Tamas Tevesz.
The goal is to migrate win/cygwin to cygwin/gcc, IOW to make cygwin
a distinct platform (which is primarily unixy with option to access
winapi) as it should be.
Changes made by me compared to original patch:
- Fixed to HB_HOST_PLAT stay 'win'. Cygwin is not a host platform.
- Fixed to set HB_COMPILER to gcc and HB_PLATFORM to cygwin when cygwin
is detected on win platform.
- Consequently some changes in global.mk could be dropped.
- Deleted hbcom patches not related to cygwin.
- Removed hbmk2 patch until we solve the 'plat $ 'cygwin' problem.
36 lines
715 B
Makefile
36 lines
715 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
|
|
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
|