Makefile revision 1508
bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch###############################################################################
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen#
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen# xf86-video-ast - Xorg driver for ASpeed Technologies graphics devices
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen# (such as found in some Sun/Oracle server ILOMs)
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen#
c3c07d6527ad28c8546cbbf84c257d178e23c184Timo Sirainen# Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
c3c07d6527ad28c8546cbbf84c257d178e23c184Timo Sirainen#
c3c07d6527ad28c8546cbbf84c257d178e23c184Timo Sirainen# Permission is hereby granted, free of charge, to any person obtaining a
c3c07d6527ad28c8546cbbf84c257d178e23c184Timo Sirainen# copy of this software and associated documentation files (the "Software"),
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen# to deal in the Software without restriction, including without limitation
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen# the rights to use, copy, modify, merge, publish, distribute, sublicense,
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen# and/or sell copies of the Software, and to permit persons to whom the
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen# Software is furnished to do so, subject to the following conditions:
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen#
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen# The above copyright notice and this permission notice (including the next
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen# paragraph) shall be included in all copies or substantial portions of the
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen# Software.
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen#
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
e28b88ee83b47dc2257140600f491482704c7b79Stephan Bosch# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
e28b88ee83b47dc2257140600f491482704c7b79Stephan Bosch# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
e28b88ee83b47dc2257140600f491482704c7b79Stephan Bosch# DEALINGS IN THE SOFTWARE.
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan Bosch#
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan Bosch#
e28b88ee83b47dc2257140600f491482704c7b79Stephan Bosch
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan Bosch# Package name used in tarballs
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan BoschMODULE_NAME=xf86-video-ast
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan Bosch
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan Bosch# Version number (used in path names)
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan BoschMODULE_VERSION=1.0.1
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan Bosch
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan Bosch# Checksums for upstream tarball
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan BoschTARBALL_MD5 = 63ac98d6526e3e27e290e1836a229059
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan BoschTARBALL_SHA1 = 446a446dc5b4f3de305ae2662a48910f1067880b
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan BoschTARBALL_SHA256= e778f1824f5eed7e3197f00f39418de1525e310fd78e0335f6178c26b9b0495b
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan Bosch
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan Bosch# Patches to apply to source after unpacking, in order
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan BoschSOURCE_PATCHES += sparc-ast.patch,-p1 \
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan Bosch 16448336.patch,-p1 \
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan Bosch 16027951.patch,-p1 \
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan Bosch 17907916.patch,-p1
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan Bosch
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan Bosch# Link in additional source files from sun-src directory
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan BoschADDITIONAL_SOURCE_DIR=sun-src
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan Bosch
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan Bosch# Regenerate Makefile.in's from Makefile.am's after patching them
f0f2cc0a290310c398ca727b199e33ea9994b7bcStephan BoschAUTORECONF=yes
e28b88ee83b47dc2257140600f491482704c7b79Stephan Bosch
e28b88ee83b47dc2257140600f491482704c7b79Stephan Bosch# Dates to show in Oracle copyright notice in pkg license file
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen# Earliest & latest of the copyrights in the Oracle files in this pkg
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo SirainenORACLE_COPYRIGHT_YEARS = 2009, 2012
2f2244332687187931e9541e5ff312aa6c5aa705Timo Sirainen
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen# Man pages to apply Sun footer to & attributes to list
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen#SUNTOUCHED_MANPAGES=man/*.man
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo SirainenMODULE_STABILITY=Volatile
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen# Libraries/modules to link with
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo SirainenAST_LIBRARIES_sparc = # nothing extra
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo SirainenAST_LIBRARIES_i386 = -lint10 -lpciaccess -lvbe -lvgahw
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo SirainenAST_LIBRARIES = -lfb -lshadow $(AST_LIBRARIES_$(MACH))
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo SirainenMODULE_LD_OPTIONS= \
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen -L$(PROTODIR)$(X11_SERVERMODS_DIR) \
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen -R$(X11_SERVERMODS_DIR) \
2f2244332687187931e9541e5ff312aa6c5aa705Timo Sirainen $(AST_LIBRARIES)
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Sirainen
7ef3553585e556f35d5919589cfdc1de3329e4bbTimo Siraineninclude ../Makefile.inc
1384fac439fea3026b16a9d8d24954200e413bccTimo Sirainen