author | Srinivas Pakala <srinivas.pakala@oracle.com> |
Fri, 29 Apr 2016 18:32:21 -0700 | |
changeset 5899 | aa78da80bb9c |
parent 5857 | 69ef2ba78708 |
child 6273 | 00fae564957b |
permissions | -rw-r--r-- |
454
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
1 |
# |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
2 |
# |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
3 |
# CDDL HEADER START |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
4 |
# |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
5 |
# The contents of this file are subject to the terms of the |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
6 |
# Common Development and Distribution License (the "License"). |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
7 |
# You may not use this file except in compliance with the License. |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
8 |
# |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
9 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
10 |
# or http://www.opensolaris.org/os/licensing. |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
11 |
# See the License for the specific language governing permissions |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
12 |
# and limitations under the License. |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
13 |
# |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
14 |
# When distributing Covered Code, include this CDDL HEADER in each |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
15 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
16 |
# If applicable, add the following below this CDDL HEADER, with the |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
17 |
# fields enclosed by brackets "[]" replaced with your own identifying |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
18 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
19 |
# |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
20 |
# CDDL HEADER END |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
21 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4994
diff
changeset
|
22 |
|
454
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
23 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4994
diff
changeset
|
24 |
# Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved. |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4994
diff
changeset
|
25 |
# |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4994
diff
changeset
|
26 |
BUILD_BITS= NO_ARCH |
454
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
27 |
include ../../make-rules/shared-macros.mk |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
28 |
|
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
29 |
COMPONENT_NAME= timezone |
5899
aa78da80bb9c
23137770 update timezone data to 2016d
Srinivas Pakala <srinivas.pakala@oracle.com>
parents:
5857
diff
changeset
|
30 |
COMPONENT_VERSION= 2016.4 |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4994
diff
changeset
|
31 |
COMPONENT_SRC= |
5899
aa78da80bb9c
23137770 update timezone data to 2016d
Srinivas Pakala <srinivas.pakala@oracle.com>
parents:
5857
diff
changeset
|
32 |
HUMAN_VERSION= 2016d |
4994
ed928e1888f8
21935384 Update timezone data to 2015g
thejaswini.k@oracle.com
parents:
4969
diff
changeset
|
33 |
TPNO= 24870 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1910
diff
changeset
|
34 |
|
4969
189113f935e6
21960059 tweaks to get timezone to build on S11 and S12
John Beck <John.Beck@Oracle.COM>
parents:
4816
diff
changeset
|
35 |
# Build info part of pkg(5) FMRI dropped ",$(OS_VERSION)" between 11 and 12; |
189113f935e6
21960059 tweaks to get timezone to build on S11 and S12
John Beck <John.Beck@Oracle.COM>
parents:
4816
diff
changeset
|
36 |
# needed for evaluation repo where we build the default repo from 12 on 11. |
189113f935e6
21960059 tweaks to get timezone to build on S11 and S12
John Beck <John.Beck@Oracle.COM>
parents:
4816
diff
changeset
|
37 |
ifeq ($(OS_VERSION),5.11) |
189113f935e6
21960059 tweaks to get timezone to build on S11 and S12
John Beck <John.Beck@Oracle.COM>
parents:
4816
diff
changeset
|
38 |
OS_META_VERSION= ,$(OS_VERSION)-$(OS_VERSION) |
189113f935e6
21960059 tweaks to get timezone to build on S11 and S12
John Beck <John.Beck@Oracle.COM>
parents:
4816
diff
changeset
|
39 |
else |
189113f935e6
21960059 tweaks to get timezone to build on S11 and S12
John Beck <John.Beck@Oracle.COM>
parents:
4816
diff
changeset
|
40 |
OS_META_VERSION= -$(OS_VERSION) |
189113f935e6
21960059 tweaks to get timezone to build on S11 and S12
John Beck <John.Beck@Oracle.COM>
parents:
4816
diff
changeset
|
41 |
endif |
189113f935e6
21960059 tweaks to get timezone to build on S11 and S12
John Beck <John.Beck@Oracle.COM>
parents:
4816
diff
changeset
|
42 |
|
454
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
43 |
# "etcetera" must be listed before "backward" because it sets up links that |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
44 |
# "backward" needs. |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
45 |
TZFILES= africa antarctica asia australasia etcetera europe \ |
1822
b9fc8aa825e4
18394993 update timezone to 2014b (Turkey postpone switch to DST for 2014 for 1 day)
Tomas Klacko <tomas.klacko@oracle.com>
parents:
1610
diff
changeset
|
46 |
factory northamerica pacificnew \ |
454
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
47 |
southamerica backward |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
48 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4994
diff
changeset
|
49 |
BUILD_STYLE= archive |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4994
diff
changeset
|
50 |
COMMON_TARGETS= no |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4994
diff
changeset
|
51 |
include $(WS_MAKE_RULES)/common.mk |
1537
68c1d972de17
16703472 more userland components could benefit from resolve.deps files
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
1434
diff
changeset
|
52 |
|
4969
189113f935e6
21960059 tweaks to get timezone to build on S11 and S12
John Beck <John.Beck@Oracle.COM>
parents:
4816
diff
changeset
|
53 |
PKG_MACROS += OS_META_VERSION=$(OS_META_VERSION) |
189113f935e6
21960059 tweaks to get timezone to build on S11 and S12
John Beck <John.Beck@Oracle.COM>
parents:
4816
diff
changeset
|
54 |
|
454
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
55 |
POFILE=zoneinfo.po |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
56 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4994
diff
changeset
|
57 |
CLEAN_PATHS += $(POFILE) |
1434
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1228
diff
changeset
|
58 |
|
454
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
59 |
build: |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
60 |
@/bin/sh ./do_pofile.sh > $(POFILE) |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
61 |
|
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
62 |
install: build |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
63 |
/usr/sbin/zic -d $(PROTOUSRSHARELIBDIR)/zoneinfo $(TZFILES) |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
64 |
|
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
65 |
# empty test target |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
66 |
test: $(NO_TESTS) |
1ef5e4f29411
7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
67 |
|
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4256
diff
changeset
|
68 |
system-test: $(NO_TESTS) |
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4256
diff
changeset
|
69 |