hotspot/make/windows/makefiles/vm.make
author twisti
Thu, 08 Oct 2015 12:49:30 -1000
changeset 33160 c59f1676d27e
parent 30764 fec48bf5a827
child 33198 b37ad9fbf681
permissions -rw-r--r--
8136421: JEP 243: Java-Level JVM Compiler Interface Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
#
30764
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 27652
diff changeset
     2
# Copyright (c) 1997, 2015, 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"
26293
5c7a054e59fe 8027480: Build Windows x64 fastdebug builds using /homeparams
ctornqvi
parents: 25052
diff changeset
    37
!if "$(BUILDARCH)" == "amd64"
5c7a054e59fe 8027480: Build Windows x64 fastdebug builds using /homeparams
ctornqvi
parents: 25052
diff changeset
    38
CXX_FLAGS=$(CXX_FLAGS) /homeparams
5c7a054e59fe 8027480: Build Windows x64 fastdebug builds using /homeparams
ctornqvi
parents: 25052
diff changeset
    39
!endif
1
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
!if "$(Variant)" == "compiler1"
33160
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents: 30764
diff changeset
    43
CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1" /D INCLUDE_JVMCI=0
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    44
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    45
489c9b5090e2 Initial load
duke
parents:
diff changeset
    46
!if "$(Variant)" == "compiler2"
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    47
CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER2"
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    48
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    49
489c9b5090e2 Initial load
duke
parents:
diff changeset
    50
!if "$(Variant)" == "tiered"
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    51
CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1" /D "COMPILER2"
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    52
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    53
2564
85c3ae53ca1c 6684007: PrintAssembly plugin not available for linux or windows
never
parents: 1388
diff changeset
    54
!if "$(BUILDARCH)" == "i486"
85c3ae53ca1c 6684007: PrintAssembly plugin not available for linux or windows
never
parents: 1388
diff changeset
    55
HOTSPOT_LIB_ARCH=i386
85c3ae53ca1c 6684007: PrintAssembly plugin not available for linux or windows
never
parents: 1388
diff changeset
    56
!else
85c3ae53ca1c 6684007: PrintAssembly plugin not available for linux or windows
never
parents: 1388
diff changeset
    57
HOTSPOT_LIB_ARCH=$(BUILDARCH)
85c3ae53ca1c 6684007: PrintAssembly plugin not available for linux or windows
never
parents: 1388
diff changeset
    58
!endif
85c3ae53ca1c 6684007: PrintAssembly plugin not available for linux or windows
never
parents: 1388
diff changeset
    59
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    60
# 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
    61
CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_RELEASE_VERSION=\"$(HS_BUILD_VER)\""
24238
641b2b1b0163 8030011: Update Hotspot version string output
amurillo
parents: 19535
diff changeset
    62
CXX_FLAGS=$(CXX_FLAGS) /D "JDK_MAJOR_VERSION=\"$(JDK_MAJOR_VERSION)\""
641b2b1b0163 8030011: Update Hotspot version string output
amurillo
parents: 19535
diff changeset
    63
CXX_FLAGS=$(CXX_FLAGS) /D "JDK_MINOR_VERSION=\"$(JDK_MINOR_VERSION)\""
641b2b1b0163 8030011: Update Hotspot version string output
amurillo
parents: 19535
diff changeset
    64
CXX_FLAGS=$(CXX_FLAGS) /D "JDK_MICRO_VERSION=\"$(JDK_MICRO_VERSION)\""
641b2b1b0163 8030011: Update Hotspot version string output
amurillo
parents: 19535
diff changeset
    65
CXX_FLAGS=$(CXX_FLAGS) /D "JDK_BUILD_NUMBER=\"$(JDK_BUILD_NUMBER)\""
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    66
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
    67
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
    68
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
    69
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
    70
CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_VM_DISTRO=\"$(HOTSPOT_VM_DISTRO)\""
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    71
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
    72
CXX_FLAGS=$(CXX_FLAGS) $(CXX_INCLUDE_DIRS)
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    73
489c9b5090e2 Initial load
duke
parents:
diff changeset
    74
# 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
    75
