make/windows/makefiles/makedeps.make

Fri, 11 Apr 2008 09:56:35 -0400

author
kamg
date
Fri, 11 Apr 2008 09:56:35 -0400
changeset 545
a49a647afe9a
parent 526
a294fd0c4b38
child 631
d1605aabd0a1
child 777
37f87013dfd8
permissions
-rw-r--r--

Merge

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

mercurial