PageRenderTime 28ms CodeModel.GetById 14ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 0ms

/security/coreconf/version.mk

http://github.com/zpao/v8monkey
Makefile | 109 lines | 33 code | 18 blank | 58 comment | 0 complexity | 31c8b22720ff6cdab66d9ccb996b4901 MD5 | raw file
  1#
  2# ***** BEGIN LICENSE BLOCK *****
  3# Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4#
  5# The contents of this file are subject to the Mozilla Public License Version
  6# 1.1 (the "License"); you may not use this file except in compliance with
  7# the License. You may obtain a copy of the License at
  8# http://www.mozilla.org/MPL/
  9#
 10# Software distributed under the License is distributed on an "AS IS" basis,
 11# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 12# for the specific language governing rights and limitations under the
 13# License.
 14#
 15# The Original Code is the Netscape security libraries.
 16#
 17# The Initial Developer of the Original Code is
 18# Netscape Communications Corporation.
 19# Portions created by the Initial Developer are Copyright (C) 1994-2000
 20# the Initial Developer. All Rights Reserved.
 21#
 22# Contributor(s):
 23#
 24# Alternatively, the contents of this file may be used under the terms of
 25# either the GNU General Public License Version 2 or later (the "GPL"), or
 26# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 27# in which case the provisions of the GPL or the LGPL are applicable instead
 28# of those above. If you wish to allow use of your version of this file only
 29# under the terms of either the GPL or the LGPL, and not to allow others to
 30# use your version of this file under the terms of the MPL, indicate your
 31# decision by deleting the provisions above and replace them with the notice
 32# and other provisions required by the GPL or the LGPL. If you do not delete
 33# the provisions above, a recipient may use your version of this file under
 34# the terms of any one of the MPL, the GPL or the LGPL.
 35#
 36# ***** END LICENSE BLOCK *****
 37
 38#######################################################################
 39# Build master "Core Components" release version directory name       #
 40#######################################################################
 41
 42#
 43# Always set CURRENT_VERSION_SYMLINK to the <current> symbolic link.
 44#
 45
 46CURRENT_VERSION_SYMLINK = current
 47
 48
 49#
 50#  For the sake of backwards compatibility (*sigh*) ...
 51#
 52
 53ifndef VERSION
 54    ifdef BUILD_NUM
 55	VERSION = $(BUILD_NUM)
 56    endif
 57endif
 58
 59ifndef RELEASE_VERSION
 60    ifdef BUILD_NUM
 61	RELEASE_VERSION = $(BUILD_NUM)
 62    endif
 63endif
 64
 65#
 66# If VERSION has still NOT been set on the command line,
 67# as an environment variable, by the individual Makefile, or
 68# by the <component>-specific "version.mk" file, set VERSION equal
 69# to $(CURRENT_VERSION_SYMLINK).
 70
 71ifndef VERSION
 72    VERSION = $(CURRENT_VERSION_SYMLINK)
 73endif
 74
 75# If RELEASE_VERSION has still NOT been set on the command line,
 76# as an environment variable, by the individual Makefile, or
 77# by the <component>-specific "version.mk" file, automatically
 78# generate the next available version number via a perl script.
 79# 
 80
 81ifndef RELEASE_VERSION
 82    RELEASE_VERSION = 
 83endif
 84
 85#
 86# Set <component>-specific versions for compiliation and linkage.
 87#
 88
 89ifndef JAVA_VERSION
 90    JAVA_VERSION = $(CURRENT_VERSION_SYMLINK)
 91endif
 92
 93ifndef NETLIB_VERSION
 94    NETLIB_VERSION = $(CURRENT_VERSION_SYMLINK)
 95endif
 96
 97ifndef NSPR_VERSION
 98    NSPR_VERSION = $(CURRENT_VERSION_SYMLINK)
 99endif
100
101ifndef SECTOOLS_VERSION
102    SECTOOLS_VERSION = $(CURRENT_VERSION_SYMLINK)
103endif
104
105ifndef SECURITY_VERSION
106    SECURITY_VERSION = $(CURRENT_VERSION_SYMLINK)
107endif
108
109MK_VERSION = included