Makefile revision 1089
653N/A#
653N/A# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
653N/A#
653N/A# Permission is hereby granted, free of charge, to any person obtaining a
1339N/A# copy of this software and associated documentation files (the "Software"),
653N/A# to deal in the Software without restriction, including without limitation
653N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
919N/A# and/or sell copies of the Software, and to permit persons to whom the
919N/A# Software is furnished to do so, subject to the following conditions:
919N/A#
919N/A# The above copyright notice and this permission notice (including the next
919N/A# paragraph) shall be included in all copies or substantial portions of the
919N/A# Software.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919N/A# DEALINGS IN THE SOFTWARE.
919N/A#
919N/A#
919N/A
653N/A# Package name used in tarballs
653N/AMODULE_NAME=libdrm
653N/A
653N/A# Package metadata
653N/AUPSTREAM = Direct Rendering Infrastructure project
653N/AUPSTREAM_URL = http://dri.freedesktop.org/
970N/AUPSTREAM_SET = yes
970N/A
970N/A# Version number (used in path names)
970N/AMODULE_VERSION=2.4.21
970N/A
970N/A# Checksums for upstream tarball
970N/ATARBALL_MD5 = 273ed9dad986e3a931649f3d8762ff74
1339N/ATARBALL_SHA1 = be7754008424a12e01ab0f0da3deb8de13ad2f0c
1339N/A
970N/A# Library name (used for specfiles/mapfiles)
653N/ALIBNAME=drm
1442N/A
911N/A# Download site for source
911N/ASOURCE_URL=http://dri.freedesktop.org/libdrm/$(SOURCE_TARBALL_NAME)
1442N/ASOURCE_URL_SET=yes
1442N/AGIT_URL=$(FDO_GIT_URL)/mesa/drm
1442N/AGIT_URL_SET=yes
653N/A
653N/A# Patches to apply to source after unpacking, in order
1442N/ASOURCE_PATCHES = \
653N/A solaris-drm-port.patch atomic.patch
653N/A
653N/A# Need to regenerate files after patching Makefile.am in solaris-drm-port.patch
911N/AAUTORECONF=yes
1442N/A
1442N/A# Command line options to GNU autoconf configure script
1442N/AMODULE_CONFIG_OPTS = --disable-radeon --enable-libkms
911N/A
653N/A# Man pages to apply Sun footer to & attributes to list
653N/A#SUNTOUCHED_MANPAGES=*.man
653N/A#MODULE_STABILITY=Volatile
653N/A#LIB_MAN_SUFFIX=3drm
653N/A
653N/A# pkg-config files that need to have -R added
653N/AFIX_PC_FILES=libdrm.pc.in intel/libdrm_intel.pc.in libkms/libkms.pc.in
653N/A
653N/A# Where to install files
837N/AMODULE_ADD_LIB_SUBDIR=$(X11_SERVERLIBS_SUBDIR)
837N/A
1442N/Ainclude ../Makefile.inc
653N/A
837N/Ainstall: $(PROTODIR)/usr/include/drm
837N/A
653N/A$(PROTODIR)/usr/include/drm:
837N/A @rm -f $@
837N/A ln -s libdrm $@
1442N/A