Merge
authormikejwre
Wed, 19 May 2010 20:16:33 -0700
changeset 5476 98087eafc189
parent 5473 ca1ff8bea6bf (current diff)
parent 5475 b1731bdff8c4 (diff)
child 5477 2a056a5bb7dd
Merge
--- a/jdk/make/common/shared/Defs-windows.gmk	Wed May 19 12:27:47 2010 -0700
+++ b/jdk/make/common/shared/Defs-windows.gmk	Wed May 19 20:16:33 2010 -0700
@@ -287,11 +287,15 @@
     # Assume VS100, then VS90, then VS80, then VS71
     _redist_sdk   :=$(call FullPath,$(_msvc_dir)/redist/x86/Microsoft.VC100.CRT)
     ifeq ($(_redist_sdk),)
-      _redist_sdk   :=$(call FullPath,$(_msvc_dir)/redist/x86/Microsoft.VC90.CRT)
-      ifeq ($(_redist_sdk),)
-        _redist_sdk   :=$(call FullPath,$(_msvc_dir)/redist/x86/Microsoft.VC80.CRT)
+      ifneq ($(VS100COMNTOOLS),)
+        _redist_sdk  :=c:/windows/system32
+      else
+        _redist_sdk   :=$(call FullPath,$(_msvc_dir)/redist/x86/Microsoft.VC90.CRT)
         ifeq ($(_redist_sdk),)
-          _redist_sdk   :=$(call FullPath,$(_msvc_dir)/../SDK/v1.1/Bin)
+          _redist_sdk   :=$(call FullPath,$(_msvc_dir)/redist/x86/Microsoft.VC80.CRT)
+          ifeq ($(_redist_sdk),)
+            _redist_sdk   :=$(call FullPath,$(_msvc_dir)/../SDK/v1.1/Bin)
+          endif
         endif
       endif
     endif
--- a/jdk/make/sun/jkernel/Makefile	Wed May 19 12:27:47 2010 -0700
+++ b/jdk/make/sun/jkernel/Makefile	Wed May 19 20:16:33 2010 -0700
@@ -52,6 +52,11 @@
 
 ifeq ($(PLATFORM), windows)
 
+# If this is the VS Express compiler it will lack vc/atlmfc/
+ATL_MFC_DIR :=$(call DirExists,$(COMPILER_PATH)/../atlmfc,,)
+
+ifneq ($(ATL_MFC_DIR),)
+
 include FILES_c_windows.gmk
 
 vpath %.cpp   $(PLATFORM_SRC)/native/sun/jkernel
@@ -67,6 +72,8 @@
 
 endif
 
+endif
+
 #
 # Resources
 #