hotspot/make/windows/makefiles/makedeps.make
author tonyp
Thu, 21 Aug 2008 23:36:31 -0400
changeset 1388 3677f5f3d66b
parent 1374 4c24294029a9
parent 670 ddf3e9583f2f
child 2271 ff6d122287cb
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
#
670
ddf3e9583f2f 6719955: Update copyright year
xdono
parents: 338
diff changeset
     2
# Copyright 1999-2008 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 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    51
        $(WorkSpace)\src\share\tools\MakeDeps\Util.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    52
        $(WorkSpace)\src\share\tools\MakeDeps\BuildConfig.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    53
        $(WorkSpace)\src\share\tools\MakeDeps\ArgsParser.java
489c9b5090e2 Initial load
duke
parents:
diff changeset
    54
489c9b5090e2 Initial load
duke
parents:
diff changeset
    55
# This is only used internally
489c9b5090e2 Initial load
duke
parents:
diff changeset
    56
MakeDepsIncludesPRIVATE=\
489c9b5090e2 Initial load
duke
parents:
diff changeset
    57
        -relativeInclude src\share\vm\c1 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    58
        -relativeInclude src\share\vm\compiler \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    59
        -relativeInclude src\share\vm\code \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    60
        -relativeInclude src\share\vm\interpreter \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    61
        -relativeInclude src\share\vm\ci \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    62
        -relativeInclude src\share\vm\classfile \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    63
        -relativeInclude src\share\vm\gc_implementation\parallelScavenge \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    64
        -relativeInclude src\share\vm\gc_implementation\shared \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    65
        -relativeInclude src\share\vm\gc_implementation\parNew \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    66
        -relativeInclude src\share\vm\gc_implementation\concurrentMarkSweep \
1374
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents: 338
diff changeset
    67
        -relativeInclude src\share\vm\gc_implementation\g1 \
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    68
        -relativeInclude src\share\vm\gc_interface \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    69
        -relativeInclude src\share\vm\asm \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    70
        -relativeInclude src\share\vm\memory \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    71
        -relativeInclude src\share\vm\oops \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    72
        -relativeInclude src\share\vm\prims \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    73
        -relativeInclude src\share\vm\runtime \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    74
        -relativeInclude src\share\vm\services \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    75
        -relativeInclude src\share\vm\utilities \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    76
        -relativeInclude src\share\vm\libadt \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    77
        -relativeInclude src\share\vm\opto \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    78
        -relativeInclude src\os\windows\vm \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    79
        -relativeInclude src\os_cpu\windows_$(Platform_arch)\vm \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    80
        -relativeInclude src\cpu\$(Platform_arch)\vm
489c9b5090e2 Initial load
duke
parents:
diff changeset
    81
489c9b5090e2 Initial load
duke
parents:
diff changeset
    82
# This is referenced externally by both the IDE and batch builds
489c9b5090e2 Initial load
duke
parents:
diff changeset
    83
MakeDepsOptions=
489c9b5090e2 Initial load
duke
parents:
diff changeset
    84
489c9b5090e2 Initial load
duke
parents:
diff changeset
    85
# This is used externally, but only by the IDE builds, so we can
489c9b5090e2 Initial load
duke
parents:
diff changeset
    86
# reference environment variables which aren't defined in the batch
489c9b5090e2 Initial load
duke
parents:
diff changeset
    87
# build process.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    88
489c9b5090e2 Initial load
duke
parents:
diff changeset
    89
MakeDepsIDEOptions = \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    90
        -useToGeneratePch  java.cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    91
        -disablePch        os_windows.cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    92
        -disablePch        os_windows_$(Platform_arch).cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    93
        -disablePch        osThread_windows.cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    94
        -disablePch        bytecodeInterpreter.cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    95
        -disablePch        bytecodeInterpreterWithChecks.cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    96
	-disablePch        getThread_windows_$(Platform_arch).cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    97
        -disablePch_compiler2     opcodes.cpp    
489c9b5090e2 Initial load
duke
parents:
diff changeset
    98
489c9b5090e2 Initial load
duke
parents:
diff changeset
    99
# Common options for the IDE builds for core, c1, and c2
489c9b5090e2 Initial load
duke
parents:
diff changeset
   100
MakeDepsIDEOptions=\
489c9b5090e2 Initial load
duke
parents:
diff changeset
   101
        $(MakeDepsIDEOptions) \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   102
        -sourceBase $(HOTSPOTWORKSPACE) \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   103
	-buildBase $(HOTSPOTBUILDSPACE)\%f\%b \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   104
        -startAt src \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   105
	-compiler $(VcVersion) \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   106
        -projectFileName $(HOTSPOTBUILDSPACE)\$(ProjectFile) \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   107
        -jdkTargetRoot $(HOTSPOTJDKDIST) \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   108
        -define ALIGN_STACK_FRAMES \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   109
        -define VM_LITTLE_ENDIAN \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   110
        -additionalFile includeDB_compiler1 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   111
        -additionalFile includeDB_compiler2 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   112
        -additionalFile includeDB_core \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   113
        -additionalFile includeDB_features \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   114
        -additionalFile includeDB_jvmti \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   115
        -additionalFile includeDB_gc \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   116
        -additionalFile includeDB_gc_parallel \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   117
        -additionalFile includeDB_gc_parallelScavenge \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   118
        -additionalFile includeDB_gc_concurrentMarkSweep \
