BASE_MODULE_VERSION = R3.14.12-0.5.0
CONFIG_SITE_TOP     = /reg/g/pcds/pyps/config
EPICS_SITE_TOP      = /reg/g/pcds/epics
EPICS_MODULES       = $(EPICS_SITE_TOP)/$(BASE_MODULE_VERSION)/modules
EPICS_HOST_ARCH     = $(shell $(EPICS_SITE_TOP)/base/$(BASE_MODULE_VERSION)/startup/EpicsHostArch)
PACKAGE_SITE_TOP    = /reg/g/pcds/package
PSPKG_ROOT          = /reg/g/pcds/pkg_mgr

$(info Setting BASE_MODULE_VERSION=$(BASE_MODULE_VERSION) from $(lastword $(MAKEFILE_LIST)))

# EPICS_BASE should get defined last in your TOP/configure/RELEASE.local so it appears
# last in the search path order for DB, DBD, INCLUDE, and LIB files.
# Don't even create a copy w/ a different name, as convertRelease.pl will still see it.
# However, we can at least make sure the path we'll use for it is valid
ifeq ($(wildcard $(EPICS_SITE_TOP)/base/$(BASE_MODULE_VERSION)),)
$(warning EPICS_BASE is invalid: $(EPICS_SITE_TOP)/base/$(BASE_MODULE_VERSION))
endif
