# RELEASE - Location of external support modules
#
# IF YOU MAKE ANY CHANGES to this file you must subsequently
# do a "gnumake rebuild" in this application's top level
# directory.
#
# The build process does not check dependencies against files
# that are outside this application, thus you should do a
# "gnumake rebuild" in the top level directory after EPICS_BASE
# or any other external module pointed to below is rebuilt.
#
# Host- or target-specific settings can be given in files named
#  RELEASE.$(EPICS_HOST_ARCH).Common
#  RELEASE.Common.$(T_A)
#  RELEASE.$(EPICS_HOST_ARCH).$(T_A)
#
# This file should ONLY define paths to other support modules,
# or include statements that pull in similar RELEASE files.
# Build settings that are NOT module paths should appear in a
# CONFIG_SITE file.
#
# If you don't want to install into $(TOP) then
# define INSTALL_LOCATION_APP here
#INSTALL_LOCATION_APP=<fullpathname>

# EPICS Templates
TEMPLATE_TOP=$(EPICS_BASE)/templates/makeBaseApp/top

# =============================================================
# All needed variables come in via the following include:
# =============================================================
include $(TOP)/RELEASE_SITE

# =============================================================
# Define location of the modules tree
# =============================================================
EPICS_MODULES=$(MODULES_SITE_TOP)


# ==============================================================
# Define the cvs module version of EPICS BASE that you will use
# =============================================================
BASE_MODULE_VERSION=$(EPICS_BASE_VER)

# =============================================================
# Define the version of modules needed by
# IOC apps or other Support apps
# =============================================================
SEQ_MODULE_VERSION=seq-R2-1-6_1-0
AUTOSAVE_MODULE_VERSION=autosave-R5-0_1-0
IOCADMIN_MODULE_VERSION=iocAdmin-R3-1-9_1-0
RTEMSUTILS_MODULE_VERSION=rtemsutils-R1-0-0-lcls5

MISCUTILS_MODULE_VERSION=miscUtils-R2-2-2
EVENT_MODULE_VERSION=event-R4-0-0

ASYN_MODULE_VERSION=asyn-R4-21_1-0
IPAC_MODULE_VERSION=ipac-R2-11_1-0


# Acromag I/O Modules
IP330_ASYN_MODULE_VERSION=ip330-asyn-R2-7_1-0
IP231_ASYN_MODULE_VERSION=ip231-asyn-R1-0-3
IP440_ASYN_MODULE_VERSION=ip440-asyn-R1-2-3
IP445_ASYN_MODULE_VERSION=ip445-asyn-R1-2-3

# Modules needed for SRS830 Lock-In Amplifier
SSCAN_MODULE_VERSION=sscan-R2-8-1_1-0
CALC_MODULE_VERSION=calc-R3-1_1-0
STD_MODULE_VERSION=std-R3-1_1-2

# ============================================================
#  Module Location
# ============================================================

SNCSEQ=$(EPICS_MODULES)/seq/$(SEQ_MODULE_VERSION)
AUTOSAVE=$(EPICS_MODULES)/autosave/$(AUTOSAVE_MODULE_VERSION)
IOCADMIN=$(EPICS_MODULES)/iocAdmin/$(IOCADMIN_MODULE_VERSION)
RTEMSUTILS=$(EPICS_MODULES)/rtemsutils/$(RTEMSUTILS_MODULE_VERSION)

MISCUTILS=$(EPICS_MODULES)/miscUtils/$(MISCUTILS_MODULE_VERSION)
EVENT=$(EPICS_MODULES)/event/$(EVENT_MODULE_VERSION)
ASYN=$(EPICS_MODULES)/asyn/$(ASYN_MODULE_VERSION)
IPAC=$(EPICS_MODULES)/ipac/$(IPAC_MODULE_VERSION)

IP330_ASYN=$(EPICS_MODULES)/ip330-asyn/$(IP330_ASYN_MODULE_VERSION)
IP231_ASYN=$(EPICS_MODULES)/ip231-asyn/$(IP231_ASYN_MODULE_VERSION)
IP440_ASYN=$(EPICS_MODULES)/ip440-asyn/$(IP440_ASYN_MODULE_VERSION)
IP445_ASYN=$(EPICS_MODULES)/ip445-asyn/$(IP445_ASYN_MODULE_VERSION)

SSCAN=$(EPICS_MODULES)/sscan/$(SSCAN_MODULE_VERSION)
CALC=$(EPICS_MODULES)/calc/$(CALC_MODULE_VERSION)
STD=$(EPICS_MODULES)/std/$(STD_MODULE_VERSION)


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

# Set RULES here if you want to take build rules from somewhere
# other than EPICS_BASE:
#RULES=/path/to/epics/support/module/rules/x-y