1374
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents: 338
diff changeset
   119
        -additionalFile includeDB_gc_g1 \
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   120
        -additionalFile includeDB_gc_parNew \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   121
        -additionalFile includeDB_gc_shared \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   122
        -additionalFile includeDB_gc_serial \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   123
        -additionalGeneratedFile $(HOTSPOTBUILDSPACE)\%f\%b vm.def \
338
5cf9f61d76f4 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 1
diff changeset
   124
        -prelink  "" "Generating vm.def..." "cd $(HOTSPOTBUILDSPACE)\%f\%b	$(HOTSPOTMKSHOME)\sh $(HOTSPOTWORKSPACE)\make\windows\build_vm_def.sh" \
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   125
       $(MakeDepsIncludesPRIVATE)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   126
489c9b5090e2 Initial load
duke
parents:
diff changeset
   127
# Add in build-specific options
489c9b5090e2 Initial load
duke
parents:
diff changeset
   128
!if "$(BUILDARCH)" == "i486"
489c9b5090e2 Initial load
duke
parents:
diff changeset
   129
MakeDepsIDEOptions=$(MakeDepsIDEOptions) -define IA32
489c9b5090e2 Initial load
duke
parents:
diff changeset
   130
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
   131
489c9b5090e2 Initial load
duke
parents:
diff changeset
   132
##################################################
489c9b5090e2 Initial load
duke
parents:
diff changeset
   133
# JKERNEL specific options
489c9b5090e2 Initial load
duke
parents:
diff changeset
   134
##################################################
489c9b5090e2 Initial load
duke
parents:
diff changeset
   135
MakeDepsIDEOptions=$(MakeDepsIDEOptions) \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   136
 -define_kernel KERNEL \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   137
489c9b5090e2 Initial load
duke
parents:
diff changeset
   138
##################################################
489c9b5090e2 Initial load
duke
parents:
diff changeset
   139
# Client(C1) compiler specific options
489c9b5090e2 Initial load
duke
parents:
diff changeset
   140
##################################################
489c9b5090e2 Initial load
duke
parents:
diff changeset
   141
MakeDepsIDEOptions=$(MakeDepsIDEOptions) \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   142
 -define_compiler1 COMPILER1 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   143
489c9b5090e2 Initial load
duke
parents:
diff changeset
   144
##################################################
489c9b5090e2 Initial load
duke
parents:
diff changeset
   145
# Server(C2) compiler specific options
489c9b5090e2 Initial load
duke
parents:
diff changeset
   146
##################################################
489c9b5090e2 Initial load
duke
parents:
diff changeset
   147
#NOTE! This list must be kept in sync with GENERATED_NAMES in adlc.make.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   148
MakeDepsIDEOptions=$(MakeDepsIDEOptions) \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   149
 -define_compiler2 COMPILER2 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   150
 -absoluteInclude_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   151
 -additionalFile_compiler2 $(Platform_arch_model).ad \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   152
 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model).cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   153
 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model).hpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   154
 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_clone.cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   155
 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_expand.cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   156
 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_format.cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   157
 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_gen.cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   158
 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_misc.cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   159
 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_peephole.cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   160
 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_pipeline.cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   161
 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls adGlobals_$(Platform_arch_model).hpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   162
 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls dfa_$(Platform_arch_model).cpp 
489c9b5090e2 Initial load
duke
parents:
diff changeset
   163
489c9b5090e2 Initial load
duke
parents:
diff changeset
   164
# Add in the jvmti (JSR-163) options
489c9b5090e2 Initial load
duke
parents:
diff changeset
   165
# NOTE: do not pull in jvmtiEnvRecommended.cpp.  This file is generated
489c9b5090e2 Initial load
duke
parents:
diff changeset
   166
#       so the programmer can diff it with jvmtiEnv.cpp to be sure the
489c9b5090e2 Initial load
duke
parents:
diff changeset
   167
#       code merge was done correctly (@see jvmti.make and jvmtiEnvFill.java).
489c9b5090e2 Initial load
duke
parents:
diff changeset
   168
#       If so, they would then check it in as a new version of jvmtiEnv.cpp.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   169
MakeDepsIDEOptions=$(MakeDepsIDEOptions) \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   170
 -absoluteInclude $(HOTSPOTBUILDSPACE)/jvmtifiles \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   171
 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmtiEnv.hpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   172
 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmtiEnter.cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   173
 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmtiEnterTrace.cpp \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   174
 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmti.h \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   175
 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles bytecodeInterpreterWithChecks.cpp