1 #
   2 # Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
   3 # Copyright 2019 Red Hat, Inc.
   4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   5 #
   6 # This code is free software; you can redistribute it and/or modify it
   7 # under the terms of the GNU General Public License version 2 only, as
   8 # published by the Free Software Foundation.
   9 #
  10 # This code is distributed in the hope that it will be useful, but WITHOUT
  11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13 # version 2 for more details (a copy is included in the LICENSE file that
  14 # accompanied this code).
  15 #
  16 # You should have received a copy of the GNU General Public License version
  17 # 2 along with this work; if not, write to the Free Software Foundation,
  18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 #
  20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21 # or visit www.oracle.com if you need additional information or have any
  22 # questions.
  23 #
  24 #
  25 
  26 # Resource file containing VERSIONINFO
  27 Res_Files=.\version.res
  28 
  29 !include ..\generated\objfiles.make
  30 
  31 COMMONSRC=$(WorkSpace)\src
  32 ALTSRC=$(WorkSpace)\src\closed
  33 
  34 !ifdef RELEASE
  35 CXX_FLAGS=$(CXX_FLAGS) /D "PRODUCT"
  36 !else
  37 CXX_FLAGS=$(CXX_FLAGS) /D "ASSERT"
  38 !endif
  39 
  40 !if "$(Variant)" == "compiler1"
  41 CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1"
  42 !endif
  43 
  44 !if "$(Variant)" == "compiler2"
  45 CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER2"
  46 !endif
  47 
  48 !if "$(Variant)" == "tiered"
  49 CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1" /D "COMPILER2"
  50 !endif
  51 
  52 !if "$(BUILDARCH)" == "i486"
  53 HOTSPOT_LIB_ARCH=i386
  54 !else
  55 HOTSPOT_LIB_ARCH=$(BUILDARCH)
  56 !endif
  57 
  58 # The following variables are defined in the generated local.make file.
  59 CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_RELEASE_VERSION=\"$(HS_BUILD_VER)\""
  60 CXX_FLAGS=$(CXX_FLAGS) /D "JRE_RELEASE_VERSION=\"$(JRE_RELEASE_VER)\""
  61 CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_LIB_ARCH=\"$(HOTSPOT_LIB_ARCH)\""
  62 CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_BUILD_TARGET=\"$(BUILD_FLAVOR)\""
  63 CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_BUILD_USER=\"$(BuildUser)\""
  64 CXX_FLAGS=$(CXX_FLAGS) /D "HOTSPOT_VM_DISTRO=\"$(HOTSPOT_VM_DISTRO)\""
  65 
  66 CXX_FLAGS=$(CXX_FLAGS) $(CXX_INCLUDE_DIRS)
  67 
  68 # Define that so jni.h is on correct side
  69 CXX_FLAGS=$(CXX_FLAGS) /D "_JNI_IMPLEMENTATION_"
  70 
  71 !if "$(BUILDARCH)" == "ia64"
  72 STACK_SIZE="/STACK:1048576,262144"
  73 !else
  74 STACK_SIZE=
  75 !endif
  76 
  77 !if "$(BUILDARCH)" == "ia64"
  78 # AsyncGetCallTrace is not supported on IA64 yet
  79 AGCT_EXPORT=
  80 !else
  81 AGCT_EXPORT=/export:AsyncGetCallTrace
  82 !endif
  83 
  84 # If you modify exports below please do the corresponding changes in
  85 # src/share/tools/ProjectCreator/WinGammaPlatformVC7.java
  86 LD_FLAGS=$(LD_FLAGS) $(STACK_SIZE) /subsystem:windows /dll /base:0x8000000 \
  87   /export:JNI_GetDefaultJavaVMInitArgs       \
  88   /export:JNI_CreateJavaVM                   \
  89   /export:JVM_FindClassFromBootLoader        \
  90   /export:JNI_GetCreatedJavaVMs              \
  91   /export:jio_snprintf                       \
  92   /export:jio_printf                         \
  93   /export:jio_fprintf                        \
  94   /export:jio_vfprintf                       \
  95   /export:jio_vsnprintf                      \
  96   $(AGCT_EXPORT)                             \
  97   /export:JVM_GetVersionInfo                 \
  98   /export:JVM_GetThreadStateNames            \
  99   /export:JVM_GetThreadStateValues           \
 100   /export:JVM_InitAgentProperties
 101 
 102 CXX_INCLUDE_DIRS=/I "..\generated"
 103 
 104 !if exists($(ALTSRC)\share\vm)
 105 CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\share\vm"
 106 !endif
 107 
 108 !if exists($(ALTSRC)\os\windows\vm)
 109 CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\os\windows\vm"
 110 !endif
 111 
 112 !if exists($(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm)
 113 CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm"
 114 !endif
 115 
 116 !if exists($(ALTSRC)\cpu\$(Platform_arch)\vm)
 117 CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\cpu\$(Platform_arch)\vm"
 118 !endif
 119 
 120 CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) \
 121   /I "$(COMMONSRC)\share\vm" \
 122   /I "$(COMMONSRC)\share\vm\precompiled" \
 123   /I "$(COMMONSRC)\share\vm\prims" \
 124   /I "$(COMMONSRC)\os\windows\vm" \
 125   /I "$(COMMONSRC)\os_cpu\windows_$(Platform_arch)\vm" \
 126   /I "$(COMMONSRC)\cpu\$(Platform_arch)\vm"
 127 
 128 CXX_DONT_USE_PCH=/D DONT_USE_PRECOMPILED_HEADER
 129 
 130 !if "$(USE_PRECOMPILED_HEADER)" != "0"
 131 CXX_USE_PCH=/Fp"vm.pch" /Yu"precompiled.hpp"
 132 !if "$(COMPILER_NAME)" == "VS2012" || "$(COMPILER_NAME)" == "VS2013" || "$(COMPILER_NAME)" == "VS2015" || "$(COMPILER_NAME)" == "VS2017"
 133 # VS2012 and later require this object file to be listed:
 134 LD_FLAGS=$(LD_FLAGS) _build_pch_file.obj
 135 !endif
 136 !else
 137 CXX_USE_PCH=$(CXX_DONT_USE_PCH)
 138 !endif
 139 
 140 # Where to find the source code for the virtual machine (is this used?)
 141 VM_PATH=../generated
 142 VM_PATH=$(VM_PATH);../generated/adfiles
 143 VM_PATH=$(VM_PATH);../generated/jvmtifiles
 144 VM_PATH=$(VM_PATH);../generated/jfrfiles
 145 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/c1
 146 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/compiler
 147 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/code
 148 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/interpreter
 149 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/ci
 150 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/classfile
 151 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/parallelScavenge
 152 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/shared
 153 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/parNew
 154 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/concurrentMarkSweep
 155 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/g1
 156 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/shenandoah
 157 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/shenandoah/c1
 158 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/shenandoah/c2
 159 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/shenandoah/heuristics
 160 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/shenandoah/mode
 161 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_interface
 162 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/asm
 163 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/memory
 164 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/oops
 165 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/prims
 166 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/prims/wbtestmethods
 167 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/runtime
 168 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/services
 169 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/trace
 170 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/utilities
 171 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/libadt
 172 VM_PATH=$(VM_PATH);$(WorkSpace)/src/os/windows/vm
 173 VM_PATH=$(VM_PATH);$(WorkSpace)/src/os_cpu/windows_$(Platform_arch)/vm
 174 VM_PATH=$(VM_PATH);$(WorkSpace)/src/cpu/$(Platform_arch)/vm
 175 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/opto
 176 
 177 VM_PATH={$(VM_PATH)}
 178 
 179 # Special case files not using precompiled header files.
 180 
 181 c1_RInfo_$(Platform_arch).obj: $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp
 182          $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp
 183 
 184 os_windows.obj: $(WorkSpace)\src\os\windows\vm\os_windows.cpp
 185         $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\os_windows.cpp
 186 
 187 os_windows_$(Platform_arch).obj: $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\os_windows_$(Platform_arch).cpp
 188         $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\os_windows_$(Platform_arch).cpp
 189 
 190 osThread_windows.obj: $(WorkSpace)\src\os\windows\vm\osThread_windows.cpp
 191         $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\osThread_windows.cpp
 192 
 193 conditionVar_windows.obj: $(WorkSpace)\src\os\windows\vm\conditionVar_windows.cpp
 194         $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\conditionVar_windows.cpp
 195 
 196 getThread_windows_$(Platform_arch).obj: $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\getThread_windows_$(Platform_arch).cpp
 197         $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\getThread_windows_$(Platform_arch).cpp
 198 
 199 opcodes.obj: $(WorkSpace)\src\share\vm\opto\opcodes.cpp
 200         $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\share\vm\opto\opcodes.cpp
 201 
 202 bytecodeInterpreter.obj: $(WorkSpace)\src\share\vm\interpreter\bytecodeInterpreter.cpp
 203         $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\share\vm\interpreter\bytecodeInterpreter.cpp
 204 
 205 bytecodeInterpreterWithChecks.obj: ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
 206         $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
 207 
 208 iphlp_interface.obj: $(WorkSpace)\src\os\windows\vm\iphlp_interface.cpp
 209         $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\iphlp_interface.cpp
 210 
 211 os_perf_windows.obj: $(WorkSpace)\src\os\windows\vm\os_perf_windows.cpp
 212         $(CXX) $(CXX_FLAGS) $(CXX_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\os_perf_windows.cpp
 213 
 214 #files compiled with version flags
 215 
 216 vm_version.obj: $(WorkSpace)\src\share\vm\runtime\vm_version.cpp
 217         $(CXX) $(CXX_FLAGS) $(VERSION_CFLAGS) $(CXX_USE_PCH) /c $(WorkSpace)\src\share\vm\runtime\vm_version.cpp
 218 
 219 arguments.obj: $(WorkSpace)\src\share\vm\runtime\arguments.cpp
 220         $(CXX) $(CXX_FLAGS) $(VERSION_CFLAGS) $(CXX_USE_PCH) /c $(WorkSpace)\src\share\vm\runtime\arguments.cpp
 221 
 222 # Default rules for the Virtual Machine
 223 {$(COMMONSRC)\share\vm\c1}.cpp.obj::
 224         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 225 
 226 {$(COMMONSRC)\share\vm\compiler}.cpp.obj::
 227         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 228 
 229 {$(COMMONSRC)\share\vm\code}.cpp.obj::
 230         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 231 
 232 {$(COMMONSRC)\share\vm\interpreter}.cpp.obj::
 233         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 234 
 235 {$(COMMONSRC)\share\vm\ci}.cpp.obj::
 236         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 237 
 238 {$(COMMONSRC)\share\vm\classfile}.cpp.obj::
 239         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 240 
 241 {$(COMMONSRC)\share\vm\gc_implementation\parallelScavenge}.cpp.obj::
 242         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 243 
 244 {$(COMMONSRC)\share\vm\gc_implementation\shared}.cpp.obj::
 245         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 246 
 247 {$(COMMONSRC)\share\vm\gc_implementation\parNew}.cpp.obj::
 248         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 249 
 250 {$(COMMONSRC)\share\vm\gc_implementation\concurrentMarkSweep}.cpp.obj::
 251         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 252 
 253 {$(COMMONSRC)\share\vm\gc_implementation\g1}.cpp.obj::
 254         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 255 
 256 {$(COMMONSRC)\share\vm\gc_implementation\shenandoah}.cpp.obj::
 257         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 258 
 259 {$(COMMONSRC)\share\vm\gc_implementation\shenandoah\c1}.cpp.obj::
 260         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 261 
 262 {$(COMMONSRC)\share\vm\gc_implementation\shenandoah\c2}.cpp.obj::
 263         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 264 
 265 {$(COMMONSRC)\share\vm\gc_implementation\shenandoah\heuristics}.cpp.obj::
 266         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 267 
 268 {$(COMMONSRC)\share\vm\gc_implementation\shenandoah\mode}.cpp.obj::
 269         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 270 
 271 {$(COMMONSRC)\share\vm\gc_interface}.cpp.obj::
 272         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 273 
 274 {$(COMMONSRC)\share\vm\asm}.cpp.obj::
 275         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 276 
 277 {$(COMMONSRC)\share\vm\memory}.cpp.obj::
 278         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 279 
 280 {$(COMMONSRC)\share\vm\oops}.cpp.obj::
 281         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 282 
 283 {$(COMMONSRC)\share\vm\prims}.cpp.obj::
 284         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 285 
 286 {$(COMMONSRC)\share\vm\prims\wbtestmethods}.cpp.obj::
 287         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 288 
 289 {$(COMMONSRC)\share\vm\runtime}.cpp.obj::
 290         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 291 
 292 {$(COMMONSRC)\share\vm\services}.cpp.obj::
 293         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 294 
 295 {$(COMMONSRC)\share\vm\trace}.cpp.obj::
 296         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 297 
 298 {$(COMMONSRC)\share\vm\utilities}.cpp.obj::
 299         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 300 
 301 {$(COMMONSRC)\share\vm\libadt}.cpp.obj::
 302         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 303 
 304 {$(COMMONSRC)\share\vm\opto}.cpp.obj::
 305         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 306 
 307 {$(COMMONSRC)\os\windows\vm}.cpp.obj::
 308         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 309 
 310 # This guy should remain a single colon rule because
 311 # otherwise we can't specify the output filename.
 312 {$(COMMONSRC)\os\windows\vm}.rc.res:
 313         @$(RC) $(RC_FLAGS) /fo"$@" $<
 314 
 315 {$(COMMONSRC)\cpu\$(Platform_arch)\vm}.cpp.obj::
 316         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 317 
 318 {$(COMMONSRC)\os_cpu\windows_$(Platform_arch)\vm}.cpp.obj::
 319         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 320 
 321 {$(ALTSRC)\share\vm\c1}.cpp.obj::
 322         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 323 
 324 {$(ALTSRC)\share\vm\compiler}.cpp.obj::
 325         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 326 
 327 {$(ALTSRC)\share\vm\code}.cpp.obj::
 328         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 329 
 330 {$(ALTSRC)\share\vm\interpreter}.cpp.obj::
 331         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 332 
 333 {$(ALTSRC)\share\vm\ci}.cpp.obj::
 334         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 335 
 336 {$(ALTSRC)\share\vm\classfile}.cpp.obj::
 337         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 338 
 339 {$(ALTSRC)\share\vm\gc_implementation\parallelScavenge}.cpp.obj::
 340         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 341 
 342 {$(ALTSRC)\share\vm\gc_implementation\shared}.cpp.obj::
 343         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 344 
 345 {$(ALTSRC)\share\vm\gc_implementation\parNew}.cpp.obj::
 346         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 347 
 348 {$(ALTSRC)\share\vm\gc_implementation\concurrentMarkSweep}.cpp.obj::
 349         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 350 
 351 {$(ALTSRC)\share\vm\gc_implementation\g1}.cpp.obj::
 352         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 353 
 354 {$(ALTSRC)\share\vm\gc_implementation\shenandoah}.cpp.obj::
 355         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 356 
 357 {$(ALTSRC)\share\vm\gc_implementation\shenandoah\heuristics}.cpp.obj::
 358         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 359 
 360 {$(ALTSRC)\share\vm\gc_interface}.cpp.obj::
 361         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 362 
 363 {$(ALTSRC)\share\vm\asm}.cpp.obj::
 364         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 365 
 366 {$(ALTSRC)\share\vm\memory}.cpp.obj::
 367         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 368 
 369 {$(ALTSRC)\share\vm\oops}.cpp.obj::
 370         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 371 
 372 {$(ALTSRC)\share\vm\prims}.cpp.obj::
 373         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 374 
 375 {$(ALTSRC)\share\vm\prims\wbtestmethods}.cpp.obj::
 376         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 377 
 378 {$(ALTSRC)\share\vm\runtime}.cpp.obj::
 379         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 380 
 381 {$(ALTSRC)\share\vm\services}.cpp.obj::
 382         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 383 
 384 {$(ALTSRC)\share\vm\trace}.cpp.obj::
 385         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 386 
 387 {$(ALTSRC)\share\vm\utilities}.cpp.obj::
 388         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 389 
 390 {$(ALTSRC)\share\vm\libadt}.cpp.obj::
 391         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 392 
 393 {$(ALTSRC)\share\vm\opto}.cpp.obj::
 394         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 395 
 396 {$(ALTSRC)\os\windows\vm}.cpp.obj::
 397         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 398 
 399 # otherwise we can't specify the output filename.
 400 {$(ALTSRC)\os\windows\vm}.rc.res:
 401         @$(RC) $(RC_FLAGS) /fo"$@" $<
 402 
 403 {$(ALTSRC)\cpu\$(Platform_arch)\vm}.cpp.obj::
 404         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 405 
 406 {$(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm}.cpp.obj::
 407         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 408 
 409 {..\generated\incls}.cpp.obj::
 410         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 411 
 412 {..\generated\adfiles}.cpp.obj::
 413         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 414 
 415 {..\generated\jvmtifiles}.cpp.obj::
 416         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 417 
 418 {..\generated\jfrfiles}.cpp.obj::
 419         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 420 
 421 {$(COMMONSRC)\share\vm\jfr}.cpp.obj::
 422         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 423 
 424 {$(COMMONSRC)\share\vm\jfr\dcmd}.cpp.obj::
 425         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 426 
 427 {$(COMMONSRC)\share\vm\jfr\instrumentation}.cpp.obj::
 428         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 429 
 430 {$(COMMONSRC)\share\vm\jfr\jni}.cpp.obj::
 431         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 432 
 433 {$(COMMONSRC)\share\vm\jfr\leakprofiler}.cpp.obj::
 434         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 435 
 436 {$(COMMONSRC)\share\vm\jfr\leakprofiler\chains}.cpp.obj::
 437         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 438 
 439 {$(COMMONSRC)\share\vm\jfr\leakprofiler\checkpoint}.cpp.obj::
 440         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 441 
 442 {$(COMMONSRC)\share\vm\jfr\leakprofiler\sampling}.cpp.obj::
 443         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 444 
 445 {$(COMMONSRC)\share\vm\jfr\leakprofiler\utilities}.cpp.obj::
 446         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 447 
 448 {$(COMMONSRC)\share\vm\jfr\metadata}.cpp.obj::
 449         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 450 
 451 {$(COMMONSRC)\share\vm\jfr\periodic}.cpp.obj::
 452         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 453 
 454 {$(COMMONSRC)\share\vm\jfr\periodic\sampling}.cpp.obj::
 455         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 456 
 457 {$(COMMONSRC)\share\vm\jfr\recorder}.cpp.obj::
 458         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 459 
 460 {$(COMMONSRC)\share\vm\jfr\recorder\checkpoint}.cpp.obj::
 461         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 462 
 463 {$(COMMONSRC)\share\vm\jfr\recorder\checkpoint\types}.cpp.obj::
 464         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 465 
 466 {$(COMMONSRC)\share\vm\jfr\recorder\checkpoint\types\traceid}.cpp.obj::
 467         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 468 
 469 {$(COMMONSRC)\share\vm\jfr\recorder\repository}.cpp.obj::
 470         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 471 
 472 {$(COMMONSRC)\share\vm\jfr\recorder\service}.cpp.obj::
 473         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 474 
 475 {$(COMMONSRC)\share\vm\jfr\recorder\stacktrace}.cpp.obj::
 476         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 477 
 478 {$(COMMONSRC)\share\vm\jfr\recorder\storage}.cpp.obj::
 479         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 480 
 481 {$(COMMONSRC)\share\vm\jfr\recorder\stringpool}.cpp.obj::
 482         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 483 
 484 {$(COMMONSRC)\share\vm\jfr\support}.cpp.obj::
 485         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 486 
 487 {$(COMMONSRC)\share\vm\jfr\utilities}.cpp.obj::
 488         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 489 
 490 {$(COMMONSRC)\share\vm\jfr\writers}.cpp.obj::
 491         $(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
 492 
 493 default::
 494 
 495 _build_pch_file.obj:
 496         @echo #include "precompiled.hpp" > ../generated/_build_pch_file.cpp
 497         $(CXX) $(CXX_FLAGS) /Fp"vm.pch" /Yc"precompiled.hpp" /c ../generated/_build_pch_file.cpp
 498 
 499 !if "$(BUILD_WIN_SA)" != "1"
 500 BUILD_VM_DEF_FLAG=-nosa
 501 !endif
 502 
 503 vm.def: $(Obj_Files)
 504         sh $(WorkSpace)/make/windows/build_vm_def.sh $(BUILD_VM_DEF_FLAG)
 505 
--- EOF ---