michael@0: # michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: ####################################################################### michael@0: # Build master "Core Components" release version directory name # michael@0: ####################################################################### michael@0: michael@0: # michael@0: # Always set CURRENT_VERSION_SYMLINK to the symbolic link. michael@0: # michael@0: michael@0: CURRENT_VERSION_SYMLINK = current michael@0: michael@0: michael@0: # michael@0: # For the sake of backwards compatibility (*sigh*) ... michael@0: # michael@0: michael@0: ifndef VERSION michael@0: ifdef BUILD_NUM michael@0: VERSION = $(BUILD_NUM) michael@0: endif michael@0: endif michael@0: michael@0: ifndef RELEASE_VERSION michael@0: ifdef BUILD_NUM michael@0: RELEASE_VERSION = $(BUILD_NUM) michael@0: endif michael@0: endif michael@0: michael@0: # michael@0: # If VERSION has still NOT been set on the command line, michael@0: # as an environment variable, by the individual Makefile, or michael@0: # by the -specific "version.mk" file, set VERSION equal michael@0: # to $(CURRENT_VERSION_SYMLINK). michael@0: michael@0: ifndef VERSION michael@0: VERSION = $(CURRENT_VERSION_SYMLINK) michael@0: endif michael@0: michael@0: # If RELEASE_VERSION has still NOT been set on the command line, michael@0: # as an environment variable, by the individual Makefile, or michael@0: # by the -specific "version.mk" file, automatically michael@0: # generate the next available version number via a perl script. michael@0: # michael@0: michael@0: ifndef RELEASE_VERSION michael@0: RELEASE_VERSION = michael@0: endif michael@0: michael@0: # michael@0: # Set -specific versions for compiliation and linkage. michael@0: # michael@0: michael@0: ifndef JAVA_VERSION michael@0: JAVA_VERSION = $(CURRENT_VERSION_SYMLINK) michael@0: endif michael@0: michael@0: ifndef NETLIB_VERSION michael@0: NETLIB_VERSION = $(CURRENT_VERSION_SYMLINK) michael@0: endif michael@0: michael@0: ifndef NSPR_VERSION michael@0: NSPR_VERSION = $(CURRENT_VERSION_SYMLINK) michael@0: endif michael@0: michael@0: ifndef SECTOOLS_VERSION michael@0: SECTOOLS_VERSION = $(CURRENT_VERSION_SYMLINK) michael@0: endif michael@0: michael@0: ifndef SECURITY_VERSION michael@0: SECURITY_VERSION = $(CURRENT_VERSION_SYMLINK) michael@0: endif michael@0: michael@0: MK_VERSION = included