make/windows/makefiles/vm.make

Print this page




  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #
  23 #
  24 
  25 # Resource file containing VERSIONINFO
  26 Res_Files=.\version.res
  27 
  28 !include ..\generated\objfiles.make
  29 
  30 COMMONSRC=$(WorkSpace)\src
  31 ALTSRC=$(WorkSpace)\src\closed
  32 
  33 !ifdef RELEASE



  34 CXX_FLAGS=$(CXX_FLAGS) /D "PRODUCT"

  35 !else
  36 CXX_FLAGS=$(CXX_FLAGS) /D "ASSERT"
  37 !endif
  38 
  39 !if "$(Variant)" == "core"
  40 # No need to define anything, CORE is defined as !COMPILER1 && !COMPILER2
  41 !endif
  42 
  43 !if "$(Variant)" == "compiler1"
  44 CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1"
  45 !endif
  46 
  47 !if "$(Variant)" == "compiler2"
  48 CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER2"
  49 !endif
  50 
  51 !if "$(Variant)" == "tiered"
  52 CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1" /D "COMPILER2"
  53 !endif
  54 


 119 !if exists($(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm)
 120 CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm"
 121 !endif
 122 
 123 !if exists($(ALTSRC)\cpu\$(Platform_arch)\vm)
 124 CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\cpu\$(Platform_arch)\vm"
 125 !endif
 126 
 127 CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) \
 128   /I "$(COMMONSRC)\share\vm" \
 129   /I "$(COMMONSRC)\share\vm\precompiled" \
 130   /I "$(COMMONSRC)\share\vm\prims" \
 131   /I "$(COMMONSRC)\os\windows\vm" \
 132   /I "$(COMMONSRC)\os_cpu\windows_$(Platform_arch)\vm" \
 133   /I "$(COMMONSRC)\cpu\$(Platform_arch)\vm"
 134 
 135 CXX_DONT_USE_PCH=/D DONT_USE_PRECOMPILED_HEADER
 136 
 137 !if "$(USE_PRECOMPILED_HEADER)" != "0"
 138 CXX_USE_PCH=/Fp"vm.pch" /Yu"precompiled.hpp"


 139 !else
 140 CXX_USE_PCH=$(CXX_DONT_USE_PCH)
 141 !endif
 142 
 143 # Where to find the source code for the virtual machine (is this used?)
 144 VM_PATH=../generated
 145 VM_PATH=$(VM_PATH);../generated/adfiles
 146 VM_PATH=$(VM_PATH);../generated/jvmtifiles
 147 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/c1
 148 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/compiler
 149 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/code
 150 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/interpreter
 151 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/ci
 152 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/classfile
 153 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/parallelScavenge
 154 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/shared
 155 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/parNew
 156 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/concurrentMarkSweep
 157 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/g1
 158 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_interface




  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #
  23 #
  24 
  25 # Resource file containing VERSIONINFO
  26 Res_Files=.\version.res
  27 
  28 !include ..\generated\objfiles.make
  29 
  30 COMMONSRC=$(WorkSpace)\src
  31 ALTSRC=$(WorkSpace)\src\closed
  32 
  33 !ifdef RELEASE
  34 !ifdef DEVELOP
  35 CXX_FLAGS=$(CXX_FLAGS) /D "DEBUG"
  36 !else
  37 CXX_FLAGS=$(CXX_FLAGS) /D "PRODUCT"
  38 !endif
  39 !else
  40 CXX_FLAGS=$(CXX_FLAGS) /D "ASSERT"
  41 !endif
  42 
  43 !if "$(Variant)" == "core"
  44 # No need to define anything, CORE is defined as !COMPILER1 && !COMPILER2
  45 !endif
  46 
  47 !if "$(Variant)" == "compiler1"
  48 CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1"
  49 !endif
  50 
  51 !if "$(Variant)" == "compiler2"
  52 CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER2"
  53 !endif
  54 
  55 !if "$(Variant)" == "tiered"
  56 CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1" /D "COMPILER2"
  57 !endif
  58 


 123 !if exists($(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm)
 124 CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\os_cpu\windows_$(Platform_arch)\vm"
 125 !endif
 126 
 127 !if exists($(ALTSRC)\cpu\$(Platform_arch)\vm)
 128 CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) /I "$(ALTSRC)\cpu\$(Platform_arch)\vm"
 129 !endif
 130 
 131 CXX_INCLUDE_DIRS=$(CXX_INCLUDE_DIRS) \
 132   /I "$(COMMONSRC)\share\vm" \
 133   /I "$(COMMONSRC)\share\vm\precompiled" \
 134   /I "$(COMMONSRC)\share\vm\prims" \
 135   /I "$(COMMONSRC)\os\windows\vm" \
 136   /I "$(COMMONSRC)\os_cpu\windows_$(Platform_arch)\vm" \
 137   /I "$(COMMONSRC)\cpu\$(Platform_arch)\vm"
 138 
 139 CXX_DONT_USE_PCH=/D DONT_USE_PRECOMPILED_HEADER
 140 
 141 !if "$(USE_PRECOMPILED_HEADER)" != "0"
 142 CXX_USE_PCH=/Fp"vm.pch" /Yu"precompiled.hpp"
 143 # VS2012 requires this object file to be listed:
 144 LD_FLAGS=$(LD_FLAGS) _build_pch_file.obj
 145 !else
 146 CXX_USE_PCH=$(CXX_DONT_USE_PCH)
 147 !endif
 148 
 149 # Where to find the source code for the virtual machine (is this used?)
 150 VM_PATH=../generated
 151 VM_PATH=$(VM_PATH);../generated/adfiles
 152 VM_PATH=$(VM_PATH);../generated/jvmtifiles
 153 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/c1
 154 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/compiler
 155 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/code
 156 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/interpreter
 157 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/ci
 158 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/classfile
 159 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/parallelScavenge
 160 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/shared
 161 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/parNew
 162 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/concurrentMarkSweep
 163 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/g1
 164 VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_interface