#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=$(MODULES_SITE_TOP)

# ==============================================================
# 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=$(EPICS_BASE_VER)
#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=seq-R2-1-3-lcls2
IOCADMIN_MODULE_VERSION=iocAdmin-R3-3-1
#IOCADMIN_MODULE_VERSION=iocAdmin-R3-1-9_1-0
MISCUTILS_MODULE_VERSION=miscUtils-R2-2-2
AUTOSAVE_MODULE_VERSION=autosave-R4-8-lcls2
CAPUTLOG_MODULE_VERSION=caPutLog-R3-3-0
RTEMSUTILS_MODULE_VERSION=rtemsutils-R1-0-0-lcls5

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)

