hotspot/make/windows/makefiles/vm.make
author lana
Mon, 27 Jan 2014 21:01:55 -0800
changeset 22412 81bb5f538220
parent 19535 7b3e169c564a
child 24238 641b2b1b0163
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
#
15432
9d976ca484d8 8000692: Remove old KERNEL code
zgu
parents: 13963
diff changeset
     2
# Copyright (c) 1997, 2013, 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: 3261
diff changeset
    19
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 3261
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: 3261
diff changeset
    21
# questions.
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
    22
#
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    23
#
489c9b5090e2 Initial load
duke
parents:
diff changeset
    24
489c9b5090e2 Initial load
duke
parents:
diff changeset
    25
# Resource file containing VERSIONINFO
489c9b5090e2 Initial load
duke
parents:
diff changeset
    26
Res_Files=.\version.res
489c9b5090e2 Initial load
duke
parents:
diff changeset
    27
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    28
!include ..\generated\objfiles.make
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    29
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
    30
COMMONSRC=$(WorkSpace)\src
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
    31
ALTSRC=$(WorkSpace)\src\closed
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
    32
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
    33
!ifdef RELEASE
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    34
CXX_FLAGS=$(CXX_FLAGS) /D "PRODUCT"
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    35
!else
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    36
CXX_FLAGS=$(CXX_FLAGS) /D "ASSERT"
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    37
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    38
489c9b5090e2 Initial load
duke
parents:
diff changeset
    39
!if "$(Variant)" == "compiler1"
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    40
CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1"
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    41
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    42
489c9b5090e2 Initial load
duke
parents:
diff changeset
    43
!if "$(Variant)" == "compiler2"
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    44
CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER2"
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    45
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    46
489c9b5090e2 Initial load
duke
parents:
diff changeset
    47
!if "$(Variant)" == "tiered"
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    48
CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1" /D "COMPILER2"
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    49
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    50
2564
85c3ae53ca1c 6684007: PrintAssembly plugin not available for linux or windows
never
parents: 1388
diff changeset
    51
!if "$(BUILDARCH)" == "i486"
85c3ae53ca1c 6684007: PrintAssembly plugin not available for linux or windows
never
parents: 1388
diff changeset
    52
HOTSPOT_LIB_ARCH=i386
85c3ae53ca1c 6684007: PrintAssembly plugin not available for linux or windows
never
parents: 1388
diff changeset
    53
!else
85c3ae53ca1c 6684007: PrintAssembly plugin not available for linux or windows
never
parents: 1388
diff changeset
    54
HOTSPOT_LIB_ARCH=$(BUILDARCH)
85c3ae53ca1c 6684007: PrintAssembly plugin not available for linux or windows
never
parents: 1388
diff changeset
    55
!endif
85c3ae53ca1c 6684007: PrintAssembly plugin not available for linux or windows
never
parents: 1388
diff changeset
    56
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    57
# The following variables are defined in the generated local.make file.
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    58
CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_RELEASE_VERSION=\"$(HS_BUILD_VER)\""
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    59
CXX_FLAGS=$(CXX_FLAGS) /D "JRE_RELEASE_VERSION=\"$(JRE_RELEASE_VER)\""
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    60
CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_LIB_ARCH=\"$(HOTSPOT_LIB_ARCH)\""
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    61
CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_BUILD_TARGET=\"$(BUILD_FLAVOR)\""
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    62
CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_BUILD_USER=\"$(BuildUser)\""
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    63
CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_VM_DISTRO=\"$(HOTSPOT_VM_DISTRO)\""
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    64
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    65
CXX_FLAGS=$(CXX_FLAGS) $(CXX_INCLUDE_DIRS)
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    66
489c9b5090e2 Initial load
duke
parents:
diff changeset
    67
# Define that so jni.h is on correct side
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    68
CXX_FLAGS=$(CXX_FLAGS) /D "_JNI_IMPLEMENTATION_"
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    69
489c9b5090e2 Initial load
duke
parents:
diff changeset
    70
!if "$(BUILDARCH)" == "ia64"
489c9b5090e2 Initial load
duke
parents:
diff changeset
    71
STACK_SIZE="/STACK:1048576,262144"
489c9b5090e2 Initial load
duke
parents:
diff changeset
    72
!else
489c9b5090e2 Initial load
duke
parents:
diff changeset
    73
STACK_SIZE=
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 "$(BUILDARCH)" == "ia64"
489c9b5090e2 Initial load
duke
parents:
diff changeset
    77
# AsyncGetCallTrace is not supported on IA64 yet
489c9b5090e2 Initial load
duke
parents:
diff changeset
    78
AGCT_EXPORT=
489c9b5090e2 Initial load
duke
parents:
diff changeset
    79
!else
489c9b5090e2 Initial load
duke
parents:
diff changeset
    80
AGCT_EXPORT=/export:AsyncGetCallTrace
489c9b5090e2 Initial load
duke
parents:
diff changeset
    81
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    82
7452
b3fa838286de 7006354: Updates to Visual Studio project creation and development launcher
sla
parents: 7408
diff changeset
    83
# If you modify exports below please do the corresponding changes in
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
    84
# src/share/tools/ProjectCreator/WinGammaPlatformVC7.java
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    85
LD_FLAGS=$(LD_FLAGS) $(STACK_SIZE) /subsystem:windows /dll /base:0x8000000 \
772
96110c02b165 6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
ksrini
parents: 357
diff changeset
    86
  /export:JNI_GetDefaultJavaVMInitArgs       \
96110c02b165 6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
ksrini
parents: 357
diff changeset
    87
  /export:JNI_CreateJavaVM                   \
96110c02b165 6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
ksrini
parents: 357
diff changeset
    88
  /export:JVM_FindClassFromBootLoader        \
96110c02b165 6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
ksrini
parents: 357
diff changeset
    89
  /export:JNI_GetCreatedJavaVMs              \
96110c02b165 6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
ksrini
parents: 357
diff changeset
    90
  /export:jio_snprintf                       \
96110c02b165 6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
ksrini
parents: 357
diff changeset
    91
  /export:jio_printf                         \
96110c02b165 6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
ksrini
parents: 357
diff changeset
    92
  /export:jio_fprintf                        \
96110c02b165 6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
ksrini
parents: 357
diff changeset
    93
  /export:jio_vfprintf                       \
96110c02b165 6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
ksrini
parents: 357
diff changeset
    94
  /export:jio_vsnprintf                      \
96110c02b165 6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
ksrini
parents: 357
diff changeset
    95
  $(AGCT_EXPORT)                             \
96110c02b165 6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
ksrini
parents: 357
diff changeset
    96
  /export:JVM_GetVersionInfo                 \
96110c02b165 6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
ksrini
parents: 357
diff changeset
    97
  /export:JVM_GetThreadStateNames            \
96110c02b165 6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
ksrini
parents: 357
diff changeset
    98
  /export:JVM_GetThreadStateValues           \
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    99
  /export:JVM_InitAgentProperties
489c9b5090e2 Initial load
duke
parents:
diff changeset
   100
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   101
CXX_INCLUDE_DIRS=/I "..\generated"
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   102
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   103
!if exists($(ALTSRC)\share\vm)
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   104
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\share\vm"
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   105
!endif
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   106
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   107
!if exists($(ALTSRC)\os\windows\vm)
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   108
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\os\windows\vm"
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   109
!endif
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   110
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   111
!if exists($(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm)
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   112
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm"
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   113
!endif
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   115
!if exists($(ALTSRC)\cpu\$(Platform_arch)\vm)
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   116
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\cpu\$(Platform_arch)\vm"
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   117
!endif
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   118
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   119
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) \
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   120
  /I "$(COMMONSRC)\share\vm" \
10830
f3fedfa29811 7106766: Move the precompiled header from the src/share/vm directory
brutisso
parents: 8921
diff changeset
   121
  /I "$(COMMONSRC)\share\vm\precompiled" \
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   122
  /I "$(COMMONSRC)\share\vm\prims" \
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   123
  /I "$(COMMONSRC)\os\windows\vm" \
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   124
  /I "$(COMMONSRC)\os_cpu\windows_$(Platform_arch)\vm" \
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   125
  /I "$(COMMONSRC)\cpu\$(Platform_arch)\vm"
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   126
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   127
CXX_DONT_USE_PCH=/D DONT_USE_PRECOMPILED_HEADER
7408
c04a5c989f26 7003125: precompiled.hpp is included when precompiled headers are not used
stefank
parents: 7397
diff changeset
   128
c04a5c989f26 7003125: precompiled.hpp is included when precompiled headers are not used
stefank
parents: 7397
diff changeset
   129
!if "$(USE_PRECOMPILED_HEADER)" != "0"
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   130
CXX_USE_PCH=/Fp"vm.pch" /Yu"precompiled.hpp"
18936
5e18fd279f7d 8015759: hotspot changes needed to compile with Visual Studio 2012
dholmes
parents: 18025
diff changeset
   131
!if "$(COMPILER_NAME)" == "VS2012"
5e18fd279f7d 8015759: hotspot changes needed to compile with Visual Studio 2012
dholmes
parents: 18025
diff changeset
   132
# VS2012 requires this object file to be listed:
5e18fd279f7d 8015759: hotspot changes needed to compile with Visual Studio 2012
dholmes
parents: 18025
diff changeset
   133
LD_FLAGS=$(LD_FLAGS) _build_pch_file.obj
5e18fd279f7d 8015759: hotspot changes needed to compile with Visual Studio 2012
dholmes
parents: 18025
diff changeset
   134
!endif
7408
c04a5c989f26 7003125: precompiled.hpp is included when precompiled headers are not used
stefank
parents: 7397
diff changeset
   135
!else
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   136
CXX_USE_PCH=$(CXX_DONT_USE_PCH)
7408
c04a5c989f26 7003125: precompiled.hpp is included when precompiled headers are not used
stefank
parents: 7397
diff changeset
   137
!endif
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   138
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   139
# Where to find the source code for the virtual machine (is this used?)
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
   140
VM_PATH=../generated
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
   141
VM_PATH=$(VM_PATH);../generated/adfiles
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   142
VM_PATH=$(VM_PATH);../generated/jvmtifiles
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents: 17006
diff changeset
   143
VM_PATH=$(VM_PATH);../generated/tracefiles
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   144
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/c1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   145
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/compiler
489c9b5090e2 Initial load
duke
parents:
diff changeset
   146
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/code
489c9b5090e2 Initial load
duke
parents:
diff changeset
   147
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/interpreter
489c9b5090e2 Initial load
duke
parents:
diff changeset
   148
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/ci
489c9b5090e2 Initial load
duke
parents:
diff changeset
   149
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/classfile
489c9b5090e2 Initial load
duke
parents:
diff changeset
   150
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/parallelScavenge
489c9b5090e2 Initial load
duke
parents:
diff changeset
   151
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/shared
489c9b5090e2 Initial load
duke
parents:
diff changeset
   152
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/parNew
489c9b5090e2 Initial load
duke
parents:
diff changeset
   153
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/concurrentMarkSweep
1374
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents: 357
diff changeset
   154
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/g1
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   155
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_interface
489c9b5090e2 Initial load
duke
parents:
diff changeset
   156
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/asm
489c9b5090e2 Initial load
duke
parents:
diff changeset
   157
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/memory
489c9b5090e2 Initial load
duke
parents:
diff changeset
   158
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/oops
489c9b5090e2 Initial load
duke
parents:
diff changeset
   159
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/prims
12262
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents: 11721
diff changeset
   160
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/prims/wbtestmethods
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   161
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/runtime
489c9b5090e2 Initial load
duke
parents:
diff changeset
   162
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/services
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   163
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/trace
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   164
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/utilities
489c9b5090e2 Initial load
duke
parents:
diff changeset
   165
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/libadt
489c9b5090e2 Initial load
duke
parents:
diff changeset
   166
