Makefile revision 910
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson###############################################################################
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson#
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# xf86-video-mach64 1.x Makefile
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson#
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Use is subject to license terms.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson#
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Permission is hereby granted, free of charge, to any person obtaining a
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# copy of this software and associated documentation files (the
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# "Software"), to deal in the Software without restriction, including
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# without limitation the rights to use, copy, modify, merge, publish,
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# distribute, and/or sell copies of the Software, and to permit persons
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# to whom the Software is furnished to do so, provided that the above
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# copyright notice(s) and this permission notice appear in all copies of
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# the Software and that both the above copyright notice(s) and this
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# permission notice appear in supporting documentation.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson#
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson#
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Except as contained in this notice, the name of a copyright holder
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# shall not be used in advertising or otherwise to promote the sale, use
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# or other dealings in this Software without prior written authorization
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# of the copyright holder.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson#
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson#
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Package name used in tarballs
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonMODULE_NAME=xf86-video-mach64
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Version number (used in path names)
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonMODULE_VERSION=6.8.2
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Patches to apply to source after unpacking, in order
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonSOURCE_PATCHES = 6205248.patch
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Man pages to apply Sun footer to & attributes to list
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson#SUNTOUCHED_MANPAGES=man/*.man
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonSUN_PACKAGE=SUNWxorg-graphics-ddx
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonMODULE_STABILITY=Volatile
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Extra flags to pass to configure script
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# - Disable DRI since the kernel module isn't ported
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonMODULE_CONFIG_OPTS=--disable-dri
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Paths to find libraries/modules to link with
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonMODULE_LD_OPTIONS= \
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson -R$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson -R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson -lexa -lint10 -lpciaccess -lfb -lshadowfb -lvbe -lxaa
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Additional install rules beyond what upstream installs
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonMODULE_ADD_INSTALL_TARGETS=install_docs
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafssoninclude ../Makefile.inc
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafssoninstall_docs: $(INSTALL_DEPS)
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson mkdir -p $(PROTODIR)$(X11_DOC_DIR)
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson cp -p $(SOURCE_DIR)/README.ati $(PROTODIR)$(X11_DOC_DIR)/
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson