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


# =============================================================
# Read the definition of EPICS_SITE_TOP by reading this file.
# We will build some tools/scripts that allow us to
# change this easily when relocating software.
# ==============================================================
include $(TOP)/RELEASE_SITE

# ==================================================================================
#If using macro substitutions, point MSI at the binary:
EXTENSIONS_MODULE_VERSION=extensions-R3-14-10
#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
# This name is confusing. The word MODULE should not be used.
# This is the version of BASE and has nothing to do with the
# MODULEs.
# =============================================================
BASE_MODULE_VERSION=base-R3-14-10
#BASE_MODULE_VERSION=base-R3-14-8-2-lcls2

# =============================================================
# Define the version of modules needed by
# IOC apps or other Support apps
# =============================================================
SEQ_MODULE_VERSION=devl-epics-3-14-10
IOCADMIN_MODULE_VERSION=devl-epics-3-14-10
MISCUTILS_MODULE_VERSION=devl-epics-3-14-10
AUTOSAVE_MODULE_VERSION=devl-epics-3-14-10
CAPUTLOG_MODULE_VERSION=devl-epics-3-14-10
RTEMSUTILS_MODULE_VERSION=devl-epics-3-14-10

SNCSEQ=$(EPICS_MODULES)/seq/$(SEQ_MODULE_VERSION)
IOCADMIN=$(EPICS_MODULES)/iocAdmin/$(IOCADMIN_MODULE_VERSION)
MISCUTILS=$(EPICS_MODULES)/miscUtils/$(MISCUTILS_MODULE_VERSION)
AUTOSAVE=$(EPICS_MODULES)/autosave/$(AUTOSAVE_MODULE_VERSION)
CAPUTLOG=$(EPICS_MODULES)/caPutLog/$(CAPUTLOG_MODULE_VERSION)
RTEMSUTILS=$(EPICS_MODULES)/rtemsutils/$(RTEMSUTILS_MODULE_VERSION)

# =================================================================
# Define EPICS_BASE
# EPICS_BASE usually appears last so other apps can override stuff:
# This is also confusing. SITE really means INSTALL DIR or EPICS_TOP,
# but it's called SITE and now EPICS_BASE is defined and this should
# just be EPICS to match all the other macros above.
# =================================================================
EPICS_BASE=$(EPICS_SITE_TOP)/base/$(BASE_MODULE_VERSION)

