Makefile revision 700
390N/A###############################################################################
390N/A#
390N/A# pixman Makefile
390N/A#
390N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
390N/A# Use subject to license terms.
390N/A#
390N/A# Permission is hereby granted, free of charge, to any person obtaining a
390N/A# copy of this software and associated documentation files (the
390N/A# "Software"), to deal in the Software without restriction, including
390N/A# without limitation the rights to use, copy, modify, merge, publish,
390N/A# distribute, and/or sell copies of the Software, and to permit persons
390N/A# to whom the Software is furnished to do so, provided that the above
390N/A# copyright notice(s) and this permission notice appear in all copies of
390N/A# the Software and that both the above copyright notice(s) and this
390N/A# permission notice appear in supporting documentation.
390N/A#
390N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
390N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
390N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
390N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
390N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
844N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
390N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
390N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
390N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
390N/A#
390N/A# Except as contained in this notice, the name of a copyright holder
390N/A# shall not be used in advertising or otherwise to promote the sale, use
390N/A# or other dealings in this Software without prior written authorization
390N/A# of the copyright holder.
618N/A#
844N/A
844N/A# Package name used in tarballs
390N/AMODULE_NAME=pixman
390N/A
390N/A# Version number (used in path names)
390N/AMODULE_VERSION=0.14.0
390N/A
390N/A# Patches to apply to source after unpacking, in order
390N/ASOURCE_PATCHES = sun-cc-intrinsics.patch,-p1
390N/A
390N/A# Regenerate Makefile.in & configure after applying sun-cc-intrinsics.patch
390N/AAUTORECONF=yes
390N/A
390N/A# Override default CFLAGS for x86 builds to avoid clashes between
390N/A# -xtarget=pentium and the MMX/SSE flags added by configure for specific
390N/A# files in pixman and to work around assertions in Studio 12 when the
390N/A# -xspace flag is used (Studio bug #6825222)
390N/Ainclude ../../common/Makefile.init
390N/ANO_TARGET_CFLAGS = $(LIB_CFLAGS:-xtarget%=-xchip%)
390N/ANO_XSPACE_CFLAGS = $(NO_TARGET_CFLAGS:-xspace=)
390N/AMODULE_CONFIG_ENV_i386 = CFLAGS="$(NO_XSPACE_CFLAGS)"
390N/AMODULE_CONFIG_ENV_sparc = # not needed
MODULE_CONFIG_ENV = $(MODULE_CONFIG_ENV_$(MACH))
# Library name
LIBNAME=pixman
# Where to install pixman files
MODULE_PREFIX=/usr
MODULE_PREFIX_SET=yes
# Man pages to apply Sun footer to & attributes to list
#SUNTOUCHED_MANPAGES=man/*.man
SUN_PACKAGE=SUNWpixman
MODULE_STABILITY=Volatile
LIB_MAN_SUFFIX=3pixman
# pkg-config files that need to have -R added
FIX_PC_FILES=pixman-1.pc.in
include ../Makefile.inc