Makefile revision 910
824N/A###############################################################################
824N/A#
824N/A# xf86-video-intel Makefile
824N/A#
824N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
824N/A# Use is subject to license terms.
824N/A#
824N/A# Permission is hereby granted, free of charge, to any person obtaining a
824N/A# copy of this software and associated documentation files (the
824N/A# "Software"), to deal in the Software without restriction, including
824N/A# without limitation the rights to use, copy, modify, merge, publish,
824N/A# distribute, and/or sell copies of the Software, and to permit persons
824N/A# to whom the Software is furnished to do so, provided that the above
824N/A# copyright notice(s) and this permission notice appear in all copies of
824N/A# the Software and that both the above copyright notice(s) and this
824N/A# permission notice appear in supporting documentation.
824N/A#
824N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
824N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
824N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
824N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
824N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
824N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
824N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
824N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
824N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
824N/A#
824N/A# Except as contained in this notice, the name of a copyright holder
824N/A# shall not be used in advertising or otherwise to promote the sale, use
824N/A# or other dealings in this Software without prior written authorization
824N/A# of the copyright holder.
824N/A#
824N/A#
824N/A
824N/A# Package name used in tarballs
824N/AMODULE_NAME=xf86-video-intel
824N/A
824N/A# Version number (used in path names)
824N/AMODULE_VERSION=2.6.3
824N/A
824N/A# Patches to apply to source after unpacking, in order
824N/ASOURCE_PATCHES= build-dri.patch libraries.patch \
824N/A 6538497_6554161.patch bugs.patch \
824N/A gem.patch 6872597.patch \
824N/A gem-hang.patch 6898754.patch \
824N/A 6907204.patch port.patch \
824N/A mplayer-crash.patch 6907803.patch \
824N/A 6915882.patch disable-tiling-for-ironlake.patch
824N/A
824N/A# Man pages to apply Sun footer to & attributes to list
824N/ASUNTOUCHED_MANPAGES=man/*.man
824N/ASUN_PACKAGE=SUNWxorg-graphics-ddx
824N/AMODULE_STABILITY=Volatile
824N/A
824N/A# Intel driver doesn't work on some chipsets if built with Sun compiler
824N/AMODULE_COMPILER=gcc
824N/AMODULE_COMPILER_SET=yes
824N/A
824N/A# Extra flags to pass to configure script
824N/AMODULE_CONFIG_OPTS=--enable-dri
824N/A
824N/A# Libraries/modules to link with
824N/AMODULE_LD_OPTIONS= \
824N/A -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
824N/A -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir)/extensions \
824N/A -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
824N/A -lX11 -lXext -lXvMC -lXv -lextmod \
824N/A -R$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
824N/A -R$(X11_SERVERMODS_DIR)/extensions$(SERVERMOD_subdir) \
824N/A -R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
824N/A
824N/A# Need to regenerate configure & Makefile.in's after patching
824N/A# configure.ac & Makefile.am's in libraries.patch & build-dri.patch
824N/AAUTORECONF=yes
824N/A
824N/A# Additional install rules beyond what upstream installs
824N/AMODULE_ADD_INSTALL_TARGETS=install_docs
824N/A
824N/Ainclude ../Makefile.inc
824N/A
824N/Ainstall_docs: $(INSTALL_DEPS)
824N/A mkdir -p $(PROTODIR)$(X11_DOC_DIR)
824N/A cp -p $(SOURCE_DIR)/README $(PROTODIR)$(X11_DOC_DIR)/README.intel
824N/A