Makefile revision 1070
d3ed5b56cb6b58f87ffd125bed48f7668f13de1edirkx###############################################################################
893328ef6ff86d0ca27774778d84410353789fb0fielding#
893328ef6ff86d0ca27774778d84410353789fb0fielding# pixman Makefile
893328ef6ff86d0ca27774778d84410353789fb0fielding#
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986fielding# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
893328ef6ff86d0ca27774778d84410353789fb0fielding#
893328ef6ff86d0ca27774778d84410353789fb0fielding# Permission is hereby granted, free of charge, to any person obtaining a
893328ef6ff86d0ca27774778d84410353789fb0fielding# copy of this software and associated documentation files (the "Software"),
893328ef6ff86d0ca27774778d84410353789fb0fielding# to deal in the Software without restriction, including without limitation
893328ef6ff86d0ca27774778d84410353789fb0fielding# the rights to use, copy, modify, merge, publish, distribute, sublicense,
893328ef6ff86d0ca27774778d84410353789fb0fielding# and/or sell copies of the Software, and to permit persons to whom the
893328ef6ff86d0ca27774778d84410353789fb0fielding# Software is furnished to do so, subject to the following conditions:
893328ef6ff86d0ca27774778d84410353789fb0fielding#
893328ef6ff86d0ca27774778d84410353789fb0fielding# The above copyright notice and this permission notice (including the next
893328ef6ff86d0ca27774778d84410353789fb0fielding# paragraph) shall be included in all copies or substantial portions of the
893328ef6ff86d0ca27774778d84410353789fb0fielding# Software.
893328ef6ff86d0ca27774778d84410353789fb0fielding#
893328ef6ff86d0ca27774778d84410353789fb0fielding# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
893328ef6ff86d0ca27774778d84410353789fb0fielding# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
893328ef6ff86d0ca27774778d84410353789fb0fielding# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
893328ef6ff86d0ca27774778d84410353789fb0fielding# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
893328ef6ff86d0ca27774778d84410353789fb0fielding# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
893328ef6ff86d0ca27774778d84410353789fb0fielding# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
893328ef6ff86d0ca27774778d84410353789fb0fielding# DEALINGS IN THE SOFTWARE.
893328ef6ff86d0ca27774778d84410353789fb0fielding#
893328ef6ff86d0ca27774778d84410353789fb0fielding
893328ef6ff86d0ca27774778d84410353789fb0fielding# Package name used in tarballs
893328ef6ff86d0ca27774778d84410353789fb0fieldingMODULE_NAME=pixman
893328ef6ff86d0ca27774778d84410353789fb0fielding
893328ef6ff86d0ca27774778d84410353789fb0fielding# Version number (used in path names)
893328ef6ff86d0ca27774778d84410353789fb0fieldingMODULE_VERSION=0.20.2
893328ef6ff86d0ca27774778d84410353789fb0fielding
893328ef6ff86d0ca27774778d84410353789fb0fielding# Checksums for upstream tarball
893328ef6ff86d0ca27774778d84410353789fb0fieldingTARBALL_MD5 = 7ed10a0f0fde6853613105a99735e7e7
893328ef6ff86d0ca27774778d84410353789fb0fieldingTARBALL_SHA1 = 9972c8f8ce484f7649d9f588168cd29f61c05c63
893328ef6ff86d0ca27774778d84410353789fb0fielding
893328ef6ff86d0ca27774778d84410353789fb0fielding# Patches to apply to source after unpacking, in order
893328ef6ff86d0ca27774778d84410353789fb0fieldingSOURCE_PATCHES =
893328ef6ff86d0ca27774778d84410353789fb0fielding
893328ef6ff86d0ca27774778d84410353789fb0fielding# Override default CFLAGS for x86 builds to avoid clashes between
893328ef6ff86d0ca27774778d84410353789fb0fielding# -xtarget=pentium and the MMX/SSE flags added by configure for specific
893328ef6ff86d0ca27774778d84410353789fb0fielding# files in pixman and to work around assertions in Studio 12 when the
893328ef6ff86d0ca27774778d84410353789fb0fielding# -xspace flag is used (Studio bug #6825222)
893328ef6ff86d0ca27774778d84410353789fb0fieldinginclude ../../common/Makefile.init
893328ef6ff86d0ca27774778d84410353789fb0fieldingNO_TARGET_CFLAGS = $(LIB_CFLAGS:-xtarget%=-xchip%)
893328ef6ff86d0ca27774778d84410353789fb0fieldingNO_XSPACE_CFLAGS = $(NO_TARGET_CFLAGS:-xspace=)
893328ef6ff86d0ca27774778d84410353789fb0fieldingMODULE_CONFIG_ENV_i386 = CFLAGS="$(NO_XSPACE_CFLAGS)"
893328ef6ff86d0ca27774778d84410353789fb0fieldingMODULE_CONFIG_ENV_sparc = # not needed
893328ef6ff86d0ca27774778d84410353789fb0fieldingMODULE_CONFIG_ENV = $(MODULE_CONFIG_ENV_$(MACH))
893328ef6ff86d0ca27774778d84410353789fb0fielding
893328ef6ff86d0ca27774778d84410353789fb0fielding# Library name
893328ef6ff86d0ca27774778d84410353789fb0fieldingLIBNAME=pixman
893328ef6ff86d0ca27774778d84410353789fb0fielding
893328ef6ff86d0ca27774778d84410353789fb0fielding# Where to install pixman files
6c7c4bf3d26c01cce4d26526db94f17eb5a44396benMODULE_PREFIX=/usr
893328ef6ff86d0ca27774778d84410353789fb0fieldingMODULE_PREFIX_SET=yes
893328ef6ff86d0ca27774778d84410353789fb0fielding
0d50a692ff2ac7bdb42e417737ed86ebf0a41671ben# pkg(5) name we deliver the files in (override default)
893328ef6ff86d0ca27774778d84410353789fb0fieldingMODULE_PKGNAME=library/graphics/pixman
893328ef6ff86d0ca27774778d84410353789fb0fieldingMODULE_PKGNAME_SET=yes
893328ef6ff86d0ca27774778d84410353789fb0fielding# Package classification (override default)
893328ef6ff86d0ca27774778d84410353789fb0fieldingMODULE_PKGCLASS=System/Libraries
893328ef6ff86d0ca27774778d84410353789fb0fieldingMODULE_PKGCLASS_SET=yes
893328ef6ff86d0ca27774778d84410353789fb0fielding
893328ef6ff86d0ca27774778d84410353789fb0fielding# ARC cases that covered this module
893328ef6ff86d0ca27774778d84410353789fb0fielding# LSARC/2008/637 pixman
42f9227f80ce22e944d427e3d7490fa1dd07f9f2rbbMODULE_ARC_CASES = LSARC/2008/637
893328ef6ff86d0ca27774778d84410353789fb0fielding# LSARC/2009/223 pixman 0.14
42f9227f80ce22e944d427e3d7490fa1dd07f9f2rbbMODULE_ARC_CASES += LSARC/2009/223
893328ef6ff86d0ca27774778d84410353789fb0fielding# PSARC/2010/282 pixman 0.18
893328ef6ff86d0ca27774778d84410353789fb0fieldingMODULE_ARC_CASES += PSARC/2010/282
893328ef6ff86d0ca27774778d84410353789fb0fielding
893328ef6ff86d0ca27774778d84410353789fb0fielding# Man pages to apply Sun footer to & attributes to list
893328ef6ff86d0ca27774778d84410353789fb0fielding#SUNTOUCHED_MANPAGES=man/*.man
893328ef6ff86d0ca27774778d84410353789fb0fieldingMODULE_STABILITY=Volatile
893328ef6ff86d0ca27774778d84410353789fb0fieldingLIB_MAN_SUFFIX=3pixman
893328ef6ff86d0ca27774778d84410353789fb0fielding
42f9227f80ce22e944d427e3d7490fa1dd07f9f2rbb# pkg-config files that need to have -R added
893328ef6ff86d0ca27774778d84410353789fb0fieldingFIX_PC_FILES=pixman-1.pc.in
42f9227f80ce22e944d427e3d7490fa1dd07f9f2rbb
893328ef6ff86d0ca27774778d84410353789fb0fielding# Command line options to GNU autoconf configure script
893328ef6ff86d0ca27774778d84410353789fb0fielding# --disable-gtk: Disable building of test programs that require gtk
893328ef6ff86d0ca27774778d84410353789fb0fielding# and have problems with mismatches between system library & the one we're
893328ef6ff86d0ca27774778d84410353789fb0fielding# building in our builds.
893328ef6ff86d0ca27774778d84410353789fb0fieldingMODULE_CONFIG_OPTS = --disable-gtk
893328ef6ff86d0ca27774778d84410353789fb0fielding
893328ef6ff86d0ca27774778d84410353789fb0fieldinginclude ../Makefile.inc
893328ef6ff86d0ca27774778d84410353789fb0fielding