open-src/driver/xf86-input-vmmouse/Makefile
author Alan Coopersmith <Alan.Coopersmith@Sun.COM>
Thu, 15 Jan 2009 12:55:00 -0800
changeset 606 068c11b419c9
parent 493 f43507b5737d
child 705 24ca414edbff
permissions -rw-r--r--
6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates Includes changes contributed by Liang, Kan <[email protected]>: - G41 support patches - DRM_CAS in libdrm type error can cause deadlock and hang the glxgears. Includes changes contributed by Martin Bochnig <[email protected]>: - Make SUNWxorg-mesa package platform-clean
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
159
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     1
###############################################################################
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     2
#
606
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
     3
# xf86-input-vmmouse Makefile
159
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     4
#
606
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
     5
# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
159
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     6
# Use subject to license terms.
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     7
#
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     8
# Permission is hereby granted, free of charge, to any person obtaining a
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     9
# copy of this software and associated documentation files (the
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    10
# "Software"), to deal in the Software without restriction, including
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    11
# without limitation the rights to use, copy, modify, merge, publish,
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    12
# distribute, and/or sell copies of the Software, and to permit persons
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    13
# to whom the Software is furnished to do so, provided that the above
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    14
# copyright notice(s) and this permission notice appear in all copies of
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    15
# the Software and that both the above copyright notice(s) and this
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    16
# permission notice appear in supporting documentation.
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    17
# 
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    18
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    19
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    20
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    21
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    22
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    23
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    24
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    25
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    26
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    27
# 
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    28
# Except as contained in this notice, the name of a copyright holder
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    29
# shall not be used in advertising or otherwise to promote the sale, use
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    30
# or other dealings in this Software without prior written authorization
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    31
# of the copyright holder.
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    32
#
606
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    33
# ident "@(#)Makefile	1.3	09/01/15 SMI"
159
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    34
#
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    35
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    36
# Package name used in tarballs
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 159
diff changeset
    37
MODULE_NAME=xf86-input-vmmouse
159
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    38
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    39
# Version number (used in path names)
606
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    40
MODULE_VERSION=12.6.3
159
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    41
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    42
# Patches to apply to source after unpacking, in order
606
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    43
SOURCE_PATCHES = hal-configure-options.patch,-p1
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    44
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    45
# Rebuild configure after patching configure.ac in hal-configure-options.patch
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    46
AUTORECONF=yes
159
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    47
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    48
# Man pages to apply Sun footer to & attributes to list
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    49
SUNTOUCHED_MANPAGES=man/*.man
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 159
diff changeset
    50
SUN_PACKAGE=SUNWxorg-server
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 159
diff changeset
    51
MODULE_STABILITY=Volatile
159
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    52
606
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    53
# Extra flags to pass to configure script
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    54
# - need to set install locations for HAL config file & probe util/script
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    55
MODULE_CONFIG_OPTS= \
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    56
	--with-hal-bin-dir=/usr/sbin \
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    57
	--with-hal-callouts-dir=/usr/lib/hal \
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    58
	--with-hal-fdi-dir=/etc/hal/fdi/policy/10osvendor \
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    59
	--bindir=$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
068c11b419c9 6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    60
159
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    61
# Libraries/modules to link with
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 159
diff changeset
    62
MODULE_LD_OPTIONS=
159
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    63
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    64
include ../Makefile.inc
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    65