Makefile revision 705
4c221b0da1816acf2ca302b10092df059484468dvboxsync###############################################################################
4c221b0da1816acf2ca302b10092df059484468dvboxsync#
4c221b0da1816acf2ca302b10092df059484468dvboxsync# xf86-video-ati Makefile
4c221b0da1816acf2ca302b10092df059484468dvboxsync#
4c221b0da1816acf2ca302b10092df059484468dvboxsync# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
4c221b0da1816acf2ca302b10092df059484468dvboxsync# Use subject to license terms.
4c221b0da1816acf2ca302b10092df059484468dvboxsync#
4c221b0da1816acf2ca302b10092df059484468dvboxsync# Permission is hereby granted, free of charge, to any person obtaining a
4c221b0da1816acf2ca302b10092df059484468dvboxsync# copy of this software and associated documentation files (the
4c221b0da1816acf2ca302b10092df059484468dvboxsync# "Software"), to deal in the Software without restriction, including
4c221b0da1816acf2ca302b10092df059484468dvboxsync# without limitation the rights to use, copy, modify, merge, publish,
4c221b0da1816acf2ca302b10092df059484468dvboxsync# distribute, and/or sell copies of the Software, and to permit persons
4c221b0da1816acf2ca302b10092df059484468dvboxsync# to whom the Software is furnished to do so, provided that the above
4c221b0da1816acf2ca302b10092df059484468dvboxsync# copyright notice(s) and this permission notice appear in all copies of
4c221b0da1816acf2ca302b10092df059484468dvboxsync# the Software and that both the above copyright notice(s) and this
4c221b0da1816acf2ca302b10092df059484468dvboxsync# permission notice appear in supporting documentation.
4c221b0da1816acf2ca302b10092df059484468dvboxsync#
4c221b0da1816acf2ca302b10092df059484468dvboxsync# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
4c221b0da1816acf2ca302b10092df059484468dvboxsync# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
4c221b0da1816acf2ca302b10092df059484468dvboxsync# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
4c221b0da1816acf2ca302b10092df059484468dvboxsync# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
4c221b0da1816acf2ca302b10092df059484468dvboxsync# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
4c221b0da1816acf2ca302b10092df059484468dvboxsync# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
4c221b0da1816acf2ca302b10092df059484468dvboxsync# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
4c221b0da1816acf2ca302b10092df059484468dvboxsync# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
4c221b0da1816acf2ca302b10092df059484468dvboxsync# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
4c221b0da1816acf2ca302b10092df059484468dvboxsync#
4c221b0da1816acf2ca302b10092df059484468dvboxsync# Except as contained in this notice, the name of a copyright holder
4c221b0da1816acf2ca302b10092df059484468dvboxsync# shall not be used in advertising or otherwise to promote the sale, use
4c221b0da1816acf2ca302b10092df059484468dvboxsync# or other dealings in this Software without prior written authorization
4c221b0da1816acf2ca302b10092df059484468dvboxsync# of the copyright holder.
4c221b0da1816acf2ca302b10092df059484468dvboxsync#
4c221b0da1816acf2ca302b10092df059484468dvboxsync# @(#)Makefile 1.18 09/05/15
4c221b0da1816acf2ca302b10092df059484468dvboxsync#
4c221b0da1816acf2ca302b10092df059484468dvboxsync
4c221b0da1816acf2ca302b10092df059484468dvboxsync# Package name used in tarballs
4c221b0da1816acf2ca302b10092df059484468dvboxsyncMODULE_NAME=xf86-video-ati
4c221b0da1816acf2ca302b10092df059484468dvboxsync
4c221b0da1816acf2ca302b10092df059484468dvboxsync# Version number (used in path names)
MODULE_VERSION=6.12.2
# Patches to apply to source after unpacking, in order
SOURCE_PATCHES = \
mapfiles.patch \
solaris-dri-drv-port.patch
# Need to regenerate configure after patching configure.ac in build-dri.patch
# and regenerate Makefile.in after patching Makefile.am in mapfiles.patch
AUTORECONF=yes
# Man pages to apply Sun footer to & attributes to list
SUNTOUCHED_MANPAGES=man/*.man
SUN_PACKAGE=SUNWxorg-graphics-ddx
MODULE_STABILITY=Volatile
# AtomBios code won't build with Sun compiler
MODULE_COMPILER=gcc
MODULE_COMPILER_SET=yes
# Extra flags to pass to configure script
MODULE_CONFIG_OPTS=--enable-dri
# Need to override setting of CONFIG_SHELL from Makefile.init to work around
# ksh93 bug that causes config.status/config.h to be incorrectly generated
MODULE_CONFIG_ENV= CONFIG_SHELL=/usr/bin/bash
# Paths to find libraries/modules to link with - libraries themselves listed
# in src/Makefile.am since ATI has multiple submodules with different needs
MODULE_LD_OPTIONS= \
-L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
-L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir)/extensions \
-L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir)/linux \
-L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
-R$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
-R$(X11_SERVERMODS_DIR)/extensions$(SERVERMOD_subdir) \
-R$(X11_SERVERMODS_DIR)/linux$(SERVERMOD_subdir) \
-R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
include ../Makefile.inc