Makefile revision 1934
b7a9befffd4721509f1ac15ceba2b0e9cb8f54baDav Glass# Copyright 1995-2009 Sun Microsystems, Inc. All Rights Reserved.
b7a9befffd4721509f1ac15ceba2b0e9cb8f54baDav Glass# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
b3e8d17ec2e300e8a4bc2842fb82801191788583Dav Glass# This code is free software; you can redistribute it and/or modify it
b3e8d17ec2e300e8a4bc2842fb82801191788583Dav Glass# under the terms of the GNU General Public License version 2 only, as
b7a9befffd4721509f1ac15ceba2b0e9cb8f54baDav Glass# published by the Free Software Foundation. Sun designates this
b7a9befffd4721509f1ac15ceba2b0e9cb8f54baDav Glass# particular file as subject to the "Classpath" exception as provided
b3e8d17ec2e300e8a4bc2842fb82801191788583Dav Glass# by Sun in the LICENSE file that accompanied this code.
b7a9befffd4721509f1ac15ceba2b0e9cb8f54baDav Glass# This code is distributed in the hope that it will be useful, but WITHOUT
bd5a99f6ae8a709127bdc410a72f1be590af9e51Dav Glass# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
b7a9befffd4721509f1ac15ceba2b0e9cb8f54baDav Glass# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
b7a9befffd4721509f1ac15ceba2b0e9cb8f54baDav Glass# version 2 for more details (a copy is included in the LICENSE file that
b7a9befffd4721509f1ac15ceba2b0e9cb8f54baDav Glass# accompanied this code).
b7a9befffd4721509f1ac15ceba2b0e9cb8f54baDav Glass# You should have received a copy of the GNU General Public License version
b7a9befffd4721509f1ac15ceba2b0e9cb8f54baDav Glass# 2 along with this work; if not, write to the Free Software Foundation,
b7a9befffd4721509f1ac15ceba2b0e9cb8f54baDav Glass# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
bd5a99f6ae8a709127bdc410a72f1be590af9e51Dav Glass# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
bd5a99f6ae8a709127bdc410a72f1be590af9e51Dav Glass# CA 95054 USA or visit www.sun.com if you need additional information or
b7a9befffd4721509f1ac15ceba2b0e9cb8f54baDav Glass# have any questions.
b7a9befffd4721509f1ac15ceba2b0e9cb8f54baDav Glass# Makefile to run various jdk tests
b3e8d17ec2e300e8a4bc2842fb82801191788583Dav Glass# Empty these to get rid of some default rules
8554f998f3a63e186713e5302f54c54e4578b7f4Dav Glass# Utilities used
b7a9befffd4721509f1ac15ceba2b0e9cb8f54baDav Glass# Get OS name from uname
bd5a99f6ae8a709127bdc410a72f1be590af9e51Dav Glass# Commands to run on paths to make mixed paths for java on windows
04e959e4a34ba55b138a27ea870f06cae0ae592dDav Glass# Location of developer shared files
04e959e4a34ba55b138a27ea870f06cae0ae592dDav Glass# Platform specific settings
SLASH_JAVA = J:
PRODUCT_HOME := \
$(shell \
# Expect JPRT to set JPRT_PRODUCT_ARGS (e.g. -server etc.)
# Expect JPRT to set JPRT_PRODUCT_VM_ARGS (e.g. -Xcomp etc.)
D64_ERROR_MESSAGE=Mismatch between ARCH_DATA_MODEL=$(ARCH_DATA_MODEL) and use of -d64 in JAVA_ARGS=$(JAVA_ARGS)
VIRTUAL_FRAME_BUFFER = true
VIRTUAL_FRAME_BUFFER = true
VIRTUAL_FRAME_BUFFER = false
PREP_DISPLAY = \
while [ ! -s $(DISPLAY_PID_FILE) ] ; do \
export DISPLAY; \
$(XHOST) || \
KILL_DISPLAY = \
export DISPLAY; \
exitCode=$$? && \
exit $${exitCode} \
USE_JTREG_SAMEVM=false
@$(SummaryInfo)
@$(SummaryInfo)
@$(SummaryInfo)
@$(SummaryInfo)
@$(SummaryInfo)
@$(SummaryInfo)
JTREG_BASIC_OPTIONS += -a
export JT_HOME; \
$(RM) $@
$(CP) $< $@
$(RM) $@
-runtests \
# Phony targets (e.g. these are not filenames)