Makefile revision 591
8N/A###############################################################################
8N/A#
98N/A# xf86-video-intel Makefile
8N/A#
8N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
8N/A# Use subject to license terms.
8N/A#
8N/A# Permission is hereby granted, free of charge, to any person obtaining a
8N/A# copy of this software and associated documentation files (the
8N/A# "Software"), to deal in the Software without restriction, including
8N/A# without limitation the rights to use, copy, modify, merge, publish,
8N/A# distribute, and/or sell copies of the Software, and to permit persons
8N/A# to whom the Software is furnished to do so, provided that the above
8N/A# copyright notice(s) and this permission notice appear in all copies of
8N/A# the Software and that both the above copyright notice(s) and this
8N/A# permission notice appear in supporting documentation.
8N/A#
8N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
8N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
8N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
8N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
8N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
8N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
8N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
8N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
8N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
8N/A#
8N/A# Except as contained in this notice, the name of a copyright holder
8N/A# shall not be used in advertising or otherwise to promote the sale, use
8N/A# or other dealings in this Software without prior written authorization
98N/A# of the copyright holder.
8N/A#
8N/A# @(#)Makefile 1.19 08/11/04
8N/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.3.0
98N/A
98N/A# Patches to apply to source after unpacking, in order
98N/ASOURCE_PATCHES= build-dri.patch libraries.patch \
98N/A 6538497_6554161.patch 845_workaround.patch \
98N/A eaglelake-support.patch 6767351.patch
8N/A
8N/A# Man pages to apply Sun footer to & attributes to list
8N/ASUNTOUCHED_MANPAGES=man/*.man
8N/ASUN_PACKAGE=SUNWxorg-graphics-ddx
8N/AMODULE_STABILITY=Volatile
8N/A
8N/AMODULE_CONFIG_OPTS=--with-xorg-sdk-dir=$(PROTODIR)/usr/X11/include/xorg
8N/A
8N/A# Libraries/modules to link with
8N/AMODULE_LD_OPTIONS= \
8N/A -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
8N/A -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir)/extensions \
8N/A -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
8N/A -lX11 -lXext -lXvMC -lXv -lextmod \
8N/A -R$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
8N/A -R$(X11_SERVERMODS_DIR)/extensions$(SERVERMOD_subdir) \
8N/A -R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
8N/A
8N/A# Need to regenerate configure & Makefile.in's after patching
8N/A# configure.ac & Makefile.am's in libraries.patch & build-dri.patch
8N/AAUTORECONF=yes
8N/A
8N/Ainclude ../Makefile.inc
install_gen::
mkdir -p $(PROTODIR)$(X11_DOC_DIR)
cp -p $(SOURCE_DIR)/README $(PROTODIR)$(X11_DOC_DIR)/README.intel