annotate make/CopyInterimCLDRConverter.gmk @ 50183:4befb3c9c758

8203437: 8199370 broke build on linux-ppc64le (w/ GCC 4.8.5.) Reviewed-by: shade
author iignatyev
date Fri, 18 May 2018 12:45:05 -0700
parents 71c04702a3d5
children dea8a62cdfc3
rev   line source
naoto@32015 1 #
naoto@32015 2 # Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
naoto@32015 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
naoto@32015 4 #
naoto@32015 5 # This code is free software; you can redistribute it and/or modify it
naoto@32015 6 # under the terms of the GNU General Public License version 2 only, as
naoto@32015 7 # published by the Free Software Foundation. Oracle designates this
naoto@32015 8 # particular file as subject to the "Classpath" exception as provided
naoto@32015 9 # by Oracle in the LICENSE file that accompanied this code.
naoto@32015 10 #
naoto@32015 11 # This code is distributed in the hope that it will be useful, but WITHOUT
naoto@32015 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
naoto@32015 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
naoto@32015 14 # version 2 for more details (a copy is included in the LICENSE file that
naoto@32015 15 # accompanied this code).
naoto@32015 16 #
naoto@32015 17 # You should have received a copy of the GNU General Public License version
naoto@32015 18 # 2 along with this work; if not, write to the Free Software Foundation,
naoto@32015 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
naoto@32015 20 #
naoto@32015 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
naoto@32015 22 # or visit www.oracle.com if you need additional information or have any
naoto@32015 23 # questions.
naoto@32015 24 #
naoto@32015 25
naoto@32015 26 default: all
naoto@32015 27
naoto@32015 28 include $(SPEC)
naoto@32015 29 include MakeBase.gmk
naoto@32015 30
naoto@32015 31 ##########################################################################################
naoto@32015 32
naoto@32015 33 ### CLDRConverter needs the JRE time zone names from the java.base source.
naoto@32015 34
naoto@32015 35 define cldrconverter_copytznames
naoto@32015 36 $(MKDIR) -p '$(@D)'
naoto@32015 37 $(RM) '$@'
naoto@32015 38 $(SED) -e "s/package sun.util.resources/package build.tools.cldrconverter/" \
naoto@32015 39 -e "s/extends TimeZoneNamesBundle//" \
naoto@32015 40 -e "s/protected final/static final/" \
naoto@32015 41 < $(<) > $@
naoto@32015 42 endef
naoto@32015 43
naoto@32015 44 $(eval $(call SetupCopyFiles,COPY_INTERIM_CLDRCONVERTER, \
erikj@47217 45 SRC := $(TOPDIR)/src/java.base/share/classes/sun/util/resources, \
naoto@32015 46 DEST := $(BUILDTOOLS_OUTPUTDIR)/interim_cldrconverter_classes/build/tools/cldrconverter, \
naoto@32015 47 FILES := TimeZoneNames.java, \
naoto@32015 48 MACRO := cldrconverter_copytznames))
naoto@32015 49
naoto@32015 50 ##########################################################################################
naoto@32015 51
naoto@32015 52 all: $(COPY_INTERIM_CLDRCONVERTER)