Makefile revision 957
98N/A###############################################################################
98N/A#
98N/A# xf86-video-intel Makefile
98N/A#
606N/A# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
733N/A#
98N/A# Permission is hereby granted, free of charge, to any person obtaining a
98N/A# copy of this software and associated documentation files (the "Software"),
98N/A# to deal in the Software without restriction, including without limitation
98N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
98N/A# and/or sell copies of the Software, and to permit persons to whom the
98N/A# Software is furnished to do so, subject to the following conditions:
98N/A#
98N/A# The above copyright notice and this permission notice (including the next
98N/A# paragraph) shall be included in all copies or substantial portions of the
98N/A# Software.
98N/A#
98N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
98N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
98N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
98N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
98N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
98N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
98N/A# DEALINGS IN THE SOFTWARE.
98N/A#
98N/A#
98N/A
98N/A# Package name used in tarballs
98N/AMODULE_NAME=xf86-video-intel
98N/A
98N/A# Version number (used in path names)
98N/AMODULE_VERSION=2.6.3
851N/A
98N/A# Checksums for upstream tarball
98N/ATARBALL_MD5 = 440c014bbd3072b5d379fe1bdb861918
235N/ATARBALL_SHA1 = 96fe7e8b804ab8833b1d462f99c08be29bb9e283
156N/A
156N/A# Patches to apply to source after unpacking, in order
156N/ASOURCE_PATCHES= build-dri.patch libraries.patch \
156N/A 6538497_6554161.patch bugs.patch \
98N/A gem.patch 6872597.patch \
98N/A gem-hang.patch 6898754.patch \
98N/A 6907204.patch port.patch \
98N/A mplayer-crash.patch 6907803.patch \
493N/A 6915882.patch disable-tiling-for-ironlake.patch \
493N/A 6950311.patch
98N/A
98N/A# Man pages to apply Sun footer to & attributes to list
235N/ASUNTOUCHED_MANPAGES=man/*.man
493N/ASUN_PACKAGE=SUNWxorg-graphics-ddx
98N/AMODULE_STABILITY=Volatile
98N/A
98N/A# Intel driver doesn't work on some chipsets if built with Sun compiler
98N/AMODULE_COMPILER=gcc
606N/AMODULE_COMPILER_SET=yes
98N/A
98N/A# Extra flags to pass to configure script
98N/AMODULE_CONFIG_OPTS=--enable-dri
606N/A
606N/A# Libraries/modules to link with
98N/AMODULE_LD_OPTIONS= \
493N/A -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
493N/A -L$(PROTODIR)$(X11_SERVERMODS_DIR)/extensions$(SERVERMOD_subdir) \
493N/A -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
98N/A -R$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
98N/A -R$(X11_SERVERMODS_DIR)/extensions$(SERVERMOD_subdir) \
98N/A -R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
98N/A
606N/A# Need to regenerate configure & Makefile.in's after patching
591N/A# configure.ac & Makefile.am's in libraries.patch & build-dri.patch
493N/AAUTORECONF=yes
493N/A
493N/A# Additional install rules beyond what upstream installs
493N/AMODULE_ADD_INSTALL_TARGETS=install_docs
493N/A
493N/A# Need to override install path for all the modules, not just intel_drv.so
493N/AMODULE_MAKEFLAGS = \
493N/A ch7017_ladir='$(DRIVER_DIR)' \
493N/A ch7xxx_ladir='$(DRIVER_DIR)' \
705N/A ivch_ladir='$(DRIVER_DIR)' \
493N/A sil164_ladir='$(DRIVER_DIR)' \
557N/A tfp410_ladir='$(DRIVER_DIR)'
557N/A
493N/Ainclude ../Makefile.inc
493N/A
606N/Ainstall_docs: $(INSTALL_DEPS)
606N/A mkdir -p $(PROTODIR)$(X11_DOC_DIR)
851N/A cp -p $(SOURCE_DIR)/README $(PROTODIR)$(X11_DOC_DIR)/README.intel
851N/A