Makefile revision 911
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore###############################################################################
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# pixman Makefile
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# Use is subject to license terms.
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# Permission is hereby granted, free of charge, to any person obtaining a
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# copy of this software and associated documentation files (the
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# "Software"), to deal in the Software without restriction, including
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# without limitation the rights to use, copy, modify, merge, publish,
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# distribute, and/or sell copies of the Software, and to permit persons
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# to whom the Software is furnished to do so, provided that the above
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# copyright notice(s) and this permission notice appear in all copies of
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# the Software and that both the above copyright notice(s) and this
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# permission notice appear in supporting documentation.
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# Except as contained in this notice, the name of a copyright holder
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# shall not be used in advertising or otherwise to promote the sale, use
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# or other dealings in this Software without prior written authorization
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# of the copyright holder.
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# Package name used in tarballs
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# Version number (used in path names)
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# Checksums for upstream tarball
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam MooreTARBALL_SHA1 = 08fecbd065fa3792823818fcf715b97bc66d94cd
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# Patches to apply to source after unpacking, in order
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# Override default CFLAGS for x86 builds to avoid clashes between
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# -xtarget=pentium and the MMX/SSE flags added by configure for specific
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# files in pixman and to work around assertions in Studio 12 when the
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# -xspace flag is used (Studio bug #6825222)
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam MooreNO_TARGET_CFLAGS = $(LIB_CFLAGS:-xtarget%=-xchip%)
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam MooreMODULE_CONFIG_ENV_i386 = CFLAGS="$(NO_XSPACE_CFLAGS)"
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# Library name
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# Where to install pixman files
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# Man pages to apply Sun footer to & attributes to list
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore#SUNTOUCHED_MANPAGES=man/*.man
3395e5fc071521d4e6b258ef4c7c0ef38601b94eAdam Moore# pkg-config files that need to have -R added