Makefile revision 176
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering###############################################################################
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering#
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# xf86-video-ati 1.x Makefile
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers#
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Use subject to license terms.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering#
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# Permission is hereby granted, free of charge, to any person obtaining a
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# copy of this software and associated documentation files (the
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# "Software"), to deal in the Software without restriction, including
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# without limitation the rights to use, copy, modify, merge, publish,
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# distribute, and/or sell copies of the Software, and to permit persons
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# to whom the Software is furnished to do so, provided that the above
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# copyright notice(s) and this permission notice appear in all copies of
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# the Software and that both the above copyright notice(s) and this
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# permission notice appear in supporting documentation.
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering#
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
4e949c11a1df4547d5f102e4131e07b026369cd7Javier Jardón# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
4e949c11a1df4547d5f102e4131e07b026369cd7Javier Jardón# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
4e949c11a1df4547d5f102e4131e07b026369cd7Javier Jardón# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
42a04ee69c7242377cd9eb39444352cd4deb4bb1Lennart Poettering# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
4e949c11a1df4547d5f102e4131e07b026369cd7Javier Jardón# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
4e949c11a1df4547d5f102e4131e07b026369cd7Javier Jardón# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
4e949c11a1df4547d5f102e4131e07b026369cd7Javier Jardón# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering#
78a825f216d39ee0295b00647b059d45467e1d02Kay Sievers# Except as contained in this notice, the name of a copyright holder
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# shall not be used in advertising or otherwise to promote the sale, use
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# or other dealings in this Software without prior written authorization
a80db8bd5f7f15859e8891aab9fc3694ce4cd0bdJavier Jardón# of the copyright holder.
a80db8bd5f7f15859e8891aab9fc3694ce4cd0bdJavier Jardón#
4db6d587c37c0357d20c79bf1a7c9afd4c7ced61Kay Sievers# @(#)Makefile 1.11 07/06/13
907dd1953b7517534d646f5b2777780020c896e2Kay Sievers#
eb7bbee6cd182d5c4eb1e1180631c35158f59379Kay Sievers
6aad7f2cd75c88f990c7857bb173b3e8d0faee0fUmut Tezduyar Lindskog# Package name used in tarballs
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay SieversDRIVER_NAME=xf86-video-ati
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Version number (used in path names)
22be093ffb403a1c474037939ca9b88b1ee39f77Lennart PoetteringDRIVER_VERS=6.6.3
d59d0a2b4b41a75eaf618b26b8f8bd1e17de7e2bcee
d59d0a2b4b41a75eaf618b26b8f8bd1e17de7e2bcee# Patches to apply to source after unpacking, in order
d59d0a2b4b41a75eaf618b26b8f8bd1e17de7e2bceeSOURCE_PATCHES = \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering 6205248.patch \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers autoconfig.patch \
8666abb452db73d9a11ead61251eec42bc531cceKay Sievers no-debug.patch \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering autoconfig2.patch \
5e63ce78b5018ba612e794a610a6f13c5eefade7Cristian Rodríguez autoconfig3.patch \
3d585edbb14b9705c80183aeb16dfd0a28df0ac9Lennart Poettering mapfiles.patch \
5e63ce78b5018ba612e794a610a6f13c5eefade7Cristian Rodríguez 6531742.patch \
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien Nocera 6535741.patch \
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien Nocera 6568883.patch
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien Nocera
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien Nocera# Man pages to apply Sun footer to & attributes to list
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien NoceraSUNTOUCHED_MANPAGES=man/*.man
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien NoceraSUNTOUCH_MAN_FLAGS= \
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart Poettering -a '{Architecture, x86} {Availability, SUNWxorg-graphics-ddx} {Interface Stability, Volatile}'
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart Poettering
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart Poettering# Extra flags to pass to configure script
3ce4fad8f548db9edb19869ea540e3192d2123f4Kay SieversDRIVER_CONFIG_OPTS=--with-xorg-sdk-dir=$(PROTODIR)/usr/X11/include/xorg
f975e971accc4d50c73ae53167db3df7a7099cf2Lennart Poettering
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart Poettering# Paths to find libraries/modules to link with - libraries themselves listed
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# in src/Makefile.am since ATI has so many submodules with different needs
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringDRIVER_ADD_LIBS= \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(ARCHLIBSUBDIR) \
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmek -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(ARCHLIBSUBDIR)/linux \
92ec4495f76a7a2a6c31f5bb2a5240f78dcfe1d2Javier Jardón -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
2d0efdf1af5ff77441228854343c61d42a89840cSamuli Suominen -R$(X11_SERVERMODS_DIR)$(ARCHLIBSUBDIR) \
2d0efdf1af5ff77441228854343c61d42a89840cSamuli Suominen -R$(X11_SERVERMODS_DIR)/linux$(ARCHLIBSUBDIR) \
b51fc639f01ee6194af3e7e944a79accce474fe1Dave Reisner -R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
2d0efdf1af5ff77441228854343c61d42a89840cSamuli Suominen
96ede2601f27cd5fe52eed96b873bef55cd0ce23Lennart Poetteringinclude ../Makefile.inc
2d0efdf1af5ff77441228854343c61d42a89840cSamuli Suominen
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom Gundersensource_gen:: $(UNPACK_TARGET)
2d0efdf1af5ff77441228854343c61d42a89840cSamuli Suominen (cd $(SOURCE_DIR) && automake && autoconf)
7801356442578ff6e1c65844eb9e65c819af4660Zbigniew Jędrzejewski-Szmek
446883528524429283626208928b51f49f28f810Lennart Poetteringinstall_gen::
446883528524429283626208928b51f49f28f810Lennart Poettering mkdir -p $(PROTODIR)$(X11_DOC_DIR)
4acbce79798347cddf1e1d42e9be571e0a041873Zbigniew Jędrzejewski-Szmek cp -p $(SOURCE_DIR)/README.ati $(SOURCE_DIR)/README.r128 \
4acbce79798347cddf1e1d42e9be571e0a041873Zbigniew Jędrzejewski-Szmek $(PROTODIR)$(X11_DOC_DIR)/
80a5cbace45a6adbf2f9119edc5a4b10db493064Kay Sievers