Makefile revision 911
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley###############################################################################
d6850bee24db320b34195bf40882e2c385532fceEvan Hunt#
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# xf86-video-vmware Makefile
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews#
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# Use is subject to license terms.
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews#
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# Permission is hereby granted, free of charge, to any person obtaining a
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# copy of this software and associated documentation files (the
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# "Software"), to deal in the Software without restriction, including
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# without limitation the rights to use, copy, modify, merge, publish,
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# distribute, and/or sell copies of the Software, and to permit persons
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# to whom the Software is furnished to do so, provided that the above
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# copyright notice(s) and this permission notice appear in all copies of
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# the Software and that both the above copyright notice(s) and this
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# permission notice appear in supporting documentation.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#
92b796c963e7ba0217debfa27a0709f94934f5d5Mark Andrews# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
5506903c9215faf42586307c2288942fd804c579Evan Hunt# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
5506903c9215faf42586307c2288942fd804c579Evan Hunt# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
5506903c9215faf42586307c2288942fd804c579Evan Hunt# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Except as contained in this notice, the name of a copyright holder
5506903c9215faf42586307c2288942fd804c579Evan Hunt# shall not be used in advertising or otherwise to promote the sale, use
5506903c9215faf42586307c2288942fd804c579Evan Hunt# or other dealings in this Software without prior written authorization
30c76944175c52f947d268329ff815aadeea6306Mark Andrews# of the copyright holder.
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews#
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews#
5506903c9215faf42586307c2288942fd804c579Evan Hunt
30c76944175c52f947d268329ff815aadeea6306Mark Andrews# Package name used in tarballs
30c76944175c52f947d268329ff815aadeea6306Mark AndrewsMODULE_NAME=xf86-video-vmware
5506903c9215faf42586307c2288942fd804c579Evan Hunt
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# Version number (used in path names)
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark AndrewsMODULE_VERSION=10.16.9
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews# Checksums for upstream tarball
5506903c9215faf42586307c2288942fd804c579Evan HuntTARBALL_MD5 = 3b3d38abfa1f8be4b1e26dcd236bc94f
5506903c9215faf42586307c2288942fd804c579Evan HuntTARBALL_SHA1 = 4e0e5d193f3e83dce46a7d39d52257629e51f4d3
5506903c9215faf42586307c2288942fd804c579Evan Hunt
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Patches to apply to source after unpacking, in order
5506903c9215faf42586307c2288942fd804c579Evan HuntSOURCE_PATCHES = 6370961.patch xf86LoaderReqSymLists.patch
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews# Man pages to apply Sun footer to & attributes to list
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark AndrewsSUNTOUCHED_MANPAGES=man/*.man
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark AndrewsSUN_PACKAGE=SUNWxorg-graphics-ddx
5506903c9215faf42586307c2288942fd804c579Evan HuntMODULE_STABILITY=Volatile
5506903c9215faf42586307c2288942fd804c579Evan Hunt
5506903c9215faf42586307c2288942fd804c579Evan Hunt# vmwarevideo code won't build with Sun compiler
5506903c9215faf42586307c2288942fd804c579Evan HuntMODULE_COMPILER=gcc
5506903c9215faf42586307c2288942fd804c579Evan HuntMODULE_COMPILER_SET=yes
5506903c9215faf42586307c2288942fd804c579Evan Hunt
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Libraries/modules to link with
5506903c9215faf42586307c2288942fd804c579Evan HuntMODULE_LD_OPTIONS= \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -R$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -lfb -lshadowfb -lvgahw -lpciaccess
5506903c9215faf42586307c2288942fd804c579Evan Hunt
5506903c9215faf42586307c2288942fd804c579Evan Huntinclude ../Makefile.inc
5506903c9215faf42586307c2288942fd804c579Evan Hunt