author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Wed, 10 Aug 2016 21:49:25 -0700 | |
changeset 1653 | 9fcb30a2102b |
parent 1598 | b4a59ebd04d7 |
permissions | -rw-r--r-- |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
1 |
############################################################################### |
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
2 |
# |
1598
b4a59ebd04d7
22591565 Build directory paths should not appear in pkg-config files
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1508
diff
changeset
|
3 |
# xf86-input-mouse Makefile |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
4 |
# |
1598
b4a59ebd04d7
22591565 Build directory paths should not appear in pkg-config files
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1508
diff
changeset
|
5 |
# Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved. |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
6 |
# |
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
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. |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
25 |
# |
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
26 |
# |
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
27 |
|
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
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:
371
diff
changeset
|
29 |
MODULE_NAME=xf86-input-mouse |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
30 |
|
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
31 |
# Version number (used in path names) |
1508
5023d4d9a642
20508188 xdm core dump: libX11.so.4`append_pending_request
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1433
diff
changeset
|
32 |
MODULE_VERSION=1.9.1 |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
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 |
1508
5023d4d9a642
20508188 xdm core dump: libX11.so.4`append_pending_request
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1433
diff
changeset
|
35 |
TARBALL_MD5 = 77085b649c5c0b333565ba562f573951 |
5023d4d9a642
20508188 xdm core dump: libX11.so.4`append_pending_request
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1433
diff
changeset
|
36 |
TARBALL_SHA1 = edde3e0201ec18fbbbcf3c157f912dbae3b5a3cd |
5023d4d9a642
20508188 xdm core dump: libX11.so.4`append_pending_request
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1433
diff
changeset
|
37 |
TARBALL_SHA256 = 3485d375779c08406f0789feedde15933dc703158a086ddac638598f479fc5ce |
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 |
|
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
39 |
# Patches to apply to source after unpacking, in order |
1178
859fc7cfa429
7070321 Mouse protocol "Auto" does not work in build 170
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1156
diff
changeset
|
40 |
SOURCE_PATCHES = \ |
1368
c4f06d1cce2a
15798251 SUNBT7177072 mga:actual mouse pointer is off from the cursor on remote window
David Marx <David.M.Marx@Oracle.Com>
parents:
1366
diff
changeset
|
41 |
6892799.patch,-p1 \ |
1433
5f529acbd50c
17429216 global vuidMouseList should not keep info for removed mouse device
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1368
diff
changeset
|
42 |
15798251.patch,-p1 \ |
5f529acbd50c
17429216 global vuidMouseList should not keep info for removed mouse device
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1368
diff
changeset
|
43 |
17429216.patch,-p1 |
817
1222f638a16b
6892799 mouse driver closes fd while processing DEVICE_OFF
Aaron Zang <Aaron.Zang@Sun.COM>
parents:
785
diff
changeset
|
44 |
|
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
45 |
# Man pages to apply Sun footer to & attributes to list |
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
46 |
SUNTOUCHED_MANPAGES=man/*.man |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
371
diff
changeset
|
47 |
MODULE_STABILITY=Volatile |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
48 |
|
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
49 |
# Libraries/modules to link with |
1368
c4f06d1cce2a
15798251 SUNBT7177072 mga:actual mouse pointer is off from the cursor on remote window
David Marx <David.M.Marx@Oracle.Com>
parents:
1366
diff
changeset
|
50 |
MODULE_LD_OPTIONS= -ldevinfo -lm |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
51 |
|
910
0a08683bf637
6928500 Race conditions in parallel make break X nightly builds
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
52 |
# Additional install rules beyond what upstream installs |
0a08683bf637
6928500 Race conditions in parallel make break X nightly builds
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
53 |
MODULE_ADD_INSTALL_TARGETS=install_docs |
0a08683bf637
6928500 Race conditions in parallel make break X nightly builds
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
54 |
|
1333
988018ca2b99
14850206 update to Xorg 1.13.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1265
diff
changeset
|
55 |
# Install xorg-mouse.pc to /usr/share |
988018ca2b99
14850206 update to Xorg 1.13.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1265
diff
changeset
|
56 |
MODULE_PKGCONFIG_DIR=$(PKGCONFIG_DIR_SHARE) |
988018ca2b99
14850206 update to Xorg 1.13.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1265
diff
changeset
|
57 |
MODULE_PKGCONFIG_DIR_SET=yes |
988018ca2b99
14850206 update to Xorg 1.13.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1265
diff
changeset
|
58 |
|
1598
b4a59ebd04d7
22591565 Build directory paths should not appear in pkg-config files
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1508
diff
changeset
|
59 |
# Fix path for installing headers in proto area and in xorg-mouse.pc |
b4a59ebd04d7
22591565 Build directory paths should not appear in pkg-config files
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1508
diff
changeset
|
60 |
FIX_PC_FILES = xorg-mouse.pc.in |
b4a59ebd04d7
22591565 Build directory paths should not appear in pkg-config files
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1508
diff
changeset
|
61 |
MODULE_CONFIG_OPTS += --with-sdkdir='$(XORG_SDK_INCLUDES_DIR)' |
1334
7f2921729ac5
14850206 update to Xorg 1.13.0 (fix packaging)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1333
diff
changeset
|
62 |
MODULE_INSTALL_MAKEFLAGS = sdkdir='$(XORG_SDK_INCLUDES_DIR)' |
7f2921729ac5
14850206 update to Xorg 1.13.0 (fix packaging)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1333
diff
changeset
|
63 |
|
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
64 |
include ../Makefile.inc |
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
65 |
|
998
7fa6bc0aa427
6950572 X mouse driver crashes Xorg during unplug-plug the usb mouse device
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
66 |
install_docs: $(PROTODIR)$(X11_DOC_DIR)/README.mouse |
7fa6bc0aa427
6950572 X mouse driver crashes Xorg during unplug-plug the usb mouse device
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
67 |
|
7fa6bc0aa427
6950572 X mouse driver crashes Xorg during unplug-plug the usb mouse device
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
68 |
$(SOURCE_DIR)/README: $(INSTALL_DEPS) |
7fa6bc0aa427
6950572 X mouse driver crashes Xorg during unplug-plug the usb mouse device
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
69 |
|
7fa6bc0aa427
6950572 X mouse driver crashes Xorg during unplug-plug the usb mouse device
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
70 |
$(PROTODIR)$(X11_DOC_DIR): |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
71 |
mkdir -p $(PROTODIR)$(X11_DOC_DIR) |
998
7fa6bc0aa427
6950572 X mouse driver crashes Xorg during unplug-plug the usb mouse device
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
72 |
|
7fa6bc0aa427
6950572 X mouse driver crashes Xorg during unplug-plug the usb mouse device
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
73 |
$(PROTODIR)$(X11_DOC_DIR)/README.mouse: $(PROTODIR)$(X11_DOC_DIR) $(SOURCE_DIR)/README |
7fa6bc0aa427
6950572 X mouse driver crashes Xorg during unplug-plug the usb mouse device
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
74 |
$(INSTALL_SCRIPT) -m 0444 $(SOURCE_DIR)/README $@ |