Makefile revision 606
1633838b8255282d10af15c5c84cee5a51466712Bob Halley#
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updater# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
499b34cea04a46823d003d4c0520c8b03e8513cbBrian Wellington# Use subject to license terms.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# Permission is hereby granted, free of charge, to any person obtaining a
1633838b8255282d10af15c5c84cee5a51466712Bob Halley# copy of this software and associated documentation files (the
1633838b8255282d10af15c5c84cee5a51466712Bob Halley# "Software"), to deal in the Software without restriction, including
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# without limitation the rights to use, copy, modify, merge, publish,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# distribute, and/or sell copies of the Software, and to permit persons
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# to whom the Software is furnished to do so, provided that the above
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# copyright notice(s) and this permission notice appear in all copies of
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# the Software and that both the above copyright notice(s) and this
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# permission notice appear in supporting documentation.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1633838b8255282d10af15c5c84cee5a51466712Bob Halley# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2acf5526612dd7bd01b646c0941031437fb97d92Bob Halley# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updater# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
d25afd60ee2286cb171c4960a790f3d7041b6f85Bob Halley# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
d25afd60ee2286cb171c4960a790f3d7041b6f85Bob Halley# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2acf5526612dd7bd01b646c0941031437fb97d92Bob Halley#
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halley# Except as contained in this notice, the name of a copyright holder
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halley# shall not be used in advertising or otherwise to promote the sale, use
9cd6d409b78a6f833b681c13a68fbdc7c024fe66David Lawrence# or other dealings in this Software without prior written authorization
4b87939256ede703385e9cab92d3c58d03c31098Mark Andrews# of the copyright holder.
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence#
c403d3f7d6cb17406e9be03a330ed5cf91619abcDavid Lawrence# @(#)Makefile 1.9 09/01/10
364a82f7c25b62967678027043425201a5e5171aBob Halley#
2acf5526612dd7bd01b646c0941031437fb97d92Bob Halley
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halley# Package name used in tarballs
c403d3f7d6cb17406e9be03a330ed5cf91619abcDavid LawrenceMODULE_NAME=libdrm
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halley
87480bb860c4cbdac3edfb1c8a3ca25daa780032David Lawrence# Version number (used in path names)
a942d47f8404dde971d119291e542c979f451989Bob HalleyMODULE_VERSION=2.3.1
4b87939256ede703385e9cab92d3c58d03c31098Mark Andrews
2acf5526612dd7bd01b646c0941031437fb97d92Bob Halley# Library name (used for specfiles/mapfiles)
c5f15d214f2858db7d8a8b9831eaf0f3bf6edb80David LawrenceLIBNAME=drm
c5f15d214f2858db7d8a8b9831eaf0f3bf6edb80David Lawrence
87480bb860c4cbdac3edfb1c8a3ca25daa780032David Lawrence# Download site for source
4502c1b020fe0511becb96011b9d635692aab341Brian WellingtonSOURCE_URL=http://dri.freedesktop.org/libdrm/$(SOURCE_TARBALL_NAME)
87480bb860c4cbdac3edfb1c8a3ca25daa780032David LawrenceSOURCE_URL_SET=yes
87480bb860c4cbdac3edfb1c8a3ca25daa780032David LawrenceGIT_URL=$(FDO_GIT_URL)/mesa/drm
87480bb860c4cbdac3edfb1c8a3ca25daa780032David LawrenceGIT_URL_SET=yes
87480bb860c4cbdac3edfb1c8a3ca25daa780032David Lawrence
87480bb860c4cbdac3edfb1c8a3ca25daa780032David Lawrence# Patches to apply to source after unpacking, in order
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinSOURCE_PATCHES = solaris-drm-port.patch
87480bb860c4cbdac3edfb1c8a3ca25daa780032David Lawrence
87480bb860c4cbdac3edfb1c8a3ca25daa780032David Lawrence# Need to regenerate files after patching Makefile.am in solaris-drm-port.patch
87480bb860c4cbdac3edfb1c8a3ca25daa780032David LawrenceAUTORECONF=yes
87480bb860c4cbdac3edfb1c8a3ca25daa780032David Lawrence
87480bb860c4cbdac3edfb1c8a3ca25daa780032David Lawrence# Man pages to apply Sun footer to & attributes to list
de5c46ae57f71e3de1231fb62152b4d4aae78ab1Bob Halley#SUNTOUCHED_MANPAGES=*.man
2e36a558617f4479ed0361d558947bd9b6e4317fDamien Neil#SUN_PACKAGE=SUNWxorg-server
6cf489f9bca4139f92dcb3a6bc33731476bc4e91Brian Wellington#MODULE_STABILITY=Volatile
2e36a558617f4479ed0361d558947bd9b6e4317fDamien Neil#LIB_MAN_SUFFIX=3drm
de5c46ae57f71e3de1231fb62152b4d4aae78ab1Bob Halley
2e36a558617f4479ed0361d558947bd9b6e4317fDamien Neil# pkg-config files that need to have -R added
de5c46ae57f71e3de1231fb62152b4d4aae78ab1Bob HalleyFIX_PC_FILES=libdrm.pc.in
de5c46ae57f71e3de1231fb62152b4d4aae78ab1Bob Halley
de5c46ae57f71e3de1231fb62152b4d4aae78ab1Bob Halley# Where to install files
de5c46ae57f71e3de1231fb62152b4d4aae78ab1Bob HalleyMODULE_ADD_LIB_SUBDIR=$(X11_SERVERLIBS_SUBDIR)
de5c46ae57f71e3de1231fb62152b4d4aae78ab1Bob Halley
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halleyinclude ../Makefile.inc
4b87939256ede703385e9cab92d3c58d03c31098Mark Andrews