Makefile revision 1601
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# This code is free software; you can redistribute it and/or modify it
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# under the terms of the GNU General Public License version 2 only, as
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin# published by the Free Software Foundation.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# This code is distributed in the hope that it will be useful, but WITHOUT
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# version 2 for more details (a copy is included in the LICENSE file that
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# accompanied this code).
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You should have received a copy of the GNU General Public License version
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# 2 along with this work; if not, write to the Free Software Foundation,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# or visit www.oracle.com if you need additional information or have any
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# questions.
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# Top level gnumake file for hotspot builds
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# Default is to build the both product images and construct an export dir.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# The default export directory name is `pwd`/export-$(PLATFORM).
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Use: 'gnumake help' for more information.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# This makefile uses the default settings for where to find compilers and
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# tools, and obeys the ALT_* variable settings used by the other JDK
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# workspaces.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Expected/optional make variables defined on make command line:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# LP64=1 or ARCH_DATA_MODEL=64 for 64bit build
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Expected/optional make variables or environment variables:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# ALT_SLASH_JAVA Location of /java or J:
# JDK_VERSION Current JDK version (e.g. 1.6.0)
# PREVIOUS_JDK_VERSION Previous (bootdir) JDK version (e.g. 1.5.0)
# FULL_VERSION Full version string to use (e.g. "1.6.0-ea-b42")
# COOKED_JDK_UPDATE_VERSION Just the update release number (e.g. 02)
# COOKED_BUILD_NUMBER Just the build number (e.g. 42)
# JDK_MKTG_VERSION Marketing JDK version (e.g. 6.0)
# JDK_MAJOR_VERSION Major number for version (e.g. 1) always 1?
# JDK_MINOR_VERSION Minor number for version (e.g. 6)
# JDK_MICRO_VERSION Micro number for version (e.g. 0)
docs:
$(C1_VM_TARGETS):
$(C2_VM_TARGETS):
$(ZERO_VM_TARGETS):
# Get jvm.lib
# Jar file (sa-jdi.jar)
# Include files (jvmti.h, jvmticmlr.h, jni.h, $(JDK_INCLUDE_SUBDIR)/jni_md.h, jmm.h)
$(EXPORT_INCLUDE_DIR)/$(JDK_INCLUDE_SUBDIR)/jni_md.h: $(HS_SRC_DIR)/cpu/$(HS_ARCH)/vm/jni_$(HS_ARCH).h
# Doc files (jvmti.html)
$(EXPORT_SERVER_DIR)/Xusage.txt $(EXPORT_CLIENT_DIR)/Xusage.txt $(EXPORT_KERNEL_DIR)/Xusage.txt: $(XUSAGE)
@$(ECHO) \
@$(ECHO) \
BOOTDIR \
BOOTDIR \
%.printval:
%.checkdir:
%.checkfil:
@$(ECHO) \
@$(ECHO) \
@$(ECHO) \
@$(ECHO) \
@$(ECHO) \
@$(ECHO) \
@$(ECHO) \
@$(ECHO) \
@$(ECHO) \
@$(ECHO) \
$(KERNEL_VM_TARGETS) \