VM_PATH=$(VM_PATH);$(WorkSpace)/src/os/windows/vm
489c9b5090e2 Initial load
duke
parents:
diff changeset
   167
VM_PATH=$(VM_PATH);$(WorkSpace)/src/os_cpu/windows_$(Platform_arch)/vm
489c9b5090e2 Initial load
duke
parents:
diff changeset
   168
VM_PATH=$(VM_PATH);$(WorkSpace)/src/cpu/$(Platform_arch)/vm
489c9b5090e2 Initial load
duke
parents:
diff changeset
   169
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/opto
489c9b5090e2 Initial load
duke
parents:
diff changeset
   170
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   171
!if exists($(ALTSRC)\share\vm\jfr)
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   172
VM_PATH=$(VM_PATH);$(ALTSRC)/share/vm/jfr
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents: 17006
diff changeset
   173
VM_PATH=$(VM_PATH);$(ALTSRC)/share/vm/jfr/buffers
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   174
!endif
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   175
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   176
VM_PATH={$(VM_PATH)}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   177
489c9b5090e2 Initial load
duke
parents:
diff changeset
   178
# Special case files not using precompiled header files.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   179
17006
b9bfa72b7dda 7104565: trim jprt build targets
drchase
parents: 16447
diff changeset
   180
c1_RInfo_$(Platform_arch).obj: $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   181
	 $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   182
489c9b5090e2 Initial load
duke
parents:
diff changeset
   183
os_windows.obj: $(WorkSpace)\src\os\windows\vm\os_windows.cpp
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   184
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\os_windows.cpp
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   185
489c9b5090e2 Initial load
duke
parents:
diff changeset
   186
os_windows_$(Platform_arch).obj: $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\os_windows_$(Platform_arch).cpp
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   187
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\os_windows_$(Platform_arch).cpp
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   188
489c9b5090e2 Initial load
duke
parents:
diff changeset
   189
osThread_windows.obj: $(WorkSpace)\src\os\windows\vm\osThread_windows.cpp
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   190
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\osThread_windows.cpp
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   191
489c9b5090e2 Initial load
duke
parents:
diff changeset
   192
conditionVar_windows.obj: $(WorkSpace)\src\os\windows\vm\conditionVar_windows.cpp
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   193
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\conditionVar_windows.cpp
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   194
489c9b5090e2 Initial load
duke
parents:
diff changeset
   195
getThread_windows_$(Platform_arch).obj: $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\getThread_windows_$(Platform_arch).cpp
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   196
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\getThread_windows_$(Platform_arch).cpp
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   197
489c9b5090e2 Initial load
duke
parents:
diff changeset
   198
opcodes.obj: $(WorkSpace)\src\share\vm\opto\opcodes.cpp
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   199
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\share\vm\opto\opcodes.cpp
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   200
489c9b5090e2 Initial load
duke
parents:
diff changeset
   201
bytecodeInterpreter.obj: $(WorkSpace)\src\share\vm\interpreter\bytecodeInterpreter.cpp
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   202
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\share\vm\interpreter\bytecodeInterpreter.cpp
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   203
489c9b5090e2 Initial load
duke
parents:
diff changeset
   204
bytecodeInterpreterWithChecks.obj: ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   205
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   206
489c9b5090e2 Initial load
duke
parents:
diff changeset
   207
