hotspot/make/windows/makefiles/generated.make
author lana
Tue, 29 Jun 2010 22:31:39 -0700
changeset 5832 9962977aef86
parent 5547 f4b087cbb361
child 7397 5b173b4ca846
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
#
5547
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 3818
diff changeset
     2
# Copyright (c) 2005, 2008, Oracle and/or its affiliates. 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
#
5547
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 3818
diff changeset
    19
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 3818
diff changeset
    20
# or visit www.oracle.com if you need additional information or have any
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 3818
diff changeset
    21
# questions.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    22
#  
489c9b5090e2 Initial load
duke
parents:
diff changeset
    23
#
489c9b5090e2 Initial load
duke
parents:
diff changeset
    24
489c9b5090e2 Initial load
duke
parents:
diff changeset
    25
!include ../local.make
338
5cf9f61d76f4 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 1
diff changeset
    26
!include $(WorkSpace)/make/windows/makefiles/makedeps.make
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    27
!include local.make
489c9b5090e2 Initial load
duke
parents:
diff changeset
    28
489c9b5090e2 Initial load
duke
parents:
diff changeset
    29
# Pick up rules for building JVMTI (JSR-163)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    30
JvmtiOutDir=jvmtifiles
338
5cf9f61d76f4 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 1
diff changeset
    31
!include $(WorkSpace)/make/windows/makefiles/jvmti.make
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    32
489c9b5090e2 Initial load
duke
parents:
diff changeset
    33
# Pick up rules for building SA
338
5cf9f61d76f4 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 1
diff changeset
    34
!include $(WorkSpace)/make/windows/makefiles/sa.make
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    35
489c9b5090e2 Initial load
duke
parents:
diff changeset
    36
!if ("$(Variant)" == "compiler2") || ("$(Variant)" == "tiered")
489c9b5090e2 Initial load
duke
parents:
diff changeset
    37
default:: includeDB.current Dependencies incls/ad_$(Platform_arch_model).cpp incls/dfa_$(Platform_arch_model).cpp $(JvmtiGeneratedFiles)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    38
!else
489c9b5090e2 Initial load
duke
parents:
diff changeset
    39
default:: includeDB.current Dependencies $(JvmtiGeneratedFiles)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    40
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    41
489c9b5090e2 Initial load
duke
parents:
diff changeset
    42
# core plus serial gc
489c9b5090e2 Initial load
duke
parents:
diff changeset
    43
IncludeDBs_base=$(WorkSpace)/src/share/vm/includeDB_core \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    44
           $(WorkSpace)/src/share/vm/includeDB_jvmti \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    45
           $(WorkSpace)/src/share/vm/includeDB_gc \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    46
           $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_serial
489c9b5090e2 Initial load
duke
parents:
diff changeset
    47
489c9b5090e2 Initial load
duke
parents:
diff changeset
    48
# parallel gc
489c9b5090e2 Initial load
duke
parents:
diff changeset
    49
IncludeDBs_gc= $(WorkSpace)/src/share/vm/includeDB_gc_parallel \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    50
           $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    51
           $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_shared \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    52
           $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_parNew \
1374
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents: 338
diff changeset
    53
           $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep \
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents: 338
diff changeset
    54
           $(WorkSpace)/src/share/vm/gc_implementation/includeDB_gc_g1
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    55
489c9b5090e2 Initial load
duke
parents:
diff changeset
    56
IncludeDBs_core=$(IncludeDBs_base) $(IncludeDBs_gc) \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    57
                $(WorkSpace)/src/share/vm/includeDB_features
489c9b5090e2 Initial load
duke
parents:
diff changeset
    58
489c9b5090e2 Initial load
duke
parents:
diff changeset
    59
!if "$(Variant)" == "core"
489c9b5090e2 Initial load
duke
parents:
diff changeset
    60
