make/RunTestsPrebuiltSpec.gmk
author ihse
Mon, 27 Nov 2017 12:29:28 +0100
branchihse-testmakefiles-branch
changeset 55882 79c94bfb654e
parent 55881 dbf68259f80e
child 55884 9ee155c19c6a
permissions -rw-r--r--
Use OUTPUTDIR instead of OUTPUT_ROOT.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     1
#
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     2
# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     4
#
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    10
#
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    15
# accompanied this code).
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    16
#
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    20
#
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    23
# questions.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    24
#
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    25
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    26
# Fake minimalistic spec file for RunTestsPrebuilt.gmk.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    27
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    28
define VerifyVariable
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    29
  ifeq ($$($1), )
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    30
    $$(info Error: Variable $1 is missing, needed for run-tests-prebuilt)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    31
    $$(error Cannot continue.)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    32
  else
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    33
    ifneq ($$(findstring $$(LOG_LEVEL), debug trace), )
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    34
      $$(info Prebuilt variable $1=$$($1))
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    35
    endif
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    36
  endif
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    37
endef
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    38
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    39
$(eval $(call VerifyVariable,TOPDIR))
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    40
$(eval $(call VerifyVariable,BOOT_JDK))
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    41
$(eval $(call VerifyVariable,OUTPUT_ROOT))
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    42
$(eval $(call VerifyVariable,JDK_IMAGE_DIR))
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    43
$(eval $(call VerifyVariable,TEST_IMAGE_DIR))
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    44
$(eval $(call VerifyVariable,JT_HOME))
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    45
$(eval $(call VerifyVariable,TONGA_JAR))
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    46
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    47
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    48
# These are old aliases that have not yet been fully removed
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    49
BUILD_OUTPUT :=  $(OUTPUT_ROOT)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    50
SRC_ROOT := $(TOPDIR)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    51
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    52
# FIXMEs
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    53
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    54
# verify that we have:
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    55
# MAKE
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    56
# BASH
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    57
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    58
#SPEC :=
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    59
FIXPATH :=
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    60
CYGPATH := cygpath
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    61
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    62
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    63
###FIXME
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    64
# colon or semicolon
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    65
PATH_SEP:=:
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    66
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    67
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    68
LOG_LEVEL=info
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    69
#LOG_LEVEL=$(LOG_LEVEL)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    70
#MAKE_LOG_FLAGS=$(MAKE_LOG_FLAGS)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    71
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    72
# The built jdk will run in this target system.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    73
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    74
OPENJDK_TARGET_OS:=linux
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    75
OPENJDK_TARGET_OS_TYPE:=unix
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    76
OPENJDK_TARGET_OS_ENV:=linux
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    77
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    78
OPENJDK_TARGET_CPU:=x86_64
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    79
OPENJDK_TARGET_CPU_ARCH:=x86
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    80
OPENJDK_TARGET_CPU_BITS:=64
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    81
OPENJDK_TARGET_CPU_ENDIAN:=little
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    82
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    83
#DEBUG_LEVEL:=@DEBUG_LEVEL@
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    84
#HOTSPOT_DEBUG_LEVEL:=@HOTSPOT_DEBUG_LEVEL@
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    85
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    86
#BUILD_GTEST := @BUILD_GTEST@
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    87
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    88
### FIXME
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    89
BUILD_FAILURE_HANDLER := true
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    90
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    91
### FIXME
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    92
# Information about the build system
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    93
NUM_CORES:=16
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    94
MEMORY_SIZE:=28130
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    95
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    96
## FIXME
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    97
# Number of parallel jobs to use for compilation
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    98
JOBS?=16
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    99
TEST_JOBS?=0
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   100
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   101
#### custom
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   102
TONGA_JAR := @TONGA_JAR@
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   103
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   104
################################################################################
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   105
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   106
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   107
# SPACE and COMMA are defined in MakeBase.gmk, but they are also used in
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   108
# some definitions here, and are needed if MakeBase.gmk is not included before
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   109
# this file.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   110
X:=
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   111
SPACE:=$(X) $(X)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   112
COMMA:=,
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   113
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   114
# The default make arguments
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   115
MAKE_ARGS = $(MAKE_LOG_FLAGS) -r -R -I $(TOPDIR)/make/common SPEC=$(SPEC) \
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   116
    MAKE_LOG_FLAGS="$(MAKE_LOG_FLAGS)" LOG_LEVEL=$(LOG_LEVEL)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   117
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   118
# Override the shell with bash
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   119
BASH_ARGS := -o pipefail -e
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   120
SHELL:=$(BASH) $(BASH_ARGS)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   121
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   122
# The "human readable" name of this configuration
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   123
CONF_NAME := run-test-prebuilt
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   124
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   125
# Assume target platform is same as build platform
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   126
OPENJDK_TARGET_OS := $(OPENJDK_BUILD_OS)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   127
OPENJDK_TARGET_OS_TYPE := $(OPENJDK_BUILD_OS_TYPE)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   128
OPENJDK_TARGET_OS_ENV := $(OPENJDK_BUILD_OS_ENV)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   129
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   130
OPENJDK_TARGET_CPU := $(OPENJDK_BUILD_CPU)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   131
OPENJDK_TARGET_CPU_ARCH := $(OPENJDK_BUILD_CPU_ARCH)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   132
OPENJDK_TARGET_CPU_BITS := $(OPENJDK_BUILD_CPU_BITS)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   133
OPENJDK_TARGET_CPU_ENDIAN := $(OPENJDK_BUILD_CPU_ENDIAN)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   134
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   135
# FIXME: Can we remove this?
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   136
HOTSPOT_TOPDIR:=$(TOPDIR)/hotspot
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   137
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   138
SUPPORT_OUTPUTDIR := $(OUTPUT_ROOT)/support
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   139
BUILDTOOLS_OUTPUTDIR := $(OUTPUT_ROOT)/buildtools
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   140
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   141
HOTSPOT_OUTPUTDIR := $(OUTPUT_ROOT)/hotspot
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   142
JDK_OUTPUTDIR := $(OUTPUT_ROOT)/jdk
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   143
IMAGES_OUTPUTDIR := $(OUTPUT_ROOT)/images
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   144
BUNDLES_OUTPUTDIR := $(OUTPUT_ROOT)/bundles
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   145
TESTMAKE_OUTPUTDIR := $(OUTPUT_ROOT)/test-make
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   146
MAKESUPPORT_OUTPUTDIR := $(OUTPUT_ROOT)/make-support
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   147
BUILDJDK_OUTPUTDIR := $(OUTPUT_ROOT)/buildjdk
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   148
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   149
### FIXME?
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   150
#JAVA_FLAGS:= -Duser.language=en -Duser.country=US
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   151
#JAVA_FLAGS_BIG:= -Xms64M -Xmx1600M -XX:ThreadStackSize=1536
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   152
#JAVA_FLAGS_SMALL:= -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   153
#JAVA_FLAGS_JAVAC:= -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   154
#JAVA_TOOL_FLAGS_SMALL:= -J-XX:+UseSerialGC -J-Xms32M -J-Xmx512M -J-XX:TieredStopAtLevel=1
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   155
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   156
JAVA_CMD:=$(BOOT_JDK)/bin/java
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   157
JAVAC_CMD:=$(BOOT_JDK)/bin/javac
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   158
JAVAH_CMD:=$(BOOT_JDK)/bin/javah
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   159
JAR_CMD:=$(BOOT_JDK)/bin/jar
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   160
JLINK_CMD := $(JDK_OUTPUTDIR)/bin/jlink
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   161
JMOD_CMD := $(JDK_OUTPUTDIR)/bin/jmod
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   162
JARSIGNER_CMD:=$(BOOT_JDK)/bin/jarsigner
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   163
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   164
# These variables are meant to be used. They are defined with = instead of := to make
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   165
# it possible to override only the *_CMD variables.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   166
JAVA=$(FIXPATH) $(JAVA_CMD) $(JAVA_FLAGS_BIG) $(JAVA_FLAGS)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   167
JAVA_SMALL=$(FIXPATH) $(JAVA_CMD) $(JAVA_FLAGS_SMALL) $(JAVA_FLAGS)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   168
JAVA_JAVAC=$(FIXPATH) $(JAVA_CMD) $(JAVA_FLAGS_JAVAC) $(JAVA_FLAGS)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   169
JAVAC=$(FIXPATH) $(JAVAC_CMD)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   170
JAVAH=$(FIXPATH) $(JAVAH_CMD)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   171
JAR=$(FIXPATH) $(JAR_CMD)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   172
JLINK = $(FIXPATH) $(JLINK_CMD) $(JAVA_TOOL_FLAGS_SMALL)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   173
JMOD = $(FIXPATH) $(JMOD_CMD) $(JAVA_TOOL_FLAGS_SMALL)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   174
JARSIGNER=$(FIXPATH) $(JARSIGNER_CMD)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   175
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   176
# Tools adhering to a minimal and common standard of posix compliance.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   177
AWK := awk
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   178
BASENAME := basename
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   179
CAT := cat
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   180
CD := cd
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   181
CHMOD := chmod
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   182
CP := cp
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   183
CUT := cut
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   184
DATE := date
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   185
DIFF := diff
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   186
DIRNAME := dirname
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   187
FIND := find
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   188
FIND_DELETE := -delete
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   189
ECHO := echo
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   190
EGREP := grep -E
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   191
FGREP := grep -F
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   192
GREP := grep
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   193
GZIP := gzip
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   194
HEAD := head
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   195
LS := ls
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   196
LN := ln
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   197
MKDIR := mkdir
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   198
MV := mv
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   199
NAWK := nawk
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   200
NICE := nice
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   201
PATCH := patch
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   202
PRINTF := printf
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   203
RM := rm -f
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   204
RMDIR := rmdir
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   205
SED := sed
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   206
SH := sh
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   207
SORT := sort
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   208
TAR := tar
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   209
TAIL := tail
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   210
TEE := tee
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   211
TR := tr
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   212
TOUCH := touch
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   213
UNIQ := uniq
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   214
WC := wc
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   215
XARGS := xargs
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   216
ZIPEXE := zip
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   217
UNZIP := unzip
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   218
EXPR := expr
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   219
FILE := file
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   220
HG := hg
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   221
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   222
####################################################
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   223
#
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   224
# Misc
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   225
#
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   226
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   227
JRE_IMAGE_DIR := $(JDK_IMAGE_DIR)