forked from pcdshub/ioc-common-gasCabinet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RELEASE_SITE
executable file
·17 lines (15 loc) · 900 Bytes
/
RELEASE_SITE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
BASE_MODULE_VERSION = R7.0.2-2.0
EPICS_SITE_TOP = /reg/g/pcds/epics
EPICS_MODULES = $(EPICS_SITE_TOP)/$(BASE_MODULE_VERSION)/modules
ifeq ($(origin EPICS_HOST_ARCH), undefined)
EPICS_HOST_ARCH := $(shell $(EPICS_SITE_TOP)/base/$(BASE_MODULE_VERSION)/startup/EpicsHostArch)
endif
PSPKG_ROOT = /reg/g/pcds/pkg_mgr
$(info Setting BASE_MODULE_VERSION to $(BASE_MODULE_VERSION) in $(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