#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
# =============================================================
SEQ_MODULE_VERSION=seq-R2-0-11-lcls1
RESTORE_MODULE_VERSION=restore-R2-0-0
IOCADMIN_MODULE_VERSION=/iocAdmin-R3-0-0
GENERALTIME_MODULE_VERSION=generalTime-R2-0-0
SUBSYS_MODULE_VERSION=sub-R2-0-0
VSAM_MODULE_VERSION=vsam-R2-0-0
VME_CARD_RECORD_MODULE_VERSION=vmeCardRecord-R2-0-0
MODBUSTCPCLNT_VERSION=ModBusTCPClnt-R2-0-0
BX9000_MBT_VERSION=Bx9000_MBT-R2-0-0

SNCSEQ=$(EPICS_MODULES)/seq/$(SEQ_MODULE_VERSION)
RESTORE=$(EPICS_MODULES)/restore/$(RESTORE_MODULE_VERSION)
IOCADMIN=$(EPICS_MODULES)/iocAdmin/$(IOCADMIN_MODULE_VERSION)
GENERALTIME=$(EPICS_MODULES)/generalTime/$(GENERALTIME_MODULE_VERSION)
SUBSYS=$(EPICS_MODULES)/sub/$(SUBSYS_MODULE_VERSION)
VSAM=$(EPICS_MODULES)/vsam/$(VSAM_MODULE_VERSION)
VME_CARD_RECORD=$(EPICS_MODULES)/vmeCardRecord/$(VME_CARD_RECORD_MODULE_VERSION)
MODBUSTCPCLNT=$(EPICS_MODULES)/ModBusTCPClnt/$(MODBUSTCPCLNT_VERSION)
BX9000_MBT=$(EPICS_MODULES)/Bx9000_MBT/$(BX9000_MBT_VERSION)

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

