make/RunTestsPrebuiltSpec.gmk
author ihse
Mon, 27 Nov 2017 14:25:35 +0100
branchihse-testmakefiles-branch
changeset 55887 61fc39af1705
parent 55886 ff90766e3c60
child 55888 cd05c5ba480a
permissions -rw-r--r--
Use OUTPUTDIR.
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
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55881
diff changeset
    39
# It is the responsibility of the file including us to have set these up.
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55881
diff changeset
    40
# Verify that this is correct.
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55881
diff changeset
    41
$(eval $(call VerifyVariable,SPEC))
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    42
$(eval $(call VerifyVariable,TOPDIR))
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55881
diff changeset
    43
$(eval $(call VerifyVariable,OUTPUTDIR))
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    44
$(eval $(call VerifyVariable,BOOT_JDK))
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    45
$(eval $(call VerifyVariable,JT_HOME))
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55881
diff changeset
    46
$(eval $(call VerifyVariable,JDK_IMAGE_DIR))
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55881
diff changeset
    47
$(eval $(call VerifyVariable,TEST_IMAGE_DIR))
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    48
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    49
# FIXMEs
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    50
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    51
# verify that we have:
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    52
# MAKE
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    53
# BASH
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    54
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55881
diff changeset
    55
# FIXME
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55881
diff changeset
    56
export BASH := bash
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55881
diff changeset
    57
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55881
diff changeset
    58
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55881
diff changeset
    59
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    60
#SPEC :=
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    61
FIXPATH :=
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    62
CYGPATH := cygpath
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    63
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    64
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    65
###FIXME
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    66
# colon or semicolon
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    67
PATH_SEP:=:
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    68
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    69
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    70
LOG_LEVEL=info
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    71
#LOG_LEVEL=$(LOG_LEVEL)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    72
#MAKE_LOG_FLAGS=$(MAKE_LOG_FLAGS)
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
# The built jdk will run in this target system.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    75
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    76
OPENJDK_TARGET_OS:=linux
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    77
OPENJDK_TARGET_OS_TYPE:=unix
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    78
OPENJDK_TARGET_OS_ENV:=linux
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    79
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    80
OPENJDK_TARGET_CPU:=x86_64
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    81
OPENJDK_TARGET_CPU_ARCH:=x86
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    82
OPENJDK_TARGET_CPU_BITS:=64
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    83
OPENJDK_TARGET_CPU_ENDIAN:=little
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    84
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    85
#DEBUG_LEVEL:=@DEBUG_LEVEL@
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    86
#HOTSPOT_DEBUG_LEVEL:=@HOTSPOT_DEBUG_LEVEL@
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
#BUILD_GTEST := @BUILD_GTEST@
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    89
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    90
### FIXME
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    91
BUILD_FAILURE_HANDLER := true
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    92
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    93
### FIXME
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    94
# Information about the build system
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    95
NUM_CORES:=16
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    96
MEMORY_SIZE:=28130
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    97
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    98
## FIXME
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    99
# Number of parallel jobs to use for compilation
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   100
JOBS?=16
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   101
TEST_JOBS?=0
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   102
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
# 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
   107
# 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
   108
# this file.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   109
X:=
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   110
SPACE:=$(X) $(X)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   111
COMMA:=,
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   112
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   113
# The default make arguments
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   114
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
   115
    MAKE_LOG_FLAGS="$(MAKE_LOG_FLAGS)" LOG_LEVEL=$(LOG_LEVEL)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   116
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   117
# Override the shell with bash
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   118
BASH_ARGS := -o pipefail -e
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   119
SHELL:=$(BASH) $(BASH_ARGS)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   120
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   121
# The "human readable" name of this configuration
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   122
CONF_NAME := run-test-prebuilt
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   123
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   124
# Assume target platform is same as build platform
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   125
OPENJDK_TARGET_OS := $(OPENJDK_BUILD_OS)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   126
OPENJDK_TARGET_OS_TYPE := $(OPENJDK_BUILD_OS_TYPE)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   127
OPENJDK_TARGET_OS_ENV := $(OPENJDK_BUILD_OS_ENV)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   128
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   129
OPENJDK_TARGET_CPU := $(OPENJDK_BUILD_CPU)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   130
OPENJDK_TARGET_CPU_ARCH := $(OPENJDK_BUILD_CPU_ARCH)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   131
OPENJDK_TARGET_CPU_BITS := $(OPENJDK_BUILD_CPU_BITS)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   132
OPENJDK_TARGET_CPU_ENDIAN := $(OPENJDK_BUILD_CPU_ENDIAN)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   133
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   134
# FIXME: Can we remove this?
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   135
HOTSPOT_TOPDIR:=$(TOPDIR)/hotspot
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   136
55887
61fc39af1705 Use OUTPUTDIR.
ihse
parents: 55886
diff changeset
   137
SUPPORT_OUTPUTDIR := $(OUTPUTDIR)/support
61fc39af1705 Use OUTPUTDIR.
ihse
parents: 55886
diff changeset
   138
