vm.make 14.3 KB
Newer Older
D
duke 已提交
1
#
Z
zgu 已提交
2
# Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
D
duke 已提交
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
19 20 21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
22
#
D
duke 已提交
23 24 25 26 27
#

# Resource file containing VERSIONINFO
Res_Files=.\version.res

28 29
!include ..\generated\objfiles.make

30 31 32
COMMONSRC=$(WorkSpace)\src
ALTSRC=$(WorkSpace)\src\closed

33
!ifdef RELEASE
D
duke 已提交
34
!ifdef DEVELOP
35
CXX_FLAGS=$(CXX_FLAGS) /D "DEBUG"
D
duke 已提交
36
!else
37
CXX_FLAGS=$(CXX_FLAGS) /D "PRODUCT"
D
duke 已提交
38 39
!endif
!else
40
CXX_FLAGS=$(CXX_FLAGS) /D "ASSERT"
D
duke 已提交
41 42 43 44 45 46 47
!endif

!if "$(Variant)" == "core"
# No need to define anything, CORE is defined as !COMPILER1 && !COMPILER2
!endif

!if "$(Variant)" == "compiler1"
48
CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1"
D
duke 已提交
49 50 51
!endif

!if "$(Variant)" == "compiler2"
52
CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER2"
D
duke 已提交
53 54 55
!endif

!if "$(Variant)" == "tiered"
56
CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1" /D "COMPILER2"
D
duke 已提交
57 58
!endif

59 60 61 62 63 64
!if "$(BUILDARCH)" == "i486"
HOTSPOT_LIB_ARCH=i386
!else
HOTSPOT_LIB_ARCH=$(BUILDARCH)
!endif

D
duke 已提交
65
# The following variables are defined in the generated local.make file.
66 67 68 69 70 71
CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_RELEASE_VERSION=\"$(HS_BUILD_VER)\""
CXX_FLAGS=$(CXX_FLAGS) /D "JRE_RELEASE_VERSION=\"$(JRE_RELEASE_VER)\""
CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_LIB_ARCH=\"$(HOTSPOT_LIB_ARCH)\""
CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_BUILD_TARGET=\"$(BUILD_FLAVOR)\""
CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_BUILD_USER=\"$(BuildUser)\""
CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_VM_DISTRO=\"$(HOTSPOT_VM_DISTRO)\""
D
duke 已提交
72

73
!ifndef JAVASE_EMBEDDED
74
CXX_FLAGS=$(CXX_FLAGS) /D "INCLUDE_TRACE"
75 76
!endif

77
CXX_FLAGS=$(CXX_FLAGS) $(CXX_INCLUDE_DIRS)
D
duke 已提交
78 79

# Define that so jni.h is on correct side
80
CXX_FLAGS=$(CXX_FLAGS) /D "_JNI_IMPLEMENTATION_"
D
duke 已提交
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98

!if "$(BUILDARCH)" == "ia64"
STACK_SIZE="/STACK:1048576,262144"
!else
STACK_SIZE=
!endif

!if "$(BUILDARCH)" == "ia64"
# AsyncGetCallTrace is not supported on IA64 yet
AGCT_EXPORT=
!else
!if "$(Variant)" == "kernel"
AGCT_EXPORT=
!else
AGCT_EXPORT=/export:AsyncGetCallTrace
!endif
!endif

99
# If you modify exports below please do the corresponding changes in
100
# src/share/tools/ProjectCreator/WinGammaPlatformVC7.java
101
LD_FLAGS=$(LD_FLAGS) $(STACK_SIZE) /subsystem:windows /dll /base:0x8000000 \
102 103 104 105 106 107 108 109 110 111 112 113 114
  /export:JNI_GetDefaultJavaVMInitArgs       \
  /export:JNI_CreateJavaVM                   \
  /export:JVM_FindClassFromBootLoader        \
  /export:JNI_GetCreatedJavaVMs              \
  /export:jio_snprintf                       \
  /export:jio_printf                         \
  /export:jio_fprintf                        \
  /export:jio_vfprintf                       \
  /export:jio_vsnprintf                      \
  $(AGCT_EXPORT)                             \
  /export:JVM_GetVersionInfo                 \
  /export:JVM_GetThreadStateNames            \
  /export:JVM_GetThreadStateValues           \
