| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.14 2022/02/22 22:49:39 uwe Exp $ | | 1 | # $NetBSD: Makefile,v 1.15 2022/02/23 00:06:49 uwe Exp $ |
2 | | | 2 | |
3 | .include <bsd.own.mk> | | 3 | .include <bsd.own.mk> |
4 | | | 4 | |
5 | LIB= Xi | | 5 | LIB= Xi |
6 | .PATH: ${X11SRCDIR.${LIB}}/src | | 6 | .PATH: ${X11SRCDIR.${LIB}}/src |
7 | .PATH: ${X11SRCDIR.${LIB}}/include/X11/extensions | | 7 | .PATH: ${X11SRCDIR.${LIB}}/include/X11/extensions |
8 | .PATH: ${X11SRCDIR.${LIB}}/man | | 8 | .PATH: ${X11SRCDIR.${LIB}}/man |
9 | | | 9 | |
10 | SRCS= XIAllowEvents.c \ | | 10 | SRCS= XIAllowEvents.c \ |
11 | XIBarrier.c \ | | 11 | XIBarrier.c \ |
12 | XIGrabDevice.c \ | | 12 | XIGrabDevice.c \ |
13 | XIQueryVersion.c \ | | 13 | XIQueryVersion.c \ |
14 | XIQueryDevice.c \ | | 14 | XIQueryDevice.c \ |
| @@ -74,26 +74,29 @@ LIBDPLIBS=\ | | | @@ -74,26 +74,29 @@ LIBDPLIBS=\ |
74 | | | 74 | |
75 | INCS= XInput.h \ | | 75 | INCS= XInput.h \ |
76 | XInput2.h | | 76 | XInput2.h |
77 | | | 77 | |
78 | INCSDIR=${X11INCDIR}/X11/extensions | | 78 | INCSDIR=${X11INCDIR}/X11/extensions |
79 | | | 79 | |
80 | PKGDIST= ${LIB} | | 80 | PKGDIST= ${LIB} |
81 | | | 81 | |
82 | COPTS.XExtInt.c+= -Wno-error # XXX | | 82 | COPTS.XExtInt.c+= -Wno-error # XXX |
83 | COPTS.XSndExEv.c+= -Wno-error # XXX | | 83 | COPTS.XSndExEv.c+= -Wno-error # XXX |
84 | | | 84 | |
85 | CWARNFLAGS.clang+= -Wno-pointer-sign | | 85 | CWARNFLAGS.clang+= -Wno-pointer-sign |
86 | | | 86 | |
| | | 87 | # libXi does not use __libmansuffix__ or @libmansuffix@ in its man pages |
| | | 88 | X11EXTRAMANDEFS = -e 's,libmansuffix,3,g' |
| | | 89 | |
87 | # X Input v1 man pages | | 90 | # X Input v1 man pages |
88 | MAN += XAllowDeviceEvents.3 | | 91 | MAN += XAllowDeviceEvents.3 |
89 | MAN += XChangeDeviceDontPropagateList.3 | | 92 | MAN += XChangeDeviceDontPropagateList.3 |
90 | MAN += XChangeKeyboardDevice.3 | | 93 | MAN += XChangeKeyboardDevice.3 |
91 | MAN += XChangePointerDevice.3 | | 94 | MAN += XChangePointerDevice.3 |
92 | MAN += XDeviceBell.3 | | 95 | MAN += XDeviceBell.3 |
93 | MAN += XGetDeviceControl.3 | | 96 | MAN += XGetDeviceControl.3 |
94 | MAN += XGetDeviceKeyMapping.3 | | 97 | MAN += XGetDeviceKeyMapping.3 |
95 | MAN += XGetDeviceModifierMapping.3 | | 98 | MAN += XGetDeviceModifierMapping.3 |
96 | MAN += XGetDeviceMotionEvents.3 | | 99 | MAN += XGetDeviceMotionEvents.3 |
97 | MAN += XGetDeviceProperty.3 | | 100 | MAN += XGetDeviceProperty.3 |
98 | MAN += XGetExtensionVersion.3 | | 101 | MAN += XGetExtensionVersion.3 |
99 | MAN += XGetFeedbackControl.3 | | 102 | MAN += XGetFeedbackControl.3 |