# RELEASE - Location of external support modules
#
# IF YOU MAKE ANY CHANGES to this file you must subsequently
# do a "gnumake rebuild" in this application's top level
# directory.
#
# The build process does not check dependencies against files
# that are outside this application, thus you should do a
# "gnumake rebuild" in the top level directory after EPICS_BASE
# or any other external module pointed to below is rebuilt.
#
# Host- or target-specific settings can be given in files named
#  RELEASE.$(EPICS_HOST_ARCH).Common
#  RELEASE.Common.$(T_A)
#  RELEASE.$(EPICS_HOST_ARCH).$(T_A)
#
# This file should ONLY define paths to other support modules,
# or include statements that pull in similar RELEASE files.
# Build settings that are NOT module paths should appear in a
# CONFIG_SITE file.

# If you don't want to install into $(TOP) then
# define INSTALL_LOCATION_APP here
#INSTALL_LOCATION_APP=<fullpathname>
# EPICS Templates
TEMPLATE_TOP=$(MODULES_SITE_TOP)/icdTemplates/icdTemplates-R1-2-0

#
# =============================================================
# All needed variables come in via the following include:
# =============================================================

include $(TOP)/RELEASE_SITE

# =============================================================
# Define location of the modules tree
# =============================================================

EPICS_MODULES=$(MODULES_SITE_TOP)

# =============================================================
# Define the version of modules needed by
# IOC apps or other Support apps
# =============================================================

SEQ_MODULE_VERSION=seq-R2-1-6_1-3
AUTOSAVE_MODULE_VERSION=autosave-R5-5_0-0
CAPUTLOG_MODULE_VERSION=caPutLog-R3-4_1-0
IOCADMIN_MODULE_VERSION=iocAdmin-R3-1-14_1-0
DIAGTIMER_MODULE_VERSION=diagTimer-R1-8-0
MISCUTILS_MODULE_VERSION=miscUtils-R2-2-3
EVENT_MODULE_VERSION=event-R4-2-4
EVRCLIENT_MODULE_VERSION=evrClient-R1-0-p7
UDPCOMM_MODULE_VERSION=udpComm-R2-7-1
FCOM_MODULE_VERSION=fcom-R1-3-34
FCOMUTIL_MODULE_VERSION=fcomUtil-R1-2-4
#FCOMUTIL_MODULE_VERSION=MAIN_TRUNK

DEVBUSMAPPED_MODULE_VERSION=devBusMapped-R3-1-1

# Let's add in support for the cexpsh()
# This can be called from the EPICS shell
# Please look at the README file in 
# CEXP module
CEXP_MODULE_VERSION=cexpsh-R1-0-0

# ============================================================
#  Module Location
# ============================================================

SNCSEQ=$(EPICS_MODULES)/seq/$(SEQ_MODULE_VERSION)
AUTOSAVE=$(EPICS_MODULES)/autosave/$(AUTOSAVE_MODULE_VERSION)
CAPUTLOG=$(EPICS_MODULES)/caPutLog/$(CAPUTLOG_MODULE_VERSION)
IOCADMIN=$(EPICS_MODULES)/iocAdmin/$(IOCADMIN_MODULE_VERSION)

DIAGTIMER=$(EPICS_MODULES)/diagTimer/$(DIAGTIMER_MODULE_VERSION)
MISCUTILS=$(EPICS_MODULES)/miscUtils/$(MISCUTILS_MODULE_VERSION)
EVENT=$(EPICS_MODULES)/event/$(EVENT_MODULE_VERSION)
#EVENT=/afs/slac/u/ey/bhill/wa-lcls/epics/modules/event/MAIN_TRUNK
#EVRCLIENT=$(EPICS_MODULES)/evrClient/$(EVRCLIENT_MODULE_VERSION)
EVR_MODULE=$(EVENT)
#EVR_MODULE=$(EVRCLIENT)

UDPCOMM=$(EPICS_MODULES)/udpComm/$(UDPCOMM_MODULE_VERSION)
FCOM=$(EPICS_MODULES)/fcom/$(FCOM_MODULE_VERSION)
# FCOM=/afs/slac.stanford.edu/g/lcls/vol8/epics/iocTop/users/scondam/BLD/fcom_test/fcom/$(FCOM_MODULE_VERSION)

FCOMUTIL=$(EPICS_MODULES)/fcomUtil/$(FCOMUTIL_MODULE_VERSION)
#FCOMUTIL=~bhill/wa-lcls/epics/modules/fcomUtil/current

DEVBUSMAPPED=$(EPICS_MODULES)/devBusMapped/$(DEVBUSMAPPED_MODULE_VERSION)

CEXP=$(EPICS_MODULES)/cexpsh/$(CEXP_MODULE_VERSION)

# EPICS_BASE usually appears last so other apps can override stuff:
EPICS_BASE=$(BASE_SITE_TOP)/$(EPICS_BASE_VER)

# Location of Linux Kernel Modules:
LINUX_KERNEL_MODULES=$(PACKAGE_SITE_TOP)/linuxKernel_Modules

# Set RULES here if you want to take build rules from somewhere
# other than EPICS_BASE:
#RULES=/path/to/epics/support/module/rules/x-y

