Makefile revision 920
a50ce0f80bd665545389cfd91df31d3f4fe66b04Scott Mann###############################################################################
a50ce0f80bd665545389cfd91df31d3f4fe66b04Scott Mann#
a50ce0f80bd665545389cfd91df31d3f4fe66b04Scott Mann# pixman Makefile
7609e973f517387352a5e98b1b9c368bfb769b09Mark Andrews#
7609e973f517387352a5e98b1b9c368bfb769b09Mark Andrews# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
7609e973f517387352a5e98b1b9c368bfb769b09Mark Andrews# Use is subject to license terms.
0268e42b4e5b83e1e5806caddd3b38e14735d739Mark Andrews#
0268e42b4e5b83e1e5806caddd3b38e14735d739Mark Andrews# Permission is hereby granted, free of charge, to any person obtaining a
0268e42b4e5b83e1e5806caddd3b38e14735d739Mark Andrews# copy of this software and associated documentation files (the "Software"),
0268e42b4e5b83e1e5806caddd3b38e14735d739Mark Andrews# to deal in the Software without restriction, including without limitation
0268e42b4e5b83e1e5806caddd3b38e14735d739Mark Andrews# the rights to use, copy, modify, merge, publish, distribute, sublicense,
de7df3e56fe99c33a415674b018aae93eee94750Evan Hunt# and/or sell copies of the Software, and to permit persons to whom the
de7df3e56fe99c33a415674b018aae93eee94750Evan Hunt# Software is furnished to do so, subject to the following conditions:
de7df3e56fe99c33a415674b018aae93eee94750Evan Hunt#
de7df3e56fe99c33a415674b018aae93eee94750Evan Hunt# The above copyright notice and this permission notice (including the next
be847331456855e4e2e8e71fde1efd68a04557caEvan Hunt# paragraph) shall be included in all copies or substantial portions of the
be847331456855e4e2e8e71fde1efd68a04557caEvan Hunt# Software.
be847331456855e4e2e8e71fde1efd68a04557caEvan Hunt#
ac21f918f23ce95fd5be807428ee9e2c42319878Evan Hunt# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ac21f918f23ce95fd5be807428ee9e2c42319878Evan Hunt# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
ac21f918f23ce95fd5be807428ee9e2c42319878Evan Hunt# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
ac21f918f23ce95fd5be807428ee9e2c42319878Evan Hunt# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
ac21f918f23ce95fd5be807428ee9e2c42319878Evan Hunt# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
ac21f918f23ce95fd5be807428ee9e2c42319878Evan Hunt# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
ac21f918f23ce95fd5be807428ee9e2c42319878Evan Hunt# DEALINGS IN THE SOFTWARE.
485522d7e17da517fe91c21c642c8526c3ffb14cEvan Hunt#
485522d7e17da517fe91c21c642c8526c3ffb14cEvan Hunt
485522d7e17da517fe91c21c642c8526c3ffb14cEvan Hunt# Package name used in tarballs
485522d7e17da517fe91c21c642c8526c3ffb14cEvan HuntMODULE_NAME=pixman
485522d7e17da517fe91c21c642c8526c3ffb14cEvan Hunt
485522d7e17da517fe91c21c642c8526c3ffb14cEvan Hunt# Version number (used in path names)
485522d7e17da517fe91c21c642c8526c3ffb14cEvan HuntMODULE_VERSION=0.16.4
9eea4c5cbd864e0bc400dc665b35c3dbd00f9222Evan Hunt
9eea4c5cbd864e0bc400dc665b35c3dbd00f9222Evan Hunt# Checksums for upstream tarball
9eea4c5cbd864e0bc400dc665b35c3dbd00f9222Evan HuntTARBALL_MD5 = 70c249a575ed02b7a5daa1bc9f9c6a4e
85a79fa7eb17767d9ae9030e0289ed3e95aab7c8Evan HuntTARBALL_SHA1 = 08fecbd065fa3792823818fcf715b97bc66d94cd
85a79fa7eb17767d9ae9030e0289ed3e95aab7c8Evan Hunt
85a79fa7eb17767d9ae9030e0289ed3e95aab7c8Evan Hunt# Patches to apply to source after unpacking, in order
85a79fa7eb17767d9ae9030e0289ed3e95aab7c8Evan HuntSOURCE_PATCHES =
85a79fa7eb17767d9ae9030e0289ed3e95aab7c8Evan Hunt
d454a60f5664d7b4d026df93bf7745edd25cd897Evan Hunt# Override default CFLAGS for x86 builds to avoid clashes between
d454a60f5664d7b4d026df93bf7745edd25cd897Evan Hunt# -xtarget=pentium and the MMX/SSE flags added by configure for specific
d454a60f5664d7b4d026df93bf7745edd25cd897Evan Hunt# files in pixman and to work around assertions in Studio 12 when the
d454a60f5664d7b4d026df93bf7745edd25cd897Evan Hunt# -xspace flag is used (Studio bug #6825222)
39f2d1a96a7c7494b1db0ea0f45e063a6a5ef9bbEvan Huntinclude ../../common/Makefile.init
39f2d1a96a7c7494b1db0ea0f45e063a6a5ef9bbEvan HuntNO_TARGET_CFLAGS = $(LIB_CFLAGS:-xtarget%=-xchip%)
39f2d1a96a7c7494b1db0ea0f45e063a6a5ef9bbEvan HuntNO_XSPACE_CFLAGS = $(NO_TARGET_CFLAGS:-xspace=)
39f2d1a96a7c7494b1db0ea0f45e063a6a5ef9bbEvan HuntMODULE_CONFIG_ENV_i386 = CFLAGS="$(NO_XSPACE_CFLAGS)"
39f2d1a96a7c7494b1db0ea0f45e063a6a5ef9bbEvan HuntMODULE_CONFIG_ENV_sparc = # not needed
39f2d1a96a7c7494b1db0ea0f45e063a6a5ef9bbEvan HuntMODULE_CONFIG_ENV = $(MODULE_CONFIG_ENV_$(MACH))
39f2d1a96a7c7494b1db0ea0f45e063a6a5ef9bbEvan Hunt
39f2d1a96a7c7494b1db0ea0f45e063a6a5ef9bbEvan Hunt# Library name
39f2d1a96a7c7494b1db0ea0f45e063a6a5ef9bbEvan HuntLIBNAME=pixman
76db58eb818dc4839fa816df6a1a1ecb2c7a6bd0Evan Hunt
76db58eb818dc4839fa816df6a1a1ecb2c7a6bd0Evan Hunt# Where to install pixman files
76db58eb818dc4839fa816df6a1a1ecb2c7a6bd0Evan HuntMODULE_PREFIX=/usr
76db58eb818dc4839fa816df6a1a1ecb2c7a6bd0Evan HuntMODULE_PREFIX_SET=yes
7a2173839c5ca103090431f36709fde99b599097Evan Hunt
7a2173839c5ca103090431f36709fde99b599097Evan Hunt# Man pages to apply Sun footer to & attributes to list
7a2173839c5ca103090431f36709fde99b599097Evan Hunt#SUNTOUCHED_MANPAGES=man/*.man
7a2173839c5ca103090431f36709fde99b599097Evan HuntSUN_PACKAGE=SUNWpixman
7a2173839c5ca103090431f36709fde99b599097Evan HuntMODULE_STABILITY=Volatile
7a2173839c5ca103090431f36709fde99b599097Evan HuntLIB_MAN_SUFFIX=3pixman
c92122485d6868a88e6cc1469e06a9c8f306b575Evan Hunt
c92122485d6868a88e6cc1469e06a9c8f306b575Evan Hunt# pkg-config files that need to have -R added
c92122485d6868a88e6cc1469e06a9c8f306b575Evan HuntFIX_PC_FILES=pixman-1.pc.in
2b3bcbce23a5539a16c1d209f83a604c775859d5Mark Andrews
2b3bcbce23a5539a16c1d209f83a604c775859d5Mark Andrewsinclude ../Makefile.inc
2b3bcbce23a5539a16c1d209f83a604c775859d5Mark Andrews