Makefile revision 1351
###############################################################################
#
# xf86-video-intel Makefile
#
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
#
# Package name used in tarballs
# Version number (used in path names)
# Checksums for upstream tarball
# Patches to apply to source after unpacking, in order
# Man pages to apply Sun footer to & attributes to list
# Need to build 32-bit libXvMC libraries even when X server is 64-bit only
# but we only want those libraries built in the 32-bit build, not the whole
# driver (which would overwrite the 64-bit driver)
subdir_64 = $(SOURCE_DIR)
# Intel driver doesn't work on some chipsets if built with Sun compiler
# Extra flags to pass to configure script
# --libdir is needed to set path for XvMC libraries
# causes ../../libtool: line 791: X--mode=install: command not found errors
# Library paths at build time
MODULE_LD_OPTIONS= -z ignore \
-L$(PROTODIR)$(X11_SERVERMODS_DIR) \
-M $(PWD)/mapfile.externs
# Can't build tests with parfait yet, due to parfait-ld error:
# Need to regenerate configure & Makefile.in's after patching
# configure.ac & Makefile.am's in libraries.patch & build-dri.patch