1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/coreconf/version.mk Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,77 @@ 1.4 +# 1.5 +# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + 1.9 +####################################################################### 1.10 +# Build master "Core Components" release version directory name # 1.11 +####################################################################### 1.12 + 1.13 +# 1.14 +# Always set CURRENT_VERSION_SYMLINK to the <current> symbolic link. 1.15 +# 1.16 + 1.17 +CURRENT_VERSION_SYMLINK = current 1.18 + 1.19 + 1.20 +# 1.21 +# For the sake of backwards compatibility (*sigh*) ... 1.22 +# 1.23 + 1.24 +ifndef VERSION 1.25 + ifdef BUILD_NUM 1.26 + VERSION = $(BUILD_NUM) 1.27 + endif 1.28 +endif 1.29 + 1.30 +ifndef RELEASE_VERSION 1.31 + ifdef BUILD_NUM 1.32 + RELEASE_VERSION = $(BUILD_NUM) 1.33 + endif 1.34 +endif 1.35 + 1.36 +# 1.37 +# If VERSION has still NOT been set on the command line, 1.38 +# as an environment variable, by the individual Makefile, or 1.39 +# by the <component>-specific "version.mk" file, set VERSION equal 1.40 +# to $(CURRENT_VERSION_SYMLINK). 1.41 + 1.42 +ifndef VERSION 1.43 + VERSION = $(CURRENT_VERSION_SYMLINK) 1.44 +endif 1.45 + 1.46 +# If RELEASE_VERSION has still NOT been set on the command line, 1.47 +# as an environment variable, by the individual Makefile, or 1.48 +# by the <component>-specific "version.mk" file, automatically 1.49 +# generate the next available version number via a perl script. 1.50 +# 1.51 + 1.52 +ifndef RELEASE_VERSION 1.53 + RELEASE_VERSION = 1.54 +endif 1.55 + 1.56 +# 1.57 +# Set <component>-specific versions for compiliation and linkage. 1.58 +# 1.59 + 1.60 +ifndef JAVA_VERSION 1.61 + JAVA_VERSION = $(CURRENT_VERSION_SYMLINK) 1.62 +endif 1.63 + 1.64 +ifndef NETLIB_VERSION 1.65 + NETLIB_VERSION = $(CURRENT_VERSION_SYMLINK) 1.66 +endif 1.67 + 1.68 +ifndef NSPR_VERSION 1.69 + NSPR_VERSION = $(CURRENT_VERSION_SYMLINK) 1.70 +endif 1.71 + 1.72 +ifndef SECTOOLS_VERSION 1.73 + SECTOOLS_VERSION = $(CURRENT_VERSION_SYMLINK) 1.74 +endif 1.75 + 1.76 +ifndef SECURITY_VERSION 1.77 + SECURITY_VERSION = $(CURRENT_VERSION_SYMLINK) 1.78 +endif 1.79 + 1.80 +MK_VERSION = included