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