Makefile revision 4967
0N/A#
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
0N/A# Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/Ainclude ../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= timezone
0N/A
0N/ACOMPONENT_VERSION= 2015.6
0N/A
0N/ACOMPONENT_BUGDB= utility/timezone
0N/A
0N/AHUMAN_VERSION= 2015f
0N/A
0N/ATPNO= 24066
0N/A
0N/A# Build info part of pkg(5) FMRI dropped ",$(OS_VERSION)" between 11 and 12;
0N/A# needed for evaluation repo where we build the default repo from 12 on 11.
0N/Aifeq ($(OS_VERSION),5.11)
0N/AOS_META_VERSION= ,$(OS_VERSION)-$(OS_VERSION)
0N/Aelse
0N/AOS_META_VERSION= -$(OS_VERSION)
0N/Aendif
0N/A
0N/A# "etcetera" must be listed before "backward" because it sets up links that
# "backward" needs.
TZFILES= africa antarctica asia australasia etcetera europe \
factory northamerica pacificnew \
southamerica backward
include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/ips.mk
PKG_MACROS += OS_META_VERSION=$(OS_META_VERSION)
POFILE=zoneinfo.po
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
build:
@/bin/sh ./do_pofile.sh > $(POFILE)
install: build
/usr/sbin/zic -d $(PROTOUSRSHARELIBDIR)/zoneinfo $(TZFILES)
# empty test target
test: $(NO_TESTS)
system-test: $(NO_TESTS)
clean::
$(RM) -r $(BUILD_DIR) $(POFILE)