Blame nss/coreconf/version.mk

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