open-src/driver/xf86-video-ast/Makefile
author X gate hg captive account <xhg@xserver.us.oracle.com>
Wed, 19 Aug 2015 13:48:41 -0700
changeset 1484 bc8922b8e1d2
parent 1454 1fc14fd34b1e
permissions -rw-r--r--
Added tag s11u3_30 for changeset 221e9d9cc9cb

###############################################################################
#
# xf86-video-ast - Xorg driver for ASpeed Technologies graphics devices 
#  (such as found in some Sun/Oracle server ILOMs)
#
# Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
#

# Package name used in tarballs
MODULE_NAME=xf86-video-ast

# Version number (used in path names)
MODULE_VERSION=1.0.1

# Checksums for upstream tarball
TARBALL_MD5   = 63ac98d6526e3e27e290e1836a229059
TARBALL_SHA1  = 446a446dc5b4f3de305ae2662a48910f1067880b
TARBALL_SHA256= e778f1824f5eed7e3197f00f39418de1525e310fd78e0335f6178c26b9b0495b

# Patches to apply to source after unpacking, in order
SOURCE_PATCHES += sparc-ast.patch,-p1 \
		16448336.patch,-p1 \
		16027951.patch,-p1 \
		17907916.patch,-p1 \
		20816358-disable-DP501.patch,-p1

# Link in additional source files from sun-src directory
ADDITIONAL_SOURCE_DIR=sun-src

# Regenerate Makefile.in's from Makefile.am's after patching them
AUTORECONF=yes

# Dates to show in Oracle copyright notice in pkg license file
# Earliest & latest of the copyrights in the Oracle files in this pkg
ORACLE_COPYRIGHT_YEARS = 2009, 2012

# Man pages to apply Sun footer to & attributes to list
#SUNTOUCHED_MANPAGES=man/*.man
MODULE_STABILITY=Volatile

# Libraries/modules to link with
AST_LIBRARIES_sparc = # nothing extra
AST_LIBRARIES_i386 = -lint10 -lpciaccess -lvbe -lvgahw
AST_LIBRARIES = -lfb -lshadow $(AST_LIBRARIES_$(MACH))
MODULE_LD_OPTIONS= \
	-L$(PROTODIR)$(X11_SERVERMODS_DIR) \
	-R$(X11_SERVERMODS_DIR) \
	$(AST_LIBRARIES)

include ../Makefile.inc