Makefile revision 970
606N/A###############################################################################
0N/A#
0N/A# xf86-video-intel Makefile
0N/A#
0N/A# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/A# Permission is hereby granted, free of charge, to any person obtaining a
0N/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:
0N/A#
0N/A# The above copyright notice and this permission notice (including the next
0N/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#
606N/A
0N/A# Package name used in tarballs
864N/AMODULE_NAME=xf86-video-intel
0N/A
606N/A# Version number (used in path names)
606N/AMODULE_VERSION=2.6.3
606N/A
98N/A# Checksums for upstream tarball
606N/ATARBALL_MD5 = 440c014bbd3072b5d379fe1bdb861918
0N/ATARBALL_SHA1 = 96fe7e8b804ab8833b1d462f99c08be29bb9e283
0N/A
0N/A# Patches to apply to source after unpacking, in order
36N/ASOURCE_PATCHES= build-dri.patch libraries.patch \
36N/A 6538497_6554161.patch bugs.patch \
196N/A gem.patch 6872597.patch \
0N/A gem-hang.patch 6898754.patch \
0N/A 6907204.patch port.patch \
98N/A mplayer-crash.patch 6907803.patch \
606N/A 6915882.patch disable-tiling-for-ironlake.patch \
0N/A 6950311.patch
0N/A
0N/A# Man pages to apply Sun footer to & attributes to list
0N/ASUNTOUCHED_MANPAGES=man/*.man
0N/AMODULE_STABILITY=Volatile
0N/A
0N/A# Intel driver doesn't work on some chipsets if built with Sun compiler
0N/AMODULE_COMPILER=gcc
0N/AMODULE_COMPILER_SET=yes
0N/A
0N/A# Extra flags to pass to configure script
0N/A# --libdir is needed to set path for XvMC libraries
0N/AMODULE_CONFIG_OPTS=--enable-dri --libdir='$(X11_LIB_DIR)$(ARCHLIBSUBDIR)'
0N/A
0N/A# Library paths at build time
0N/AMODULE_LD_OPTIONS= \
0N/A -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
470N/A -L$(PROTODIR)$(MESA_XSERVERMODS_DIR)/extensions$(SERVERMOD_subdir) \
606N/A -L$(PROTODIR)$(X11_SERVERMODS_DIR)/extensions$(SERVERMOD_subdir) \
799N/A -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
799N/A -L$(PROTODIR)$(X11_LIB_DIR)$(ARCHLIBSUBDIR)
470N/A
470N/A# Need to regenerate configure & Makefile.in's after patching
470N/A# configure.ac & Makefile.am's in libraries.patch & build-dri.patch
606N/AAUTORECONF=yes
0N/A
0N/A# Additional install rules beyond what upstream installs
0N/AMODULE_ADD_INSTALL_TARGETS=install_docs
799N/A
799N/A# Need to override install path for all the modules, not just intel_drv.so
799N/AMODULE_MAKEFLAGS = \
799N/A ch7017_ladir='$(DRIVER_DIR)' \
36N/A ch7xxx_ladir='$(DRIVER_DIR)' \
36N/A ivch_ladir='$(DRIVER_DIR)' \
36N/A sil164_ladir='$(DRIVER_DIR)' \
36N/A tfp410_ladir='$(DRIVER_DIR)'
36N/A
36N/Ainclude ../Makefile.inc
36N/A
36N/Ainstall_docs: $(INSTALL_DEPS)
36N/A mkdir -p $(PROTODIR)$(X11_DOC_DIR)
0N/A cp -p $(SOURCE_DIR)/README $(PROTODIR)$(X11_DOC_DIR)/README.intel
0N/A