| @@ -1,169 +1,172 @@ | | | @@ -1,169 +1,172 @@ |
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 \ |
15 | XISetDevFocus.c \ | | 15 | XISetDevFocus.c \ |
16 | XIGetDevFocus.c \ | | 16 | XIGetDevFocus.c \ |
17 | XIPassiveGrab.c \ | | 17 | XIPassiveGrab.c \ |
18 | XIProperties.c \ | | 18 | XIProperties.c \ |
19 | XISelEv.c \ | | 19 | XISelEv.c \ |
20 | XISetCPtr.c \ | | 20 | XISetCPtr.c \ |
21 | XIWarpPointer.c \ | | 21 | XIWarpPointer.c \ |
22 | XIHierarchy.c \ | | 22 | XIHierarchy.c \ |
23 | XIDefineCursor.c \ | | 23 | XIDefineCursor.c \ |
24 | XIQueryPointer.c | | 24 | XIQueryPointer.c |
25 | SRCS+= XAllowDv.c \ | | 25 | SRCS+= XAllowDv.c \ |
26 | XChDProp.c \ | | 26 | XChDProp.c \ |
27 | XChgDCtl.c \ | | 27 | XChgDCtl.c \ |
28 | XChgFCtl.c \ | | 28 | XChgFCtl.c \ |
29 | XChgKbd.c \ | | 29 | XChgKbd.c \ |
30 | XChgKMap.c \ | | 30 | XChgKMap.c \ |
31 | XChgPnt.c \ | | 31 | XChgPnt.c \ |
32 | XChgProp.c \ | | 32 | XChgProp.c \ |
33 | XCloseDev.c \ | | 33 | XCloseDev.c \ |
34 | XDelDProp.c \ | | 34 | XDelDProp.c \ |
35 | XDevBell.c \ | | 35 | XDevBell.c \ |
36 | XExtToWire.c \ | | 36 | XExtToWire.c \ |
37 | XGetBMap.c \ | | 37 | XGetBMap.c \ |
38 | XGetCPtr.c \ | | 38 | XGetCPtr.c \ |
39 | XGetDCtl.c \ | | 39 | XGetDCtl.c \ |
40 | XGetDProp.c \ | | 40 | XGetDProp.c \ |
41 | XGetFCtl.c \ | | 41 | XGetFCtl.c \ |
42 | XGetKMap.c \ | | 42 | XGetKMap.c \ |
43 | XGetMMap.c \ | | 43 | XGetMMap.c \ |
44 | XGetProp.c \ | | 44 | XGetProp.c \ |
45 | XGetVers.c \ | | 45 | XGetVers.c \ |
46 | XGMotion.c \ | | 46 | XGMotion.c \ |
47 | XGrabDev.c \ | | 47 | XGrabDev.c \ |
48 | XGrDvBut.c \ | | 48 | XGrDvBut.c \ |
49 | XGrDvKey.c \ | | 49 | XGrDvKey.c \ |
50 | XGtFocus.c \ | | 50 | XGtFocus.c \ |
51 | XGtSelect.c \ | | 51 | XGtSelect.c \ |
52 | XListDev.c \ | | 52 | XListDev.c \ |
53 | XListDProp.c \ | | 53 | XListDProp.c \ |
54 | XOpenDev.c \ | | 54 | XOpenDev.c \ |
55 | XQueryDv.c \ | | 55 | XQueryDv.c \ |
56 | XSelect.c \ | | 56 | XSelect.c \ |
57 | XSetBMap.c \ | | 57 | XSetBMap.c \ |
58 | XSetDVal.c \ | | 58 | XSetDVal.c \ |
59 | XSetMMap.c \ | | 59 | XSetMMap.c \ |
60 | XSetMode.c \ | | 60 | XSetMode.c \ |
61 | XSndExEv.c \ | | 61 | XSndExEv.c \ |
62 | XStFocus.c \ | | 62 | XStFocus.c \ |
63 | XUngrDev.c \ | | 63 | XUngrDev.c \ |
64 | XUngrDvB.c \ | | 64 | XUngrDvB.c \ |
65 | XUngrDvK.c \ | | 65 | XUngrDvK.c \ |
66 | XExtInt.c | | 66 | XExtInt.c |
67 | | | 67 | |
68 | CPPFLAGS+= ${X11FLAGS.THREADLIB} | | 68 | CPPFLAGS+= ${X11FLAGS.THREADLIB} |
69 | CPPFLAGS+= -DHAVE__XEATDATAWORDS | | 69 | CPPFLAGS+= -DHAVE__XEATDATAWORDS |
70 | | | 70 | |
71 | LIBDPLIBS=\ | | 71 | LIBDPLIBS=\ |
72 | Xext ${.CURDIR}/../libXext \ | | 72 | Xext ${.CURDIR}/../libXext \ |
73 | X11 ${.CURDIR}/../libX11/dynamic | | 73 | X11 ${.CURDIR}/../libX11/dynamic |
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 |
100 | MAN += XGrabDeviceButton.3 | | 103 | MAN += XGrabDeviceButton.3 |
101 | MAN += XGrabDeviceKey.3 | | 104 | MAN += XGrabDeviceKey.3 |
102 | MAN += XGrabDevice.3 | | 105 | MAN += XGrabDevice.3 |
103 | MAN += XListDeviceProperties.3 | | 106 | MAN += XListDeviceProperties.3 |
104 | MAN += XListInputDevices.3 | | 107 | MAN += XListInputDevices.3 |
105 | MAN += XOpenDevice.3 | | 108 | MAN += XOpenDevice.3 |
106 | MAN += XQueryDeviceState.3 | | 109 | MAN += XQueryDeviceState.3 |
107 | MAN += XSelectExtensionEvent.3 | | 110 | MAN += XSelectExtensionEvent.3 |
108 | MAN += XSendExtensionEvent.3 | | 111 | MAN += XSendExtensionEvent.3 |
109 | MAN += XSetDeviceButtonMapping.3 | | 112 | MAN += XSetDeviceButtonMapping.3 |
110 | MAN += XSetDeviceFocus.3 | | 113 | MAN += XSetDeviceFocus.3 |
111 | MAN += XSetDeviceMode.3 | | 114 | MAN += XSetDeviceMode.3 |
112 | MAN += XSetDeviceValuators.3 | | 115 | MAN += XSetDeviceValuators.3 |
113 | | | 116 | |
114 | MLINKS += XChangeDeviceDontPropagateList.3 XGetDeviceDontPropagateList.3 | | 117 | MLINKS += XChangeDeviceDontPropagateList.3 XGetDeviceDontPropagateList.3 |
115 | MLINKS += XGetDeviceControl.3 XChangeDeviceControl.3 | | 118 | MLINKS += XGetDeviceControl.3 XChangeDeviceControl.3 |
116 | MLINKS += XGetDeviceKeyMapping.3 XChangeDeviceKeyMapping.3 | | 119 | MLINKS += XGetDeviceKeyMapping.3 XChangeDeviceKeyMapping.3 |
117 | MLINKS += XGetDeviceModifierMapping.3 XSetDeviceModifierMapping.3 | | 120 | MLINKS += XGetDeviceModifierMapping.3 XSetDeviceModifierMapping.3 |
118 | MLINKS += XGetDeviceMotionEvents.3 XDeviceTimeCoord.3 | | 121 | MLINKS += XGetDeviceMotionEvents.3 XDeviceTimeCoord.3 |
119 | MLINKS += XGetDeviceProperty.3 XChangeDeviceProperty.3 | | 122 | MLINKS += XGetDeviceProperty.3 XChangeDeviceProperty.3 |
120 | MLINKS += XGetDeviceProperty.3 XDeleteDeviceProperty.3 | | 123 | MLINKS += XGetDeviceProperty.3 XDeleteDeviceProperty.3 |
121 | MLINKS += XGetFeedbackControl.3 XChangeFeedbackControl.3 | | 124 | MLINKS += XGetFeedbackControl.3 XChangeFeedbackControl.3 |
122 | MLINKS += XGrabDevice.3 XUngrabDevice.3 | | 125 | MLINKS += XGrabDevice.3 XUngrabDevice.3 |
123 | MLINKS += XGrabDeviceButton.3 XUngrabDeviceButton.3 | | 126 | MLINKS += XGrabDeviceButton.3 XUngrabDeviceButton.3 |
124 | MLINKS += XGrabDeviceKey.3 XUngrabDeviceKey.3 | | 127 | MLINKS += XGrabDeviceKey.3 XUngrabDeviceKey.3 |
125 | MLINKS += XListInputDevices.3 XFreeDeviceList.3 | | 128 | MLINKS += XListInputDevices.3 XFreeDeviceList.3 |
126 | MLINKS += XOpenDevice.3 XCloseDevice.3 | | 129 | MLINKS += XOpenDevice.3 XCloseDevice.3 |
127 | MLINKS += XSelectExtensionEvent.3 XGetSelectedExtensionEvents.3 | | 130 | MLINKS += XSelectExtensionEvent.3 XGetSelectedExtensionEvents.3 |
128 | MLINKS += XSetDeviceButtonMapping.3 XGetDeviceButtonMapping.3 | | 131 | MLINKS += XSetDeviceButtonMapping.3 XGetDeviceButtonMapping.3 |
129 | MLINKS += XSetDeviceFocus.3 XGetDeviceFocus.3 | | 132 | MLINKS += XSetDeviceFocus.3 XGetDeviceFocus.3 |
130 | | | 133 | |
131 | | | 134 | |
132 | # X Input v2 man pages | | 135 | # X Input v2 man pages |
133 | MAN += XIAllowEvents.3 | | 136 | MAN += XIAllowEvents.3 |
134 | MAN += XIBarrierReleasePointer.3 | | 137 | MAN += XIBarrierReleasePointer.3 |
135 | MAN += XIChangeHierarchy.3 | | 138 | MAN += XIChangeHierarchy.3 |
136 | MAN += XIChangeProperty.3 | | 139 | MAN += XIChangeProperty.3 |
137 | MAN += XIDefineCursor.3 | | 140 | MAN += XIDefineCursor.3 |
138 | MAN += XIGrabButton.3 | | 141 | MAN += XIGrabButton.3 |
139 | MAN += XIGrabDevice.3 | | 142 | MAN += XIGrabDevice.3 |
140 | MAN += XIGrabEnter.3 | | 143 | MAN += XIGrabEnter.3 |
141 | MAN += XIListProperties.3 | | 144 | MAN += XIListProperties.3 |
142 | MAN += XIQueryDevice.3 | | 145 | MAN += XIQueryDevice.3 |
143 | MAN += XIQueryPointer.3 | | 146 | MAN += XIQueryPointer.3 |
144 | MAN += XIQueryVersion.3 | | 147 | MAN += XIQueryVersion.3 |
145 | MAN += XISelectEvents.3 | | 148 | MAN += XISelectEvents.3 |
146 | MAN += XISetClientPointer.3 | | 149 | MAN += XISetClientPointer.3 |
147 | MAN += XISetFocus.3 | | 150 | MAN += XISetFocus.3 |
148 | MAN += XIWarpPointer.3 | | 151 | MAN += XIWarpPointer.3 |
149 | | | 152 | |
150 | MLINKS += XIBarrierReleasePointer.3 XIBarrierReleasePointers.3 | | 153 | MLINKS += XIBarrierReleasePointer.3 XIBarrierReleasePointers.3 |
151 | MLINKS += XIChangeProperty.3 XIDeleteProperty.3 | | 154 | MLINKS += XIChangeProperty.3 XIDeleteProperty.3 |
152 | MLINKS += XIChangeProperty.3 XIGetProperty.3 | | 155 | MLINKS += XIChangeProperty.3 XIGetProperty.3 |
153 | MLINKS += XIDefineCursor.3 XIUndefineCursor.3 | | 156 | MLINKS += XIDefineCursor.3 XIUndefineCursor.3 |
154 | MLINKS += XIGrabButton.3 XIGrabKeycode.3 | | 157 | MLINKS += XIGrabButton.3 XIGrabKeycode.3 |
155 | MLINKS += XIGrabButton.3 XIGrabTouchBegin.3 | | 158 | MLINKS += XIGrabButton.3 XIGrabTouchBegin.3 |
156 | MLINKS += XIGrabButton.3 XIUngrabButton.3 | | 159 | MLINKS += XIGrabButton.3 XIUngrabButton.3 |
157 | MLINKS += XIGrabButton.3 XIUngrabKeycode.3 | | 160 | MLINKS += XIGrabButton.3 XIUngrabKeycode.3 |
158 | MLINKS += XIGrabButton.3 XIUngrabTouchBegin.3 | | 161 | MLINKS += XIGrabButton.3 XIUngrabTouchBegin.3 |
159 | MLINKS += XIGrabDevice.3 XIUngrabDevice.3 | | 162 | MLINKS += XIGrabDevice.3 XIUngrabDevice.3 |
160 | MLINKS += XIGrabEnter.3 XIGrabFocusIn.3 | | 163 | MLINKS += XIGrabEnter.3 XIGrabFocusIn.3 |
161 | MLINKS += XIGrabEnter.3 XIUngrabEnter.3 | | 164 | MLINKS += XIGrabEnter.3 XIUngrabEnter.3 |
162 | MLINKS += XIGrabEnter.3 XIUngrabFocusIn.3 | | 165 | MLINKS += XIGrabEnter.3 XIUngrabFocusIn.3 |
163 | MLINKS += XIQueryDevice.3 XIFreeDeviceInfo.3 | | 166 | MLINKS += XIQueryDevice.3 XIFreeDeviceInfo.3 |
164 | MLINKS += XISelectEvents.3 XIGetSelectedEvents.3 | | 167 | MLINKS += XISelectEvents.3 XIGetSelectedEvents.3 |
165 | MLINKS += XISetClientPointer.3 XIGetClientPointer.3 | | 168 | MLINKS += XISetClientPointer.3 XIGetClientPointer.3 |
166 | MLINKS += XISetFocus.3 XIGetFocus.3 | | 169 | MLINKS += XISetFocus.3 XIGetFocus.3 |
167 | | | 170 | |
168 | .include <bsd.x11.mk> | | 171 | .include <bsd.x11.mk> |
169 | .include <bsd.lib.mk> | | 172 | .include <bsd.lib.mk> |