Makefile revision 1043
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews###############################################################################
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
32098293b78922a5fbd10906afa28624820d3756Tinderbox User# pixman Makefile
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User#
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Permission is hereby granted, free of charge, to any person obtaining a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# copy of this software and associated documentation files (the "Software"),
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews# to deal in the Software without restriction, including without limitation
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# the rights to use, copy, modify, merge, publish, distribute, sublicense,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and/or sell copies of the Software, and to permit persons to whom the
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# Software is furnished to do so, subject to the following conditions:
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# The above copyright notice and this permission notice (including the next
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# paragraph) shall be included in all copies or substantial portions of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Software.
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# 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
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# DEALINGS IN THE SOFTWARE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Package name used in tarballs
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsMODULE_NAME=pixman
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Version number (used in path names)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_VERSION=0.18.4
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Checksums for upstream tarball
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserTARBALL_MD5 = c1d69aaddba8c1e046d26ac125da95bf
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserTARBALL_SHA1 = 011b00fb33d6e5021a680bcc74f600f44d709d8d
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Patches to apply to source after unpacking, in order
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserSOURCE_PATCHES =
164ade1482251e1da962b42e5bf0d3aa02a11e03Tinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Override default CFLAGS for x86 builds to avoid clashes between
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# -xtarget=pentium and the MMX/SSE flags added by configure for specific
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# files in pixman and to work around assertions in Studio 12 when the
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox User# -xspace flag is used (Studio bug #6825222)
a1ff871f78b7d907d6fc3a382beea2a640fe8423Tinderbox Userinclude ../../common/Makefile.init
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntNO_TARGET_CFLAGS = $(LIB_CFLAGS:-xtarget%=-xchip%)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntNO_XSPACE_CFLAGS = $(NO_TARGET_CFLAGS:-xspace=)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntMODULE_CONFIG_ENV_i386 = CFLAGS="$(NO_XSPACE_CFLAGS)"
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntMODULE_CONFIG_ENV_sparc = # not needed
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntMODULE_CONFIG_ENV = $(MODULE_CONFIG_ENV_$(MACH))
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Library name
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinLIBNAME=pixman
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
f9ce6280cec79deb16ff6d9807aa493ff23e10d9Tinderbox User# Where to install pixman files
164ade1482251e1da962b42e5bf0d3aa02a11e03Tinderbox UserMODULE_PREFIX=/usr
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserMODULE_PREFIX_SET=yes
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# pkg(5) name we deliver the files in (override default)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntMODULE_PKGNAME=library/graphics/pixman
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserMODULE_PKGNAME_SET=yes
0da02c26a6631c25f075a8e4ac6de9e58f49a0c2Tinderbox User# Package classification (override default)
0da02c26a6631c25f075a8e4ac6de9e58f49a0c2Tinderbox UserMODULE_PKGCLASS=System/Libraries
0da02c26a6631c25f075a8e4ac6de9e58f49a0c2Tinderbox UserMODULE_PKGCLASS_SET=yes
0da02c26a6631c25f075a8e4ac6de9e58f49a0c2Tinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# ARC cases that covered this module
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# LSARC/2008/637 pixman
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserMODULE_ARC_CASES = LSARC/2008/637
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# LSARC/2009/223 pixman 0.14
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntMODULE_ARC_CASES += LSARC/2009/223
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# PSARC/2010/282 pixman 0.18
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserMODULE_ARC_CASES += PSARC/2010/282
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Man pages to apply Sun footer to & attributes to list
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#SUNTOUCHED_MANPAGES=man/*.man
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntMODULE_STABILITY=Volatile
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntLIB_MAN_SUFFIX=3pixman
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# pkg-config files that need to have -R added
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserFIX_PC_FILES=pixman-1.pc.in
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntinclude ../Makefile.inc
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox User