make/gensrc/Gensrc-jdk.compiler.gmk
author eosterlund
Thu, 30 Aug 2018 09:25:38 +0200
changeset 51590 3aaf039a3636
parent 50453 f91927a2c8d3
permissions -rw-r--r--
8210065: ZGC: Remove mode for treating weaks as strong Reviewed-by: kbarrett, pliden
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
27579
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     1
#
50453
f91927a2c8d3 8201274: Launch Single-File Source-Code Programs
jjg
parents: 48406
diff changeset
     2
# Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
27579
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     4
#
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    10
#
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    15
# accompanied this code).
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    16
#
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    20
#
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    23
# questions.
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    24
#
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    25
47217
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    26
include GensrcCommonLangtools.gmk
27579
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    27
28458
f20c5dd05e34 8069164: Fix langtools make build so that diagnostic framework can be used
mcimadamore
parents: 28334
diff changeset
    28
$(eval $(call SetupVersionProperties,JAVAC_VERSION, \
27579
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    29
    com/sun/tools/javac/resources/version.properties))
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    30
28458
f20c5dd05e34 8069164: Fix langtools make build so that diagnostic framework can be used
mcimadamore
parents: 28334
diff changeset
    31
$(eval $(call SetupCompileProperties,COMPILE_PROPERTIES, \
48406
26b47ea4c77d 8193512: Remove remnants of javah from jdk/jdk repo
jjg
parents: 47217
diff changeset
    32
    $(JAVAC_VERSION)))
27579
d1a63c99cdd5 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    33
28458
f20c5dd05e34 8069164: Fix langtools make build so that diagnostic framework can be used
mcimadamore
parents: 28334
diff changeset
    34
$(eval $(call SetupParseProperties,PARSE_PROPERTIES, \
50453
f91927a2c8d3 8201274: Launch Single-File Source-Code Programs
jjg
parents: 48406
diff changeset
    35
	com/sun/tools/javac/resources/compiler.properties \
f91927a2c8d3 8201274: Launch Single-File Source-Code Programs
jjg
parents: 48406
diff changeset
    36
	com/sun/tools/javac/resources/launcher.properties))
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 27579
diff changeset
    37
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 27579
diff changeset
    38
all: $(COMPILE_PROPERTIES) $(PARSE_PROPERTIES)