Makefile revision 919
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt###############################################################################
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User#
3e02c9e33656dcd9c364633d42dd785d3e6fdd66Automatic Updater# Xext 1.x Makefile
3e02c9e33656dcd9c364633d42dd785d3e6fdd66Automatic Updater#
c6fb85f9500350e5ce58c9a24f5d264c8a8bd6f4Automatic Updater# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Use is subject to license terms.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
3e02c9e33656dcd9c364633d42dd785d3e6fdd66Automatic Updater# Permission is hereby granted, free of charge, to any person obtaining a
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# copy of this software and associated documentation files (the "Software"),
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# to deal in the Software without restriction, including without limitation
3e02c9e33656dcd9c364633d42dd785d3e6fdd66Automatic Updater# the rights to use, copy, modify, merge, publish, distribute, sublicense,
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# and/or sell copies of the Software, and to permit persons to whom the
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Software is furnished to do so, subject to the following conditions:
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# The above copyright notice and this permission notice (including the next
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# paragraph) shall be included in all copies or substantial portions of the
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Software.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater# DEALINGS IN THE SOFTWARE.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Package name used in tarballs
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan HuntMODULE_NAME=libXext
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Version number (used in path names)
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan HuntMODULE_VERSION=1.1.1
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater# Checksums for upstream tarball
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan HuntTARBALL_MD5 = c417c0e8df39a067f90a2a2e7133637d
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan HuntTARBALL_SHA1 = c2eb8d8d760c6881e51c938812764d1d6cefd51c
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Patches to apply to source after unpacking, in order
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan HuntSOURCE_PATCHES = \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt server-compat.patch,-p1 \
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt lint-flags.patch,-p1 \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt shm.patch \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt sun-exts.patch
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Library name (used for specfiles/mapfiles)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntLIBNAME=Xext
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Man pages to apply Sun footer to & attributes to list
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntSUNTOUCHED_MANPAGES=man/*.man
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntSUN_PACKAGE=SUNWxwplt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntMODULE_STABILITY=Committed
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntLIB_MAN_SUFFIX=3Xext
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# pkg-config files that need to have -R added
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntFIX_PC_FILES=xext.pc.in
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Enable Solaris-specific code
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan HuntMODULE_CPPFLAGS = -DSUNSOFT
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Link with version mapfile and libraries that contain sources that used
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# to be in libXext
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntMODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Regenerate Makefile.in's from Makefile.am's after patching them
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntAUTORECONF=yes
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Merge in additional sources from sun-src directory
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntADDITIONAL_SOURCE_DIR=sun-src
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntinclude ../Makefile.inc
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt