make/windows/makefiles/makedeps.make

Thu, 27 May 2010 19:08:38 -0700

author
trims
date
Thu, 27 May 2010 19:08:38 -0700
changeset 1907
c18cbe5936b8
parent 1279
bd02caa94611
permissions
-rw-r--r--

6941466: Oracle rebranding changes for Hotspot repositories
Summary: Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair

duke@435 1 #
trims@1907 2 # Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
duke@435 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@435 4 #
duke@435 5 # This code is free software; you can redistribute it and/or modify it
duke@435 6 # under the terms of the GNU General Public License version 2 only, as
duke@435 7 # published by the Free Software Foundation.
duke@435 8 #
duke@435 9 # This code is distributed in the hope that it will be useful, but WITHOUT
duke@435 10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@435 11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@435 12 # version 2 for more details (a copy is included in the LICENSE file that
duke@435 13 # accompanied this code).
duke@435 14 #
duke@435 15 # You should have received a copy of the GNU General Public License version
duke@435 16 # 2 along with this work; if not, write to the Free Software Foundation,
duke@435 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@435 18 #
trims@1907 19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
trims@1907 20 # or visit www.oracle.com if you need additional information or have any
trims@1907 21 # questions.
duke@435 22 #
duke@435 23 #
duke@435 24
kamg@526 25 !include $(WorkSpace)/make/windows/makefiles/rules.make
duke@435 26
duke@435 27 # This is used externally by both batch and IDE builds, so can't
duke@435 28 # reference any of the HOTSPOTWORKSPACE, HOTSPOTBUILDSPACE,
duke@435 29 # HOTSPOTRELEASEBINDEST, or HOTSPOTDEBUGBINDEST environment variables.
duke@435 30 #
duke@435 31 # NOTE: unfortunately the MakeDepsSources list must be kept
duke@435 32 # synchronized between this and the Solaris version
kamg@526 33 # (make/solaris/makefiles/makedeps.make).
duke@435 34
duke@435 35 MakeDepsSources=\
duke@435 36 $(WorkSpace)\src\share\tools\MakeDeps\Database.java \
duke@435 37 $(WorkSpace)\src\share\tools\MakeDeps\DirectoryTree.java \
duke@435 38 $(WorkSpace)\src\share\tools\MakeDeps\DirectoryTreeNode.java \
duke@435 39 $(WorkSpace)\src\share\tools\MakeDeps\FileFormatException.java \
duke@435 40 $(WorkSpace)\src\share\tools\MakeDeps\FileList.java \
duke@435 41 $(WorkSpace)\src\share\tools\MakeDeps\FileName.java \
duke@435 42 $(WorkSpace)\src\share\tools\MakeDeps\Macro.java \
duke@435 43 $(WorkSpace)\src\share\tools\MakeDeps\MacroDefinitions.java \
duke@435 44 $(WorkSpace)\src\share\tools\MakeDeps\MakeDeps.java \
duke@435 45 $(WorkSpace)\src\share\tools\MakeDeps\MetroWerksMacPlatform.java \
duke@435 46 $(WorkSpace)\src\share\tools\MakeDeps\Platform.java \
duke@435 47 $(WorkSpace)\src\share\tools\MakeDeps\UnixPlatform.java \
duke@435 48 $(WorkSpace)\src\share\tools\MakeDeps\WinGammaPlatform.java \
duke@435 49 $(WorkSpace)\src\share\tools\MakeDeps\WinGammaPlatformVC6.java \
duke@435 50 $(WorkSpace)\src\share\tools\MakeDeps\WinGammaPlatformVC7.java \
ikrylov@1094 51 $(WorkSpace)\src\share\tools\MakeDeps\WinGammaPlatformVC8.java \
ikrylov@1094 52 $(WorkSpace)\src\share\tools\MakeDeps\WinGammaPlatformVC9.java \
duke@435 53 $(WorkSpace)\src\share\tools\MakeDeps\Util.java \
duke@435 54 $(WorkSpace)\src\share\tools\MakeDeps\BuildConfig.java \
duke@435 55 $(WorkSpace)\src\share\tools\MakeDeps\ArgsParser.java
duke@435 56
duke@435 57 # This is only used internally
duke@435 58 MakeDepsIncludesPRIVATE=\
duke@435 59 -relativeInclude src\share\vm\c1 \
duke@435 60 -relativeInclude src\share\vm\compiler \
duke@435 61 -relativeInclude src\share\vm\code \
duke@435 62 -relativeInclude src\share\vm\interpreter \
duke@435 63 -relativeInclude src\share\vm\ci \
duke@435 64 -relativeInclude src\share\vm\classfile \
duke@435 65 -relativeInclude src\share\vm\gc_implementation\parallelScavenge \
duke@435 66 -relativeInclude src\share\vm\gc_implementation\shared \
duke@435 67 -relativeInclude src\share\vm\gc_implementation\parNew \
duke@435 68 -relativeInclude src\share\vm\gc_implementation\concurrentMarkSweep \
ysr@777 69 -relativeInclude src\share\vm\gc_implementation\g1 \
duke@435 70 -relativeInclude src\share\vm\gc_interface \
duke@435 71 -relativeInclude src\share\vm\asm \
duke@435 72 -relativeInclude src\share\vm\memory \
duke@435 73 -relativeInclude src\share\vm\oops \
duke@435 74 -relativeInclude src\share\vm\prims \
duke@435 75 -relativeInclude src\share\vm\runtime \
duke@435 76 -relativeInclude src\share\vm\services \
duke@435 77 -relativeInclude src\share\vm\utilities \
duke@435 78 -relativeInclude src\share\vm\libadt \
duke@435 79 -relativeInclude src\share\vm\opto \
duke@435 80 -relativeInclude src\os\windows\vm \
duke@435 81 -relativeInclude src\os_cpu\windows_$(Platform_arch)\vm \
duke@435 82 -relativeInclude src\cpu\$(Platform_arch)\vm
duke@435 83
duke@435 84 # This is referenced externally by both the IDE and batch builds
duke@435 85 MakeDepsOptions=
duke@435 86
duke@435 87 # This is used externally, but only by the IDE builds, so we can
duke@435 88 # reference environment variables which aren't defined in the batch
duke@435 89 # build process.
duke@435 90
duke@435 91 MakeDepsIDEOptions = \
duke@435 92 -useToGeneratePch java.cpp \
duke@435 93 -disablePch os_windows.cpp \
duke@435 94 -disablePch os_windows_$(Platform_arch).cpp \
duke@435 95 -disablePch osThread_windows.cpp \
duke@435 96 -disablePch bytecodeInterpreter.cpp \
duke@435 97 -disablePch bytecodeInterpreterWithChecks.cpp \
duke@435 98 -disablePch getThread_windows_$(Platform_arch).cpp \
duke@435 99 -disablePch_compiler2 opcodes.cpp
duke@435 100
duke@435 101 # Common options for the IDE builds for core, c1, and c2
duke@435 102 MakeDepsIDEOptions=\
duke@435 103 $(MakeDepsIDEOptions) \
duke@435 104 -sourceBase $(HOTSPOTWORKSPACE) \
duke@435 105 -buildBase $(HOTSPOTBUILDSPACE)\%f\%b \
duke@435 106 -startAt src \
duke@435 107 -compiler $(VcVersion) \
duke@435 108 -projectFileName $(HOTSPOTBUILDSPACE)\$(ProjectFile) \
duke@435 109 -jdkTargetRoot $(HOTSPOTJDKDIST) \
duke@435 110 -define ALIGN_STACK_FRAMES \
duke@435 111 -define VM_LITTLE_ENDIAN \
duke@435 112 -additionalFile includeDB_compiler1 \
duke@435 113 -additionalFile includeDB_compiler2 \
duke@435 114 -additionalFile includeDB_core \
duke@435 115 -additionalFile includeDB_features \
duke@435 116 -additionalFile includeDB_jvmti \
duke@435 117 -additionalFile includeDB_gc \
duke@435 118 -additionalFile includeDB_gc_parallel \
duke@435 119 -additionalFile includeDB_gc_parallelScavenge \
duke@435 120 -additionalFile includeDB_gc_concurrentMarkSweep \
ysr@777 121 -additionalFile includeDB_gc_g1 \
duke@435 122 -additionalFile includeDB_gc_parNew \
duke@435 123 -additionalFile includeDB_gc_shared \
duke@435 124 -additionalFile includeDB_gc_serial \
duke@435 125 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)\%f\%b vm.def \
ikrylov@1094 126 -prelink "" "Generating vm.def..." "cd $(HOTSPOTBUILDSPACE)\%f\%b set HOTSPOTMKSHOME=$(HOTSPOTMKSHOME) $(HOTSPOTMKSHOME)\sh $(HOTSPOTWORKSPACE)\make\windows\build_vm_def.sh $(LINK_VER)" \
duke@435 127 $(MakeDepsIncludesPRIVATE)
duke@435 128
duke@435 129 # Add in build-specific options
duke@435 130 !if "$(BUILDARCH)" == "i486"
duke@435 131 MakeDepsIDEOptions=$(MakeDepsIDEOptions) -define IA32
duke@435 132 !endif
duke@435 133
duke@435 134 ##################################################
duke@435 135 # JKERNEL specific options
duke@435 136 ##################################################
duke@435 137 MakeDepsIDEOptions=$(MakeDepsIDEOptions) \
duke@435 138 -define_kernel KERNEL \
duke@435 139
duke@435 140 ##################################################
duke@435 141 # Client(C1) compiler specific options
duke@435 142 ##################################################
duke@435 143 MakeDepsIDEOptions=$(MakeDepsIDEOptions) \
duke@435 144 -define_compiler1 COMPILER1 \
duke@435 145
duke@435 146 ##################################################
duke@435 147 # Server(C2) compiler specific options
duke@435 148 ##################################################
duke@435 149 #NOTE! This list must be kept in sync with GENERATED_NAMES in adlc.make.
duke@435 150 MakeDepsIDEOptions=$(MakeDepsIDEOptions) \
duke@435 151 -define_compiler2 COMPILER2 \
duke@435 152 -absoluteInclude_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls \
duke@435 153 -additionalFile_compiler2 $(Platform_arch_model).ad \
duke@435 154 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model).cpp \
duke@435 155 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model).hpp \
duke@435 156 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_clone.cpp \
duke@435 157 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_expand.cpp \
duke@435 158 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_format.cpp \
duke@435 159 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_gen.cpp \
duke@435 160 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_misc.cpp \
duke@435 161 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_peephole.cpp \
duke@435 162 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_pipeline.cpp \
duke@435 163 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls adGlobals_$(Platform_arch_model).hpp \
duke@435 164 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls dfa_$(Platform_arch_model).cpp
duke@435 165
duke@435 166 # Add in the jvmti (JSR-163) options
duke@435 167 # NOTE: do not pull in jvmtiEnvRecommended.cpp. This file is generated
duke@435 168 # so the programmer can diff it with jvmtiEnv.cpp to be sure the
duke@435 169 # code merge was done correctly (@see jvmti.make and jvmtiEnvFill.java).
duke@435 170 # If so, they would then check it in as a new version of jvmtiEnv.cpp.
duke@435 171 MakeDepsIDEOptions=$(MakeDepsIDEOptions) \
duke@435 172 -absoluteInclude $(HOTSPOTBUILDSPACE)/jvmtifiles \
duke@435 173 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmtiEnv.hpp \
duke@435 174 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmtiEnter.cpp \
duke@435 175 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmtiEnterTrace.cpp \
duke@435 176 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmti.h \
duke@435 177 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles bytecodeInterpreterWithChecks.cpp

mercurial