IncludeDBs=$(IncludeDBs_core)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    61
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    62
489c9b5090e2 Initial load
duke
parents:
diff changeset
    63
!if "$(Variant)" == "kernel"
489c9b5090e2 Initial load
duke
parents:
diff changeset
    64
IncludeDBs=$(IncludeDBs_base) $(WorkSpace)/src/share/vm/includeDB_compiler1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    65
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    66
489c9b5090e2 Initial load
duke
parents:
diff changeset
    67
!if "$(Variant)" == "compiler1"
489c9b5090e2 Initial load
duke
parents:
diff changeset
    68
IncludeDBs=$(IncludeDBs_core) $(WorkSpace)/src/share/vm/includeDB_compiler1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    69
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    70
489c9b5090e2 Initial load
duke
parents:
diff changeset
    71
489c9b5090e2 Initial load
duke
parents:
diff changeset
    72
!if "$(Variant)" == "compiler2"
489c9b5090e2 Initial load
duke
parents:
diff changeset
    73
IncludeDBs=$(IncludeDBs_core) $(WorkSpace)/src/share/vm/includeDB_compiler2
489c9b5090e2 Initial load
duke
parents:
diff changeset
    74
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    75
489c9b5090e2 Initial load
duke
parents:
diff changeset
    76
!if "$(Variant)" == "tiered"
489c9b5090e2 Initial load
duke
parents:
diff changeset
    77
IncludeDBs=$(IncludeDBs_core) $(WorkSpace)/src/share/vm/includeDB_compiler1 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    78
           $(WorkSpace)/src/share/vm/includeDB_compiler2
489c9b5090e2 Initial load
duke
parents:
diff changeset
    79
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    80
489c9b5090e2 Initial load
duke
parents:
diff changeset
    81
# Note we don't generate a Visual C++ project file using MakeDeps for
489c9b5090e2 Initial load
duke
parents:
diff changeset
    82
# the batch build.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    83
includeDB.current Dependencies: classes/MakeDeps.class $(IncludeDBs)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    84
	cat $(IncludeDBs) > includeDB
489c9b5090e2 Initial load
duke
parents:
diff changeset
    85
	if exist incls rmdir /s /q incls
489c9b5090e2 Initial load
duke
parents:
diff changeset
    86
	mkdir incls
338
5cf9f61d76f4 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 1
diff changeset
    87
	$(RUN_JAVA) -Djava.class.path=classes MakeDeps WinGammaPlatform$(VcVersion) $(WorkSpace)/make/windows/platform_$(BUILDARCH) includeDB $(MakeDepsOptions)
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    88
	rm -f includeDB.current
489c9b5090e2 Initial load
duke
parents:
diff changeset
    89
	cp includeDB includeDB.current
489c9b5090e2 Initial load
duke
parents:
diff changeset
    90
489c9b5090e2 Initial load
duke
parents:
diff changeset
    91
classes/MakeDeps.class: $(MakeDepsSources)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    92
	if exist classes rmdir /s /q classes
489c9b5090e2 Initial load
duke
parents:
diff changeset
    93
	mkdir classes
3818
75004bf9026c 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk
andrew
parents: 1388
diff changeset
    94
	$(COMPILE_JAVAC) -classpath $(WorkSpace)\src\share\tools\MakeDeps -d classes $(MakeDepsSources)
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    95
489c9b5090e2 Initial load
duke
parents:
diff changeset
    96
!if ("$(Variant)" == "compiler2") || ("$(Variant)" == "tiered")
489c9b5090e2 Initial load
duke
parents:
diff changeset
    97
338
5cf9f61d76f4 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 1
diff changeset
    98
!include $(WorkSpace)/make/windows/makefiles/adlc.make
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    99
489c9b5090e2 Initial load
duke
parents:
diff changeset
   100
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
   101
338
5cf9f61d76f4 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 1
diff changeset
   102
!include $(WorkSpace)/make/windows/makefiles/shared.make