vm.make 13.9 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
!endif

!if "$(Variant)" == "compiler1"
40
CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1"
D
duke 已提交
41 42 43
!endif

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

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

51 52 53 54 55 56
!if "$(BUILDARCH)" == "i486"
HOTSPOT_LIB_ARCH=i386
!else
HOTSPOT_LIB_ARCH=$(BUILDARCH)
!endif

D
duke 已提交
57
# The following variables are defined in the generated local.make file.
58 59 60 61 62 63
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 已提交
64

65
CXX_FLAGS=$(CXX_FLAGS) $(CXX_INCLUDE_DIRS)
D
duke 已提交
66 67

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

!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

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

101
CXX_INCLUDE_DIRS=/I "..\generated"
102 103

!if exists($(ALTSRC)\share\vm)
104
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\share\vm"
105 106 107
!endif

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

!if exists($(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm)
112
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm"
113 114 115
!endif

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

119
CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) \
120
  /I "$(COMMONSRC)\share\vm" \
121
  /I "$(COMMONSRC)\share\vm\precompiled" \
122 123 124 125
  /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 已提交
126

127
CXX_DONT_USE_PCH=/D DONT_USE_PRECOMPILED_HEADER
128 129

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

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

171 172
!if exists($(ALTSRC)\share\vm\jfr)
VM_PATH=$(VM_PATH);$(ALTSRC)/share/vm/jfr
S
sla 已提交
173
VM_PATH=$(VM_PATH);$(ALTSRC)/share/vm/jfr/buffers
174 175
!endif

D
duke 已提交
176 177 178 179
VM_PATH={$(VM_PATH)}

# Special case files not using precompiled header files.

D
drchase 已提交
180
c1_RInfo_$(Platform_arch).obj: $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp
181
	 $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp
D
duke 已提交
182 183

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

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

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

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

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

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

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

bytecodeInterpreterWithChecks.obj: ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
205
        $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
D
duke 已提交
206 207

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

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

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

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

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

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

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

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

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

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

238
{$(COMMONSRC)\share\vm\gc_implementation\g1}.cpp.obj::
239
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
240

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

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

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

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

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

256 257 258
{$(COMMONSRC)\share\vm\prims\wbtestmethods}.cpp.obj::
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<

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

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

265
{$(COMMONSRC)\share\vm\trace}.cpp.obj::
266
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
267

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

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

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

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

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

{$(COMMONSRC)\cpu\$(Platform_arch)\vm}.cpp.obj::
286
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
287 288

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

{$(ALTSRC)\share\vm\c1}.cpp.obj::
292
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
293 294

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

376
{..\generated\adfiles}.cpp.obj::
377
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
378

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

S
sla 已提交
382
{..\generated\tracefiles}.cpp.obj::
383
        $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
384

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

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

D
duke 已提交
391 392 393
default::

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