vm.make 14.0 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
34
CXX_FLAGS=$(CXX_FLAGS) /D "PRODUCT"
D
duke 已提交
35
!else
36
CXX_FLAGS=$(CXX_FLAGS) /D "ASSERT"
D
duke 已提交
37 38 39 40 41 42 43
!endif

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

!if "$(Variant)" == "compiler1"
44
CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1"
D
duke 已提交
45 46 47
!endif

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

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

55 56 57 58 59 60
!if "$(BUILDARCH)" == "i486"
HOTSPOT_LIB_ARCH=i386
!else
HOTSPOT_LIB_ARCH=$(BUILDARCH)
!endif

D
duke 已提交
61
# The following variables are defined in the generated local.make file.
62 63 64 65 66 67
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 已提交
68

69
CXX_FLAGS=$(CXX_FLAGS) $(CXX_INCLUDE_DIRS)
D
duke 已提交
70 71

# Define that so jni.h is on correct side
72
CXX_FLAGS=$(CXX_FLAGS) /D "_JNI_IMPLEMENTATION_"
D
duke 已提交
73 74 75 76 77 78 79 80 81 82 83 84 85 86

!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
AGCT_EXPORT=/export:AsyncGetCallTrace
!endif

87
# If you modify exports below please do the corresponding changes in
88
# src/share/tools/ProjectCreator/WinGammaPlatformVC7.java
89
LD_FLAGS=$(LD_FLAGS) $(STACK_SIZE) /subsystem:windows /dll /base:0x8000000 \
90 91 92 93 94 95 96 97 98 99 100 101 102
  /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 已提交
103 104
  /export:JVM_InitAgentProperties

105
CXX_INCLUDE_DIRS=/I "..\generated"
106 107

!if exists($(ALTSRC)\share\vm)
108
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\share\vm"
109 110 111
!endif

!if exists($(ALTSRC)\os\windows\vm)
112
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\os\windows\vm"
113 114 115
!endif

!if exists($(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm)
116
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm"
117 118 119
!endif

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

123
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) \
124
  /I "$(COMMONSRC)\share\vm" \
125
  /I "$(COMMONSRC)\share\vm\precompiled" \
126 127 128 129
  /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 已提交
130

131
CXX_DONT_USE_PCH=/D DONT_USE_PRECOMPILED_HEADER
132 133

!if "$(USE_PRECOMPILED_HEADER)" != "0"
134
CXX_USE_PCH=/Fp"vm.pch" /Yu"precompiled.hpp"
135 136 137 138
!if "$(COMPILER_NAME)" == "VS2012"
# VS2012 requires this object file to be listed:
LD_FLAGS=$(LD_FLAGS) _build_pch_file.obj
!endif
139
!else
140
CXX_USE_PCH=$(CXX_DONT_USE_PCH)
141
!endif
D
duke 已提交
142

143
# Where to find the source code for the virtual machine (is this used?)
144 145
VM_PATH=../generated
VM_PATH=$(VM_PATH);../generated/adfiles
D
duke 已提交
146
VM_PATH=$(VM_PATH);../generated/jvmtifiles
S
sla 已提交
147
VM_PATH=$(VM_PATH);../generated/tracefiles
D
duke 已提交
148 149 150 151 152 153 154 155 156 157
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
158
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/g1
D
duke 已提交
159 160 161 162 163
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
164
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/prims/wbtestmethods
D
duke 已提交
165 166
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/runtime
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/services
167
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/trace
D
duke 已提交
168 169 170 171 172 173 174
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

175 176
!if exists($(ALTSRC)\share\vm\jfr)
VM_PATH=$(VM_PATH);$(ALTSRC)/share/vm/jfr
S
sla 已提交
177
VM_PATH=$(VM_PATH);$(ALTSRC)/share/vm/jfr/buffers
178 179
!endif

D
duke 已提交
180 181 182 183
VM_PATH={$(VM_PATH)}

# Special case files not using precompiled header files.

D
drchase 已提交
184
c1_RInfo_$(Platform_arch).obj: $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp
185
	 $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp
D
duke 已提交
186 187

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

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

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

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

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

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

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

bytecodeInterpreterWithChecks.obj: ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
209
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
D
duke 已提交
210 211

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

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

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

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

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

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

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

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

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

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

242
{$(COMMONSRC)\share\vm\gc_implementation\g1}.cpp.obj::
243
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
244

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

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

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

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

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

260 261 262
{$(COMMONSRC)\share\vm\prims\wbtestmethods}.cpp.obj::
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<

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

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

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

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

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

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

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

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

{$(COMMONSRC)\cpu\$(Platform_arch)\vm}.cpp.obj::
290
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
291 292

{$(COMMONSRC)\os_cpu\windows_$(Platform_arch)\vm}.cpp.obj::
293
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
294 295

{$(ALTSRC)\share\vm\c1}.cpp.obj::
296
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
297 298

{$(ALTSRC)\share\vm\compiler}.cpp.obj::
299
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
300 301

{$(ALTSRC)\share\vm\code}.cpp.obj::
302
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
303 304

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

{$(ALTSRC)\os\windows\vm}.cpp.obj::
365
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
366 367 368

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

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

374
{$(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm}.cpp.obj::
375
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
376 377

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

380
{..\generated\adfiles}.cpp.obj::
381
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
382

D
duke 已提交
383
{..\generated\jvmtifiles}.cpp.obj::
384
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
D
duke 已提交
385

S
sla 已提交
386
{..\generated\tracefiles}.cpp.obj::
387
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
388

S
sla 已提交
389
{$(ALTSRC)\share\vm\jfr}.cpp.obj::
390
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
391

S
sla 已提交
392
{$(ALTSRC)\share\vm\jfr\buffers}.cpp.obj::
393
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
394

D
duke 已提交
395 396 397
default::

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