# Default rules for the Virtual Machine
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   208
{$(COMMONSRC)\share\vm\c1}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   209
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   210
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   211
{$(COMMONSRC)\share\vm\compiler}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   212
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   213
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   214
{$(COMMONSRC)\share\vm\code}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   215
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   216
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   217
{$(COMMONSRC)\share\vm\interpreter}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   218
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   219
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   220
{$(COMMONSRC)\share\vm\ci}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   221
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   222
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   223
{$(COMMONSRC)\share\vm\classfile}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   224
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   225
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   226
{$(COMMONSRC)\share\vm\gc_implementation\parallelScavenge}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   227
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   228
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   229
{$(COMMONSRC)\share\vm\gc_implementation\shared}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   230
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   231
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   232
{$(COMMONSRC)\share\vm\gc_implementation\parNew}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   233
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   234
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   235
{$(COMMONSRC)\share\vm\gc_implementation\concurrentMarkSweep}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   236
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   237
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   238
{$(COMMONSRC)\share\vm\gc_implementation\g1}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   239
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1374
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents: 357
diff changeset
   240
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   241
{$(COMMONSRC)\share\vm\gc_interface}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   242
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   243
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   244
{$(COMMONSRC)\share\vm\asm}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   245
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   246
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   247
{$(COMMONSRC)\share\vm\memory}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   248
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   249
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   250
{$(COMMONSRC)\share\vm\oops}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   251
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   252
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   253
{$(COMMONSRC)\share\vm\prims}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   254
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   255
12262
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents: 11721
diff changeset
   256
{$(COMMONSRC)\share\vm\prims\wbtestmethods}.cpp.obj::
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents: 11721
diff changeset
   257
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents: 11721
diff changeset
   258
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   259
{$(COMMONSRC)\share\vm\runtime}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   260
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   261
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   262
{$(COMMONSRC)\share\vm\services}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   263
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   264
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   265
{$(COMMONSRC)\share\vm\trace}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   266
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   267
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   268
{$(COMMONSRC)\share\vm\utilities}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   269
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   270
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   271
{$(COMMONSRC)\share\vm\libadt}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   272
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   273
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   274
{$(COMMONSRC)\share\vm\opto}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   275
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   276
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   277
{$(COMMONSRC)\os\windows\vm}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   278
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   279
489c9b5090e2 Initial load
duke
parents:
diff changeset
   280
# This guy should remain a single colon rule because
489c9b5090e2 Initial load
duke
parents:
diff changeset
   281
# otherwise we can't specify the output filename.
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   282
{$(COMMONSRC)\os\windows\vm}.rc.res:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   283
        @$(RC) $(RC_FLAGS) /fo"$@" $<
