Makefile revision 1072
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User###############################################################################
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater#
c78c39caab4cf8b5daefc9c65878f7f5ed3eb7a0Tinderbox User# Xext 1.x Makefile
f536382c59dd492a14667b753816d920f9981f1cTinderbox User#
ab496cc3df1648e9ad992a87c35c2c0870fdc69dTinderbox User# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
7c1468ed500356839a4a222517364e6ce18cb1a2Tinderbox User#
c57668a2fbbe558c1bd21652813616f2f517c469Tinderbox User# Permission is hereby granted, free of charge, to any person obtaining a
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews# copy of this software and associated documentation files (the "Software"),
287a6a8f9040dc43560cd69cddf83bfc0f53b76fTinderbox User# to deal in the Software without restriction, including without limitation
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# the rights to use, copy, modify, merge, publish, distribute, sublicense,
8de3f14f1c300c3e1ed99084cc03485b42c92bf1Tinderbox User# and/or sell copies of the Software, and to permit persons to whom the
950d203b64f512b85fcc093ee1e9e3e531a1aea3Tinderbox User# Software is furnished to do so, subject to the following conditions:
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User#
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# The above copyright notice and this permission notice (including the next
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# paragraph) shall be included in all copies or substantial portions of the
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# Software.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# DEALINGS IN THE SOFTWARE.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User#
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Package name used in tarballs
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox UserMODULE_NAME=libXext
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# Version number (used in path names)
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark AndrewsMODULE_VERSION=1.2.0
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# Checksums for upstream tarball
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsTARBALL_MD5 = 9bb236ff0193e9fc1c1fb504dd840331
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox UserTARBALL_SHA1 = 090d7109c5fffde8a0063e10f22f3e2ec48cf19e
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# Patches to apply to source after unpacking, in order
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsSOURCE_PATCHES = \
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User shm.patch \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews sun-exts.patch
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# Library name (used for specfiles/mapfiles)
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntLIBNAME=Xext
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User# ARC cases that covered this module
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# PSARC 1999/188 FBPM (Frame Buffer Power Management) Extension
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterMODULE_ARC_CASES = PSARC/1999/188
16f6050f29b6b0422cee858e609f65e474e70ef2Tinderbox User# PSARC/2005/328 Xinerama Protocol Compatibility
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterMODULE_ARC_CASES += PSARC/2005/328
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# PSARC/2007/500 X11 MIT-SHM Extension across zones
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox UserMODULE_ARC_CASES += PSARC/2007/500
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User# PSARC/2008/194 X11R7 update to libXext, libXevie & libXss
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntMODULE_ARC_CASES += PSARC/2008/194
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# PSARC/2009/293 X Generic Event Extension (XGE), Version 1.0
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterMODULE_ARC_CASES += PSARC/2009/293
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Man pages to apply Sun footer to & attributes to list
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsSUNTOUCHED_MANPAGES=man/*.man
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic UpdaterMODULE_STABILITY=Committed
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsLIB_MAN_SUFFIX=3xext
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# pkg-config files that need to have -R added
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsFIX_PC_FILES=xext.pc.in
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Enable Solaris-specific code
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsMODULE_CPPFLAGS = -DSUNSOFT
16f6050f29b6b0422cee858e609f65e474e70ef2Tinderbox User
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Link with version mapfile and libraries that contain sources that used
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# to be in libXext
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsMODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Regenerate Makefile.in's from Makefile.am's after patching them
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsAUTORECONF=yes
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Merge in additional sources from sun-src directory
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox UserADDITIONAL_SOURCE_DIR=sun-src
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# Compatibility links from /usr/X11/lib to /usr/lib
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox UserMODULE_X11_LIBCOMPAT_LINKS = libXext.so libXext.so.0
95637507c3d47481fbf0a8a8c750a57f944f677fMark Andrews
2ae159b376dac23870d8005563c585acf85a4b5aEvan Huntinclude ../Makefile.inc
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt