38 lines
1.0 KiB
Plaintext
38 lines
1.0 KiB
Plaintext
# CONFIG.Common.cygwin-x86
|
|
#
|
|
# $Id$
|
|
# This file is maintained by the build community.
|
|
#
|
|
# Definitions for cygwin-x86 target builds
|
|
# Sites may override these definitions in CONFIG_SITE.Common.cygwin-x86
|
|
#-------------------------------------------------------
|
|
|
|
# Include definitions common to all Unix targets
|
|
include $(CONFIG)/os/CONFIG.Common.UnixCommon
|
|
|
|
OS_CLASS = cygwin32
|
|
ARCH_CLASS = x86
|
|
|
|
EXE=.exe
|
|
|
|
COMPILER_CPPFLAGS = -D_REENTRANT
|
|
|
|
#POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE=199506L -D_POSIX_THREADS -D_POSIX_TIMERS
|
|
# _POSIX_SOURCE eliminates select()
|
|
POSIX_CPPFLAGS_YES = -D_POSIX_THREADS -D_POSIX_TIMERS
|
|
#POSIX_LDLIBS_YES += -lpthread
|
|
POSIX_LDLIBS_YES += -lpthread
|
|
|
|
ARCH_DEP_CPPFLAGS += -D_X86_
|
|
|
|
OP_SYS_CPPFLAGS += -DCYGWIN32 -U_WIN32
|
|
|
|
# Set runtime path for shared libraries
|
|
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)
|
|
|
|
# Definitions used when COMMANDLINE_LIBRARY is READLINE
|
|
INCLUDES_READLINE = -I$(GNU_DIR)/include
|
|
LDFLAGS_READLINE += -L$(GNU_DIR)/lib
|
|
LDLIBS_READLINE = -lcygreadline5 -lcygcurses7
|
|
|