annotate makefiles/GendataTimeZone.gmk @ 7280:a4f32e60635c

properly disable doclint now that it is integrated into langtools
author mduigou
date Tue, 05 Feb 2013 09:31:37 -0800
parents cea72c2bf071
children 7dcb74c3ffba
rev   line source
erikj@5670 1 #
alanb@6581 2 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
erikj@5670 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
erikj@5670 4 #
erikj@5670 5 # This code is free software; you can redistribute it and/or modify it
erikj@5670 6 # under the terms of the GNU General Public License version 2 only, as
erikj@5670 7 # published by the Free Software Foundation. Oracle designates this
erikj@5670 8 # particular file as subject to the "Classpath" exception as provided
erikj@5670 9 # by Oracle in the LICENSE file that accompanied this code.
erikj@5670 10 #
erikj@5670 11 # This code is distributed in the hope that it will be useful, but WITHOUT
erikj@5670 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
erikj@5670 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
erikj@5670 14 # version 2 for more details (a copy is included in the LICENSE file that
erikj@5670 15 # accompanied this code).
erikj@5670 16 #
erikj@5670 17 # You should have received a copy of the GNU General Public License version
erikj@5670 18 # 2 along with this work; if not, write to the Free Software Foundation,
erikj@5670 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
erikj@5670 20 #
erikj@5670 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
erikj@5670 22 # or visit www.oracle.com if you need additional information or have any
erikj@5670 23 # questions.
erikj@5670 24 #
erikj@5670 25
erikj@5670 26 GENDATA_TIMEZONE :=
erikj@5670 27
erikj@5670 28 # TODO: read from make/sun/javazic/tzdata/VERSION
coffeys@6601 29 GENDATA_TIMEZONE_VERSION := tzdata2012i
erikj@5670 30
erikj@5670 31 GENDATA_TIMEZONE_DST := $(JDK_OUTPUTDIR)/lib/zi
erikj@5670 32 GENDATA_TIMEZONE_TMP := $(JDK_OUTPUTDIR)/gendata_timezone
erikj@5670 33
erikj@5670 34 TZFILE0 := \
erikj@5670 35 africa antarctica asia australasia europe northamerica \
erikj@5670 36 pacificnew southamerica backward \
erikj@5670 37 etcetera solar87 solar88 solar89 systemv
erikj@5670 38
erikj@5670 39 TZFILE1 := \
erikj@5670 40 gmt jdk11_backward
erikj@5670 41
erikj@5670 42 TZFILES := \
erikj@5670 43 $(addprefix $(JDK_TOPDIR)/make/sun/javazic/tzdata/,$(TZFILE0)) \
erikj@5670 44 $(addprefix $(JDK_TOPDIR)/make/sun/javazic/tzdata_jdk/,$(TZFILE1))
erikj@5670 45
erikj@5670 46 GENDATA_TIMEZONE_MAPFILE:=ZoneInfoMappings
erikj@5670 47
erikj@5670 48 $(GENDATA_TIMEZONE_DST)/$(GENDATA_TIMEZONE_MAPFILE) : $(TZFILES)
ohair@6202 49 $(RM) -r $(GENDATA_TIMEZONE_TMP)
erikj@5670 50 $(MKDIR) -p $(GENDATA_TIMEZONE_TMP)
ohair@6202 51 $(RM) -r $(GENDATA_TIMEZONE_DST)
erikj@5670 52 $(MKDIR) -p $(GENDATA_TIMEZONE_DST)
erikj@5670 53 $(TOOL_JAVAZIC) -V "$(GENDATA_TIMEZONE_VERSION)" -d $(GENDATA_TIMEZONE_TMP) $(TZFILES)
erikj@5670 54 $(CP) -r $(GENDATA_TIMEZONE_TMP)/* $(GENDATA_TIMEZONE_DST)/
erikj@5670 55
erikj@5670 56 GENDATA_TIMEZONE += $(GENDATA_TIMEZONE_DST)/$(GENDATA_TIMEZONE_MAPFILE)