open-src/lib/libXi/Makefile
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Tue, 09 Apr 2013 11:39:19 -0700
changeset 1366 62beb605c20c
parent 1301 371a43cad701
child 1377 74e8a5844513
permissions -rw-r--r--
16609027 Update to the latest community release: Xorg 1.14.0 16067432 trident driver fails to load: symbol TRIDENT_Sync: referenced symbol not found 16589629 /usr/bin/Xserver advises use of command that won't work
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     1
###############################################################################
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     2
#
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
     3
# libXi Makefile
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     4
#
1265
0b5cc5c013e4 7083537 Xorg 1.12 & associated module updates
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1215
diff changeset
     5
# Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     6
#
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     7
# Permission is hereby granted, free of charge, to any person obtaining a
919
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
     8
# copy of this software and associated documentation files (the "Software"),
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
     9
# to deal in the Software without restriction, including without limitation
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    10
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    11
# and/or sell copies of the Software, and to permit persons to whom the
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    12
# Software is furnished to do so, subject to the following conditions:
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    13
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    14
# The above copyright notice and this permission notice (including the next
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    15
# paragraph) shall be included in all copies or substantial portions of the
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    16
# Software.
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    17
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    18
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    19
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    20
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    21
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    22
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    23
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    24
# DEALINGS IN THE SOFTWARE.
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    25
#
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    26
#
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    27
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    28
# Package name used in tarballs
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 284
diff changeset
    29
MODULE_NAME=libXi
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    30
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    31
# Version number (used in path names)
1366
62beb605c20c 16609027 Update to the latest community release: Xorg 1.14.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1301
diff changeset
    32
MODULE_VERSION=1.7.1
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    33
911
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    34
# Checksums for upstream tarball
1366
62beb605c20c 16609027 Update to the latest community release: Xorg 1.14.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1301
diff changeset
    35
TARBALL_MD5   = 24d71afed1b86c60d4eb361628d7f47b
62beb605c20c 16609027 Update to the latest community release: Xorg 1.14.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1301
diff changeset
    36
TARBALL_SHA1  = 0737f2344c661523bd5903a727c3371cebb2b0f3
62beb605c20c 16609027 Update to the latest community release: Xorg 1.14.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1301
diff changeset
    37
TARBALL_SHA256= e92adb6b69c53c51e05c1e65db97e23751b935a693000fb0606c11b88c0066c5
911
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    38
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    39
# Patches to apply to source after unpacking, in order
1215
924b7feb31b8 7091272 Missing reference of .so in /usr/man/man3xi man pages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1179
diff changeset
    40
SOURCE_PATCHES = solaris-abi.patch,-p1
924b7feb31b8 7091272 Missing reference of .so in /usr/man/man3xi man pages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1179
diff changeset
    41
SOURCE_PATCHES += man-fixme.patch,-p1 shadow-man-pages.patch,-p1
1179
4ad971e180c3 7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1072
diff changeset
    42
4ad971e180c3 7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1072
diff changeset
    43
# Need to regen Makefile.in after man-fixme.patch changes Makefile.am
4ad971e180c3 7073739 Mass minor bugfix update to X.Org upstream release [July 2011 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1072
diff changeset
    44
AUTORECONF=yes
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
    45
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    46
# Library name (used for specfiles/mapfiles)
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    47
LIBNAME=Xi
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    48
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    49
# ARC cases that covered this module
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    50
# PSARC/1992/172  X Input Extensions
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    51
MODULE_ARC_CASES = PSARC/1992/172
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    52
# PSARC/2009/303  X Input Extension 1.5
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    53
MODULE_ARC_CASES += PSARC/2009/303
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    54
# PSARC/2009/678  X Input Extension version 2.0 (XI2)
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    55
MODULE_ARC_CASES += PSARC/2009/678
1366
62beb605c20c 16609027 Update to the latest community release: Xorg 1.14.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1301
diff changeset
    56
# PSARC/2013/088  X Input Extension version 2.3 (XI2)
62beb605c20c 16609027 Update to the latest community release: Xorg 1.14.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1301
diff changeset
    57
MODULE_ARC_CASES += PSARC/2013/088
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    58
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    59
# Man pages to apply Sun footer to & attributes to list
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    60
SUNTOUCHED_MANPAGES=man/*.man
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 284
diff changeset
    61
MODULE_STABILITY=Committed
969
f3e9f1ddd6a8 6965575 Section 3X* man pages can't be found since move to /usr/share/man
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    62
LIB_MAN_SUFFIX=3xi
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    63
920
9869a81e8122 6932946 Convert remaining X consolidation library.spec files to mapfile-vers
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 919
diff changeset
    64
# Link with version mapfile
9869a81e8122 6932946 Convert remaining X consolidation library.spec files to mapfile-vers
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 919
diff changeset
    65
MODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
284
a582b58de4bf Use specfiles to set libXi ABI versions correctly
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 269
diff changeset
    66
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    67
# pkg-config files that need to have -R added
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    68
FIX_PC_FILES=xi.pc.in
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    69
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
    70
# Need to use GNU Make to build
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
    71
MODULE_MAKE=$(GNUMAKE)
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
    72
MODULE_MAKE_SET=yes
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
    73
MODULE_MAKEFLAGS=-j 1
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
    74
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    75
# Compatibility links from /usr/X11/lib to /usr/lib
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    76
MODULE_X11_LIBCOMPAT_LINKS = libXi.so libXi.so.5
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    77
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    78
include ../Makefile.inc