Makefile revision 1345
561N/A###############################################################################
561N/A#
561N/A# Xlib-based client library for common X11 protocol extensions
561N/A#
561N/A# Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
561N/A#
561N/A# Permission is hereby granted, free of charge, to any person obtaining a
561N/A# copy of this software and associated documentation files (the "Software"),
561N/A# to deal in the Software without restriction, including without limitation
561N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
561N/A# and/or sell copies of the Software, and to permit persons to whom the
561N/A# Software is furnished to do so, subject to the following conditions:
561N/A#
561N/A# The above copyright notice and this permission notice (including the next
561N/A# paragraph) shall be included in all copies or substantial portions of the
561N/A# Software.
561N/A#
561N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
561N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
561N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
561N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
561N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
561N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
561N/A# DEALINGS IN THE SOFTWARE.
561N/A#
561N/A#
561N/A
561N/A# Package name used in tarballs
561N/AMODULE_NAME=libXext
561N/A
561N/A# Version number (used in path names)
561N/AMODULE_VERSION=1.3.1
561N/A
561N/A# Checksums for upstream tarball
561N/ATARBALL_MD5 = 71251a22bc47068d60a95f50ed2ec3cf
561N/ATARBALL_SHA1 = 764ac472ae19a0faade193717a9e0938d3430aaa
561N/ATARBALL_SHA256= 56229c617eb7bfd6dec40d2805bc4dfb883dfe80f130d99b9a2beb632165e859
561N/A
561N/A# Patches to apply to source after unpacking, in order
561N/ASOURCE_PATCHES += CVE-2013-1982.patch,-p1
561N/ASOURCE_PATCHES += shm.patch,-p1
SOURCE_PATCHES += sun-exts.patch,-p1
# Library name (used for specfiles/mapfiles)
LIBNAME=Xext
# Dates to show in Oracle copyright notice in pkg license file
# Earliest & latest of the copyrights in the Oracle files in this pkg
ORACLE_COPYRIGHT_YEARS = 1990, 2013
# ARC cases that covered this module
# PSARC 1999/188 FBPM (Frame Buffer Power Management) Extension
MODULE_ARC_CASES = PSARC/1999/188
# PSARC/2005/328 Xinerama Protocol Compatibility
MODULE_ARC_CASES += PSARC/2005/328
# PSARC/2007/500 X11 MIT-SHM Extension across zones
MODULE_ARC_CASES += PSARC/2007/500
# PSARC/2008/194 X11R7 update to libXext, libXevie & libXss
MODULE_ARC_CASES += PSARC/2008/194
# PSARC/2009/293 X Generic Event Extension (XGE), Version 1.0
MODULE_ARC_CASES += PSARC/2009/293
# PSARC/2011/213 X Synchronization Extension version 3.1
MODULE_ARC_CASES += PSARC/2011/213
# Man pages to apply Sun footer to & attributes to list
SUNTOUCHED_MANPAGES=man/*.man
MODULE_STABILITY=Committed
LIB_MAN_SUFFIX=3xext
# pkg-config files that need to have -R added
FIX_PC_FILES=xext.pc.in
# Enable Solaris-specific code
MODULE_CPPFLAGS = -DSUNSOFT
# Link with version mapfile and libraries that contain sources that used
# to be in libXext
MODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
# Regenerate Makefile.in's from Makefile.am's after patching them
AUTORECONF=yes
# Merge in additional sources from sun-src directory
ADDITIONAL_SOURCE_DIR=sun-src
# Compatibility links from /usr/X11/lib to /usr/lib
MODULE_X11_LIBCOMPAT_LINKS = libXext.so libXext.so.0
include ../Makefile.inc