Makefile revision 1508
ab4ab2edaac480f68b476dc19e015c54cd4f1978Lubos Kosco###############################################################################
ab4ab2edaac480f68b476dc19e015c54cd4f1978Lubos Kosco#
b227f89b8c13b15a9372ce56713c024f7f73be35Lubos Kosco# xf86-video-ast - Xorg driver for ASpeed Technologies graphics devices
ab4ab2edaac480f68b476dc19e015c54cd4f1978Lubos Kosco# (such as found in some Sun/Oracle server ILOMs)
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen#
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen# Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen#
551b849ce88d596dc52dda2f78229a932b339c78Lubos Kosco# Permission is hereby granted, free of charge, to any person obtaining a
551b849ce88d596dc52dda2f78229a932b339c78Lubos Kosco# copy of this software and associated documentation files (the "Software"),
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen# to deal in the Software without restriction, including without limitation
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# the rights to use, copy, modify, merge, publish, distribute, sublicense,
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# and/or sell copies of the Software, and to permit persons to whom the
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# Software is furnished to do so, subject to the following conditions:
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye#
477c09a2656e6a2c1075425ad81e61d594164fa9Lubos Kosco# The above copyright notice and this permission notice (including the next
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# paragraph) shall be included in all copies or substantial portions of the
bcae302a5f4b516d2f3c05f657df054e1a0efde7Knut Anders Hatlen# Software.
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye#
98774b0b90e4da0f3f2c5e4856bcbbf366ed0fe0Knut Anders Hatlen# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
afb218f076cae538126a5f931299a82a114a075aKnut Anders Hatlen# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# DEALINGS IN THE SOFTWARE.
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye#
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye#
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# Package name used in tarballs
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeMODULE_NAME=xf86-video-ast
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# Version number (used in path names)
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeMODULE_VERSION=1.0.1
ab4ab2edaac480f68b476dc19e015c54cd4f1978Lubos Kosco
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# Checksums for upstream tarball
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders HatlenTARBALL_MD5 = 63ac98d6526e3e27e290e1836a229059
bbb39d08c0e5b73c89ba813a7c1789842c60f961Lubos KoscoTARBALL_SHA1 = 446a446dc5b4f3de305ae2662a48910f1067880b
2ba599c0d79caf59996d8b54a0490bb968442134Knut Anders HatlenTARBALL_SHA256= e778f1824f5eed7e3197f00f39418de1525e310fd78e0335f6178c26b9b0495b
67b14513c549ae0027ba7590e736b3dd3281db7cLubos Kosco
8dc938f5c6296cffbadd8e06925dc0762dd79c5aLubos Kosco# Patches to apply to source after unpacking, in order
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos KoscoSOURCE_PATCHES += sparc-ast.patch,-p1 \
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco 16448336.patch,-p1 \
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco 16027951.patch,-p1 \
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco 17907916.patch,-p1
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# Link in additional source files from sun-src directory
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeADDITIONAL_SOURCE_DIR=sun-src
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# Regenerate Makefile.in's from Makefile.am's after patching them
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders HatlenAUTORECONF=yes
bbb39d08c0e5b73c89ba813a7c1789842c60f961Lubos Kosco
2ba599c0d79caf59996d8b54a0490bb968442134Knut Anders Hatlen# Dates to show in Oracle copyright notice in pkg license file
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# Earliest & latest of the copyrights in the Oracle files in this pkg
ca37bb3c4127b35d333203398bd983ee730d9da5Jan S BergORACLE_COPYRIGHT_YEARS = 2009, 2012
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco# Man pages to apply Sun footer to & attributes to list
ca37bb3c4127b35d333203398bd983ee730d9da5Jan S Berg#SUNTOUCHED_MANPAGES=man/*.man
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeMODULE_STABILITY=Volatile
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# Libraries/modules to link with
ab4ab2edaac480f68b476dc19e015c54cd4f1978Lubos KoscoAST_LIBRARIES_sparc = # nothing extra
ab4ab2edaac480f68b476dc19e015c54cd4f1978Lubos KoscoAST_LIBRARIES_i386 = -lint10 -lpciaccess -lvbe -lvgahw
301b95653d1ea543522ddd6be61572b2093b8fa3Knut Anders HatlenAST_LIBRARIES = -lfb -lshadow $(AST_LIBRARIES_$(MACH))
301b95653d1ea543522ddd6be61572b2093b8fa3Knut Anders HatlenMODULE_LD_OPTIONS= \
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye -L$(PROTODIR)$(X11_SERVERMODS_DIR) \
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye -R$(X11_SERVERMODS_DIR) \
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye $(AST_LIBRARIES)
4bb936310d8f131aa850821e9254ac14242c7f95Knut Anders Hatlen
4bb936310d8f131aa850821e9254ac14242c7f95Knut Anders Hatleninclude ../Makefile.inc
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye