Makefile revision 4349
0N/A#
2105N/A# Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
0N/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#
1472N/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.
0N/A#
0N/A#
0N/A
1934N/A!ifdef LOCAL_MAKE
1934N/A!include $(LOCAL_MAKE)
1934N/A!endif
1934N/A
1879N/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)
1934N/A!else
1934N/A!ifdef HOTSPOTJDKDIST
1934N/ABootStrapDir=$(HOTSPOTJDKDIST)
1934N/A!endif
0N/A!endif
0N/A!endif
0N/A!endif
0N/A
4349N/A# if hotspot-only build and/or OPENJDK isn't passed down, need to set OPENJDK
4349N/A!ifndef OPENJDK
4349N/A!if !exists($(WorkSpace)\src\closed)
4349N/AOPENJDK=true
4349N/A!endif
4141N/A!endif
1934N/A
1934N/A
1879N/A!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/projectcreator.make
1934N/A!include $(WorkSpace)/make/windows/makefiles/compile.make
0N/A
0N/A# Pick up rules for building JVMTI (JSR-163)
1879N/AJvmtiOutDir=$(HOTSPOTBUILDSPACE)\$(Variant)\generated\jvmtifiles
91N/A!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/jvmti.make
0N/A
4141N/A# Pick up rules for building trace
4141N/ATraceOutDir=$(HOTSPOTBUILDSPACE)\$(Variant)\generated\tracefiles
4141N/A!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/trace.make
4141N/A
0N/A!if "$(Variant)" == "compiler2"
0N/A# Pick up rules for building adlc
91N/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
91N/A!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/adlc.make
0N/A!endif
0N/A
1934N/AHS_INTERNAL_NAME=jvm
1934N/A!include $(HOTSPOTWORKSPACE)/make/windows/makefiles/launcher.make
1934N/A
4141N/Adefault:: $(AdditionalTargets) $(JvmtiGeneratedFiles) $(TraceGeneratedFiles)
0N/A
0N/A!include $(HOTSPOTWORKSPACE)/make/hotspot_version
0N/A
4292N/A!if "$(USER_RELEASE_SUFFIX)" != ""
4292N/AHOTSPOT_BUILD_VERSION = internal-$(USER_RELEASE_SUFFIX)
0N/A!else
4292N/AHOTSPOT_BUILD_VERSION = internal
0N/A!endif
4292N/A!if "$(HOTSPOT_RELEASE_VERSION)" != ""
4292N/AHOTSPOT_RELEASE_VERSION="\\\"$(HOTSPOT_RELEASE_VERSION)\\\""
1884N/A!else
4292N/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)" != ""
4292N/AJRE_RELEASE_VERSION="\\\"$(JRE_RELEASE_VERSION)\\\""
0N/A!else
4292N/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)" != ""
4292N/AHOTSPOT_VM_DISTRO=$(HOTSPOT_VM_DISTRO)
0N/A!else
0N/A!if exists($(HOTSPOTWORKSPACE)\src\closed)
4292N/AHOTSPOT_VM_DISTRO="\\\"Java HotSpot(TM)\\\""
0N/A!else
4292N/AHOTSPOT_VM_DISTRO="\\\"OpenJDK\\\""
0N/A!endif
0N/A!endif
0N/A
4292N/AReleaseOptions = -define HOTSPOT_RELEASE_VERSION=$(HOTSPOT_RELEASE_VERSION) -define JRE_RELEASE_VERSION=$(JRE_RELEASE_VERSION) -define HOTSPOT_VM_DISTRO=$(HOTSPOT_VM_DISTRO)
4292N/AProjectCreatorIDEOptions = $(ProjectCreatorIDEOptions) $(ReleaseOptions)
0N/A
2105N/A$(HOTSPOTBUILDSPACE)/$(ProjectFile): $(HOTSPOTBUILDSPACE)/classes/ProjectCreator.class
3956N/A @$(RUN_JAVA) -Djava.class.path="$(HOTSPOTBUILDSPACE)/classes" ProjectCreator WinGammaPlatform$(VcVersion) $(ProjectCreatorIDEOptions)
0N/A
0N/Aclean:
1879N/A @rm -rf $(HOTSPOTBUILDSPACE)/classes
2105N/A @rm -r $(HOTSPOTBUILDSPACE)/$(ProjectFile)
0N/A
1879N/A$(HOTSPOTBUILDSPACE)/classes/ProjectCreator.class: $(ProjectCreatorSources)
0N/A @if exist $(HOTSPOTBUILDSPACE)\classes rmdir /s /q $(HOTSPOTBUILDSPACE)\classes
0N/A @mkdir $(HOTSPOTBUILDSPACE)\classes
1879N/A @$(COMPILE_JAVAC) -classpath $(HOTSPOTWORKSPACE)\src\share\tools\ProjectCreator -d $(HOTSPOTBUILDSPACE)/classes $(ProjectCreatorSources)
0N/A
0N/AFORCE: