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