64 lines
2.0 KiB
Plaintext
64 lines
2.0 KiB
Plaintext
#*************************************************************************
|
|
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
|
# National Laboratory.
|
|
# Copyright (c) 2002 The Regents of the University of California, as
|
|
# Operator of Los Alamos National Laboratory.
|
|
# EPICS BASE Versions 3.13.7
|
|
# and higher are distributed subject to a Software License Agreement found
|
|
# in file LICENSE that is included with this distribution.
|
|
#*************************************************************************
|
|
# CONFIG.Host.cygwin32
|
|
#
|
|
# This file is maintained by the EPICS community.
|
|
# Sites may override these definitions in CONFIG_SITE.Host.cygwin32
|
|
|
|
ARCH_CLASS = cygwin32
|
|
|
|
# cygwin32 is a unix-like arch
|
|
# include definitions common to all Unix archs
|
|
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
|
|
|
|
EXE=.exe
|
|
|
|
#==========================
|
|
#These overrides remove -ansi because -ansi eliminates strdup
|
|
GCC_ANSI = $(GCC)
|
|
GCC_STRICT = $(GCC) -pedantic
|
|
G++_NORMAL = $(G++) -pedantic
|
|
G++_STRICT = $(G++) -pedantic
|
|
|
|
#==========================
|
|
#This override will eliminate warnings for old R3.13 extensions
|
|
#GCC_WARN_YES =
|
|
|
|
#==========================
|
|
# These are overrides of ANSI and CPLUSPLUS values in CONFIG_SITE
|
|
# since OS vendor compilers ACC and CCC are not defined here for cygwin32
|
|
ANSI=GCC
|
|
CPLUSPLUS=G++
|
|
# Shared libraries not implemented yet
|
|
SHARED_LIBRARIES=NO
|
|
#==========================
|
|
# Fix for cygwin32 beta17.1 includes
|
|
#OP_SYS_INCLUDES += /usr/local/include/g++
|
|
#==========================
|
|
|
|
ARCH_DEP_CPPFLAGS = -DCYGWIN32 -U_WIN32
|
|
ARCH_DEP_LDLIBS =
|
|
OP_SYS_LDLIBS =
|
|
|
|
# cygwin32 overrides to eliminate following warning message -
|
|
# -fPIC ignored for target (all code is position independent)
|
|
GCC_DEP_CFLAGS = -D_REENTRANT
|
|
G++_DEP_CFLAGS = -D_REENTRANT
|
|
|
|
#POSIX_SOURCE eliminates select()
|
|
#POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE
|
|
POSIX_CPPFLAGS_YES = -D_POSIX_THREADS -D_POSIX_TIMERS
|
|
|
|
# Runtime ldflags
|
|
RUNTIME_LIBS =$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\
|
|
$(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH)
|
|
RUNTIME_LDFLAGS = $(RUNTIME_LIBS:%=-Wl,-rpath,%)
|
|
|