Makefile revision 1088
4d237bbe075b1d2c19428cd954d721d65b31f67cwrowe###############################################################################
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# xf86-video-mach64 Makefile
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna#
86bb763be5d87c295c8844d30078da2ddb964f73rpluem# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
86bb763be5d87c295c8844d30078da2ddb964f73rpluem#
ba217dc41cebc0976010ee177f8fedac782d1f6fminfrin# Permission is hereby granted, free of charge, to any person obtaining a
ba217dc41cebc0976010ee177f8fedac782d1f6fminfrin# copy of this software and associated documentation files (the "Software"),
86bb763be5d87c295c8844d30078da2ddb964f73rpluem# to deal in the Software without restriction, including without limitation
86bb763be5d87c295c8844d30078da2ddb964f73rpluem# the rights to use, copy, modify, merge, publish, distribute, sublicense,
ba217dc41cebc0976010ee177f8fedac782d1f6fminfrin# and/or sell copies of the Software, and to permit persons to whom the
ba217dc41cebc0976010ee177f8fedac782d1f6fminfrin# Software is furnished to do so, subject to the following conditions:
87587593f1a53030e840acc0dec6cc881022ea40covener#
87587593f1a53030e840acc0dec6cc881022ea40covener# The above copyright notice and this permission notice (including the next
87587593f1a53030e840acc0dec6cc881022ea40covener# paragraph) shall be included in all copies or substantial portions of the
87587593f1a53030e840acc0dec6cc881022ea40covener# Software.
87587593f1a53030e840acc0dec6cc881022ea40covener#
52071e4b9f49c3a1c2c767c7ea80ec92cf9032c9covener# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
52071e4b9f49c3a1c2c767c7ea80ec92cf9032c9covener# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
52071e4b9f49c3a1c2c767c7ea80ec92cf9032c9covener# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
89b8bbc89404e7071e573c4f0a17f528996e855djorton# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
89b8bbc89404e7071e573c4f0a17f528996e855djorton# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
89b8bbc89404e7071e573c4f0a17f528996e855djorton# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
e1d4c4e8366f46dc5dc1e6e24b4c7ac448dfa061sf# DEALINGS IN THE SOFTWARE.
e1d4c4e8366f46dc5dc1e6e24b4c7ac448dfa061sf#
6bc4f334a04802bab835893d0c42af8bfb9c3c41sf#
6bc4f334a04802bab835893d0c42af8bfb9c3c41sf
53593dbd8fece82cb66a23f0b7024d8d713d66f1sf# Package name used in tarballs
53593dbd8fece82cb66a23f0b7024d8d713d66f1sfMODULE_NAME=xf86-video-mach64
79e3f2f950745953fff4a6a8dfe1f7cce31ce287sf
79e3f2f950745953fff4a6a8dfe1f7cce31ce287sf# Version number (used in path names)
ab2b977442827214b1d884decf3e3f1579fd45e1rpluemMODULE_VERSION=6.8.2
ab2b977442827214b1d884decf3e3f1579fd45e1rpluem
ab2b977442827214b1d884decf3e3f1579fd45e1rpluem# Checksums for upstream tarball
195edf54eccd8c5a436c7dd17f5f604e7074d5d1sfTARBALL_MD5 = 6c0522b2b72a0a47c48d718443616651
195edf54eccd8c5a436c7dd17f5f604e7074d5d1sfTARBALL_SHA1 = b7303689a6a971b956061fd81399dc81adb865af
195edf54eccd8c5a436c7dd17f5f604e7074d5d1sf
3709b26f3370ae89c5324a3c03fab56a93b09ecdsf# Patches to apply to source after unpacking, in order
3709b26f3370ae89c5324a3c03fab56a93b09ecdsfSOURCE_PATCHES = 6205248.patch
3709b26f3370ae89c5324a3c03fab56a93b09ecdsf
03577bc320125eaa2b27ee7af78b894ee6dfe121takashi# Man pages to apply Sun footer to & attributes to list
03577bc320125eaa2b27ee7af78b894ee6dfe121takashi#SUNTOUCHED_MANPAGES=man/*.man
03577bc320125eaa2b27ee7af78b894ee6dfe121takashiMODULE_STABILITY=Volatile
f5119c5d7cfe8c6d53cb29d43f8746684068ed82minfrin
f5119c5d7cfe8c6d53cb29d43f8746684068ed82minfrin# Extra flags to pass to configure script
f5119c5d7cfe8c6d53cb29d43f8746684068ed82minfrin# - Disable DRI since the kernel module isn't ported
f5119c5d7cfe8c6d53cb29d43f8746684068ed82minfrinMODULE_CONFIG_OPTS=--disable-dri
f74d35a61a835e15412b99b8aebe4958fe4e94a5takashi
94713632faf403489b3f8b4e0ed65e1011ac4991takashi# Paths to find libraries/modules to link with
f74d35a61a835e15412b99b8aebe4958fe4e94a5takashiMODULE_LD_OPTIONS= \
20216b769716c4346cce373f2028d7dbebf03886poirier -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
20216b769716c4346cce373f2028d7dbebf03886poirier -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
20216b769716c4346cce373f2028d7dbebf03886poirier -R$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
7317a32e0c621c9a28f6f10e83e6c5dc63e3f3bdsf -R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
7317a32e0c621c9a28f6f10e83e6c5dc63e3f3bdsf -lexa -lint10 -lpciaccess -lfb -lpixman-1 -lshadowfb -lXfont -lvbe -lxaa
7317a32e0c621c9a28f6f10e83e6c5dc63e3f3bdsf
ecc6e723b804fb4b8f858910eff3f88242ec56fasf# Additional install rules beyond what upstream installs
ecc6e723b804fb4b8f858910eff3f88242ec56fasfMODULE_ADD_INSTALL_TARGETS=install_docs
ecc6e723b804fb4b8f858910eff3f88242ec56fasf
ecc6e723b804fb4b8f858910eff3f88242ec56fasfinclude ../Makefile.inc
ecc6e723b804fb4b8f858910eff3f88242ec56fasf
ecc6e723b804fb4b8f858910eff3f88242ec56fasfinstall_docs: $(INSTALL_DEPS)
727d68c6009030f56a350b4603384ce4fb844341minfrin mkdir -p $(PROTODIR)$(X11_DOC_DIR)
727d68c6009030f56a350b4603384ce4fb844341minfrin cp -p $(SOURCE_DIR)/README.ati $(PROTODIR)$(X11_DOC_DIR)/
727d68c6009030f56a350b4603384ce4fb844341minfrin