# 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 anyway 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 = vxWorks-68040

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

# Set this when your IOC and the host use different paths
#   to access the application. This will be needed to boot
#   from a Microsoft FTP server or with some NFS mounts.
# You must rebuild in the iocBoot directory for this to
#   take effect.
#IOCS_APPL_TOP = </IOC/path/to/application/top>

# We don't set STATIC_BUILD for WIN32 or Cygwin, use base to configure
# We build statically on Linux because want to install on detector systems without many .so files
ifeq (Linux, $(OS_CLASS))
  STATIC_BUILD=YES
  SHARED_LIBRARIES=NO
endif
# Building statically on Darwin is not possible (well, it's possible but difficult and discouraged
# by Apple), but we can build depending only on system libraries that are part of Mac OS X
#ifeq (Darwin, $(OS_CLASS))
#  STATIC_BUILD=NO
#  SHARED_LIBRARIES=NO
#endif
#ifeq (solaris, $(OS_CLASS))
#  STATIC_BUILD=YES
#  SHARED_LIBRARIES=NO
#endif
