#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=/usr/local/lcls/epics
EPICS_SITE_TOP=/afs/slac/g/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

# ==============================================================
# 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
# =============================================================
MISCUTILS_MODULE_VERSION=miscUtils-R2-0-0
GENERALTIME_MODULE_VERSION=generalTime-R2-0-0
EVENT_MODULE_VERSION=event-R3-0-3
IOCADMIN_MODULE_VERSION=iocAdmin-R3-1-1
RESTORE_MODULE_VERSION=restore-R2-0-0
SNCSEQ_MODULE_VERSION=seq-R2-0-11-lcls1
CALC_MODULE_VERSION=calc-R2-6-1-lcls4
SSCAN_MODULE_VERSION=sscan-R2-6-3-lcls1

# ============================================================
# External Support
# ============================================================
MISCUTILS=$(EPICS_MODULES)/miscUtils/$(MISCUTILS_MODULE_VERSION)
GENERALTIME=$(EPICS_MODULES)/generalTime/$(GENERALTIME_MODULE_VERSION)
EVENT=$(EPICS_MODULES)/event/$(EVENT_MODULE_VERSION)
IOCADMIN=$(EPICS_MODULES)/iocAdmin/$(IOCADMIN_MODULE_VERSION)
RESTORE=$(EPICS_MODULES)/restore/$(RESTORE_MODULE_VERSION)
SNCSEQ=$(EPICS_MODULES)/seq/$(SNCSEQ_MODULE_VERSION)
CALC=$(EPICS_MODULES)/calc/$(CALC_MODULE_VERSION)
SSCAN=$(EPICS_MODULES)/sscan/$(SSCAN_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)