BUILDTOOLS_OUTPUTDIR := $(OUTPUTDIR)/buildtools
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   139
55887
61fc39af1705 Use OUTPUTDIR.
ihse
parents: 55886
diff changeset
   140
HOTSPOT_OUTPUTDIR := $(OUTPUTDIR)/hotspot
61fc39af1705 Use OUTPUTDIR.
ihse
parents: 55886
diff changeset
   141
JDK_OUTPUTDIR := $(OUTPUTDIR)/jdk
61fc39af1705 Use OUTPUTDIR.
ihse
parents: 55886
diff changeset
   142
IMAGES_OUTPUTDIR := $(OUTPUTDIR)/images
61fc39af1705 Use OUTPUTDIR.
ihse
parents: 55886
diff changeset
   143
BUNDLES_OUTPUTDIR := $(OUTPUTDIR)/bundles
61fc39af1705 Use OUTPUTDIR.
ihse
parents: 55886
diff changeset
   144
TESTMAKE_OUTPUTDIR := $(OUTPUTDIR)/test-make
61fc39af1705 Use OUTPUTDIR.
ihse
parents: 55886
diff changeset
   145
MAKESUPPORT_OUTPUTDIR := $(OUTPUTDIR)/make-support
61fc39af1705 Use OUTPUTDIR.
ihse
parents: 55886
diff changeset
   146
BUILDJDK_OUTPUTDIR := $(OUTPUTDIR)/buildjdk
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   147
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   148
### FIXME?
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   149
#JAVA_FLAGS:= -Duser.language=en -Duser.country=US
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   150
#JAVA_FLAGS_BIG:= -Xms64M -Xmx1600M -XX:ThreadStackSize=1536
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   151
#JAVA_FLAGS_SMALL:= -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   152
#JAVA_FLAGS_JAVAC:= -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   153
#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
   154
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   155
JAVA_CMD:=$(BOOT_JDK)/bin/java
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   156
JAVAC_CMD:=$(BOOT_JDK)/bin/javac
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   157
JAVAH_CMD:=$(BOOT_JDK)/bin/javah
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   158
JAR_CMD:=$(BOOT_JDK)/bin/jar
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   159
JLINK_CMD := $(JDK_OUTPUTDIR)/bin/jlink
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   160
JMOD_CMD := $(JDK_OUTPUTDIR)/bin/jmod
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   161
JARSIGNER_CMD:=$(BOOT_JDK)/bin/jarsigner
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   162
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   163
# 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
   164
# it possible to override only the *_CMD variables.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   165
JAVA=$(FIXPATH) $(JAVA_CMD) $(JAVA_FLAGS_BIG) $(JAVA_FLAGS)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   166
JAVA_SMALL=$(FIXPATH) $(JAVA_CMD) $(JAVA_FLAGS_SMALL) $(JAVA_FLAGS)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   167
JAVA_JAVAC=$(FIXPATH) $(JAVA_CMD) $(JAVA_FLAGS_JAVAC) $(JAVA_FLAGS)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   168
JAVAC=$(FIXPATH) $(JAVAC_CMD)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   169
JAVAH=$(FIXPATH) $(JAVAH_CMD)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   170
JAR=$(FIXPATH) $(JAR_CMD)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   171
JLINK = $(FIXPATH) $(JLINK_CMD) $(JAVA_TOOL_FLAGS_SMALL)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   172
JMOD = $(FIXPATH) $(JMOD_CMD) $(JAVA_TOOL_FLAGS_SMALL)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   173
JARSIGNER=$(FIXPATH) $(JARSIGNER_CMD)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   174
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   175
# Tools adhering to a minimal and common standard of posix compliance.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   176
AWK := awk
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   177
BASENAME := basename
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   178
CAT := cat
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   179
CD := cd
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   180
CHMOD := chmod
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   181
CP := cp
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   182
CUT := cut
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   183
DATE := date
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   184
DIFF := diff
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   185
DIRNAME := dirname
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   186
FIND := find
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   187
FIND_DELETE := -delete
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   188
ECHO := echo
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   189
EGREP := grep -E
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   190
FGREP := grep -F
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   191
GREP := grep
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   192
GZIP := gzip
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   193
HEAD := head
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   194
LS := ls
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   195
LN := ln
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   196
MKDIR := mkdir
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   197
MV := mv
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   198
NAWK := nawk
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   199
NICE := nice
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   200
PATCH := patch
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   201
PRINTF := printf
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   202
RM := rm -f
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   203
RMDIR := rmdir
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   204
SED := sed
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   205
SH := sh
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   206
SORT := sort
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   207
TAR := tar
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   208
TAIL := tail
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   209
TEE := tee
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   210
TR := tr
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   211
TOUCH := touch
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   212
UNIQ := uniq
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   213
WC := wc
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   214
XARGS := xargs
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   215
ZIPEXE := zip
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   216
UNZIP := unzip
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   217
EXPR := expr
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   218
FILE := file
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   219
HG := hg
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   220
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
# Misc
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   224
#
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
JRE_IMAGE_DIR := $(JDK_IMAGE_DIR)