Makefile revision 919
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve#
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# Use is subject to license terms.
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve#
4afe6ce6ad98c33cff42076097036e7327f32cebjoncruz# Permission is hereby granted, free of charge, to any person obtaining a
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# copy of this software and associated documentation files (the "Software"),
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# to deal in the Software without restriction, including without limitation
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# the rights to use, copy, modify, merge, publish, distribute, sublicense,
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# and/or sell copies of the Software, and to permit persons to whom the
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# Software is furnished to do so, subject to the following conditions:
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve#
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# The above copyright notice and this permission notice (including the next
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# paragraph) shall be included in all copies or substantial portions of the
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# Software.
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve#
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# DEALINGS IN THE SOFTWARE.
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve#
901d2d4a59790c220c6589e17dbbf556d47dfe71Marc Jeanmougin#
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# Package name used in tarballs
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreveMODULE_NAME=libdrm
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# Version number (used in path names)
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreveMODULE_VERSION=2.4.14
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# Checksums for upstream tarball
4afe6ce6ad98c33cff42076097036e7327f32cebjoncruzTARBALL_MD5 = e785b6a6ebd6b8a49dd8210cd8742842
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreveTARBALL_SHA1 = a18cc2cdfd02b8ba1c91c3e9ac609521ad3e2fe9
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# Library name (used for specfiles/mapfiles)
4afe6ce6ad98c33cff42076097036e7327f32cebjoncruzLIBNAME=drm
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve
4afe6ce6ad98c33cff42076097036e7327f32cebjoncruz# Download site for source
60282e8335d7b6ae7020613bb22c7c69a6909fbbJon A. CruzSOURCE_URL=http://dri.freedesktop.org/libdrm/$(SOURCE_TARBALL_NAME)
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreveSOURCE_URL_SET=yes
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreveGIT_URL=$(FDO_GIT_URL)/mesa/drm
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreveGIT_URL_SET=yes
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# Patches to apply to source after unpacking, in order
4afe6ce6ad98c33cff42076097036e7327f32cebjoncruzSOURCE_PATCHES = \
4afe6ce6ad98c33cff42076097036e7327f32cebjoncruz solaris-drm-port.patch \
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve 6802045.patch \
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve gem.patch
4afe6ce6ad98c33cff42076097036e7327f32cebjoncruz
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# Need to regenerate files after patching Makefile.am in solaris-drm-port.patch
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreveAUTORECONF=yes
4afe6ce6ad98c33cff42076097036e7327f32cebjoncruz
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# Man pages to apply Sun footer to & attributes to list
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve#SUNTOUCHED_MANPAGES=*.man
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve#SUN_PACKAGE=SUNWxorg-server
4afe6ce6ad98c33cff42076097036e7327f32cebjoncruz#MODULE_STABILITY=Volatile
4afe6ce6ad98c33cff42076097036e7327f32cebjoncruz#LIB_MAN_SUFFIX=3drm
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# pkg-config files that need to have -R added
4afe6ce6ad98c33cff42076097036e7327f32cebjoncruzFIX_PC_FILES=libdrm.pc.in libdrm_intel.pc.in
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve# Where to install files
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreveMODULE_ADD_LIB_SUBDIR=$(X11_SERVERLIBS_SUBDIR)
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreveinclude ../Makefile.inc
29ad4e90d149629a444e2b7aab6b48ca5a709d3ecyreve