CXX_FLAGS=$(CXX_FLAGS) /D "_JNI_IMPLEMENTATION_"
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    76
489c9b5090e2 Initial load
duke
parents:
diff changeset
    77
!if "$(BUILDARCH)" == "ia64"
489c9b5090e2 Initial load
duke
parents:
diff changeset
    78
STACK_SIZE="/STACK:1048576,262144"
489c9b5090e2 Initial load
duke
parents:
diff changeset
    79
!else
489c9b5090e2 Initial load
duke
parents:
diff changeset
    80
STACK_SIZE=
489c9b5090e2 Initial load
duke
parents:
diff changeset
    81
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    82
489c9b5090e2 Initial load
duke
parents:
diff changeset
    83
!if "$(BUILDARCH)" == "ia64"
489c9b5090e2 Initial load
duke
parents:
diff changeset
    84
# AsyncGetCallTrace is not supported on IA64 yet
489c9b5090e2 Initial load
duke
parents:
diff changeset
    85
AGCT_EXPORT=
489c9b5090e2 Initial load
duke
parents:
diff changeset
    86
!else
489c9b5090e2 Initial load
duke
parents:
diff changeset
    87
AGCT_EXPORT=/export:AsyncGetCallTrace
489c9b5090e2 Initial load
duke
parents:
diff changeset
    88
!endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    89
7452
b3fa838286de 7006354: Updates to Visual Studio project creation and development launcher
sla
parents: 7408
diff changeset
    90
# 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
    91
# src/share/tools/ProjectCreator/WinGammaPlatformVC7.java
27652
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
    92
!if "$(BUILDARCH)" == "amd64"
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
    93
EXPORT_LIST=
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
    94
!else
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
    95
EXPORT_LIST=/export:JNI_GetDefaultJavaVMInitArgs \
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
    96
            /export:JNI_CreateJavaVM             \
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
    97
            /export:JVM_FindClassFromBootLoader  \
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
    98
            /export:JNI_GetCreatedJavaVMs        \
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
    99
            /export:jio_snprintf                 \
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
   100
            /export:jio_printf                   \
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
   101
            /export:jio_fprintf                  \
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
   102
            /export:jio_vfprintf                 \
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
   103
            /export:jio_vsnprintf                \
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
   104
            $(AGCT_EXPORT)                       \
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
   105
            /export:JVM_GetVersionInfo           \
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
   106
            /export:JVM_InitAgentProperties
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
   107
!endif
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
   108
b07e72c58aef 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
ccheung
parents: 27157
diff changeset
   109
LD_FLAGS=$(LD_FLAGS) $(STACK_SIZE) /subsystem:windows /dll /base:0x8000000 $(EXPORT_LIST)
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   110
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   111
CXX_INCLUDE_DIRS=/I "..\generated"
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   112
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   113
!if exists($(ALTSRC)\share\vm)
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   114
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
   115
!endif
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   116
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   117
!if exists($(ALTSRC)\os\windows\vm)
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   118
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
   119
!endif
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   120
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   121
!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
   122
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
   123
!endif
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   124
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   125
!if exists($(ALTSRC)\cpu\$(Platform_arch)\vm)
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   126
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
   127
!endif
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   128
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   129
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) \
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   130
  /I "$(COMMONSRC)\share\vm" \
10830
f3fedfa29811 7106766: Move the precompiled header from the src/share/vm directory
brutisso
parents: 8921
diff changeset
   131
  /I "$(COMMONSRC)\share\vm\precompiled" \
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   132
  /I "$(COMMONSRC)\share\vm\prims" \
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   133
  /I "$(COMMONSRC)\os\windows\vm" \
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   134
  /I "$(COMMONSRC)\os_cpu\windows_$(Platform_arch)\vm" \
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   135
  /I "$(COMMONSRC)\cpu\$(Platform_arch)\vm"
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   136
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   137
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
   138
c04a5c989f26 7003125: precompiled.hpp is included when precompiled headers are not used
stefank
parents: 7397
diff changeset
   139
