make/launcher/Launcher-jdk.jshell.gmk
author joehw
Wed, 13 Jun 2018 12:50:45 -0700
changeset 50552 7439ceaae8e4
parent 47216 71c04702a3d5
permissions -rw-r--r--
8201276: (fs) Add methods to Files for reading/writing a string from/to a file Reviewed-by: rriggs, smarks, sherman, forax, alanb, mli
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
33237
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
     1
#
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
     2
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
     4
#
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    10
#
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    15
# accompanied this code).
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    16
#
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    20
#
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    23
# questions.
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    24
#
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    25
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    26
include LauncherCommon.gmk
566786747ea9 8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
diff changeset
    27
33523
eb067bcd9414 8141444: Clean up building of JDK launchers
ihse
parents: 33237
diff changeset
    28
$(eval $(call SetupBuildLauncher, jshell, \
42779
6ba2ec372a88 8170194: jshell tool (jdk repo): launch tool from JShellToolProvider
rfield
parents: 41966
diff changeset
    29
    MAIN_CLASS := jdk.internal.jshell.tool.JShellToolProvider, \
41966
bac52fa6e617 8169001: Remove launcher's built-in ergonomics
ksrini
parents: 33523
diff changeset
    30
    CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
33523
eb067bcd9414 8141444: Clean up building of JDK launchers
ihse
parents: 33237
diff changeset
    31
))