Makefile revision 1551
39104937e2de97c2cd172024da7ca1b07b9b8737nd###############################################################################
39104937e2de97c2cd172024da7ca1b07b9b8737nd# Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved.
39104937e2de97c2cd172024da7ca1b07b9b8737nd# Permission is hereby granted, free of charge, to any person obtaining a
39104937e2de97c2cd172024da7ca1b07b9b8737nd# copy of this software and associated documentation files (the "Software"),
39104937e2de97c2cd172024da7ca1b07b9b8737nd# to deal in the Software without restriction, including without limitation
39104937e2de97c2cd172024da7ca1b07b9b8737nd# the rights to use, copy, modify, merge, publish, distribute, sublicense,
39104937e2de97c2cd172024da7ca1b07b9b8737nd# and/or sell copies of the Software, and to permit persons to whom the
39104937e2de97c2cd172024da7ca1b07b9b8737nd# Software is furnished to do so, subject to the following conditions:
39104937e2de97c2cd172024da7ca1b07b9b8737nd# The above copyright notice and this permission notice (including the next
39104937e2de97c2cd172024da7ca1b07b9b8737nd# paragraph) shall be included in all copies or substantial portions of the
39104937e2de97c2cd172024da7ca1b07b9b8737nd# Software.
39104937e2de97c2cd172024da7ca1b07b9b8737nd# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
39104937e2de97c2cd172024da7ca1b07b9b8737nd# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
39104937e2de97c2cd172024da7ca1b07b9b8737nd# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
39104937e2de97c2cd172024da7ca1b07b9b8737nd# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
39104937e2de97c2cd172024da7ca1b07b9b8737nd# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39104937e2de97c2cd172024da7ca1b07b9b8737nd# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
39104937e2de97c2cd172024da7ca1b07b9b8737nd# DEALINGS IN THE SOFTWARE.
39104937e2de97c2cd172024da7ca1b07b9b8737nd# Package name used in tarballs
39104937e2de97c2cd172024da7ca1b07b9b8737nd# Package metadata
39104937e2de97c2cd172024da7ca1b07b9b8737nd# Download site for source
39104937e2de97c2cd172024da7ca1b07b9b8737nd# Version number (used in path names)
39104937e2de97c2cd172024da7ca1b07b9b8737nd# Checksums for upstream tarball
39104937e2de97c2cd172024da7ca1b07b9b8737ndTARBALL_SHA256 = e49e2f1e5dac86408e5a74b87038cc4082d2c3fba4e0579823161991432412ed
39104937e2de97c2cd172024da7ca1b07b9b8737nd# Patches to apply to source after unpacking, in order
39104937e2de97c2cd172024da7ca1b07b9b8737nd# Extra rules to run when unpacking upstream source
39104937e2de97c2cd172024da7ca1b07b9b8737nd# manpage-sections.patch edits configure.ac, so we need to autoreconf
39104937e2de97c2cd172024da7ca1b07b9b8737nd# Man pages to apply Sun footer to & attributes to list
39104937e2de97c2cd172024da7ca1b07b9b8737nd# Extra flags to pass to configure script
39104937e2de97c2cd172024da7ca1b07b9b8737nd# - Disable DRI since the kernel module isn't ported
39104937e2de97c2cd172024da7ca1b07b9b8737nd# --libdir is needed to set path for XvMC libraries
39104937e2de97c2cd172024da7ca1b07b9b8737ndMODULE_CONFIG_OPTS += --libdir='$(X11_LIB_DIR)$(ARCHLIBSUBDIR)'
39104937e2de97c2cd172024da7ca1b07b9b8737nd# Instead of allowing the default MODTYPE_LD_SHARED_OPTIONS to link all
39104937e2de97c2cd172024da7ca1b07b9b8737nd# the libraries against the Xorg server binary, ldflags.patch adds
39104937e2de97c2cd172024da7ca1b07b9b8737nd# $(openchrome_drv_la_LDFLAGS_add) to the link of just openchrome_drv.so,
39104937e2de97c2cd172024da7ca1b07b9b8737nd# but not to the client side XvMC libs.
39104937e2de97c2cd172024da7ca1b07b9b8737nd openchrome_drv_la_LDFLAGS_add='$(openchrome_drv_la_LDFLAGS_add)'
39104937e2de97c2cd172024da7ca1b07b9b8737nd# via_regs.h has ^M's at linefeeds which break Sun compilers