!if "$(USE_PRECOMPILED_HEADER)" != "0"
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   140
CXX_USE_PCH=/Fp"vm.pch" /Yu"precompiled.hpp"
25052
66e77563d9e7 8043492: ad_x86_64_misc.obj : error LNK2011: precompiled object not linked in; image may not run
ctornqvi
parents: 24238
diff changeset
   141
!if "$(MSC_VER)" > "1600"
18936
5e18fd279f7d 8015759: hotspot changes needed to compile with Visual Studio 2012
dholmes
parents: 18025
diff changeset
   142
# VS2012 requires this object file to be listed:
5e18fd279f7d 8015759: hotspot changes needed to compile with Visual Studio 2012
dholmes
parents: 18025
diff changeset
   143
LD_FLAGS=$(LD_FLAGS) _build_pch_file.obj
5e18fd279f7d 8015759: hotspot changes needed to compile with Visual Studio 2012
dholmes
parents: 18025
diff changeset
   144
!endif
7408
c04a5c989f26 7003125: precompiled.hpp is included when precompiled headers are not used
stefank
parents: 7397
diff changeset
   145
!else
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   146
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
   147
!endif
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   148
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   149
# 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
   150
VM_PATH=../generated
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
   151
VM_PATH=$(VM_PATH);../generated/adfiles
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   152
VM_PATH=$(VM_PATH);../generated/jvmtifiles
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents: 17006
diff changeset
   153
VM_PATH=$(VM_PATH);../generated/tracefiles
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   154
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/c1
33160
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents: 30764
diff changeset
   155
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/jvmci
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   156
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/compiler
489c9b5090e2 Initial load
duke
parents:
diff changeset
   157
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/code
489c9b5090e2 Initial load
duke
parents:
diff changeset
   158
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/interpreter
489c9b5090e2 Initial load
duke
parents:
diff changeset
   159
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/ci
489c9b5090e2 Initial load
duke
parents:
diff changeset
   160
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/classfile
30764
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 27652
diff changeset
   161
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc/parallel
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 27652
diff changeset
   162
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc/shared
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 27652
diff changeset
   163
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc/serial
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 27652
diff changeset
   164
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc/cms
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 27652
diff changeset
   165
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc/g1
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   166
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/asm
489c9b5090e2 Initial load
duke
parents:
diff changeset
   167
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/memory
489c9b5090e2 Initial load
duke
parents:
diff changeset
   168
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/oops
489c9b5090e2 Initial load
duke
parents:
diff changeset
   169
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/prims
12262
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents: 11721
diff changeset
   170
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/prims/wbtestmethods
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   171
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/runtime
489c9b5090e2 Initial load
duke
parents:
diff changeset
   172
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
   173
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/trace
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   174
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/utilities
489c9b5090e2 Initial load
duke
parents:
diff changeset
   175
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/libadt
489c9b5090e2 Initial load
duke
parents:
diff changeset
   176
VM_PATH=$(VM_PATH);$(WorkSpace)/src/os/windows/vm
489c9b5090e2 Initial load
duke
parents:
diff changeset
   177
VM_PATH=$(VM_PATH);$(WorkSpace)/src/os_cpu/windows_$(Platform_arch)/vm
489c9b5090e2 Initial load
duke
parents:
diff changeset
   178
VM_PATH=$(VM_PATH);$(WorkSpace)/src/cpu/$(Platform_arch)/vm
489c9b5090e2 Initial load
duke
parents:
diff changeset
   179
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/opto
489c9b5090e2 Initial load
duke
parents:
diff changeset
   180
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   181
!if exists($(ALTSRC)\share\vm\jfr)
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   182
VM_PATH=$(VM_PATH);$(ALTSRC)/share/vm/jfr
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents: 17006
diff changeset
   183
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
   184
!endif
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   185
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   186
VM_PATH={$(VM_PATH)}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   187
489c9b5090e2 Initial load
duke
parents:
diff changeset
   188
