Makefile revision 812
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Use is subject to license terms.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Permission is hereby granted, free of charge, to any person obtaining a
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# copy of this software and associated documentation files (the
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# "Software"), to deal in the Software without restriction, including
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# without limitation the rights to use, copy, modify, merge, publish,
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# distribute, and/or sell copies of the Software, and to permit persons
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# to whom the Software is furnished to do so, provided that the above
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# copyright notice(s) and this permission notice appear in all copies of
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# the Software and that both the above copyright notice(s) and this
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# permission notice appear in supporting documentation.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Except as contained in this notice, the name of a copyright holder
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# shall not be used in advertising or otherwise to promote the sale, use
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# or other dealings in this Software without prior written authorization
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# of the copyright holder.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# @(#)Makefile 1.13 09/08/14
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Package name used in tarballs
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkMODULE_NAME=libdrm
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Version number (used in path names)
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkMODULE_VERSION=2.4.12
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Library name (used for specfiles/mapfiles)
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkLIBNAME=drm
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Download site for source
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkSOURCE_URL=http://dri.freedesktop.org/libdrm/$(SOURCE_TARBALL_NAME)
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkSOURCE_URL_SET=yes
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkGIT_URL=$(FDO_GIT_URL)/mesa/drm
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkGIT_URL_SET=yes
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Patches to apply to source after unpacking, in order
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkSOURCE_PATCHES = \
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk solaris-drm-port.patch \
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk 6802045.patch \
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk gem.patch
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Need to regenerate files after patching Makefile.am in solaris-drm-port.patch
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkAUTORECONF=yes
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Man pages to apply Sun footer to & attributes to list
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#SUNTOUCHED_MANPAGES=*.man
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#SUN_PACKAGE=SUNWxorg-server
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#MODULE_STABILITY=Volatile
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#LIB_MAN_SUFFIX=3drm
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# pkg-config files that need to have -R added
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkFIX_PC_FILES=libdrm.pc.in libdrm_intel.pc.in
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Where to install files
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkMODULE_ADD_LIB_SUBDIR=$(X11_SERVERLIBS_SUBDIR)
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkinclude ../Makefile.inc
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk