0N/A#
0N/A# Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
1472N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A#
0N/A# This code is free software; you can redistribute it and/or modify it
0N/A# under the terms of the GNU General Public License version 2 only, as
0N/A# published by the Free Software Foundation.
0N/A#
0N/A# This code is distributed in the hope that it will be useful, but WITHOUT
0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A# version 2 for more details (a copy is included in the LICENSE file that
0N/A# accompanied this code).
0N/A#
0N/A# You should have received a copy of the GNU General Public License version
0N/A# 2 along with this work; if not, write to the Free Software Foundation,
0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A#
0N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
1472N/A# or visit www.oracle.com if you need additional information or have any
1472N/A# questions.
1472N/A#
0N/A#
0N/A
0N/A!ifdef LOCAL_MAKE
0N/A!include $(LOCAL_MAKE)
0N/A!endif
0N/A
0N/A
0N/AWorkSpace=$(HOTSPOTWORKSPACE)
0N/A
0N/A!ifdef ALT_BOOTDIR
0N/ABootStrapDir=$(ALT_BOOTDIR)
0N/A!else
0N/A!ifdef BOOTDIR
0N/ABootStrapDir=$(BOOTDIR)
0N/A!else
0N/A!ifdef JAVA_HOME
0N/ABootStrapDir=$(JAVA_HOME)
0N/A!else
0N/A!ifdef HOTSPOTJDKDIST
0N/ABootStrapDir=$(HOTSPOTJDKDIST)
0N/A!endif
0N/A!endif
0N/A!endif
0N/A!endif
0N/A
0N/A# if hotspot-only build and/or OPENJDK isn't passed down, need to set OPENJDK
0N/A!ifndef OPENJDK
0N/A!if !exists($(WorkSpace)\src\closed)
0N/AOPENJDK=true
0N/A!endif
0N/A!endif
0N/A
0N/A
0N/A!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/projectcreator.make
0N/A!include $(WorkSpace)/make/windows/makefiles/compile.make
0N/A
0N/A# Pick up rules for building JVMTI (JSR-163)
0N/AJvmtiOutDir=$(HOTSPOTBUILDSPACE)\$(Variant)\generated\jvmtifiles
0N/A!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/jvmti.make
0N/A
0N/A# Pick up rules for building trace
0N/ATraceOutDir=$(HOTSPOTBUILDSPACE)\$(Variant)\generated\tracefiles
0N/A!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/trace.make
0N/A
0N/A!if "$(Variant)" == "compiler2"
0N/A# Pick up rules for building adlc
0N/A!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make
0N/A!endif
0N/A
0N/A!if "$(Variant)" == "tiered"
0N/A# Pick up rules for building adlc
0N/A!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make
0N/A!endif
0N/A
0N/AHS_INTERNAL_NAME=jvm
0N/A!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/launcher.make
0N/A
0N/Adefault:: $(AdditionalTargets) $(JvmtiGeneratedFiles) $(TraceGeneratedFiles)
0N/A
0N/A!include $(HOTSPOTWORKSPACE)/make/hotspot_version
0N/A
0N/A!if "$(USER_RELEASE_SUFFIX)" != ""
0N/AHOTSPOT_BUILD_VERSION = internal-$(USER_RELEASE_SUFFIX)
0N/A!else
0N/AHOTSPOT_BUILD_VERSION = internal
0N/A!endif
0N/A!if "$(HOTSPOT_RELEASE_VERSION)" != ""
0N/AHOTSPOT_RELEASE_VERSION="\\\"$(HOTSPOT_RELEASE_VERSION)\\\""
0N/A!else
0N/AHOTSPOT_RELEASE_VERSION="\\\"$(HS_MAJOR_VER).$(HS_MINOR_VER)-b$(HS_BUILD_NUMBER)-$(HOTSPOT_BUILD_VERSION)\\\""
0N/A!endif
0N/A!if "$(JRE_RELEASE_VERSION)" != ""
0N/AJRE_RELEASE_VERSION="\\\"$(JRE_RELEASE_VERSION)\\\""
0N/A!else
0N/AJRE_RELEASE_VERSION="\\\"$(JDK_MAJOR_VER).$(JDK_MINOR_VER).$(JDK_MICRO_VER)\\\""
0N/A!endif
0N/A
0N/A# Define HOTSPOT_VM_DISTRO if HOTSPOT_VM_DISTRO is set,
0N/A# and if it is not see if we have the src/closed directory
0N/A!if "$(HOTSPOT_VM_DISTRO)" != ""
0N/AHOTSPOT_VM_DISTRO=$(HOTSPOT_VM_DISTRO)
0N/A!else
0N/A!if exists($(HOTSPOTWORKSPACE)\src\closed)
0N/AHOTSPOT_VM_DISTRO="\\\"Java HotSpot(TM)\\\""
0N/A!else
0N/AHOTSPOT_VM_DISTRO="\\\"OpenJDK\\\""
0N/A!endif
0N/A!endif
0N/A
0N/AReleaseOptions = -define HOTSPOT_RELEASE_VERSION=$(HOTSPOT_RELEASE_VERSION) -define JRE_RELEASE_VERSION=$(JRE_RELEASE_VERSION) -define HOTSPOT_VM_DISTRO=$(HOTSPOT_VM_DISTRO)
0N/AProjectCreatorIDEOptions = $(ProjectCreatorIDEOptions) $(ReleaseOptions)
0N/A
0N/A$(HOTSPOTBUILDSPACE)/$(ProjectFile): $(HOTSPOTBUILDSPACE)/classes/ProjectCreator.class
0N/A @$(RUN_JAVA) -Djava.class.path="$(HOTSPOTBUILDSPACE)/classes" ProjectCreator WinGammaPlatform$(VcVersion) $(ProjectCreatorIDEOptions)
0N/A
0N/Aclean:
0N/A @rm -rf $(HOTSPOTBUILDSPACE)/classes
0N/A @rm -r $(HOTSPOTBUILDSPACE)/$(ProjectFile)
0N/A
0N/A$(HOTSPOTBUILDSPACE)/classes/ProjectCreator.class: $(ProjectCreatorSources)
0N/A @if exist $(HOTSPOTBUILDSPACE)\classes rmdir /s /q $(HOTSPOTBUILDSPACE)\classes
0N/A @mkdir $(HOTSPOTBUILDSPACE)\classes
0N/A @$(COMPILE_JAVAC) -classpath $(HOTSPOTWORKSPACE)\src\share\tools\ProjectCreator -d $(HOTSPOTBUILDSPACE)/classes $(ProjectCreatorSources)
0N/A
0N/AFORCE:
0N/A