open-src/lib/libXres/Makefile
author X gate hg captive account <xhg@xserver.us.oracle.com>
Wed, 19 Aug 2015 13:48:41 -0700
changeset 1484 bc8922b8e1d2
parent 1370 7a7a374453e5
permissions -rw-r--r--
Added tag s11u3_30 for changeset 221e9d9cc9cb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
287
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
     1
###############################################################################
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
     2
#
1276
52f85727ce94 7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1072
diff changeset
     3
# libXres - Xlib-based client library for Xinerama extension protocol
287
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
     4
#
1345
d5dacbb8de2b 16673783 problem in X11/LIBRARIES
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1276
diff changeset
     5
# Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
287
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
     6
#
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@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.
287
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    25
#
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    26
#
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    27
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@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: 287
diff changeset
    29
MODULE_NAME=libXres
287
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    30
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    31
# Version number (used in path names)
1370
7a7a374453e5 17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1345
diff changeset
    32
MODULE_VERSION=1.0.7
287
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@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
1370
7a7a374453e5 17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1345
diff changeset
    35
TARBALL_MD5   = 45ef29206a6b58254c81bea28ec6c95f
7a7a374453e5 17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1345
diff changeset
    36
TARBALL_SHA1  = 45e09c6b771af5d8c448ce31de65d15bf83b7579
7a7a374453e5 17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1345
diff changeset
    37
TARBALL_SHA256= 26899054aa87f81b17becc68e8645b240f140464cf90c42616ebb263ec5fa0e5
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
287
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    39
# Link with version mapfile
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 287
diff changeset
    40
MODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
287
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    41
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    42
# Patches to apply to source after unpacking, in order
1370
7a7a374453e5 17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1345
diff changeset
    43
SOURCE_PATCHES =
287
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    44
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    45
# Library name (used for specfiles/mapfiles)
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    46
LIBNAME=XRes
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    47
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    48
# 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
    49
# LSARC/2003/686 X-Resource Extension
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    50
MODULE_ARC_CASES = LSARC/2003/686
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    51
287
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    52
# Man pages to apply Sun footer to & attributes to list
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    53
SUNTOUCHED_MANPAGES=man/*.man
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 287
diff changeset
    54
MODULE_STABILITY=Volatile
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
    55
LIB_MAN_SUFFIX=3xres
287
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    56
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 287
diff changeset
    57
287
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    58
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    59
# pkg-config files that need to have -R added
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    60
FIX_PC_FILES=xres.pc.in
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    61
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    62
# Compatibility links from /usr/X11/lib to /usr/lib
992
9738f5ac74f1 6972736 broken links to libXfont.so and libXres.so from package pkg:/x11/library/libxfont
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
    63
MODULE_X11_LIBCOMPAT_LINKS = libXRes.so libXRes.so.1
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 969
diff changeset
    64
287
56a831df2ac8 6652122 Import libXRes from open source code base
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    65
include ../Makefile.inc