jdk/make/jdk_generic_profile.sh
changeset 7665 bc5dbdc44e1e
parent 6305 b05cc5bdc0db
child 7666 7b994e3dd41d
equal deleted inserted replaced
7483:280294134c62 7665:bc5dbdc44e1e
     1 #!/bin/sh
     1 #!/bin/sh
     2 
     2 
     3 #
     3 #
     4 # Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved.
     4 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
     5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     6 #
     6 #
     7 # This code is free software; you can redistribute it and/or modify it
     7 # This code is free software; you can redistribute it and/or modify it
     8 # under the terms of the GNU General Public License version 2 only, as
     8 # under the terms of the GNU General Public License version 2 only, as
     9 # published by the Free Software Foundation.  Oracle designates this
     9 # published by the Free Software Foundation.  Oracle designates this
    80 #    ALT_BOOTDIR
    80 #    ALT_BOOTDIR
    81 #    ALT_BINARY_PLUGS_PATH
    81 #    ALT_BINARY_PLUGS_PATH
    82 #    ALT_CLOSED_JDK_IMPORT_PATH
    82 #    ALT_CLOSED_JDK_IMPORT_PATH
    83 #    Windows Only:
    83 #    Windows Only:
    84 #      ALT_UNIXCOMMAND_PATH
    84 #      ALT_UNIXCOMMAND_PATH
    85 #      ALT_MSDEVTOOLS_PATH
       
    86 #      ALT_DXSDK_PATH
    85 #      ALT_DXSDK_PATH
    87 #      ALT_MSVCRT_DLL_PATH
    86 #      ALT_MSVCRT_DLL_PATH
    88 #      ALT_MSVCR71_DLL_PATH
    87 #      ALT_MSVCR71_DLL_PATH
    89 #
    88 #
    90 #############################################################################
    89 #############################################################################
   219   if [ "${windows_arch}" = i586 ] ; then
   218   if [ "${windows_arch}" = i586 ] ; then
   220     # 32bit Windows compiler settings
   219     # 32bit Windows compiler settings
   221     # VisualStudio .NET 2003 VC++ 7.1 (VS71COMNTOOLS should be defined)
   220     # VisualStudio .NET 2003 VC++ 7.1 (VS71COMNTOOLS should be defined)
   222     vs_root=$(${cygpath} "${VS71COMNTOOLS}/../..")
   221     vs_root=$(${cygpath} "${VS71COMNTOOLS}/../..")
   223     # Fill in PATH, LIB, and INCLUDE (unset all others to make sure)
   222     # Fill in PATH, LIB, and INCLUDE (unset all others to make sure)
   224     msdev_root="${vs_root}/Common7/Tools"
       
   225     msdevtools_path="${msdev_root}/bin"
       
   226     vc7_root="${vs_root}/Vc7"
   223     vc7_root="${vs_root}/Vc7"
   227     compiler_path="${vc7_root}/bin"
   224     compiler_path="${vc7_root}/bin"
   228     platform_sdk="${vc7_root}/PlatformSDK"
   225     platform_sdk="${vc7_root}/PlatformSDK"
   229         
   226         
   230     # LIB and INCLUDE must use ; as a separator
   227     # LIB and INCLUDE must use ; as a separator
   258         platform_sdk=${ALT_COMPILER_PATH}/../../../..
   255         platform_sdk=${ALT_COMPILER_PATH}/../../../..
   259       fi
   256       fi
   260     else
   257     else
   261       compiler_path="${platform_sdk}/Bin/win64/x86/AMD64"
   258       compiler_path="${platform_sdk}/Bin/win64/x86/AMD64"
   262     fi
   259     fi
   263     if [ "${ALT_MSDEVTOOLS_PATH}" != "" ] ; then
       
   264       msdevtools_path=${ALT_MSDEVTOOLS_PATH}
       
   265     else
       
   266       msdevtools_path="${platform_sdk}/Bin/win64/x86/AMD64"
       
   267     fi
       
   268     msdevtools_path="${compiler_path}"
       
   269     # LIB and INCLUDE must use ; as a separator
   260     # LIB and INCLUDE must use ; as a separator
   270     include4sdk="${platform_sdk}/Include"
   261     include4sdk="${platform_sdk}/Include"
   271     include4sdk="${include4sdk};${platform_sdk}/Include/crt/sys"
   262     include4sdk="${include4sdk};${platform_sdk}/Include/crt/sys"
   272     include4sdk="${include4sdk};${platform_sdk}/Include/mfc"
   263     include4sdk="${include4sdk};${platform_sdk}/Include/mfc"
   273     include4sdk="${include4sdk};${platform_sdk}/Include/atl"
   264     include4sdk="${include4sdk};${platform_sdk}/Include/atl"