51 lines
1.6 KiB
Plaintext
51 lines
1.6 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 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_CFLAGS = -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_CPPFLAGS_YES = -D_POSIX_SOURCE
|
|
|
|
# Runtime ldflags
|
|
RUNTIME_LIBS =$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\
|
|
$(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH)
|
|
RUNTIME_LDFLAGS = $(RUNTIME_LIBS:%=-Wl,-rpath,%)
|
|
|