#RELEASE Location of external products
# Run "gnumake clean uninstall install" in the application
# top directory each time this file is changed.

# =============================================================
# Define the top of the EPICS tree for your site.
# We will build some tools/scripts that allow us to
# change this easily when relocating software.
# ==============================================================
EPICS_SITE_TOP=/afs/slac/g/lcls/epics
#EPICS_SITE_TOP=/usr/local/lcls/epics


# ==================================================================================
#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 location of module tree with respect to
# EPICS_SITE_TOP
# =============================================================
EPICS_MODULES=$(EPICS_SITE_TOP)/modules
#EPICS_MODULES=$(EPICS_SITE_TOP)/fastFBCK/modules

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

# =============================================================
# Define the version of modules needed by
# IOC apps or other Support apps - this section for development
# =============================================================
RESTORE_MODULE_VERSION=restore-R2-1-0
IOCADMIN_MODULE_VERSION=iocAdmin-R3-2-1
#SNCSEQ_MODULE_VERSION=seq-R2-0-0
MISCUTILS_MODULE_VERSION=miscUtils-R2-1-0
UDPCOMM_MODULE_VERSION=udpComm-R1-0-0
FCOMUTILS_MODULE_VERSION=fcomUtil-R0-3-1
FCOM_MODULE_VERSION=fcom-R0-1-1
GENERALTIME_MODULE_VERSION=generalTime-R2-1-0
# PROD: EVENT_MODULE_VERSION=event-R2-6-4
EVENT_MODULE_VERSION=event-R3-1-5
# Next line is needed by EVENT
SSUBRECORD_MODULE_VERSION=sSubRecord-R2-1-0

# ============================================================
# Support module locations
# ============================================================

IOCADMIN=$(EPICS_MODULES)/iocAdmin/$(IOCADMIN_MODULE_VERSION)
RESTORE=$(EPICS_MODULES)/restore/$(RESTORE_MODULE_VERSION)
#SNCSEQ=$(EPICS_MODULES)/seq/$(SNCSEQ_MODULE_VERSION)
MISCUTILS=$(EPICS_MODULES)/miscUtils/$(MISCUTILS_MODULE_VERSION)
UDPCOMM=$(EPICS_MODULES)/udpComm/$(UDPCOMM_MODULE_VERSION)
FCOM=$(EPICS_MODULES)/fcom/$(FCOM_MODULE_VERSION)
FCOMUTILS=$(EPICS_MODULES)/fcomUtil/$(FCOMUTILS_MODULE_VERSION)
GENERALTIME=$(EPICS_MODULES)/generalTime/$(GENERALTIME_MODULE_VERSION)
EVENT=$(EPICS_MODULES)/event/$(EVENT_MODULE_VERSION)
# Next line is needed by EVENT
SSUBRECORD=$(EPICS_MODULES)/sSubRecord/$(SSUBRECORD_MODULE_VERSION)

# =================================================================
# Define EPICS_BASE
# EPICS_BASE usually appears last so other apps can override stuff:
# =================================================================
EPICS_BASE=$(EPICS_SITE_TOP)/base/$(BASE_MODULE_VERSION)

