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