D
duke 已提交
115 116
  /export:JVM_InitAgentProperties

117
CXX_INCLUDE_DIRS=/I "..\generated"
118 119

!if exists($(ALTSRC)\share\vm)
120
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\share\vm"
121 122 123
!endif

!if exists($(ALTSRC)\os\windows\vm)
124
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\os\windows\vm"
125 126 127
!endif

!if exists($(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm)
128
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm"
129 130 131
!endif

!if exists($(ALTSRC)\cpu\$(Platform_arch)\vm)
132
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\cpu\$(Platform_arch)\vm"
133 134
!endif

135
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) \
136
  /I "$(COMMONSRC)\share\vm" \
137
  /I "$(COMMONSRC)\share\vm\precompiled" \
138 139 140 141
  /I "$(COMMONSRC)\share\vm\prims" \
  /I "$(COMMONSRC)\os\windows\vm" \
  /I "$(COMMONSRC)\os_cpu\windows_$(Platform_arch)\vm" \
  /I "$(COMMONSRC)\cpu\$(Platform_arch)\vm"
D
duke 已提交
142

143
CXX_DONT_USE_PCH=/D DONT_USE_PRECOMPILED_HEADER
144 145

!if "$(USE_PRECOMPILED_HEADER)" != "0"
146
CXX_USE_PCH=/Fp"vm.pch" /Yu"precompiled.hpp"
147
!else
148
CXX_USE_PCH=$(CXX_DONT_USE_PCH)
149
!endif
D
duke 已提交
150

151
# Where to find the source code for the virtual machine (is this used?)
152 153
VM_PATH=../generated
VM_PATH=$(VM_PATH);../generated/adfiles
D
duke 已提交
154 155 156 157 158 159 160 161 162 163 164
VM_PATH=$(VM_PATH);../generated/jvmtifiles
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/c1
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/compiler
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/code
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/interpreter
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/ci
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/classfile
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/parallelScavenge
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/shared
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/parNew
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/concurrentMarkSweep
165
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/g1
D
duke 已提交
166 167 168 169 170
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_interface
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/asm
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/memory
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/oops
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/prims
171
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/prims/wbtestmethods
D
duke 已提交
172 173
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/runtime
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/services
174
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/trace
D
duke 已提交
175 176 177 178 179 180 181
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/utilities
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/libadt
VM_PATH=$(VM_PATH);$(WorkSpace)/src/os/windows/vm
VM_PATH=$(VM_PATH);$(WorkSpace)/src/os_cpu/windows_$(Platform_arch)/vm
VM_PATH=$(VM_PATH);$(WorkSpace)/src/cpu/$(Platform_arch)/vm
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/opto

182 183 184 185 186 187 188
!if exists($(ALTSRC)\share\vm\jfr)
VM_PATH=$(VM_PATH);$(ALTSRC)/share/vm/jfr/agent
VM_PATH=$(VM_PATH);$(ALTSRC)/share/vm/jfr/agent/isolated_deps/util
VM_PATH=$(VM_PATH);$(ALTSRC)/share/vm/jfr/jvm
VM_PATH=$(VM_PATH);$(ALTSRC)/share/vm/jfr
!endif

D
duke 已提交
189 190 191 192 193
VM_PATH={$(VM_PATH)}

# Special case files not using precompiled header files.

c1_RInfo_$(Platform_arch).obj: $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp 
194
	 $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp
D
duke 已提交
195 196

os_windows.obj: $(WorkSpace)\src\os\windows\vm\os_windows.cpp
197
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\os_windows.cpp
D
duke 已提交
198 199

