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