open-src/lib/libXp/Makefile
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Wed, 15 May 2013 13:44:02 -0700
changeset 1345 d5dacbb8de2b
parent 1072 88d1d779286d
child 1370 7a7a374453e5
permissions -rw-r--r--
16673783 problem in X11/LIBRARIES 16674478 problem in X11/LIBRARIES
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
535
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     1
###############################################################################
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     2
#
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     3
# Xp 1.x Makefile
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     4
#
1345
d5dacbb8de2b 16673783 problem in X11/LIBRARIES
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1072
diff changeset
     5
# Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
535
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     6
#
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@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.
535
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    25
#
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    26
#
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    27
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    28
# Package name used in tarballs
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    29
MODULE_NAME=libXp
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    30
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    31
# Version number (used in path names)
1072
88d1d779286d 7010623 X11R7.6 Update: Library modules
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
    32
MODULE_VERSION=1.0.1
535
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@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
1072
88d1d779286d 7010623 X11R7.6 Update: Library modules
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
    35
TARBALL_MD5  = 7ae1d63748e79086bd51a633da1ff1a9
88d1d779286d 7010623 X11R7.6 Update: Library modules
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
    36
TARBALL_SHA1 = 9c76823c7cfcb43f097963d0c930dcc4e38807a8
911
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    37
535
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    38
# Patches to apply to source after unpacking, in order
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    39
SOURCE_PATCHES = solaris-abi.patch 6724993.patch
1345
d5dacbb8de2b 16673783 problem in X11/LIBRARIES
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1072
diff changeset
    40
SOURCE_PATCHES += CVE-2013-2062.patch,-p1
535
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    41
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    42
# Since we're patching src/Makefile.am in solaris-abi.patch,
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    43
# we need to autoreconf
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    44
AUTORECONF=yes
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    45
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    46
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    47
# Library name
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    48
LIBNAME=Xp
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    49
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    50
# Man pages to apply Sun footer to & attributes to list
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    51
SUNTOUCHED_MANPAGES=man/*.man
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    52
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
    53
LIB_MAN_SUFFIX=3xp
535
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    54
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    55
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    56
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    57
# pkg-config files that need to have -R added
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    58
FIX_PC_FILES=xp.pc.in
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    59
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    60
# 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
    61
MODULE_X11_LIBCOMPAT_LINKS = libXp.so libXp.so.1
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    62
535
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    63
include ../Makefile.inc