Makefile revision 0
824N/A#
1472N/A# Copyright 2000-2006 Sun Microsystems, Inc. All Rights Reserved.
824N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
824N/A#
824N/A# This code is free software; you can redistribute it and/or modify it
824N/A# under the terms of the GNU General Public License version 2 only, as
824N/A# published by the Free Software Foundation. Sun designates this
824N/A# particular file as subject to the "Classpath" exception as provided
824N/A# by Sun in the LICENSE file that accompanied this code.
824N/A#
824N/A# This code is distributed in the hope that it will be useful, but WITHOUT
824N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
824N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
824N/A# version 2 for more details (a copy is included in the LICENSE file that
824N/A# accompanied this code).
824N/A#
824N/A# You should have received a copy of the GNU General Public License version
824N/A# 2 along with this work; if not, write to the Free Software Foundation,
1472N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1472N/A#
1472N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
824N/A# CA 95054 USA or visit www.sun.com if you need additional information or
824N/A# have any questions.
824N/A#
824N/A
824N/A# Makefile for building javazic utility & TimeZone resource files
824N/A
824N/A
824N/ABUILDDIR = ../..
824N/APACKAGE = sun.javazic
824N/APRODUCT = sun
824N/Ainclude $(BUILDDIR)/common/Defs.gmk
824N/A
824N/A# Time zone data file creation
824N/ATZDATA = ./tzdata/
824N/ATZDATA_VER = `$(GREP) '^tzdata' $(TZDATA)VERSION`
824N/ATZFILE = \
824N/A africa antarctica asia australasia europe northamerica \
824N/A pacificnew southamerica backward \
824N/A etcetera solar87 solar88 solar89 systemv
824N/AJDKTZDATA = ./tzdata_jdk/
824N/AJDKTZFILES = gmt jdk11_backward
824N/ATZFILES = \
824N/A $(addprefix $(TZDATA),$(TZFILE)) \
824N/A $(addprefix $(JDKTZDATA),$(JDKTZFILES))
824N/A
824N/AWORKDIR = $(TEMPDIR)/zi
824N/AINSTALLDIR = $(LIBDIR)/zi
824N/AMAPFILE = ZoneInfoMappings
824N/A
824N/A#
824N/A# Rules
824N/A#
824N/Ainclude $(BUILDDIR)/common/Classes.gmk
824N/A
824N/A# Add to the build rule
824N/Abuild: $(INSTALLDIR)/$(MAPFILE)
824N/A
824N/A$(BUILDTOOLJARDIR)/javazic.jar:
824N/A ($(CD) $(BUILDDIR)/tools/javazic && $(MAKE))
824N/A
824N/A$(WORKDIR)/$(MAPFILE): $(BUILDTOOLJARDIR)/javazic.jar $(TZFILES)
824N/A $(RM) -r $(@D)
824N/A $(prep-target)
824N/A $(BOOT_JAVA_CMD) -jar $(BUILDTOOLJARDIR)/javazic.jar -V "$(TZDATA_VER)" -d $(WORKDIR) $(TZFILES)
824N/A @$(java-vm-cleanup)
824N/A
824N/A$(INSTALLDIR)/$(MAPFILE): $(WORKDIR)/$(MAPFILE)
824N/A $(RM) -r $(@D)
824N/A $(prep-target)
824N/A $(CP) -r $(WORKDIR)/* $(@D)
824N/A
824N/Aclean clobber::
824N/A $(RM) -r $(TEMPDIR) $(INSTALLDIR)
824N/A