# CONFIG
include $(TOP)/configure/CONFIG_APP
-include $(TOP)/configure/CONFIG_SITE

# Make any application-specific changes to the EPICS build
# configuration variables in this file.

# Set this when you only want to compile this application
# for a subset of the cross-compiled target architectures
# that Base is built for.
ALL_CC_ARCHS:=$(CROSS_COMPILER_TARGET_ARCHS)
CROSS_COMPILER_TARGET_ARCHS = $(filter-out vxworks% vxWorks%,$(ALL_CC_ARCHS))

# 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 = <path to application top as seen by IOC>

# kill the bad RTEMS setting - Ernest should do that globally
ifneq ($(filter RTEMS-%,$(T_A))xx,xx)
	OP_SYS_LDLIBS=
#	OP_SYS_LDFLAGS=
endif

# For cram
SHARED_LIBRARIES=NO
STATIC_BUILD=YES
