# CONFIG_SITE

# Make any application-specific changes to the EPICS build
#   configuration variables in this file.
#
# Host/target specific settings can be specified in files named
#   CONFIG_SITE.$(EPICS_HOST_ARCH).Common
#   CONFIG_SITE.Common.$(T_A)
#   CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A)

# CHECK_RELEASE controls the consistency checking of the support
#   applications pointed to by the RELEASE* files.
# Normally CHECK_RELEASE should be set to YES.
# Set CHECK_RELEASE to NO to disable checking completely.
# Set CHECK_RELEASE to WARN to perform consistency checking but
#   continue building even if conflicts are found.
CHECK_RELEASE = YES

# Set this when you only want to compile this application
#   for a subset of the cross-compiled target architectures
#   that Base is built for.
CROSS_COMPILER_TARGET_ARCHS = linuxRT-i686 linuxRT-x86_64 RTEMS-beatnik

# To install files into a location other than $(TOP) define
#   INSTALL_LOCATION here.
#INSTALL_LOCATION=</absolute/path/to/install/top>

# Set this when the IOC and build host use different paths
#   to the install location. This may be needed to boot from
#   a Microsoft FTP server say, or on some NFS configurations.
#IOCS_APPL_TOP = </IOC's/absolute/path/to/install/top>

# For application debugging purposes, override the HOST_OPT and/
#   or CROSS_OPT settings from base/configure/CONFIG_SITE
#HOST_OPT = NO
#CROSS_OPT = NO

# =============================
# Build Application Statically
# =============================
SHARED_LIBRARIES=NO
STATIC_BUILD=YES

# =================================
# Define the archiecture versions
# =================================
LINUX_VERSION=rhel7
LINUX_KERNEL_MODULES=$(PACKAGE_SITE_TOP)/linuxKernel_Modules
LINUXRT_BUILDROOT_VERSION=buildroot-2019.08

# ======================================
# Support for spline interpolation
# ======================================
ALGLIB_PACKAGE_NAME  = alglib
ALGLIB_VERSION       = 3.14.0
ALGLIB_TOP           = $(PACKAGE_SITE_TOP)/$(ALGLIB_PACKAGE_NAME)/$(ALGLIB_VERSION)

# Note: something is odd about this package, and you need ot use T_A instead of PKG_ARCH
# and then for linuXRT you need to use PKG_ARCH
ALGLIB_LIB           = $(ALGLIB_TOP)/$(T_A)/lib
ALGLIB_INCLUDE       = $(ALGLIB_TOP)/$(T_A)/include

# ===============================
# Support for PCRE library
# ===============================
PCRE=YES
PCRE_PACKAGE_NAME = pcre
PCRE_VERSION      = 8.37
PCRE_TOP          = $(PACKAGE_SITE_TOP)/$(PCRE_PACKAGE_NAME)/$(PCRE_VERSION)
PCRE_INCLUDE      = $(PCRE_TOP)/$(PKG_ARCH)/include
PCRE_LIB          = $(PCRE_TOP)/$(PKG_ARCH)/lib

# These allow developers to override the CONFIG_SITE variable
# settings without having to modify the configure/CONFIG_SITE
# file itself.
-include $(TOP)/../CONFIG_SITE.local
-include $(TOP)/configure/CONFIG_SITE.local

# End of file



