#RELEASE Location of external products
#
# IF YOU MAKE ANY CHANGES to this file you MUST at least run
# "gnumake" in this directory afterwards; you usually need
# to run "gnumake rebuild" in the application's top level
# directory each time this file is changed.
#
# NOTE: The build does not check dependencies against files
# that are outside this application, thus you should run
# "gnumake distclean install" in the top directory each time
# EPICS_BASE, SNCSEQ, or any other external module defined
# in the RELEASE file is rebuilt.
#
# Host/target specific settings can be specified in files named
#  RELEASE.$(EPICS_HOST_ARCH).Common
#  RELEASE.Common.$(T_A)
#  RELEASE.$(EPICS_HOST_ARCH).$(T_A)

# Pickup the path to your EPICS top level directory
# This is where EPICS lives at your site.
include $(TOP)/RELEASE_SITE


TEMPLATE_TOP=$(EPICS_BASE)/templates/makeBaseApp/top

# =============================================================
# Define location of module tree with respect to
# EPICS_SITE_TOP
# =============================================================
EPICS_MODULES=$(EPICS_SITE_TOP)/modules


# ==============================================================
# Define the version of EPICS BASE that you will use
# =============================================================
BASE_MODULE_VERSION=base-R3-14-8-2-lcls3

# ===============================================================
# Define the version of modules needed by
# IOC apps or other Support apps
# Make sure that you look at the website to discover
# the appropriate version dependencies
# http://www-group.slac.stanford.edu/cdsoft/epics/swModules3.htm
# ===============================================================
#IPAC_MODULE_VERSION=Development
#ASYN_MODULE_VERSION=Development
SEQ_MODULE_VERSION=seq-R2-0-11-lcls1
#SSUBRECORD_MODULE_VERSION=Development
#MISCUTILS_MODULE_VERSION=Development
#GENERALTIME_MODULE_VERSION=Development
#RSTORE_MODULE_VERSION=Development
IOCADMIN_MODULE_VERSION=iocAdmin-R3-1-1
#GENSUB_MODULE_VERSION=Development
#PVLISTSERVER_MODULE_VERSION=Development
RTEMSUTILS_MODULE_VERSION=rtemsutils-R1-0-0-lcls1
FCOM_MODULE_VERSION=devl-3.14.8.2

# ============================================================
# External Support
# ============================================================
##IPAC=$(EPICS_MODULES)/ipac/$(IPAC_MODULE_VERSION)
##ASYN=$(EPICS_MODULES)/asyn/$(ASYN_MODULE_VERSION)
SNCSEQ=$(EPICS_MODULES)/seq/$(SEQ_MODULE_VERSION)
##SSUBRECORD=$(EPICS_MODULES)/sSubRecord/$(SSUBRECORD_MODULE_VERSION)
#MISCUTILS=$(EPICS_MODULES)/miscUtils/$(MISCUTILS_MODULE_VERSION)
#GENERALTIME=$(EPICS_MODULES)/generalTime/$(GENERALTIME_MODULE_VERSION)
#RESTORE=$(EPICS_MODULES)/restore/$(RESTORE_MODULE_VERSION)
IOCADMIN=$(EPICS_MODULES)/iocAdmin/$(IOCADMIN_MODULE_VERSION)
#GENSUB=$(EPICS_MODULES)/genSub/$(GENSUB_MODULE_VERSION)
#PVLISTSERVER=$(EPICS_MODULES)/pvListServer/$(PVLISTSERVER_MODULE_VERSION)
RTEMSUTILS=$(EPICS_MODULES)/rtemsutils/$(RTEMSUTILS_MODULE_VERSION)
FCOM=$(EPICS_MODULES)/fcom/$(FCOM_MODULE_VERSION)

# ========================================================================================
#If using macro substitutions, point MSI at the binary:
EXTENSIONS_MODULE_VERSION=extensions-R3-14-8-2
MSI=$(EPICS_SITE_TOP)/extensions/$(EXTENSIONS_MODULE_VERSION)/bin/$(EPICS_HOST_ARCH)/msi
# ========================================================================================

# =================================================================
# Define EPICS_BASE
# EPICS_BASE usually appears last so other apps can override stuff:
# =================================================================
# EPICS_BASE usually appears last so other apps can override stuff:
# EPICS_BASE=/usr/local/lcls/epics/base/base-R3-14-10


EPICS_BASE=$(EPICS_SITE_TOP)/base/$(BASE_MODULE_VERSION)
# =================================================================

