# 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)

# 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>

ifeq ($(EPICS_TEST_COVERAGE),1)
USR_CPPFLAGS += --coverage
USR_LDFLAGS += --coverage
endif

ifeq ($(EPICS_HOST_ARCH),linux-x86)
    USR_LDFLAGS += -lpthread
endif

ifeq ($(EPICS_HOST_ARCH),win32-x86)
    USR_SYS_LIBS += ws2_32
endif

ifeq ($(EPICS_HOST_ARCH),win32-x86-debug)
    USR_SYS_LIBS += ws2_32
endif

INSTALL_INCLUDE = $(INSTALL_LOCATION)/include/pv
USR_INCLUDES += -I $(INSTALL_LOCATION)/include

#USR_CPPFLAGS += -DPV_MB -g -ggdb

-include $(TOP)/configure/CONFIG_SITE.local
-include $(TOP)/../CONFIG.local
