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