# Special case files not using precompiled header files.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   189
17006
b9bfa72b7dda 7104565: trim jprt build targets
drchase
parents: 16447
diff changeset
   190
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
   191
	 $(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
   192
489c9b5090e2 Initial load
duke
parents:
diff changeset
   193
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
   194
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\os_windows.cpp
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   195
489c9b5090e2 Initial load
duke
parents:
diff changeset
   196
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
   197
        $(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
   198
489c9b5090e2 Initial load
duke
parents:
diff changeset
   199
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
   200
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\osThread_windows.cpp
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   201
489c9b5090e2 Initial load
duke
parents:
diff changeset
   202
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
   203
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\conditionVar_windows.cpp
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   204
489c9b5090e2 Initial load
duke
parents:
diff changeset
   205
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
   206
        $(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
   207
489c9b5090e2 Initial load
duke
parents:
diff changeset
   208
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
   209
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\share\vm\opto\opcodes.cpp
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   210
489c9b5090e2 Initial load
duke
parents:
diff changeset
   211
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
   212
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\share\vm\interpreter\bytecodeInterpreter.cpp
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   213
489c9b5090e2 Initial load
duke
parents:
diff changeset
   214
bytecodeInterpreterWithChecks.obj: ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   215
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   216
489c9b5090e2 Initial load
duke
parents:
diff changeset
   217
# Default rules for the Virtual Machine
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   218
{$(COMMONSRC)\share\vm\c1}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   219
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   220
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   221
{$(COMMONSRC)\share\vm\compiler}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   222
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   223
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   224
{$(COMMONSRC)\share\vm\code}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   225
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   226
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   227
{$(COMMONSRC)\share\vm\interpreter}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   228
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   229
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   230
{$(COMMONSRC)\share\vm\ci}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   231
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   232
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   233
{$(COMMONSRC)\share\vm\classfile}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   234
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   235
33160
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents: 30764
diff changeset
   236
{$(COMMONSRC)\share\vm\jvmci}.cpp.obj::
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents: 30764
diff changeset
   237
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents: 30764
diff changeset
   238
30764
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 27652
diff changeset
   239
{$(COMMONSRC)\share\vm\gc\parallel}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   240
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   241
30764
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 27652
diff changeset
   242
{$(COMMONSRC)\share\vm\gc\shared}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   243
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   244
30764
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 27652
diff changeset
   245
{$(COMMONSRC)\share\vm\gc\serial}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   246
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   247
30764
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 27652
diff changeset
   248
{$(COMMONSRC)\share\vm\gc\cms}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   249
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   250
30764
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 27652
diff changeset
   251
{$(COMMONSRC)\share\vm\gc\g1}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   252
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   253
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   254
{$(COMMONSRC)\share\vm\asm}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   255
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   256
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   257
{$(COMMONSRC)\share\vm\memory}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   258
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   259
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   260
{$(COMMONSRC)\share\vm\oops}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   261
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   262
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   263
{$(COMMONSRC)\share\vm\prims}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   264
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   265
12262
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents: 11721
diff changeset
   266
{$(COMMONSRC)\share\vm\prims\wbtestmethods}.cpp.obj::
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents: 11721
diff changeset
   267
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents: 11721
diff changeset
   268
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   269
{$(COMMONSRC)\share\vm\runtime}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   270
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   271
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   272
{$(COMMONSRC)\share\vm\services}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   273
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   274
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   275
{$(COMMONSRC)\share\vm\trace}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   276
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   277
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   278
{$(COMMONSRC)\share\vm\utilities}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   279
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   280
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   281
{$(COMMONSRC)\share\vm\libadt}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   282
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   283
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   284
{$(COMMONSRC)\share\vm\opto}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   285
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   286
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   287
{$(COMMONSRC)\os\windows\vm}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   288
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   289
489c9b5090e2 Initial load
duke
parents:
diff changeset
   290
# This guy should remain a single colon rule because
489c9b5090e2 Initial load
duke
parents:
diff changeset
   291
# otherwise we can't specify the output filename.
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   292
{$(COMMONSRC)\os\windows\vm}.rc.res:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   293
        @$(RC) $(RC_FLAGS) /fo"$@" $<
489c9b5090e2 Initial load
duke
parents:
diff changeset
   294
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   295
{$(COMMONSRC)\cpu\$(Platform_arch)\vm}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   296
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   297
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   298
{$(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
   299
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   300
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   301
{$(ALTSRC)\share\vm\c1}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   302
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   303
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   304
{$(ALTSRC)\share\vm\compiler}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   305
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   306
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   307
{$(ALTSRC)\share\vm\code}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   308
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   309
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   310
{$(ALTSRC)\share\vm\interpreter}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   311
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   312
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   313
{$(ALTSRC)\share\vm\ci}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   314
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   315
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   316
{$(ALTSRC)\share\vm\classfile}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   317
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   318
30764
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 27652
diff changeset
   319
{$(ALTSRC)\share\vm\gc\parallel}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   320
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   321
30764
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 27652
diff changeset
   322
{$(ALTSRC)\share\vm\gc\shared}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   323
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   324
30764
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 27652
diff changeset
   325
{$(ALTSRC)\share\vm\gc\serial}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   326
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   327
30764
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 27652
diff changeset
   328
{$(ALTSRC)\share\vm\gc\cms}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   329
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   330
30764
fec48bf5a827 8079792: GC directory structure cleanup
pliden
parents: 27652
diff changeset
   331
{$(ALTSRC)\share\vm\gc\g1}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   332
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   333
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   334
{$(ALTSRC)\share\vm\asm}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   335
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   336
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   337
{$(ALTSRC)\share\vm\memory}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   338
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   339
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   340
{$(ALTSRC)\share\vm\oops}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   341
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   342
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   343
{$(ALTSRC)\share\vm\prims}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   344
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   345
12262
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents: 11721
diff changeset
   346
{$(ALTSRC)\share\vm\prims\wbtestmethods}.cpp.obj::
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents: 11721
diff changeset
   347
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents: 11721
diff changeset
   348
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   349
{$(ALTSRC)\share\vm\runtime}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   350
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   351
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   352
{$(ALTSRC)\share\vm\services}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   353
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   354
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   355
{$(ALTSRC)\share\vm\trace}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   356
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   357
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   358
{$(ALTSRC)\share\vm\utilities}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   359
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   360
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   361
{$(ALTSRC)\share\vm\libadt}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   362
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   363
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   364
{$(ALTSRC)\share\vm\opto}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   365
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
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)\os\windows\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
# otherwise we can't specify the output filename.
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   371
{$(ALTSRC)\os\windows\vm}.rc.res:
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   372
        @$(RC) $(RC_FLAGS) /fo"$@" $<
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   373
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   374
{$(ALTSRC)\cpu\$(Platform_arch)\vm}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   375
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
8114
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   376
340b5b8b544b 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 7452
diff changeset
   377
{$(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
   378
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   379
489c9b5090e2 Initial load
duke
parents:
diff changeset
   380
{..\generated\incls}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   381
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   382
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
   383
{..\generated\adfiles}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   384
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
   385
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   386
{..\generated\jvmtifiles}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   387
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   388
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents: 17006
diff changeset
   389
{..\generated\tracefiles}.cpp.obj::
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents: 17006
diff changeset
   390
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents: 17006
diff changeset
   391
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   392
{$(ALTSRC)\share\vm\jfr}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   393
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   394
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents: 17006
diff changeset
   395
{$(ALTSRC)\share\vm\jfr\buffers}.cpp.obj::
11721
dcd1f62c9caf 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
erikj
parents: 11480
diff changeset
   396
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
11480
1bf714e8adb4 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 10830
diff changeset
   397
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   398
default::
489c9b5090e2 Initial load
duke
parents:
diff changeset
   399
489c9b5090e2 Initial load
duke
parents:
diff changeset
   400
_build_pch_file.obj:
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
   401
        @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
   402
        $(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
   403
7b3e169c564a 8023406: make/windows/build_vm_def.sh takes too long even when BUILD_WIN_SA != 1
iklam
parents: 19270
diff changeset
   404
!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
   405
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
   406
!endif
7b3e169c564a 8023406: make/windows/build_vm_def.sh takes too long even when BUILD_WIN_SA != 1
iklam
parents: 19270
diff changeset
   407
7b3e169c564a 8023406: make/windows/build_vm_def.sh takes too long even when BUILD_WIN_SA != 1
iklam
parents: 19270
diff changeset
   408
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
   409
	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
   410