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