open-src/driver/xf86-input-vmmouse/Makefile
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Tue, 26 Apr 2016 19:17:51 -0700
changeset 1630 fedd05237f45
parent 1549 4b5a9782609e
child 1634 197a4f8b6220
permissions -rw-r--r--
22728538 X consolidation should move to gcc 5.3
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
#
1630
fedd05237f45 22728538 X consolidation should move to gcc 5.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1549
diff changeset
     5
# Copyright (c) 2007, 2016, Oracle and/or its affiliates. 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
#
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     7
# Permission is hereby granted, free of charge, to any person obtaining a
919
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
     8
# copy of this software and associated documentation files (the "Software"),
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
     9
# to deal in the Software without restriction, including without limitation
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    10
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    11
# and/or sell copies of the Software, and to permit persons to whom the
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    12
# Software is furnished to do so, subject to the following conditions:
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    13
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    14
# The above copyright notice and this permission notice (including the next
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    15
# paragraph) shall be included in all copies or substantial portions of the
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    16
# Software.
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    17
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    18
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    19
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    20
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    21
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    22
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    23
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    24
# DEALINGS IN THE SOFTWARE.
159
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    25
#
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    26
#
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
# Package name used in tarballs
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 159
diff changeset
    29
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
    30
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    31
# Version number (used in path names)
1549
4b5a9782609e 21256857 Update Xorg to the latest community version 1.17.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1425
diff changeset
    32
MODULE_VERSION=13.0.99
159
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    33
911
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 910
diff changeset
    34
# Checksums for upstream tarball
1549
4b5a9782609e 21256857 Update Xorg to the latest community version 1.17.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1425
diff changeset
    35
TARBALL_MD5   = 8cd44ea15241422edbcaa7597f9c0e24
4b5a9782609e 21256857 Update Xorg to the latest community version 1.17.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1425
diff changeset
    36
TARBALL_SHA1  = 2ff9a9d92a2ed59b3ce48197f186bcc39e29f303
4b5a9782609e 21256857 Update Xorg to the latest community version 1.17.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1425
diff changeset
    37
TARBALL_SHA256= efd6235e4a2d325f2510fa6d90e355cf75625467270c30974f29d4fb8084f564
911
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 910
diff changeset
    38
159
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    39
# Patches to apply to source after unpacking, in order
1425
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
    40
SOURCE_PATCHES =
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
    41
1422
4db080f5236f 17861091 Remove workarounds for old compiler bugs
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1366
diff changeset
    42
# vmmouse_client code won't build with Studio compiler
705
24ca414edbff 6826940 Xorg server 1.6.1, Mesa 7.4.1, and associated module upgrades [PSARC 2009/292]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 606
diff changeset
    43
MODULE_COMPILER=gcc
24ca414edbff 6826940 Xorg server 1.6.1, Mesa 7.4.1, and associated module upgrades [PSARC 2009/292]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 606
diff changeset
    44
MODULE_COMPILER_SET=yes
159
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    45
1630
fedd05237f45 22728538 X consolidation should move to gcc 5.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1549
diff changeset
    46
# Cos of 23185711 - disable parfait temporarily
fedd05237f45 22728538 X consolidation should move to gcc 5.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1549
diff changeset
    47
USE_PARFAIT=no
fedd05237f45 22728538 X consolidation should move to gcc 5.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1549
diff changeset
    48
1422
4db080f5236f 17861091 Remove workarounds for old compiler bugs
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1366
diff changeset
    49
# Need to use GNU Make to build due to Solaris make bug 15352407
999
c88b52baf4f4 6977519 Mass minor update to X upstream releases [August 2010 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
    50
MODULE_MAKE=$(GNUMAKE)
c88b52baf4f4 6977519 Mass minor update to X upstream releases [August 2010 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
    51
MODULE_MAKE_SET=yes
c88b52baf4f4 6977519 Mass minor update to X upstream releases [August 2010 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
    52
159
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    53
# 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
    54
SUNTOUCHED_MANPAGES=man/*.man
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 159
diff changeset
    55
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
    56
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
    57
# 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
    58
# - 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
    59
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
    60
	--with-hal-bin-dir=/usr/sbin \
1097
243d7ed7a10c 6991718 Removal of 32-bit X servers [PSARC/2010/382]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 999
diff changeset
    61
	--with-hal-callouts-dir=/usr/lib/hal \
243d7ed7a10c 6991718 Removal of 32-bit X servers [PSARC/2010/382]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 999
diff changeset
    62
	--with-hal-fdi-dir=/etc/hal/fdi/policy/10osvendor \
243d7ed7a10c 6991718 Removal of 32-bit X servers [PSARC/2010/382]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 999
diff changeset
    63
	--bindir=$(X11_SERVERLIBS_DIR)
963
7a4fced80e83 6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 936
diff changeset
    64
159
34728078ae00 6559114 The mouse driver for vmware, vmmouse_drv.so, should be provided
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    65
include ../Makefile.inc