Makefile revision 1003
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan###############################################################################
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# libdga Makefile (for Xsun SUN_DGA extension)
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# Permission is hereby granted, free of charge, to any person obtaining a
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# copy of this software and associated documentation files (the "Software"),
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# to deal in the Software without restriction, including without limitation
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# the rights to use, copy, modify, merge, publish, distribute, sublicense,
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# and/or sell copies of the Software, and to permit persons to whom the
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# Software is furnished to do so, subject to the following conditions:
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# The above copyright notice and this permission notice (including the next
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# paragraph) shall be included in all copies or substantial portions of the
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# DEALINGS IN THE SOFTWARE.
b4a94e1e9bfb77dcba635f9e3cfd4fd4276b64ccLubos Kosco# Package metadata
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# No upstream sources, only local sources
b4a94e1e9bfb77dcba635f9e3cfd4fd4276b64ccLubos Kosco# We build 64-bit only on sparc since Xsun/DGA was already obsolete
98bcd7b17c979c7394ffc18d7c052a0b5602208eJHKST# before amd64 was added
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# Library name (used for specfiles/mapfiles)
98bcd7b17c979c7394ffc18d7c052a0b5602208eJHKST# Man pages to apply Sun footer to & attributes to list
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# No configure script to run
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# Since we don't have a configure script, pass configure flags to make
305373bfa854723d80c740a2ff9d277d0f34082aHarry PanMODULE_BUILD_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX) \
584eb5925eab183765dfba2c839a31304c9eb8f6Lubos KoscoMODULE_INSTALL_MAKEFLAGS=$(MODULE_BUILD_MAKEFLAGS)
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# Compatibility links from /usr/X11/lib to /usr/lib
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan# Clean up old 64-bit builds from before we stopped building them on x86