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