Makefile revision 919
98N/A###############################################################################
98N/A#
98N/A# xf86-video-ati Makefile
98N/A#
908N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
733N/A# Use is subject to license terms.
98N/A#
98N/A# Permission is hereby granted, free of charge, to any person obtaining a
98N/A# copy of this software and associated documentation files (the "Software"),
98N/A# to deal in the Software without restriction, including without limitation
98N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
98N/A# and/or sell copies of the Software, and to permit persons to whom the
98N/A# Software is furnished to do so, subject to the following conditions:
98N/A#
98N/A# The above copyright notice and this permission notice (including the next
98N/A# paragraph) shall be included in all copies or substantial portions of the
98N/A# Software.
98N/A#
98N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
98N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
98N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
98N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
98N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
98N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
98N/A# DEALINGS IN THE SOFTWARE.
98N/A#
98N/A#
98N/A
98N/A# Package name used in tarballs
98N/AMODULE_NAME=xf86-video-ati
98N/A
98N/A# Version number (used in path names)
98N/AMODULE_VERSION=6.12.4
98N/A
235N/A# Checksums for upstream tarball
156N/ATARBALL_MD5 = e662348f6f957fcedf52818d668ab9f5
156N/ATARBALL_SHA1 = efd9b9392787251756bbce6afc9715c417dae68f
156N/A
156N/A# Patches to apply to source after unpacking, in order
98N/ASOURCE_PATCHES = \
98N/A mapfiles.patch \
98N/A solaris-dri-drv-port.patch
98N/A
493N/A# Need to regenerate configure after patching configure.ac in build-dri.patch
493N/A# and regenerate Makefile.in after patching Makefile.am in mapfiles.patch
98N/AAUTORECONF=yes
911N/A
913N/A# Man pages to apply Sun footer to & attributes to list
913N/ASUNTOUCHED_MANPAGES=man/*.man
911N/ASUN_PACKAGE=SUNWxorg-graphics-ddx
98N/AMODULE_STABILITY=Volatile
235N/A
493N/A# AtomBios code won't build with Sun compiler
98N/AMODULE_COMPILER=gcc
916N/AMODULE_COMPILER_SET=yes
916N/A
916N/A# Extra flags to pass to configure script
916N/AMODULE_CONFIG_OPTS=--enable-dri
98N/A
98N/A# Need to override setting of CONFIG_SHELL from Makefile.init to work around
98N/A# ksh93 bug that causes config.status/config.h to be incorrectly generated
606N/AMODULE_CONFIG_ENV= CONFIG_SHELL=/usr/bin/bash
98N/A
98N/A# Paths to find libraries/modules to link with - libraries themselves listed
98N/A# in src/Makefile.am since ATI has multiple submodules with different needs
606N/AMODULE_LD_OPTIONS= \
606N/A -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
98N/A -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir)/extensions \
493N/A -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir)/linux \
493N/A -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
493N/A -M $(PWD)/mapfile-bt829_drv-external \
98N/A -M $(PWD)/mapfile-fi1236_drv-external \
98N/A -M $(PWD)/mapfile-msp3430_drv-external \
98N/A -M $(PWD)/mapfile-tda9885_drv-external \
98N/A -M $(PWD)/mapfile-uda1380_drv-external \
908N/A -R$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
591N/A -R$(X11_SERVERMODS_DIR)/extensions$(SERVERMOD_subdir) \
493N/A -R$(X11_SERVERMODS_DIR)/linux$(SERVERMOD_subdir) \
493N/A -R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
493N/A
493N/Ainclude ../Makefile.inc
493N/A