Makefile revision 911
c25356d5978632df6203437e1953bcb29e0c736fTimo Sirainen#
c25356d5978632df6203437e1953bcb29e0c736fTimo Sirainen# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
02b32cf39a098edf60981fc228e4b034f11f3b90Timo Sirainen# Use is subject to license terms.
02b32cf39a098edf60981fc228e4b034f11f3b90Timo Sirainen#
02b32cf39a098edf60981fc228e4b034f11f3b90Timo Sirainen# Permission is hereby granted, free of charge, to any person obtaining a
02b32cf39a098edf60981fc228e4b034f11f3b90Timo Sirainen# copy of this software and associated documentation files (the
9e86ad9eb313004cd4c8b5427daeb4c241b57af6Timo Sirainen# "Software"), to deal in the Software without restriction, including
9e86ad9eb313004cd4c8b5427daeb4c241b57af6Timo Sirainen# without limitation the rights to use, copy, modify, merge, publish,
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen# distribute, and/or sell copies of the Software, and to permit persons
02b32cf39a098edf60981fc228e4b034f11f3b90Timo Sirainen# to whom the Software is furnished to do so, provided that the above
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen# copyright notice(s) and this permission notice appear in all copies of
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen# the Software and that both the above copyright notice(s) and this
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen# permission notice appear in supporting documentation.
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen#
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
c2bb1764c359ce85a7f7f789ead11dd613ff9769Timo Sirainen# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
6e77746e501c2b45850b1c530836058ed75e09eeTimo Sirainen# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
6e77746e501c2b45850b1c530836058ed75e09eeTimo Sirainen# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
6e77746e501c2b45850b1c530836058ed75e09eeTimo Sirainen# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
8c8f7ac580b661aee3d8b8dd37df4a9b41c77000Timo Sirainen# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
8c8f7ac580b661aee3d8b8dd37df4a9b41c77000Timo Sirainen# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
6e77746e501c2b45850b1c530836058ed75e09eeTimo Sirainen# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen#
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen# Except as contained in this notice, the name of a copyright holder
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen# shall not be used in advertising or otherwise to promote the sale, use
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen# or other dealings in this Software without prior written authorization
0dc7891233a973829f00371b27810f849b987c66Timo Sirainen# of the copyright holder.
0dc7891233a973829f00371b27810f849b987c66Timo Sirainen#
0dc7891233a973829f00371b27810f849b987c66Timo Sirainen#
0dc7891233a973829f00371b27810f849b987c66Timo Sirainen
0dc7891233a973829f00371b27810f849b987c66Timo Sirainen# Package name used in tarballs
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo SirainenMODULE_NAME=libdrm
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen# Version number (used in path names)
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo SirainenMODULE_VERSION=2.4.14
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen# Checksums for upstream tarball
0dc7891233a973829f00371b27810f849b987c66Timo SirainenTARBALL_MD5 = e785b6a6ebd6b8a49dd8210cd8742842
0dc7891233a973829f00371b27810f849b987c66Timo SirainenTARBALL_SHA1 = a18cc2cdfd02b8ba1c91c3e9ac609521ad3e2fe9
0dc7891233a973829f00371b27810f849b987c66Timo Sirainen
0dc7891233a973829f00371b27810f849b987c66Timo Sirainen# Library name (used for specfiles/mapfiles)
0dc7891233a973829f00371b27810f849b987c66Timo SirainenLIBNAME=drm
0dc7891233a973829f00371b27810f849b987c66Timo Sirainen
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen# Download site for source
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo SirainenSOURCE_URL=http://dri.freedesktop.org/libdrm/$(SOURCE_TARBALL_NAME)
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo SirainenSOURCE_URL_SET=yes
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo SirainenGIT_URL=$(FDO_GIT_URL)/mesa/drm
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo SirainenGIT_URL_SET=yes
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen# Patches to apply to source after unpacking, in order
02b32cf39a098edf60981fc228e4b034f11f3b90Timo SirainenSOURCE_PATCHES = \
1107c86ff3fa4f29796c2e76134b78d0b4a0db50Timo Sirainen solaris-drm-port.patch \
1107c86ff3fa4f29796c2e76134b78d0b4a0db50Timo Sirainen 6802045.patch \
1107c86ff3fa4f29796c2e76134b78d0b4a0db50Timo Sirainen gem.patch
1107c86ff3fa4f29796c2e76134b78d0b4a0db50Timo Sirainen
1107c86ff3fa4f29796c2e76134b78d0b4a0db50Timo Sirainen# Need to regenerate files after patching Makefile.am in solaris-drm-port.patch
02b32cf39a098edf60981fc228e4b034f11f3b90Timo SirainenAUTORECONF=yes
# Man pages to apply Sun footer to & attributes to list
#SUNTOUCHED_MANPAGES=*.man
#SUN_PACKAGE=SUNWxorg-server
#MODULE_STABILITY=Volatile
#LIB_MAN_SUFFIX=3drm
# pkg-config files that need to have -R added
FIX_PC_FILES=libdrm.pc.in libdrm_intel.pc.in
# Where to install files
MODULE_ADD_LIB_SUBDIR=$(X11_SERVERLIBS_SUBDIR)
include ../Makefile.inc