make/windows/projectfiles/common/Makefile

Print this page
rev 4773 : 8005849: JEP 167: Event-Based JVM Tracing
Reviewed-by: acorn, coleenp, sla
Contributed-by: Karen Kinnear <karen.kinnear@oracle.com>, Bengt Rutisson <bengt.rutisson@oracle.com>, Calvin Cheung <calvin.cheung@oracle.com>, Erik Gahlin <erik.gahlin@oracle.com>, Erik Helin <erik.helin@oracle.com>, Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>, Keith McGuigan <keith.mcguigan@oracle.com>, Mattias Tobiasson <mattias.tobiasson@oracle.com>, Markus Gronlund <markus.gronlund@oracle.com>, Mikael Auno <mikael.auno@oracle.com>, Nils Eliasson <nils.eliasson@oracle.com>, Nils Loodin <nils.loodin@oracle.com>, Rickard Backman <rickard.backman@oracle.com>, Staffan Larsen <staffan.larsen@oracle.com>, Stefan Karlsson <stefan.karlsson@oracle.com>, Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
   1 #
   2 # Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.
   8 #
   9 # This code is distributed in the hope that it will be useful, but WITHOUT
  10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  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 #  


  28 
  29 
  30 WorkSpace=$(HOTSPOTWORKSPACE)
  31 
  32 !ifdef ALT_BOOTDIR
  33 BootStrapDir=$(ALT_BOOTDIR)
  34 !else
  35 !ifdef BOOTDIR
  36 BootStrapDir=$(BOOTDIR)
  37 !else
  38 !ifdef JAVA_HOME
  39 BootStrapDir=$(JAVA_HOME)
  40 !else
  41 !ifdef HOTSPOTJDKDIST
  42 BootStrapDir=$(HOTSPOTJDKDIST)
  43 !endif
  44 !endif
  45 !endif
  46 !endif
  47 






  48 
  49 
  50 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/projectcreator.make
  51 !include $(WorkSpace)/make/windows/makefiles/compile.make
  52 
  53 # Pick up rules for building JVMTI (JSR-163)
  54 JvmtiOutDir=$(HOTSPOTBUILDSPACE)\$(Variant)\generated\jvmtifiles
  55 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/jvmti.make
  56 




  57 !if "$(Variant)" == "compiler2"
  58 # Pick up rules for building adlc
  59 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make
  60 !endif
  61 
  62 !if "$(Variant)" == "tiered"
  63 # Pick up rules for building adlc
  64 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make
  65 !endif
  66 
  67 HS_INTERNAL_NAME=jvm
  68 
  69 default:: $(AdditionalTargets) $(JvmtiGeneratedFiles)
  70 
  71 !include $(HOTSPOTWORKSPACE)/make/hotspot_version
  72 
  73 !if "$(USER_RELEASE_SUFFIX)" != ""
  74 HOTSPOT_BUILD_VERSION = internal-$(USER_RELEASE_SUFFIX)
  75 !else
  76 HOTSPOT_BUILD_VERSION = internal
  77 !endif
  78 !if "$(HOTSPOT_RELEASE_VERSION)" != ""
  79 HOTSPOT_RELEASE_VERSION="\\\"$(HOTSPOT_RELEASE_VERSION)\\\""
  80 !else
  81 HOTSPOT_RELEASE_VERSION="\\\"$(HS_MAJOR_VER).$(HS_MINOR_VER)-b$(HS_BUILD_NUMBER)-$(HOTSPOT_BUILD_VERSION)\\\""
  82 !endif
  83 !if "$(JRE_RELEASE_VERSION)" != ""
  84 JRE_RELEASE_VERSION="\\\"$(JRE_RELEASE_VERSION)\\\""
  85 !else
  86 JRE_RELEASE_VERSION="\\\"$(JDK_MAJOR_VER).$(JDK_MINOR_VER).$(JDK_MICRO_VER)\\\""
  87 !endif
  88 
  89 # Define HOTSPOT_VM_DISTRO if HOTSPOT_VM_DISTRO is set,


   1 #
   2 # Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.
   8 #
   9 # This code is distributed in the hope that it will be useful, but WITHOUT
  10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  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 #  


  28 
  29 
  30 WorkSpace=$(HOTSPOTWORKSPACE)
  31 
  32 !ifdef ALT_BOOTDIR
  33 BootStrapDir=$(ALT_BOOTDIR)
  34 !else
  35 !ifdef BOOTDIR
  36 BootStrapDir=$(BOOTDIR)
  37 !else
  38 !ifdef JAVA_HOME
  39 BootStrapDir=$(JAVA_HOME)
  40 !else
  41 !ifdef HOTSPOTJDKDIST
  42 BootStrapDir=$(HOTSPOTJDKDIST)
  43 !endif
  44 !endif
  45 !endif
  46 !endif
  47 
  48 # if hotspot-only build and/or OPENJDK isn't passed down, need to set OPENJDK
  49 !ifndef OPENJDK
  50 !if !exists($(WorkSpace)\src\closed)
  51 OPENJDK=true
  52 !endif
  53 !endif
  54 
  55 
  56 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/projectcreator.make
  57 !include $(WorkSpace)/make/windows/makefiles/compile.make
  58 
  59 # Pick up rules for building JVMTI (JSR-163)
  60 JvmtiOutDir=$(HOTSPOTBUILDSPACE)\$(Variant)\generated\jvmtifiles
  61 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/jvmti.make
  62 
  63 # Pick up rules for building trace
  64 TraceOutDir=$(HOTSPOTBUILDSPACE)\$(Variant)\generated\tracefiles
  65 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/trace.make
  66 
  67 !if "$(Variant)" == "compiler2"
  68 # Pick up rules for building adlc
  69 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make
  70 !endif
  71 
  72 !if "$(Variant)" == "tiered"
  73 # Pick up rules for building adlc
  74 !include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make
  75 !endif
  76 
  77 HS_INTERNAL_NAME=jvm
  78 
  79 default:: $(AdditionalTargets) $(JvmtiGeneratedFiles) $(TraceGeneratedFiles)
  80 
  81 !include $(HOTSPOTWORKSPACE)/make/hotspot_version
  82 
  83 !if "$(USER_RELEASE_SUFFIX)" != ""
  84 HOTSPOT_BUILD_VERSION = internal-$(USER_RELEASE_SUFFIX)
  85 !else
  86 HOTSPOT_BUILD_VERSION = internal
  87 !endif
  88 !if "$(HOTSPOT_RELEASE_VERSION)" != ""
  89 HOTSPOT_RELEASE_VERSION="\\\"$(HOTSPOT_RELEASE_VERSION)\\\""
  90 !else
  91 HOTSPOT_RELEASE_VERSION="\\\"$(HS_MAJOR_VER).$(HS_MINOR_VER)-b$(HS_BUILD_NUMBER)-$(HOTSPOT_BUILD_VERSION)\\\""
  92 !endif
  93 !if "$(JRE_RELEASE_VERSION)" != ""
  94 JRE_RELEASE_VERSION="\\\"$(JRE_RELEASE_VERSION)\\\""
  95 !else
  96 JRE_RELEASE_VERSION="\\\"$(JDK_MAJOR_VER).$(JDK_MINOR_VER).$(JDK_MICRO_VER)\\\""
  97 !endif
  98 
  99 # Define HOTSPOT_VM_DISTRO if HOTSPOT_VM_DISTRO is set,