jdk/make/common/shared/Defs-versions.gmk
changeset 20545 77ea1abb4480
parent 19870 19ebc43b932b
equal deleted inserted replaced
20337:b9a0f6c693f3 20545:77ea1abb4480
    84 #   Windows only: The version of link.exe expected.
    84 #   Windows only: The version of link.exe expected.
    85 #
    85 #
    86 # REQUIRED_MAKE_VER
    86 # REQUIRED_MAKE_VER
    87 #   The minimum version of GNU make.
    87 #   The minimum version of GNU make.
    88 #
    88 #
    89 # REQUIRED_MKS_VER
       
    90 #   Windows only: If MKS used instead of CYGWIN, the minimum version of MKS.
       
    91 #
       
    92 # REQUIRED_OS_VARIANT_NAME
    89 # REQUIRED_OS_VARIANT_NAME
    93 #   The OS variation name required.
    90 #   The OS variation name required.
    94 #     Solaris: Solaris or OpenSolaris
    91 #     Solaris: Solaris or OpenSolaris
    95 #     Windows: Windows2000, WindowsXP, Windows2003, etc.
    92 #     Windows: Windows2000, WindowsXP, Windows2003, Windows2008R2, etc.
    96 #     Linux: Fedora, RedHat, SuSE, Ubuntu, etc.
    93 #     Linux: Fedora, RedHat, SuSE, Ubuntu, etc.
    97 #
    94 #
    98 # REQUIRED_OS_VARIANT_VERSION
    95 # REQUIRED_OS_VARIANT_VERSION
    99 #   The version number associated with the above OS variant name.
    96 #   The version number associated with the above OS variant name.
   100 #     Solaris: output of uname -r
    97 #     Solaris: output of uname -r
   101 #     Windows: 5.0 for Windows2000, 5.1 for WindowsXP, 5.2 for Windows2003, etc.
    98 #     Windows: 5.0 for Windows2000, 5.1 for WindowsXP,
       
    99 #              5.2 for Windows2003, 6.1 for Windows2008R2, etc.
   102 #     Linux: number for the variant, e.g. 9 for Fedora 9
   100 #     Linux: number for the variant, e.g. 9 for Fedora 9
   103 #
   101 #
   104 # REQUIRED_OS_VERSION
   102 # REQUIRED_OS_VERSION
   105 #   The formal OS version number.
   103 #   The formal OS version number.
   106 #     Solaris & Windows: same as REQUIRED_OS_VARIANT_VERSION
   104 #     Solaris & Windows: same as REQUIRED_OS_VARIANT_VERSION
   178 endif
   176 endif
   179 
   177 
   180 # Windows specific
   178 # Windows specific
   181 ifeq ($(PLATFORM), windows)
   179 ifeq ($(PLATFORM), windows)
   182   REQUIRED_OS_NAME            = Windows
   180   REQUIRED_OS_NAME            = Windows
   183   ifeq ($(ARCH_DATA_MODEL),64)
   181   REQUIRED_OS_VERSION         = 6.1
   184     REQUIRED_OS_VERSION       = 5.2
   182   REQUIRED_OS_VARIANT_NAME    = Windows2008R2
   185     REQUIRED_OS_VARIANT_NAME  = Windows2003
       
   186   else
       
   187     REQUIRED_OS_VERSION       = 5.1
       
   188     REQUIRED_OS_VARIANT_NAME  = WindowsXP
       
   189   endif
       
   190   REQUIRED_OS_VARIANT_VERSION = $(REQUIRED_OS_VERSION)
   183   REQUIRED_OS_VARIANT_VERSION = $(REQUIRED_OS_VERSION)
   191   REQUIRED_CYGWIN_VER         = 4.0
   184   REQUIRED_CYGWIN_VER         = 4.0
   192   REQUIRED_MKS_VER            = 6.1
       
   193   ifeq ($(CC_VERSION),msvc)
   185   ifeq ($(CC_VERSION),msvc)
   194     REQUIRED_COMPILER_NAME    = Visual Studio 10
   186     REQUIRED_COMPILER_NAME    = Visual Studio 10
   195     REQUIRED_COMPILER_VERSION = VS2010
   187     REQUIRED_COMPILER_VERSION = VS2010
   196     REQUIRED_CC_VER           = 16.00.30319.01
   188     REQUIRED_CC_VER           = 16.00.40219.01
   197     REQUIRED_LINK_VER         = 10.00.30319.01
   189     REQUIRED_LINK_VER         = 10.00.40219.01
   198   endif
   190   endif
   199   ifeq ($(CC_VERSION),gcc)
   191   ifeq ($(CC_VERSION),gcc)
   200     REQUIRED_CC_VER           = 3.4.3
   192     REQUIRED_CC_VER           = 3.4.3
   201   endif
   193   endif
   202 endif
   194 endif