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