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