Ignore:
Timestamp:
Feb 13, 2012, 10:07:12 PM (14 years ago)
Author:
dmik
Message:

trunk: Merged in openjdk6 b24 from branches/vendor/oracle.

Location:
trunk/openjdk
Files:
1 deleted
11 edited
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/openjdk

  • trunk/openjdk/hotspot/make/windows/makefiles/adlc.make

    r278 r309  
    11#
    2 # Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
     
    2323#
    2424
    25 !include $(WorkSpace)/make/windows/makefiles/compile.make
    2625
    2726# Rules for building adlc.exe
     
    4746!endif
    4847
    49 CPP_FLAGS=$(CPP_FLAGS) /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE 
     48ADLC_CPP_FLAGS=$(CPP_FLAGS) /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE
    5049
    5150CPP_INCLUDE_DIRS=\
    52   /I "..\generated"                          \
    53   /I "$(WorkSpace)\src\share\vm\compiler"    \
    54   /I "$(WorkSpace)\src\share\vm\code"        \
    55   /I "$(WorkSpace)\src\share\vm\interpreter" \
    56   /I "$(WorkSpace)\src\share\vm\classfile"   \
    57   /I "$(WorkSpace)\src\share\vm\asm"         \
    58   /I "$(WorkSpace)\src\share\vm\memory"      \
    59   /I "$(WorkSpace)\src\share\vm\oops"        \
    60   /I "$(WorkSpace)\src\share\vm\prims"       \
    61   /I "$(WorkSpace)\src\share\vm\runtime"     \
    62   /I "$(WorkSpace)\src\share\vm\utilities"   \
    63   /I "$(WorkSpace)\src\share\vm\libadt"      \
    64   /I "$(WorkSpace)\src\share\vm\opto"        \
    65   /I "$(WorkSpace)\src\os\windows\vm"          \
     51  /I "..\generated" \
     52  /I "$(WorkSpace)\src\share\vm" \
     53  /I "$(WorkSpace)\src\os\windows\vm" \
    6654  /I "$(WorkSpace)\src\cpu\$(Platform_arch)\vm"
    6755
    68 # NOTE! If you add any files here, you must also update GENERATED_NAMES_IN_INCL
    69 # and MakeDepsIDEOptions in makedeps.make.
     56# NOTE! If you add any files here, you must also update GENERATED_NAMES_IN_DIR
     57# and ProjectCreatorIDEOptions in projectcreator.make.
    7058GENERATED_NAMES=\
    7159  ad_$(Platform_arch_model).cpp \
     
    8270
    8371# NOTE! This must be kept in sync with GENERATED_NAMES
    84 GENERATED_NAMES_IN_INCL=\
    85   incls/ad_$(Platform_arch_model).cpp \
    86   incls/ad_$(Platform_arch_model).hpp \
    87   incls/ad_$(Platform_arch_model)_clone.cpp \
    88   incls/ad_$(Platform_arch_model)_expand.cpp \
    89   incls/ad_$(Platform_arch_model)_format.cpp \
    90   incls/ad_$(Platform_arch_model)_gen.cpp \
    91   incls/ad_$(Platform_arch_model)_misc.cpp \
    92   incls/ad_$(Platform_arch_model)_peephole.cpp \
    93   incls/ad_$(Platform_arch_model)_pipeline.cpp \
    94   incls/adGlobals_$(Platform_arch_model).hpp \
    95   incls/dfa_$(Platform_arch_model).cpp
     72GENERATED_NAMES_IN_DIR=\
     73  $(AdlcOutDir)\ad_$(Platform_arch_model).cpp \
     74  $(AdlcOutDir)\ad_$(Platform_arch_model).hpp \
     75  $(AdlcOutDir)\ad_$(Platform_arch_model)_clone.cpp \
     76  $(AdlcOutDir)\ad_$(Platform_arch_model)_expand.cpp \
     77  $(AdlcOutDir)\ad_$(Platform_arch_model)_format.cpp \
     78  $(AdlcOutDir)\ad_$(Platform_arch_model)_gen.cpp \
     79  $(AdlcOutDir)\ad_$(Platform_arch_model)_misc.cpp \
     80  $(AdlcOutDir)\ad_$(Platform_arch_model)_peephole.cpp \
     81  $(AdlcOutDir)\ad_$(Platform_arch_model)_pipeline.cpp \
     82  $(AdlcOutDir)\adGlobals_$(Platform_arch_model).hpp \
     83  $(AdlcOutDir)\dfa_$(Platform_arch_model).cpp
    9684
    9785{$(WorkSpace)\src\share\vm\adlc}.cpp.obj::
    98         $(CPP) $(CPP_FLAGS) $(EXH_FLAGS) $(CPP_INCLUDE_DIRS) /c $<
     86        $(CPP) $(ADLC_CPP_FLAGS) $(EXH_FLAGS) $(CPP_INCLUDE_DIRS) /c $<
    9987
    10088{$(WorkSpace)\src\share\vm\opto}.cpp.obj::
    101         $(CPP) $(CPP_FLAGS) $(EXH_FLAGS) $(CPP_INCLUDE_DIRS) /c $<
     89        $(CPP) $(ADLC_CPP_FLAGS) $(EXH_FLAGS) $(CPP_INCLUDE_DIRS) /c $<
    10290
    10391adlc.exe: main.obj adlparse.obj archDesc.obj arena.obj dfa.obj dict2.obj filebuff.obj \
     
    11199!endif
    112100
    113 $(GENERATED_NAMES_IN_INCL): $(Platform_arch_model).ad adlc.exe includeDB.current
     101$(GENERATED_NAMES_IN_DIR): $(Platform_arch_model).ad adlc.exe
    114102        rm -f $(GENERATED_NAMES)
     103        if exist $(AdlcOutDir) rmdir /s /q $(AdlcOutDir)
     104        mkdir $(AdlcOutDir)
    115105        $(ADLC) $(ADLCFLAGS) $(Platform_arch_model).ad
    116         mv $(GENERATED_NAMES) incls/
     106        mv $(GENERATED_NAMES) $(AdlcOutDir)/
    117107
    118108$(Platform_arch_model).ad: $(WorkSpace)/src/cpu/$(Platform_arch)/vm/$(Platform_arch_model).ad $(WorkSpace)/src/os_cpu/windows_$(Platform_arch)/vm/windows_$(Platform_arch_model).ad
  • trunk/openjdk/hotspot/make/windows/makefiles/compile.make

    r278 r309  
    11#
    2 # Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
     
    8080CPP=ARCH_ERROR
    8181!endif
     82
     83CPP_FLAGS=$(CPP_FLAGS) /D "WIN32" /D "_WINDOWS"
     84
     85# Must specify this for sharedRuntimeTrig.cpp
     86CPP_FLAGS=$(CPP_FLAGS) /D "VM_LITTLE_ENDIAN"
     87
     88# Used for platform dispatching
     89CPP_FLAGS=$(CPP_FLAGS) /D TARGET_OS_FAMILY_windows
     90CPP_FLAGS=$(CPP_FLAGS) /D TARGET_ARCH_$(Platform_arch)
     91CPP_FLAGS=$(CPP_FLAGS) /D TARGET_ARCH_MODEL_$(Platform_arch_model)
     92CPP_FLAGS=$(CPP_FLAGS) /D TARGET_OS_ARCH_windows_$(Platform_arch)
     93CPP_FLAGS=$(CPP_FLAGS) /D TARGET_OS_ARCH_MODEL_windows_$(Platform_arch_model)
     94CPP_FLAGS=$(CPP_FLAGS) /D TARGET_COMPILER_visCPP
     95
    8296
    8397# MSC_VER is a 4 digit number that tells us what compiler is being used
     
    139153
    140154# Always add the _STATIC_CPPLIB flag
    141 STATIC_CPPLIB_OPTION = /D _STATIC_CPPLIB
     155STATIC_CPPLIB_OPTION = /D _STATIC_CPPLIB /D _DISABLE_DEPRECATE_STATIC_CPPLIB
    142156MS_RUNTIME_OPTION = $(MS_RUNTIME_OPTION) $(STATIC_CPPLIB_OPTION)
    143157CPP_FLAGS=$(CPP_FLAGS) $(MS_RUNTIME_OPTION)
  • trunk/openjdk/hotspot/make/windows/makefiles/debug.make

    r278 r309  
    11#
    2 # Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
     
    2929GENERATED=../generated
    3030
    31 default:: _build_pch_file.obj $(AOUT) checkAndBuildSA
     31# Allow the user to turn off precompiled headers from the command line.
     32!if "$(USE_PRECOMPILED_HEADER)" != "0"
     33BUILD_PCH_FILE=_build_pch_file.obj
     34!endif
     35
     36default:: $(BUILD_PCH_FILE) $(AOUT) launcher checkAndBuildSA
    3237
    3338!include ../local.make
     
    3944!include local.make
    4045
    41 !include $(GENERATED)/Dependencies
    42 
    4346HS_BUILD_ID=$(HS_BUILD_VER)-debug
    4447
     
    4649$(Res_Files): FORCE
    4750
    48 $(AOUT): $(Res_Files) $(Obj_Files)
     51vm.def: $(Obj_Files)
    4952        sh $(WorkSpace)/make/windows/build_vm_def.sh
     53
     54$(AOUT): $(Res_Files) $(Obj_Files) vm.def
    5055        $(LINK) @<<
    5156  $(LINK_FLAGS) /out:$@ /implib:$*.lib /def:vm.def $(Obj_Files) $(Res_Files)
     
    6065!include $(WorkSpace)/make/windows/makefiles/shared.make
    6166!include $(WorkSpace)/make/windows/makefiles/sa.make
     67!include $(WorkSpace)/make/windows/makefiles/launcher.make
  • trunk/openjdk/hotspot/make/windows/makefiles/defs.make

    r278 r309  
    11#
    2 # Copyright (c) 2006, 2008, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
  • trunk/openjdk/hotspot/make/windows/makefiles/fastdebug.make

    r278 r309  
    11#
    2 # Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
     
    2929GENERATED=../generated
    3030
    31 default:: _build_pch_file.obj $(AOUT) checkAndBuildSA
     31# Allow the user to turn off precompiled headers from the command line.
     32!if "$(USE_PRECOMPILED_HEADER)" != "0"
     33BUILD_PCH_FILE=_build_pch_file.obj
     34!endif
     35
     36default:: $(BUILD_PCH_FILE) $(AOUT) launcher checkAndBuildSA
    3237
    3338!include ../local.make
     
    3944!include local.make
    4045
    41 !include $(GENERATED)/Dependencies
    42 
    4346HS_BUILD_ID=$(HS_BUILD_VER)-fastdebug
    4447
     
    4649$(Res_Files): FORCE
    4750
    48 $(AOUT): $(Res_Files) $(Obj_Files)
     51vm.def: $(Obj_Files)
    4952        sh $(WorkSpace)/make/windows/build_vm_def.sh
     53
     54$(AOUT): $(Res_Files) $(Obj_Files) vm.def
    5055        $(LINK) @<<
    5156  $(LINK_FLAGS) /out:$@ /implib:$*.lib /def:vm.def $(Obj_Files) $(Res_Files)
     
    5863!endif
    5964
    60 
    6165!include $(WorkSpace)/make/windows/makefiles/shared.make
    6266!include $(WorkSpace)/make/windows/makefiles/sa.make
     67!include $(WorkSpace)/make/windows/makefiles/launcher.make
  • trunk/openjdk/hotspot/make/windows/makefiles/generated.make

    r278 r309  
    11#
    2 # Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
     
    2424
    2525!include ../local.make
    26 !include $(WorkSpace)/make/windows/makefiles/makedeps.make
     26!include $(WorkSpace)/make/windows/makefiles/projectcreator.make
    2727!include local.make
    2828
     
    3434!include $(WorkSpace)/make/windows/makefiles/sa.make
    3535
     36AdlcOutDir=adfiles
     37
    3638!if ("$(Variant)" == "compiler2") || ("$(Variant)" == "tiered")
    37 default:: includeDB.current Dependencies incls/ad_$(Platform_arch_model).cpp incls/dfa_$(Platform_arch_model).cpp $(JvmtiGeneratedFiles)
     39default:: $(AdlcOutDir)/ad_$(Platform_arch_model).cpp $(AdlcOutDir)/dfa_$(Platform_arch_model).cpp $(JvmtiGeneratedFiles) buildobjfiles
    3840!else
    39 default:: includeDB.current Dependencies $(JvmtiGeneratedFiles)
     41default:: $(JvmtiGeneratedFiles) buildobjfiles
    4042!endif
    4143
    42 # core plus serial gc
    43 IncludeDBs_base=$(WorkSpace)/src/share/vm/includeDB_core \
    44            $(WorkSpace)/src/share/vm/includeDB_jvmti \
    45            $(WorkSpace)/src/share/vm/includeDB_gc \
    46            $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_serial
     44buildobjfiles:
     45        @ sh $(WorkSpace)/make/windows/create_obj_files.sh $(Variant) $(Platform_arch) $(Platform_arch_model) $(WorkSpace) .    > objfiles.make
    4746
    48 # parallel gc
    49 IncludeDBs_gc= $(WorkSpace)/src/share/vm/includeDB_gc_parallel \
    50            $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge \
    51            $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_shared \
    52            $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_parNew \
    53            $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep \
    54            $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_g1
    55 
    56 IncludeDBs_core=$(IncludeDBs_base) $(IncludeDBs_gc) \
    57                 $(WorkSpace)/src/share/vm/includeDB_features
    58 
    59 !if "$(Variant)" == "core"
    60 IncludeDBs=$(IncludeDBs_core)
    61 !endif
    62 
    63 !if "$(Variant)" == "kernel"
    64 IncludeDBs=$(IncludeDBs_base) $(WorkSpace)/src/share/vm/includeDB_compiler1
    65 !endif
    66 
    67 !if "$(Variant)" == "compiler1"
    68 IncludeDBs=$(IncludeDBs_core) $(WorkSpace)/src/share/vm/includeDB_compiler1
    69 !endif
    70 
    71 
    72 !if "$(Variant)" == "compiler2"
    73 IncludeDBs=$(IncludeDBs_core) $(WorkSpace)/src/share/vm/includeDB_compiler2
    74 !endif
    75 
    76 !if "$(Variant)" == "tiered"
    77 IncludeDBs=$(IncludeDBs_core) $(WorkSpace)/src/share/vm/includeDB_compiler1 \
    78            $(WorkSpace)/src/share/vm/includeDB_compiler2
    79 !endif
    80 
    81 # Note we don't generate a Visual C++ project file using MakeDeps for
    82 # the batch build.
    83 includeDB.current Dependencies: classes/MakeDeps.class $(IncludeDBs)
    84         cat $(IncludeDBs) > includeDB
    85         if exist incls rmdir /s /q incls
    86         mkdir incls
    87         $(RUN_JAVA) -Djava.class.path=classes MakeDeps WinGammaPlatform$(VcVersion) $(WorkSpace)/make/windows/platform_$(BUILDARCH) includeDB $(MakeDepsOptions)
    88         rm -f includeDB.current
    89         cp includeDB includeDB.current
    90 
    91 classes/MakeDeps.class: $(MakeDepsSources)
     47classes/ProjectCreator.class: $(ProjectCreatorSources)
    9248        if exist classes rmdir /s /q classes
    9349        mkdir classes
    94         $(COMPILE_JAVAC) -classpath $(WorkSpace)\src\share\tools\MakeDeps -d classes $(MakeDepsSources)
     50        $(COMPILE_JAVAC) -classpath $(WorkSpace)\src\share\tools\ProjectCreator -d classes $(ProjectCreatorSources)
    9551
    9652!if ("$(Variant)" == "compiler2") || ("$(Variant)" == "tiered")
    9753
     54!include $(WorkSpace)/make/windows/makefiles/compile.make
    9855!include $(WorkSpace)/make/windows/makefiles/adlc.make
    9956
  • trunk/openjdk/hotspot/make/windows/makefiles/product.make

    r278 r309  
    11#
    2 # Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
     
    2828GENERATED=../generated
    2929
    30 default:: _build_pch_file.obj $(AOUT) checkAndBuildSA
     30# Allow the user to turn off precompiled headers from the command line.
     31!if "$(USE_PRECOMPILED_HEADER)" != "0"
     32BUILD_PCH_FILE=_build_pch_file.obj
     33!endif
     34
     35default:: $(BUILD_PCH_FILE) $(AOUT) launcher checkAndBuildSA
    3136
    3237!include ../local.make
     
    4247!include local.make
    4348
    44 !include $(GENERATED)/Dependencies
    45 
    4649HS_BUILD_ID=$(HS_BUILD_VER)
    4750
     
    5659<<
    5760!else
    58 $(AOUT): $(Res_Files) $(Obj_Files)
     61vm.def: $(Obj_Files)
    5962        sh $(WorkSpace)/make/windows/build_vm_def.sh
     63
     64$(AOUT): $(Res_Files) $(Obj_Files) vm.def
    6065        $(LINK) @<<
    6166  $(LINK_FLAGS) /out:$@ /implib:$*.lib /def:vm.def $(Obj_Files) $(Res_Files)
     
    7176!include $(WorkSpace)/make/windows/makefiles/shared.make
    7277!include $(WorkSpace)/make/windows/makefiles/sa.make
     78!include $(WorkSpace)/make/windows/makefiles/launcher.make
  • trunk/openjdk/hotspot/make/windows/makefiles/rules.make

    r278 r309  
    11#
    2 # Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
     
    4949BOOTSTRAP_JAVAC_FLAGS=$(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
    5050
    51 ProjectFile=vm.vcproj
     51ProjectFile=jvm.vcproj
    5252
    5353!if "$(MSC_VER)" == "1200"
     
    6464VcVersion=VC9
    6565
     66!elseif "$(MSC_VER)" == "1600"
     67
     68# for compatibility - we don't yet have a ProjectCreator for VC10
     69VcVersion=VC9
     70
    6671!else
    6772
  • trunk/openjdk/hotspot/make/windows/makefiles/sanity.make

    r278 r309  
    11#
    2 # Copyright (c) 2006, 2009, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
  • trunk/openjdk/hotspot/make/windows/makefiles/vm.make

    r278 r309  
    11#
    2 # Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
     
    2525# Resource file containing VERSIONINFO
    2626Res_Files=.\version.res
     27
     28!include ..\generated\objfiles.make
    2729
    2830!ifdef RELEASE
     
    7072CPP_FLAGS=$(CPP_FLAGS) /D "HOTSPOT_VM_DISTRO=\"$(HOTSPOT_VM_DISTRO)\""
    7173
    72 CPP_FLAGS=$(CPP_FLAGS) /D "WIN32" /D "_WINDOWS" $(CPP_INCLUDE_DIRS)
    73 
    74 # Must specify this for sharedRuntimeTrig.cpp
    75 CPP_FLAGS=$(CPP_FLAGS) /D "VM_LITTLE_ENDIAN"
     74CPP_FLAGS=$(CPP_FLAGS) $(CPP_INCLUDE_DIRS)
    7675
    7776# Define that so jni.h is on correct side
     
    9594!endif
    9695
     96# If you modify exports below please do the corresponding changes in
     97# src/share/tools/ProjectCreator/WinGammaPlatformVC7.java
    9798LINK_FLAGS=$(LINK_FLAGS) $(STACK_SIZE) /subsystem:windows /dll /base:0x8000000 \
    9899  /export:JNI_GetDefaultJavaVMInitArgs       \
     
    112113
    113114CPP_INCLUDE_DIRS=\
    114   /I "..\generated"                          \
    115   /I "..\generated\jvmtifiles"               \
    116   /I "$(WorkSpace)\src\share\vm\c1"          \
    117   /I "$(WorkSpace)\src\share\vm\compiler"    \
    118   /I "$(WorkSpace)\src\share\vm\code"        \
    119   /I "$(WorkSpace)\src\share\vm\interpreter" \
    120   /I "$(WorkSpace)\src\share\vm\ci"          \
    121   /I "$(WorkSpace)\src\share\vm\classfile"   \
    122   /I "$(WorkSpace)\src\share\vm\gc_implementation\parallelScavenge"\
    123   /I "$(WorkSpace)\src\share\vm\gc_implementation\shared"\
    124   /I "$(WorkSpace)\src\share\vm\gc_implementation\parNew"\
    125   /I "$(WorkSpace)\src\share\vm\gc_implementation\concurrentMarkSweep"\
    126   /I "$(WorkSpace)\src\share\vm\gc_implementation\g1"\
    127   /I "$(WorkSpace)\src\share\vm\gc_interface"\
    128   /I "$(WorkSpace)\src\share\vm\asm"         \
    129   /I "$(WorkSpace)\src\share\vm\memory"      \
    130   /I "$(WorkSpace)\src\share\vm\oops"        \
    131   /I "$(WorkSpace)\src\share\vm\prims"       \
    132   /I "$(WorkSpace)\src\share\vm\runtime"     \
    133   /I "$(WorkSpace)\src\share\vm\services"    \
    134   /I "$(WorkSpace)\src\share\vm\utilities"   \
    135   /I "$(WorkSpace)\src\share\vm\libadt"      \
    136   /I "$(WorkSpace)\src\share\vm\opto"        \
    137   /I "$(WorkSpace)\src\os\windows\vm"          \
     115  /I "..\generated" \
     116  /I "$(WorkSpace)\src\share\vm" \
     117  /I "$(WorkSpace)\src\share\vm\prims" \
     118  /I "$(WorkSpace)\src\os\windows\vm" \
    138119  /I "$(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm" \
    139120  /I "$(WorkSpace)\src\cpu\$(Platform_arch)\vm"
    140121
    141 CPP_USE_PCH=/Fp"vm.pch" /Yu"incls/_precompiled.incl"
     122CPP_DONT_USE_PCH=/D DONT_USE_PRECOMPILED_HEADER
     123
     124!if "$(USE_PRECOMPILED_HEADER)" != "0"
     125CPP_USE_PCH=/Fp"vm.pch" /Yu"precompiled.hpp"
     126!else
     127CPP_USE_PCH=$(CPP_DONT_USE_PCH)
     128!endif
    142129
    143130# Where to find the source code for the virtual machine
    144 VM_PATH=../generated/incls
     131VM_PATH=../generated
     132VM_PATH=$(VM_PATH);../generated/adfiles
    145133VM_PATH=$(VM_PATH);../generated/jvmtifiles
    146134VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/c1
     
    174162
    175163c1_RInfo_$(Platform_arch).obj: $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp
    176          $(CPP) $(CPP_FLAGS) /c $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp
     164         $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp
    177165
    178166os_windows.obj: $(WorkSpace)\src\os\windows\vm\os_windows.cpp
    179         $(CPP) $(CPP_FLAGS) /c $(WorkSpace)\src\os\windows\vm\os_windows.cpp
     167        $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\os_windows.cpp
    180168
    181169os_windows_$(Platform_arch).obj: $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\os_windows_$(Platform_arch).cpp
    182         $(CPP) $(CPP_FLAGS) /c $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\os_windows_$(Platform_arch).cpp
     170        $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\os_windows_$(Platform_arch).cpp
    183171
    184172osThread_windows.obj: $(WorkSpace)\src\os\windows\vm\osThread_windows.cpp
    185         $(CPP) $(CPP_FLAGS) /c $(WorkSpace)\src\os\windows\vm\osThread_windows.cpp
     173        $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\osThread_windows.cpp
    186174
    187175conditionVar_windows.obj: $(WorkSpace)\src\os\windows\vm\conditionVar_windows.cpp
    188         $(CPP) $(CPP_FLAGS) /c $(WorkSpace)\src\os\windows\vm\conditionVar_windows.cpp
     176        $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\conditionVar_windows.cpp
    189177
    190178getThread_windows_$(Platform_arch).obj: $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\getThread_windows_$(Platform_arch).cpp
    191         $(CPP) $(CPP_FLAGS) /c $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\getThread_windows_$(Platform_arch).cpp
     179        $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\getThread_windows_$(Platform_arch).cpp
    192180
    193181opcodes.obj: $(WorkSpace)\src\share\vm\opto\opcodes.cpp
    194         $(CPP) $(CPP_FLAGS) /c $(WorkSpace)\src\share\vm\opto\opcodes.cpp
     182        $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\share\vm\opto\opcodes.cpp
    195183
    196184bytecodeInterpreter.obj: $(WorkSpace)\src\share\vm\interpreter\bytecodeInterpreter.cpp
    197         $(CPP) $(CPP_FLAGS) /c $(WorkSpace)\src\share\vm\interpreter\bytecodeInterpreter.cpp
     185        $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\share\vm\interpreter\bytecodeInterpreter.cpp
    198186
    199187bytecodeInterpreterWithChecks.obj: ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
    200         $(CPP) $(CPP_FLAGS) /c ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
     188        $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
    201189
    202190# Default rules for the Virtual Machine
     
    281269        $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
    282270
     271{..\generated\adfiles}.cpp.obj::
     272        $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
     273
    283274{..\generated\jvmtifiles}.cpp.obj::
    284275        $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
     
    287278
    288279_build_pch_file.obj:
    289         @echo #include "incls/_precompiled.incl" > ../generated/_build_pch_file.cpp
    290         $(CPP) $(CPP_FLAGS) /Fp"vm.pch" /Yc"incls/_precompiled.incl" /c ../generated/_build_pch_file.cpp
     280        @echo #include "precompiled.hpp" > ../generated/_build_pch_file.cpp
     281        $(CPP) $(CPP_FLAGS) /Fp"vm.pch" /Yc"precompiled.hpp" /c ../generated/_build_pch_file.cpp
Note: See TracChangeset for help on using the changeset viewer.