os_windows_$(Platform_arch).obj: $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\os_windows_$(Platform_arch).cpp
200
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\os_windows_$(Platform_arch).cpp
D
duke 已提交
201 202

osThread_windows.obj: $(WorkSpace)\src\os\windows\vm\osThread_windows.cpp
203
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\osThread_windows.cpp
D
duke 已提交
204 205

conditionVar_windows.obj: $(WorkSpace)\src\os\windows\vm\conditionVar_windows.cpp
206
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\conditionVar_windows.cpp
D
duke 已提交
207 208

getThread_windows_$(Platform_arch).obj: $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\getThread_windows_$(Platform_arch).cpp
209
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\getThread_windows_$(Platform_arch).cpp
D
duke 已提交
210 211

opcodes.obj: $(WorkSpace)\src\share\vm\opto\opcodes.cpp
212
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\share\vm\opto\opcodes.cpp
D
duke 已提交
213 214

bytecodeInterpreter.obj: $(WorkSpace)\src\share\vm\interpreter\bytecodeInterpreter.cpp
215
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\share\vm\interpreter\bytecodeInterpreter.cpp
D
duke 已提交
216 217

bytecodeInterpreterWithChecks.obj: ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
218
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
D
duke 已提交
219 220

# Default rules for the Virtual Machine
221
{$(COMMONSRC)\share\vm\c1}.cpp.obj::
222
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
223

224
{$(COMMONSRC)\share\vm\compiler}.cpp.obj::
225
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
226

227
{$(COMMONSRC)\share\vm\code}.cpp.obj::
228
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
229

230
{$(COMMONSRC)\share\vm\interpreter}.cpp.obj::
231
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
232

233
{$(COMMONSRC)\share\vm\ci}.cpp.obj::
234
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
235

236
{$(COMMONSRC)\share\vm\classfile}.cpp.obj::
237
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
238

239
{$(COMMONSRC)\share\vm\gc_implementation\parallelScavenge}.cpp.obj::
240
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
241

242
{$(COMMONSRC)\share\vm\gc_implementation\shared}.cpp.obj::
243
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
244

245
{$(COMMONSRC)\share\vm\gc_implementation\parNew}.cpp.obj::
246
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
247

248
{$(COMMONSRC)\share\vm\gc_implementation\concurrentMarkSweep}.cpp.obj::
249
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
250

251
{$(COMMONSRC)\share\vm\gc_implementation\g1}.cpp.obj::
252
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
253

254
{$(COMMONSRC)\share\vm\gc_interface}.cpp.obj::
255
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
256

257
{$(COMMONSRC)\share\vm\asm}.cpp.obj::
258
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
259

260
{$(COMMONSRC)\share\vm\memory}.cpp.obj::
261
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
262

263
{$(COMMONSRC)\share\vm\oops}.cpp.obj::
264
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
265

266
{$(COMMONSRC)\share\vm\prims}.cpp.obj::
267
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
268

269 270 271
{$(COMMONSRC)\share\vm\prims\wbtestmethods}.cpp.obj::
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<

272
{$(COMMONSRC)\share\vm\runtime}.cpp.obj::
273
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
274

275
{$(COMMONSRC)\share\vm\services}.cpp.obj::
276
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
277

278
{$(COMMONSRC)\share\vm\trace}.cpp.obj::
279
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
280

281
{$(COMMONSRC)\share\vm\utilities}.cpp.obj::
282
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
283

284
{$(COMMONSRC)\share\vm\libadt}.cpp.obj::
285
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
286

287
{$(COMMONSRC)\share\vm\opto}.cpp.obj::
288
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
289

290
{$(COMMONSRC)\os\windows\vm}.cpp.obj::
291
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
292 293 294

# This guy should remain a single colon rule because
# otherwise we can't specify the output filename.
295 296 297 298
{$(COMMONSRC)\os\windows\vm}.rc.res:
        @$(RC) $(RC_FLAGS) /fo"$@" $<

{$(COMMONSRC)\cpu\$(Platform_arch)\vm}.cpp.obj::
299
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
300 301

{$(COMMONSRC)\os_cpu\windows_$(Platform_arch)\vm}.cpp.obj::
302
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
303 304

{$(ALTSRC)\share\vm\c1}.cpp.obj::
305
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
306 307

{$(ALTSRC)\share\vm\compiler}.cpp.obj::
308
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
309 310

{$(ALTSRC)\share\vm\code}.cpp.obj::
311
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
312 313

{$(ALTSRC)\share\vm\interpreter}.cpp.obj::
314
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
315 316

{$(ALTSRC)\share\vm\ci}.cpp.obj::
317
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
318 319

{$(ALTSRC)\share\vm\classfile}.cpp.obj::
320
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
321 322

{$(ALTSRC)\share\vm\gc_implementation\parallelScavenge}.cpp.obj::
323
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
324 325

{$(ALTSRC)\share\vm\gc_implementation\shared}.cpp.obj::
326
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
327 328

{$(ALTSRC)\share\vm\gc_implementation\parNew}.cpp.obj::
329
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
330 331

{$(ALTSRC)\share\vm\gc_implementation\concurrentMarkSweep}.cpp.obj::
332
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
333 334

{$(ALTSRC)\share\vm\gc_implementation\g1}.cpp.obj::
335
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
336 337

{$(ALTSRC)\share\vm\gc_interface}.cpp.obj::
338
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
339 340

{$(ALTSRC)\share\vm\asm}.cpp.obj::
341
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
342 343

{$(ALTSRC)\share\vm\memory}.cpp.obj::
344
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
345 346

{$(ALTSRC)\share\vm\oops}.cpp.obj::
347
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
348 349

{$(ALTSRC)\share\vm\prims}.cpp.obj::
350
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
351

352 353 354
{$(ALTSRC)\share\vm\prims\wbtestmethods}.cpp.obj::
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<

355
{$(ALTSRC)\share\vm\runtime}.cpp.obj::
356
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
357 358

{$(ALTSRC)\share\vm\services}.cpp.obj::
359
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
360

361
{$(ALTSRC)\share\vm\trace}.cpp.obj::
362
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
363

364
{$(ALTSRC)\share\vm\utilities}.cpp.obj::
365
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
366 367

{$(ALTSRC)\share\vm\libadt}.cpp.obj::
368
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
369 370

{$(ALTSRC)\share\vm\opto}.cpp.obj::
371
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
372 373

{$(ALTSRC)\os\windows\vm}.cpp.obj::
374
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
375 376 377

# otherwise we can't specify the output filename.
{$(ALTSRC)\os\windows\vm}.rc.res:
D
duke 已提交
378 379
        @$(RC) $(RC_FLAGS) /fo"$@" $<

380
{$(ALTSRC)\cpu\$(Platform_arch)\vm}.cpp.obj::
381
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
382

383
{$(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm}.cpp.obj::
384
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
385 386

{..\generated\incls}.cpp.obj::
387
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
388

389
{..\generated\adfiles}.cpp.obj::
390
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
391

D
duke 已提交
392
{..\generated\jvmtifiles}.cpp.obj::
393
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
394

395
{$(ALTSRC)\share\vm\jfr}.cpp.obj::
396
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
397 398

{$(ALTSRC)\share\vm\jfr\agent}.cpp.obj::
399
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
400 401

{$(ALTSRC)\share\vm\jfr\agent\isolated_deps\util}.cpp.obj::
402
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
403 404

{$(ALTSRC)\share\vm\jfr\jvm}.cpp.obj::
405
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
406

D
duke 已提交
407 408 409
default::

_build_pch_file.obj:
410
        @echo #include "precompiled.hpp" > ../generated/_build_pch_file.cpp
411
        $(CXX) $(CXX_FLAGS) /Fp"vm.pch" /Yc"precompiled.hpp" /c ../generated/_build_pch_file.cpp