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