jdk/make/gensrc/Gensrc-jdk.localedata.gmk
author vromero
Thu, 31 Mar 2016 17:25:58 -0400
changeset 36776 5e260fa5208a
parent 33669 1082bb5cff16
permissions -rw-r--r--
8150733: NPE when compiling module-info.java with a class declaration in a non-module mode Reviewed-by: jjg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26632
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
     1
#
33669
1082bb5cff16 8142383: Use named arguments for SetupCompileProperties in jdk
ihse
parents: 27088
diff changeset
     2
# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
26632
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
     4
#
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    10
#
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    15
# accompanied this code).
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    16
#
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    20
#
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    23
# questions.
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    24
#
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    25
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    26
include GensrcCommon.gmk
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    27
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    28
# Hook to include the corresponding custom file, if present.
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    29
$(eval $(call IncludeCustomExtension, jdk, gensrc/Gensrc-jdk.localedata.gmk))
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    30
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    31
include GensrcLocaleData.gmk
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    32
include GensrcCLDR.gmk
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    33
27088
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    34
################################################################################
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    35
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    36
include GensrcProperties.gmk
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    37
33669
1082bb5cff16 8142383: Use named arguments for SetupCompileProperties in jdk
ihse
parents: 27088
diff changeset
    38
$(eval $(call SetupCompileProperties, COMPILE_PROPERTIES, \
1082bb5cff16 8142383: Use named arguments for SetupCompileProperties in jdk
ihse
parents: 27088
diff changeset
    39
    SRC_DIRS := $(JDK_TOPDIR)/src/jdk.localedata/share/classes/sun/util/resources, \
1082bb5cff16 8142383: Use named arguments for SetupCompileProperties in jdk
ihse
parents: 27088
diff changeset
    40
    CLASS := sun.util.resources.LocaleNamesBundle, \
1082bb5cff16 8142383: Use named arguments for SetupCompileProperties in jdk
ihse
parents: 27088
diff changeset
    41
))
27088
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    42
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    43
# Skip generating zh_HK from zh_TW for this module.
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    44
GENSRC_JDK_LOCALEDATA += $(filter-out %_zh_HK.java, $(COMPILE_PROPERTIES))
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    45
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    46
################################################################################
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    47
26632
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    48
jdk.localedata: $(GENSRC_JDK_LOCALEDATA)
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    49
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    50
all: jdk.localedata
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    51
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    52
.PHONY: all jdk.localedata