Makefile revision 1043
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki###############################################################################
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki#
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# xf86-video-r128 1.x Makefile
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki#
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki#
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Permission is hereby granted, free of charge, to any person obtaining a
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# copy of this software and associated documentation files (the "Software"),
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# to deal in the Software without restriction, including without limitation
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# the rights to use, copy, modify, merge, publish, distribute, sublicense,
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# and/or sell copies of the Software, and to permit persons to whom the
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Software is furnished to do so, subject to the following conditions:
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki#
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# The above copyright notice and this permission notice (including the next
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# paragraph) shall be included in all copies or substantial portions of the
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Software.
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki#
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
34f1a571c0d0c682a4a70b97b1e62430aa630559Michael Bergknoff# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# DEALINGS IN THE SOFTWARE.
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki#
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki#
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Package name used in tarballs
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenkiMODULE_NAME=xf86-video-r128
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Version number (used in path names)
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenkiMODULE_VERSION=6.8.1
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Checksums for upstream tarball
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenkiTARBALL_MD5 = 2b90854a62a4d45d652062f582dc8d13
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenkiTARBALL_SHA1 = 14f33cbd248dfd1584ee14949475ab3bb922da17
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Patches to apply to source after unpacking, in order
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenkiSOURCE_PATCHES =
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Man pages to apply Sun footer to & attributes to list
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenkiSUNTOUCHED_MANPAGES=man/*.man
817697f4a28f704a2d88ace09406d985aa3a8549Kelly MoyerMODULE_STABILITY=Volatile
34f1a571c0d0c682a4a70b97b1e62430aa630559Michael Bergknoff
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Extra flags to pass to configure script
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# - Disable DRI since the kernel module isn't ported
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenkiMODULE_CONFIG_OPTS=--disable-dri
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Paths to find libraries/modules to link with
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenkiMODULE_LD_OPTIONS= \
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki -L$(PROTODIR)$(X11_SERVERMODS_DIR)/extensions$(SERVERMOD_subdir) \
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki -R$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki -R$(X11_SERVERMODS_DIR)/extensions$(SERVERMOD_subdir) \
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki -R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki -lint10 -lpciaccess -lfb -lvbe -lxaa -lfbdevhw -lvgahw
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Additional install rules beyond what upstream installs
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenkiMODULE_ADD_INSTALL_TARGETS=install_docs
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenkiinclude ../Makefile.inc
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenkiinstall_docs: $(INSTALL_DEPS)
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki mkdir -p $(PROTODIR)$(X11_DOC_DIR)
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki cp -p $(SOURCE_DIR)/README.r128 $(PROTODIR)$(X11_DOC_DIR)/
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki