open-src/lib/libXi/Makefile
author Alan Coopersmith <Alan.Coopersmith@Sun.COM>
Mon, 08 Mar 2010 10:07:59 -0800
changeset 920 9869a81e8122
parent 919 425233ae7236
child 943 294f64612d23
permissions -rw-r--r--
6932946 Convert remaining X consolidation library.spec files to mapfile-vers
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
#
911
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
     5
# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
     6
# Use is subject to license terms.
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     7
#
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     8
# 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
     9
# 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
    10
# 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
    11
# 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
    12
# 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
    13
# 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
    14
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    15
# 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
    16
# 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
    17
# Software.
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    18
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    19
# 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
    20
# 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
    21
# 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
    22
# 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
    23
# 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
    24
# 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
    25
# 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
    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
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    29
# Package name used in tarballs
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 284
diff changeset
    30
MODULE_NAME=libXi
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    31
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    32
# Version number (used in path names)
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
    33
MODULE_VERSION=1.3
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    34
911
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    35
# Checksums for upstream tarball
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    36
TARBALL_MD5  = 8df4ece9bd1efb02c28acb2b6f485e09
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    37
TARBALL_SHA1 = 7685f2881ce40b13028d9409eedbb9cf1ed0d8ef
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
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
    40
SOURCE_PATCHES = \
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
    41
	man.patch,-p1 \
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
    42
	solaris-abi.patch
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
    43
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
    44
# Need to autoreconf after patching man/Makefile.am in man.patch
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
    45
AUTORECONF = yes
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    46
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    47
# 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
    48
LIBNAME=Xi
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    49
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    50
# 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
    51
SUNTOUCHED_MANPAGES=man/*.man
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    52
SUN_PACKAGE=SUNWxwplt
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 284
diff changeset
    53
MODULE_STABILITY=Committed
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    54
LIB_MAN_SUFFIX=3Xi
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    55
920
9869a81e8122 6932946 Convert remaining X consolidation library.spec files to mapfile-vers
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 919
diff changeset
    56
# 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
    57
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
    58
269
4de1d496f68b 6649171 Replace libXi with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    59
# 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
    60
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
    61
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
    62
# 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
    63
MODULE_MAKE=$(GNUMAKE)
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
    64
MODULE_MAKE_SET=yes
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
diff changeset
    65
MODULE_MAKEFLAGS=-j 1
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 704
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
include ../Makefile.inc