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:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk

  • trunk/openjdk/hotspot/make/windows/projectfiles/common/Makefile

    r278 r309  
    11#
    2 # Copyright (c) 1999, 2008, 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!ifdef LOCAL_MAKE
     26!include $(LOCAL_MAKE)
     27!endif
     28
     29
    2530WorkSpace=$(HOTSPOTWORKSPACE)
    2631
     
    3338!ifdef JAVA_HOME
    3439BootStrapDir=$(JAVA_HOME)
     40!else
     41!ifdef HOTSPOTJDKDIST
     42BootStrapDir=$(HOTSPOTJDKDIST)
     43!endif
    3544!endif
    3645!endif
    3746!endif
    3847
    39 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/makedeps.make
     48
     49
     50!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/projectcreator.make
     51!include $(WorkSpace)/make/windows/makefiles/compile.make
    4052
    4153# Pick up rules for building JVMTI (JSR-163)
    42 JvmtiOutDir=$(HOTSPOTBUILDSPACE)\jvmtifiles
     54JvmtiOutDir=$(HOTSPOTBUILDSPACE)\$(Variant)\generated\jvmtifiles
    4355!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/jvmti.make
    4456
    4557Platform=$(HOTSPOTWORKSPACE)/make/windows/platform_$(BUILDARCH)
    4658
    47 default:: $(AdditionalTargets) $(JvmtiGeneratedFiles)
    48 
    49 IncludeDBs_base=$(HOTSPOTWORKSPACE)/src/share/vm/includeDB_core  \
    50                 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_jvmti \
    51                 $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_gc    \
    52                 $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_serial
    53 
    54 # Parallel gc files
    55 IncludeDBs_gc=$(HOTSPOTWORKSPACE)/src/share/vm/includeDB_gc_parallel       \
    56     $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_shared \
    57     $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_parNew \
    58     $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge \
    59     $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep \
    60     $(HOTSPOTWORKSPACE)/src/share/vm/gc_implementation/includeDB_gc_g1
    61 
    62 
    63 IncludeDBs_kernel =$(IncludeDBs_base) \
    64                     $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_compiler1
    65 
    66 IncludeDBs_core =$(IncludeDBs_base) $(IncludeDBs_gc) \
    67                  $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_features
    68 
    69 IncludeDBs_compiler1=$(IncludeDBs_core) \
    70                      $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_compiler1
    71 
    72 IncludeDBs_compiler2=$(IncludeDBs_core) \
    73                     $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_compiler2
    74 
    75 IncludeDBs_tiered=$(IncludeDBs_core) \
    76                     $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_compiler1 \
    77                     $(HOTSPOTWORKSPACE)/src/share/vm/includeDB_compiler2
    78 
    79 
    80 !if "$(Variant)" == "compiler1"
    81 IncludeDBs = $(IncludeDBs_compiler1)
    82 !endif
    83 
    8459!if "$(Variant)" == "compiler2"
    85 IncludeDBs = $(IncludeDBs_compiler2)
    8660# Pick up rules for building adlc
    8761!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make
     
    8963
    9064!if "$(Variant)" == "tiered"
    91 IncludeDBs = $(IncludeDBs_tiered)
    9265# Pick up rules for building adlc
    9366!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make
    9467!endif
    9568
    96 !if "$(Variant)" == "core"
    97 IncludeDBs = $(IncludeDBs_core)
    98 !endif
     69HS_INTERNAL_NAME=jvm
     70!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/launcher.make
    9971
    100 !if "$(Variant)" == "kernel"
    101 IncludeDBs = $(IncludeDBs_kernel)
    102 !endif
     72default:: $(AdditionalTargets) $(JvmtiGeneratedFiles)
    10373
    10474!include $(HOTSPOTWORKSPACE)/make/hotspot_version
     
    10979HOTSPOT_RELEASE_VERSION="$(HS_MAJOR_VER).$(HS_MINOR_VER)-b$(HS_BUILD_NUMBER)"
    11080!endif
     81!if "$(USER_RELEASE_SUFFIX)" != ""
     82HOTSPOT_BUILD_VERSION$(HOTSPOT_BUILD_VERSION) = internal-$(USER_RELEASE_SUFFIX)
     83!else
    11184HOTSPOT_BUILD_VERSION$(HOTSPOT_BUILD_VERSION) = internal
     85!endif
    11286!if "$(HOTSPOT_BUILD_VERSION)" != ""
    11387HOTSPOT_RELEASE_VERSION="$(HOTSPOT_RELEASE_VERSION)-$(HOTSPOT_BUILD_VERSION)"
     
    131105!endif
    132106
    133 MakeDepsIDEOptions =       $(MakeDepsIDEOptions) \
    134       -includeDB_kernel    $(HOTSPOTBUILDSPACE)\includeDB_kernel \
    135       -includeDB_core      $(HOTSPOTBUILDSPACE)\includeDB_core \
    136       -includeDB_compiler1 $(HOTSPOTBUILDSPACE)\includeDB_compiler1 \
    137       -includeDB_compiler2 $(HOTSPOTBUILDSPACE)\includeDB_compiler2 \
    138       -includeDB_tiered    $(HOTSPOTBUILDSPACE)\includeDB_tiered \
     107ProjectCreatorIDEOptions =       $(ProjectCreatorIDEOptions) \
    139108      -platform            $(Platform) \
    140109      -define              HOTSPOT_RELEASE_VERSION=\\\"$(HOTSPOT_RELEASE_VERSION)\\\" \
     
    142111      -define              HOTSPOT_VM_DISTRO=\\\"$(HOTSPOT_VM_DISTRO)\\\"
    143112
    144 incls:
    145         @mkdir incls
    146 
    147 includeDB.current $(ProjectFile) Dependencies: local.make $(HOTSPOTBUILDSPACE)/classes/MakeDeps.class \
    148                                                $(IncludeDBs) incls
    149         @rm -f includeDB $(HOTSPOTBUILDSPACE)\includeDB_kernel \
    150                          $(HOTSPOTBUILDSPACE)\includeDB_core \
    151                          $(HOTSPOTBUILDSPACE)\includeDB_compiler1 \
    152                          $(HOTSPOTBUILDSPACE)\includeDB_compiler2 \
    153                          $(HOTSPOTBUILDSPACE)\includeDB_tiered
    154         @cat $(IncludeDBs_kernel) > $(HOTSPOTBUILDSPACE)\includeDB_kernel
    155         @cat $(IncludeDBs_core) > $(HOTSPOTBUILDSPACE)\includeDB_core
    156         @cat $(IncludeDBs_compiler1)   > $(HOTSPOTBUILDSPACE)\includeDB_compiler1
    157         @cat $(IncludeDBs_compiler2)   > $(HOTSPOTBUILDSPACE)\includeDB_compiler2
    158         @cat $(IncludeDBs_tiered)      > $(HOTSPOTBUILDSPACE)\includeDB_tiered
    159         @echo java.cpp jni.h >  includeDB
    160         @$(RUN_JAVA) -Djava.class.path=$(HOTSPOTBUILDSPACE)/classes MakeDeps diffs WinGammaPlatform$(VcVersion) \
    161                   $(Platform) includeDB.current $(Platform) includeDB $(MakeDepsOptions) $(MakeDepsIDEOptions)
    162         @rm -f includeDB.current
    163         @cp includeDB includeDB.current
    164 
    165 lists: $(HOTSPOTBUILDSPACE)/classes/MakeDeps.class FORCE
    166         @if exist incls rmdir /s /q incls
    167         @rm -f includeDB
    168         @cat $(IncludeDBs) > includeDB
    169         @mkdir incls
    170         @$(RUN_JAVA) -Djava.class.path=$(HOTSPOTBUILDSPACE)/classes MakeDeps WinGammaPlatform$(VcVersion) \
    171                  $(Platform) includeDB $(MakeDepsOptions) $(MakeDepsIDEOptions)
    172         @rm -f includeDB.current
    173         @cp includeDB includeDB.current
     113$(HOTSPOTBUILDROOT)/$(ProjectFile): $(HOTSPOTBUILDSPACE)/classes/ProjectCreator.class
     114        @$(RUN_JAVA) -Djava.class.path=$(HOTSPOTBUILDSPACE)/classes ProjectCreator WinGammaPlatform$(VcVersion) $(ProjectCreatorIDEOptions)
    174115
    175116clean:
    176         @rm -rf incls $(HOTSPOTBUILDSPACE)/classes
    177         @rm -f includeDB includeDB.current $(ProjectFile) Dependencies
     117        @rm -rf $(HOTSPOTBUILDSPACE)/classes
     118        @rm -r ../$(ProjectFile)
    178119
    179 $(HOTSPOTBUILDSPACE)/classes/MakeDeps.class: $(MakeDepsSources)
     120$(HOTSPOTBUILDSPACE)/classes/ProjectCreator.class: $(ProjectCreatorSources)
    180121        @if exist $(HOTSPOTBUILDSPACE)\classes rmdir /s /q $(HOTSPOTBUILDSPACE)\classes
    181122        @mkdir $(HOTSPOTBUILDSPACE)\classes
    182         @$(COMPILE_JAVAC) -classpath $(HOTSPOTWORKSPACE)\src\share\tools\MakeDeps -d $(HOTSPOTBUILDSPACE)/classes $(MakeDepsSources)
     123        @$(COMPILE_JAVAC) -classpath $(HOTSPOTWORKSPACE)\src\share\tools\ProjectCreator -d $(HOTSPOTBUILDSPACE)/classes $(ProjectCreatorSources)
    183124
    184125FORCE:
  • trunk/openjdk/hotspot/make/windows/projectfiles/compiler1/Makefile

    r278 r309  
    11#
    2 # Copyright (c) 1999, 2008, 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 Variant=compiler1
    26 !include local.make
     25!include ../local.make
    2726
    2827!include $(HOTSPOTWORKSPACE)/make/windows/projectfiles/common/Makefile
  • trunk/openjdk/hotspot/make/windows/projectfiles/compiler1/vm.def

    r2 r309  
    33; generated during the build process. See
    44; make\windows\build_vm_def.sh and
    5 ; make\windows\makefiles\makedeps.make (esp. the "-prelink"
     5; make\windows\makefiles\projectcreator.make (esp. the "-prelink"
    66; options).
    77;
  • trunk/openjdk/hotspot/make/windows/projectfiles/compiler2/Makefile

    r278 r309  
    11#
    2 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 1998, 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 Variant=compiler2
    26 !include local.make
    27 AdditionalTargets=incls/ad_$(Platform_arch_model).cpp incls/dfa_$(Platform_arch_model).cpp
     25!include ../local.make
     26AdlcOutDir=$(HOTSPOTBUILDSPACE)\$(Variant)\generated\adfiles
     27AdditionalTargets=$(AdlcOutDir)\ad_$(Platform_arch_model).cpp $(AdlcOutDir)\dfa_$(Platform_arch_model).cpp
    2828
    2929!include $(HOTSPOTWORKSPACE)/make/windows/projectfiles/common/Makefile
  • trunk/openjdk/hotspot/make/windows/projectfiles/compiler2/vm.def

    r2 r309  
    33; generated during the build process. See
    44; make\windows\build_vm_def.sh and
    5 ; make\windows\makefiles\makedeps.make (esp. the "-prelink"
     5; make\windows\makefiles\projectcreator.make (esp. the "-prelink"
    66; options).
    77;
  • trunk/openjdk/hotspot/make/windows/projectfiles/core/Makefile

    r278 r309  
    11#
    2 # Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 1998, 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 Variant=core
    26 !include local.make
     25!include ../local.make
    2726
    2827!include $(HOTSPOTWORKSPACE)/make/windows/projectfiles/common/Makefile
  • trunk/openjdk/hotspot/make/windows/projectfiles/core/vm.def

    r2 r309  
    33; generated during the build process. See
    44; make\windows\build_vm_def.sh and
    5 ; make\windows\makefiles\makedeps.make (esp. the "-prelink"
     5; make\windows\makefiles\projectcreator.make (esp. the "-prelink"
    66; options).
    77;
  • trunk/openjdk/hotspot/make/windows/projectfiles/kernel/Makefile

    r278 r309  
    11#
    2 # Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
     2# Copyright (c) 2007, 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 Variant=compiler1
    26 !include local.make
     25!include ../local.make
    2726
    2827!include $(HOTSPOTWORKSPACE)/make/windows/projectfiles/common/Makefile
  • trunk/openjdk/hotspot/make/windows/projectfiles/kernel/vm.def

    r2 r309  
    33; generated during the build process. See
    44; make\windows\build_vm_def.sh and
    5 ; make\windows\makefiles\makedeps.make (esp. the "-prelink"
     5; make\windows\makefiles\projectcreator.make (esp. the "-prelink"
    66; options).
    77;
  • trunk/openjdk/hotspot/make/windows/projectfiles/tiered/Makefile

    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#
     
    2323#
    2424
    25 Variant=tiered
    26 !include local.make
    27 AdditionalTargets=incls/ad_$(Platform_arch_model).cpp incls/dfa_$(Platform_arch_model).cpp
     25!include ../local.make
     26AdlcOutDir=$(HOTSPOTBUILDSPACE)\$(Variant)\generated\adfiles
     27AdditionalTargets=$(AdlcOutDir)\ad_$(Platform_arch_model).cpp $(AdlcOutDir)\dfa_$(Platform_arch_model).cpp
    2828
    2929!include $(HOTSPOTWORKSPACE)/make/windows/projectfiles/common/Makefile
  • trunk/openjdk/hotspot/make/windows/projectfiles/tiered/vm.def

    r2 r309  
    33; generated during the build process. See
    44; make\windows\build_vm_def.sh and
    5 ; make\windows\makefiles\makedeps.make (esp. the "-prelink"
     5; make\windows\makefiles\projectcreator.make (esp. the "-prelink"
    66; options).
    77;
Note: See TracChangeset for help on using the changeset viewer.