jdk/make/launcher/Launcher-jdk.compiler.gmk
author sla
Thu, 30 Apr 2015 09:50:10 +0200
changeset 30661 0685e2924fc6
parent 27565 729f9700483a
child 30813 302fa7e3d2f0
permissions -rw-r--r--
8076473: Remove the jhat code and update makefiles Reviewed-by: alanb, erikj, sspitsyn
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
25859
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     1
#
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     2
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     4
#
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    10
#
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    15
# accompanied this code).
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    16
#
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    20
#
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    23
# questions.
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    24
#
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    25
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    26
include LauncherCommon.gmk
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    27
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    28
$(eval $(call SetupLauncher,javac, \
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    29
    -DEXPAND_CLASSPATH_WILDCARDS \
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    30
    -DNEVER_ACT_AS_SERVER_CLASS_MACHINE \
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    31
    -DJAVA_ARGS='{ "-J-ms8m"$(COMMA) "com.sun.tools.javac.Main"$(COMMA) }'))
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    32
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    33
$(eval $(call SetupLauncher,javah, \
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    34
    -DEXPAND_CLASSPATH_WILDCARDS \
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    35
    -DNEVER_ACT_AS_SERVER_CLASS_MACHINE \
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    36
    -DJAVA_ARGS='{ "-J-ms8m"$(COMMA) "com.sun.tools.javah.Main"$(COMMA) }'))
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    37
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    38
$(eval $(call SetupLauncher,javap, \
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    39
    -DEXPAND_CLASSPATH_WILDCARDS \
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    40
    -DNEVER_ACT_AS_SERVER_CLASS_MACHINE \
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    41
    -DJAVA_ARGS='{ "-J-ms8m"$(COMMA) "com.sun.tools.javap.Main"$(COMMA) }'))
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    42
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    43
$(eval $(call SetupLauncher,serialver, \
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    44
    -DEXPAND_CLASSPATH_WILDCARDS \
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    45
    -DJAVA_ARGS='{ "-J-ms8m"$(COMMA) "sun.tools.serialver.SerialVer"$(COMMA) }'))
3317bb8137f4 8054834: Modular Source Code
chegar
parents:
diff changeset
    46
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    47
ifeq ($(ENABLE_SJAVAC), yes)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    48
  # Build sjavac directly to the exploded image so that it does not get included
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    49
  # into any real images
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    50
  $(eval $(call SetupLauncher,sjavac, \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    51
      -DEXPAND_CLASSPATH_WILDCARDS \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    52
      -DNEVER_ACT_AS_SERVER_CLASS_MACHINE \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    53
      -DJAVA_ARGS='{ "-J-ms8m"$(COMMA) "com.sun.tools.sjavac.Main"$(COMMA) }',,,,,,, \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    54
      $(JDK_OUTPUTDIR)/bin))
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    55
endif