489c9b5090e2 Initial load
duke
parents:
diff changeset
   284
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   285
{$(COMMONSRC)\cpu\$(Platform_arch)\vm}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   286
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   287
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   288
{$(COMMONSRC)\os_cpu\windows_$(Platform_arch)\vm}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   289
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   290
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   291
{$(ALTSRC)\share\vm\c1}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   292
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   293
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   294
{$(ALTSRC)\share\vm\compiler}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   295
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   296
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   297
{$(ALTSRC)\share\vm\code}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   298
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   299
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   300
{$(ALTSRC)\share\vm\interpreter}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   301
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   302
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   303
{$(ALTSRC)\share\vm\ci}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   304
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   305
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   306
{$(ALTSRC)\share\vm\classfile}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   307
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   308
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   309
{$(ALTSRC)\share\vm\gc_implementation\parallelScavenge}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   310
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   311
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   312
{$(ALTSRC)\share\vm\gc_implementation\shared}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   313
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   314
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   315
{$(ALTSRC)\share\vm\gc_implementation\parNew}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   316
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   317
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   318
{$(ALTSRC)\share\vm\gc_implementation\concurrentMarkSweep}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   319
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   320
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   321
{$(ALTSRC)\share\vm\gc_implementation\g1}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   322
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   323
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   324
{$(ALTSRC)\share\vm\gc_interface}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   325
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   326
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   327
{$(ALTSRC)\share\vm\asm}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   328
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   329
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   330
{$(ALTSRC)\share\vm\memory}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   331
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   332
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   333
{$(ALTSRC)\share\vm\oops}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   334
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   335
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   336
{$(ALTSRC)\share\vm\prims}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   337
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   338
12262
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents: 11721
diff changeset
   339
{$(ALTSRC)\share\vm\prims\wbtestmethods}.cpp.obj::
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents: 11721
diff changeset
   340
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents: 11721
diff changeset
   341
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   342
{$(ALTSRC)\share\vm\runtime}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   343
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   344
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   345
{$(ALTSRC)\share\vm\services}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   346
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   347
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   348
{$(ALTSRC)\share\vm\trace}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   349
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   350
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   351
{$(ALTSRC)\share\vm\utilities}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   352
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   353
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   354
{$(ALTSRC)\share\vm\libadt}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   355
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   356
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   357
{$(ALTSRC)\share\vm\opto}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   358
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   359
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   360
{$(ALTSRC)\os\windows\vm}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   361
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   362
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   363
# otherwise we can't specify the output filename.
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   364
{$(ALTSRC)\os\windows\vm}.rc.res:
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   365
        @$(RC) $(RC_FLAGS) /fo"$@" $<
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   366
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   367
{$(ALTSRC)\cpu\$(Platform_arch)\vm}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   368
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   369
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   370
{$(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   371
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   372
489c9b5090e2 Initial load
duke
parents:
diff changeset
   373
{..\generated\incls}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   374
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   375
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
   376
{..\generated\adfiles}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   377
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
   378
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   379
{..\generated\jvmtifiles}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   380
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   381
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents: 17006
diff changeset
   382
{..\generated\tracefiles}.cpp.obj::
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents: 17006
diff changeset
   383
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents: 17006
diff changeset
   384
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   385
{$(ALTSRC)\share\vm\jfr}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   386
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   387
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents: 17006
diff changeset
   388
{$(ALTSRC)\share\vm\jfr\buffers}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   389
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   390
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   391
default::
489c9b5090e2 Initial load
duke
parents:
diff changeset
   392
489c9b5090e2 Initial load
duke
parents:
diff changeset
   393
_build_pch_file.obj:
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
   394
        @echo #include "precompiled.hpp" > ../generated/_build_pch_file.cpp
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   395
        $(CXX) $(CXX_FLAGS) /Fp"vm.pch" /Yc"precompiled.hpp" /c ../generated/_build_pch_file.cpp
19535
7b3e169c564a 8023406: make/windows/build_vm_def.sh takes too long even when BUILD_WIN_SA != 1
iklam
parents: 19270
diff changeset
   396
7b3e169c564a 8023406: make/windows/build_vm_def.sh takes too long even when BUILD_WIN_SA != 1
iklam
parents: 19270
diff changeset
   397
!if "$(BUILD_WIN_SA)" != "1"
7b3e169c564a 8023406: make/windows/build_vm_def.sh takes too long even when BUILD_WIN_SA != 1
iklam
parents: 19270
diff changeset
   398
BUILD_VM_DEF_FLAG=-nosa
7b3e169c564a 8023406: make/windows/build_vm_def.sh takes too long even when BUILD_WIN_SA != 1
iklam
parents: 19270
diff changeset
   399
!endif
7b3e169c564a 8023406: make/windows/build_vm_def.sh takes too long even when BUILD_WIN_SA != 1
iklam
parents: 19270
diff changeset
   400
7b3e169c564a 8023406: make/windows/build_vm_def.sh takes too long even when BUILD_WIN_SA != 1
iklam
parents: 19270
diff changeset
   401
vm.def: $(Obj_Files)
7b3e169c564a 8023406: make/windows/build_vm_def.sh takes too long even when BUILD_WIN_SA != 1
iklam
parents: 19270
diff changeset
   402
	sh $(WorkSpace)/make/windows/build_vm_def.sh $(BUILD_VM_DEF_FLAG)
7b3e169c564a 8023406: make/windows/build_vm_def.sh takes too long even when BUILD_WIN_SA != 1
iklam
parents: 19270
diff changeset
   403