#************************************************************************* # Copyright (c) 2012 UChicago Argonne LLC, as Operator of Argonne # National Laboratory. # Copyright (c) 2002 The Regents of the University of California, as # Operator of Los Alamos National Laboratory. # EPICS BASE is distributed subject to a Software License Agreement found # in the file LICENSE that is included with this distribution. #************************************************************************* # # EPICS Version information # # Only the person making an official EPICS release should make changes in # this file. # # EPICS_SITE_VERSION is defined in CONFIG_SITE for sites that want a local # version number to be included in the reported version string. # We define convenience macros for our release series to be NO or YES, so # Makefiles can detect 'Series X or later', or 'Series X only' like this: # # ifdef BASE_3_14 # true for 3.14 or later # ifdef BASE_3_15 # true for 3.15 or later # ifdef BASE_3_16 # true for 3.16 or later # ifdef BASE_7_0 # true for 7.0 or later # # ifeq ($(BASE_3_14),YES) # true for 3.14.x only # ifeq ($(BASE_3_15),YES) # true for 3.15.x only # ifeq ($(BASE_3_16),YES) # true for 3.16.x only. # ifeq ($(BASE_7_0),YES) # true for 7.0.x only. BASE_3_14 = NO BASE_3_15 = NO BASE_3_16 = NO BASE_7_0 = YES # EPICS_VERSION must be a number >0 and <256 EPICS_VERSION = 7 # EPICS_REVISION must be a number >=0 and <256 EPICS_REVISION = 0 # EPICS_MODIFICATION must be a number >=0 and <256 EPICS_MODIFICATION = 9 # EPICS_PATCH_LEVEL must be a number (win32 resource file requirement) # Not included in the official EPICS version number if zero EPICS_PATCH_LEVEL = 1 # Immediately after an official release the EPICS_PATCH_LEVEL is incremented # and the -DEV suffix is added (similar to the Maven -SNAPSHOT versions) EPICS_DEV_SNAPSHOT=-DEV # No changes should be needed below here ifneq ($(EPICS_PATCH_LEVEL),0) EPICS_PATCH_VSTRING=.$(EPICS_PATCH_LEVEL) endif ifneq ($(strip $(EPICS_SITE_VERSION)),) EPICS_SITE_VSTRING=-$(EPICS_SITE_VERSION) endif EPICS_SHORT_VERSION=$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)$(EPICS_PATCH_VSTRING) EPICS_VERSION_NUMBER=$(EPICS_SHORT_VERSION)$(EPICS_DEV_SNAPSHOT)$(EPICS_SITE_VSTRING) EPICS_VERSION_STRING="EPICS Version $(EPICS_VERSION_NUMBER)"