Makefile revision 1370
199767f8919635c4928607450d9e0abb932109ceToomas Soome###############################################################################
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Xlib-based client library for common X11 protocol extensions
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Permission is hereby granted, free of charge, to any person obtaining a
199767f8919635c4928607450d9e0abb932109ceToomas Soome# copy of this software and associated documentation files (the "Software"),
199767f8919635c4928607450d9e0abb932109ceToomas Soome# to deal in the Software without restriction, including without limitation
199767f8919635c4928607450d9e0abb932109ceToomas Soome# the rights to use, copy, modify, merge, publish, distribute, sublicense,
199767f8919635c4928607450d9e0abb932109ceToomas Soome# and/or sell copies of the Software, and to permit persons to whom the
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Software is furnished to do so, subject to the following conditions:
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# The above copyright notice and this permission notice (including the next
199767f8919635c4928607450d9e0abb932109ceToomas Soome# paragraph) shall be included in all copies or substantial portions of the
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Software.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
199767f8919635c4928607450d9e0abb932109ceToomas Soome# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
199767f8919635c4928607450d9e0abb932109ceToomas Soome# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
199767f8919635c4928607450d9e0abb932109ceToomas Soome# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
199767f8919635c4928607450d9e0abb932109ceToomas Soome# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
199767f8919635c4928607450d9e0abb932109ceToomas Soome# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
199767f8919635c4928607450d9e0abb932109ceToomas Soome# DEALINGS IN THE SOFTWARE.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Package name used in tarballs
199767f8919635c4928607450d9e0abb932109ceToomas SoomeMODULE_NAME=libXext
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Version number (used in path names)
199767f8919635c4928607450d9e0abb932109ceToomas SoomeMODULE_VERSION=1.3.2
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Checksums for upstream tarball
199767f8919635c4928607450d9e0abb932109ceToomas SoomeTARBALL_MD5 = 4376101e51bb2c6c44d9ab14344e85ad
199767f8919635c4928607450d9e0abb932109ceToomas SoomeTARBALL_SHA1 = 49b6f026b0555d020014dbc24b49afc2986a30e0
199767f8919635c4928607450d9e0abb932109ceToomas SoomeTARBALL_SHA256= f829075bc646cdc085fa25d98d5885d83b1759ceb355933127c257e8e50432e0
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Patches to apply to source after unpacking, in order
199767f8919635c4928607450d9e0abb932109ceToomas SoomeSOURCE_PATCHES += shm.patch,-p1
199767f8919635c4928607450d9e0abb932109ceToomas SoomeSOURCE_PATCHES += sun-exts.patch,-p1
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Library name (used for specfiles/mapfiles)
199767f8919635c4928607450d9e0abb932109ceToomas SoomeLIBNAME=Xext
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Dates to show in Oracle copyright notice in pkg license file
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Earliest & latest of the copyrights in the Oracle files in this pkg
199767f8919635c4928607450d9e0abb932109ceToomas SoomeORACLE_COPYRIGHT_YEARS = 1990, 2013
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome# ARC cases that covered this module
199767f8919635c4928607450d9e0abb932109ceToomas Soome# PSARC 1999/188 FBPM (Frame Buffer Power Management) Extension
199767f8919635c4928607450d9e0abb932109ceToomas SoomeMODULE_ARC_CASES = PSARC/1999/188
199767f8919635c4928607450d9e0abb932109ceToomas Soome# PSARC/2005/328 Xinerama Protocol Compatibility
199767f8919635c4928607450d9e0abb932109ceToomas SoomeMODULE_ARC_CASES += PSARC/2005/328
199767f8919635c4928607450d9e0abb932109ceToomas Soome# PSARC/2007/500 X11 MIT-SHM Extension across zones
199767f8919635c4928607450d9e0abb932109ceToomas SoomeMODULE_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