/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. # Build master "Core Components" release version directory name #
  39. #######################################################################
  40. #
  41. # Always set CURRENT_VERSION_SYMLINK to the <current> symbolic link.
  42. #
  43. CURRENT_VERSION_SYMLINK = current
  44. #
  45. # For the sake of backwards compatibility (*sigh*) ...
  46. #
  47. ifndef VERSION
  48. ifdef BUILD_NUM
  49. VERSION = $(BUILD_NUM)
  50. endif
  51. endif
  52. ifndef RELEASE_VERSION
  53. ifdef BUILD_NUM
  54. RELEASE_VERSION = $(BUILD_NUM)
  55. endif
  56. endif
  57. #
  58. # If VERSION has still NOT been set on the command line,
  59. # as an environment variable, by the individual Makefile, or
  60. # by the <component>-specific "version.mk" file, set VERSION equal
  61. # to $(CURRENT_VERSION_SYMLINK).
  62. ifndef VERSION
  63. VERSION = $(CURRENT_VERSION_SYMLINK)
  64. endif
  65. # If RELEASE_VERSION has still NOT been set on the command line,
  66. # as an environment variable, by the individual Makefile, or
  67. # by the <component>-specific "version.mk" file, automatically
  68. # generate the next available version number via a perl script.
  69. #
  70. ifndef RELEASE_VERSION
  71. RELEASE_VERSION =
  72. endif
  73. #
  74. # Set <component>-specific versions for compiliation and linkage.
  75. #
  76. ifndef JAVA_VERSION
  77. JAVA_VERSION = $(CURRENT_VERSION_SYMLINK)
  78. endif
  79. ifndef NETLIB_VERSION
  80. NETLIB_VERSION = $(CURRENT_VERSION_SYMLINK)
  81. endif
  82. ifndef NSPR_VERSION
  83. NSPR_VERSION = $(CURRENT_VERSION_SYMLINK)
  84. endif
  85. ifndef SECTOOLS_VERSION
  86. SECTOOLS_VERSION = $(CURRENT_VERSION_SYMLINK)
  87. endif
  88. ifndef SECURITY_VERSION
  89. SECURITY_VERSION = $(CURRENT_VERSION_SYMLINK)
  90. endif
  91. MK_VERSION = included