Makefile revision 919
44be2a82d1be2bebf786473e4b09142e64020bd6vboxsync###############################################################################
44be2a82d1be2bebf786473e4b09142e64020bd6vboxsync#
44be2a82d1be2bebf786473e4b09142e64020bd6vboxsync# xf86-video-r128 1.x Makefile
44be2a82d1be2bebf786473e4b09142e64020bd6vboxsync#
27efd9329f6a90f7cacf840031e5305f98975960vboxsync# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
27efd9329f6a90f7cacf840031e5305f98975960vboxsync# Use is subject to license terms.
03d95f0cb2f0d5150afe682f9b2e3fda29dc9cbbvboxsync#
03d95f0cb2f0d5150afe682f9b2e3fda29dc9cbbvboxsync# Permission is hereby granted, free of charge, to any person obtaining a
03d95f0cb2f0d5150afe682f9b2e3fda29dc9cbbvboxsync# copy of this software and associated documentation files (the "Software"),
03d95f0cb2f0d5150afe682f9b2e3fda29dc9cbbvboxsync# to deal in the Software without restriction, including without limitation
27efd9329f6a90f7cacf840031e5305f98975960vboxsync# the rights to use, copy, modify, merge, publish, distribute, sublicense,
27efd9329f6a90f7cacf840031e5305f98975960vboxsync# and/or sell copies of the Software, and to permit persons to whom the
7aaee03c1ea56a523fe64f674a5ff3da31c27c48vboxsync# Software is furnished to do so, subject to the following conditions:
7aaee03c1ea56a523fe64f674a5ff3da31c27c48vboxsync#
7aaee03c1ea56a523fe64f674a5ff3da31c27c48vboxsync# The above copyright notice and this permission notice (including the next
7aaee03c1ea56a523fe64f674a5ff3da31c27c48vboxsync# paragraph) shall be included in all copies or substantial portions of the
7aaee03c1ea56a523fe64f674a5ff3da31c27c48vboxsync# Software.
7aaee03c1ea56a523fe64f674a5ff3da31c27c48vboxsync#
460ec25fd6142d040369ba8a86b928936e7da08cvboxsync# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
460ec25fd6142d040369ba8a86b928936e7da08cvboxsync# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
460ec25fd6142d040369ba8a86b928936e7da08cvboxsync# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
460ec25fd6142d040369ba8a86b928936e7da08cvboxsync# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
460ec25fd6142d040369ba8a86b928936e7da08cvboxsync# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
460ec25fd6142d040369ba8a86b928936e7da08cvboxsync# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
b5c54fea3b0b605abd04782cc858e1f030ff4a29vboxsync# DEALINGS IN THE SOFTWARE.
98b57301cf15ff5f95eaf7bc8b81e57750026b8evboxsync#
f3dd47993f29190065ac0cdaa4a0800642825822vboxsync#
98b57301cf15ff5f95eaf7bc8b81e57750026b8evboxsync
365b40dec2ed01d9983d29e276e7431c5a4a9c18vboxsync# Package name used in tarballs
98b57301cf15ff5f95eaf7bc8b81e57750026b8evboxsyncMODULE_NAME=xf86-video-r128
ed9e399bf577a6863708163e88c4ba19b673e246vboxsync
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync# Version number (used in path names)
f3dd47993f29190065ac0cdaa4a0800642825822vboxsyncMODULE_VERSION=6.8.1
6be66de4257f4f564e35f7b8ee57a282e3cf3e96vboxsync
104ee9b130538e40654d7732282799493cdd5e7dvboxsync# Checksums for upstream tarball
TARBALL_MD5 = 2b90854a62a4d45d652062f582dc8d13
TARBALL_SHA1 = 14f33cbd248dfd1584ee14949475ab3bb922da17
# Patches to apply to source after unpacking, in order
SOURCE_PATCHES =
# Man pages to apply Sun footer to & attributes to list
SUNTOUCHED_MANPAGES=man/*.man
SUN_PACKAGE=SUNWxorg-graphics-ddx
MODULE_STABILITY=Volatile
# Extra flags to pass to configure script
# - Disable DRI since the kernel module isn't ported
MODULE_CONFIG_OPTS=--disable-dri
# Paths to find libraries/modules to link with
MODULE_LD_OPTIONS= \
-L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
-L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir)/extensions \
-L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir)/linux \
-L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
-R$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
-R$(X11_SERVERMODS_DIR)/extensions$(SERVERMOD_subdir) \
-R$(X11_SERVERMODS_DIR)/linux$(SERVERMOD_subdir) \
-R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
-lint10 -lpciaccess -lfb -lvbe -lxaa -lfbdevhw -lvgahw
# Additional install rules beyond what upstream installs
MODULE_ADD_INSTALL_TARGETS=install_docs
include ../Makefile.inc
install_docs: $(INSTALL_DEPS)
mkdir -p $(PROTODIR)$(X11_DOC_DIR)
cp -p $(SOURCE_DIR)/README.r128 $(PROTODIR)$(X11_DOC_DIR)/