Makefile revision 235
f743002678eb67b99bbc29fee116b65d9530fec0wrowe###############################################################################
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg#
a34684a59b60a4173c25035d0c627ef17e6dc215rpluem# xf86-video-ati 1.x Makefile
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic#
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic# Use subject to license terms.
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic#
4da61833a1cbbca94094f9653fd970582b97a72etrawick# Permission is hereby granted, free of charge, to any person obtaining a
4da61833a1cbbca94094f9653fd970582b97a72etrawick# copy of this software and associated documentation files (the
4da61833a1cbbca94094f9653fd970582b97a72etrawick# "Software"), to deal in the Software without restriction, including
4da61833a1cbbca94094f9653fd970582b97a72etrawick# without limitation the rights to use, copy, modify, merge, publish,
4da61833a1cbbca94094f9653fd970582b97a72etrawick# distribute, and/or sell copies of the Software, and to permit persons
4789804be088bcd86ae637a29cdb7fda25169521jailletc# to whom the Software is furnished to do so, provided that the above
4789804be088bcd86ae637a29cdb7fda25169521jailletc# copyright notice(s) and this permission notice appear in all copies of
4789804be088bcd86ae637a29cdb7fda25169521jailletc# the Software and that both the above copyright notice(s) and this
4789804be088bcd86ae637a29cdb7fda25169521jailletc# permission notice appear in supporting documentation.
e50c3026198fd496f183cda4c32a202925476778covener#
e50c3026198fd496f183cda4c32a202925476778covener# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
e50c3026198fd496f183cda4c32a202925476778covener# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
5b88c8507d5ef6d0c4cfbc78230294968175b638minfrin# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
5b88c8507d5ef6d0c4cfbc78230294968175b638minfrin# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
4f29b65ab4b547ad5dbe506e2d0ff5d12ead9247ylavic# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
4f29b65ab4b547ad5dbe506e2d0ff5d12ead9247ylavic# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic#
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic# Except as contained in this notice, the name of a copyright holder
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic# shall not be used in advertising or otherwise to promote the sale, use
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic# or other dealings in this Software without prior written authorization
69301145375a889e7e37caf7cc7321ac0f91801erpluem# of the copyright holder.
69301145375a889e7e37caf7cc7321ac0f91801erpluem#
69301145375a889e7e37caf7cc7321ac0f91801erpluem# @(#)Makefile 1.13 07/07/30
506bfe33206b2fece40ef25f695af39dd4130facjkaluza#
506bfe33206b2fece40ef25f695af39dd4130facjkaluza
506bfe33206b2fece40ef25f695af39dd4130facjkaluza# Package name used in tarballs
506bfe33206b2fece40ef25f695af39dd4130facjkaluzaDRIVER_NAME=xf86-video-ati
d58a848a016d401b965111e50ef829e1641f7834minfrin
d58a848a016d401b965111e50ef829e1641f7834minfrin# Version number (used in path names)
d58a848a016d401b965111e50ef829e1641f7834minfrinDRIVER_VERS=6.6.3
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sf
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sf# Patches to apply to source after unpacking, in order
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sfSOURCE_PATCHES = \
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic 6205248.patch \
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic autoconfig.patch \
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic no-debug.patch \
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic autoconfig2.patch \
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic autoconfig3.patch \
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavic mapfiles.patch \
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavic 6531742.patch \
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavic 6535741.patch \
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic 6568883.patch \
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic 6583707.patch
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic# Man pages to apply Sun footer to & attributes to list
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavicSUNTOUCHED_MANPAGES=man/*.man
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavicSUNTOUCH_MAN_FLAGS= \
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic -a '{Architecture, x86} {Availability, SUNWxorg-graphics-ddx} {Interface Stability, Volatile}'
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener# Extra flags to pass to configure script
d7205b1a86c51c27b71a2c458dc453fd53a261c1covenerDRIVER_CONFIG_OPTS=--with-xorg-sdk-dir=$(PROTODIR)/usr/X11/include/xorg
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener# Paths to find libraries/modules to link with - libraries themselves listed
44ff304057225e944e220e981d434a046d14cf06covener# in src/Makefile.am since ATI has so many submodules with different needs
44ff304057225e944e220e981d434a046d14cf06covenerDRIVER_ADD_LIBS= \
44ff304057225e944e220e981d434a046d14cf06covener -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(ARCHLIBSUBDIR) \
44ff304057225e944e220e981d434a046d14cf06covener -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(ARCHLIBSUBDIR)/linux \
5d1ba75b8794925e67591c209085a49279791de9covener -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
5d1ba75b8794925e67591c209085a49279791de9covener -R$(X11_SERVERMODS_DIR)$(ARCHLIBSUBDIR) \
5d1ba75b8794925e67591c209085a49279791de9covener -R$(X11_SERVERMODS_DIR)/linux$(ARCHLIBSUBDIR) \
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand -R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrandinclude ../Makefile.inc
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand
caad2986f81ab263f7af41467dd622dc9add17f3ylavicsource_gen:: autoreconf
caad2986f81ab263f7af41467dd622dc9add17f3ylavic
caad2986f81ab263f7af41467dd622dc9add17f3ylavicinstall_gen::
caad2986f81ab263f7af41467dd622dc9add17f3ylavic mkdir -p $(PROTODIR)$(X11_DOC_DIR)
45a10d38e6051fd7bdf9d742aaae633d97ff02abjailletc cp -p $(SOURCE_DIR)/README.ati $(SOURCE_DIR)/README.r128 \
f7317ff316c2b141feea31bddb74d5d3fa1584edjorton $(PROTODIR)$(X11_DOC_DIR)/
f7317ff316c2b141feea31bddb74d5d3fa1584edjorton