1#         $NetBSD: Makefile,v 1.7 2022/02/22 15:42:09 uwe Exp $
2
3.include <bsd.own.mk>
4
5LIB=      Xxf86vm
6.PATH:    ${X11SRCDIR.${LIB}}/src
7.PATH:    ${X11SRCDIR.${LIB}}/man
8.PATH:    ${X11SRCDIR.${LIB}}/include/X11/extensions
9
10SRCS=     XF86VMode.c
11
12CPPFLAGS+=          -DHAVE__XEATDATAWORDS
13
14MAN=      XF86VM.3
15MLINKS=   XF86VM.3 XF86VidModeQueryExtension.3 \
16          XF86VM.3 XF86VidModeQueryVersion.3 \
17          XF86VM.3 XF86VidModeSetClientVersion.3 \
18          XF86VM.3 XF86VidModeGetModeLine.3 \
19          XF86VM.3 XF86VidModeGetAllModeLines.3 \
20          XF86VM.3 XF86VidModeAddModeLine.3 \
21          XF86VM.3 XF86VidModeDeleteModeLine.3 \
22          XF86VM.3 XF86VidModeModModeLine.3 \
23          XF86VM.3 XF86VidModeValidateModeLine.3 \
24          XF86VM.3 XF86VidModeSwitchMode.3 \
25          XF86VM.3 XF86VidModeSwitchToMode.3 \
26          XF86VM.3 XF86VidModeLockModeSwitch.3 \
27          XF86VM.3 XF86VidModeGetMonitor.3 \
28          XF86VM.3 XF86VidModeGetViewPort.3 \
29          XF86VM.3 XF86VidModeSetViewPort.3 \
30          XF86VM.3 XF86VidModeGetDotClocks.3 \
31          XF86VM.3 XF86VidModeGetGamma.3 \
32          XF86VM.3 XF86VidModeSetGamma.3 \
33          XF86VM.3 XF86VidModeGetGammaRamp.3 \
34          XF86VM.3 XF86VidModeSetGammaRamp.3 \
35          XF86VM.3 XF86VidModeGetGammaRampSize.3 \
36          XF86VM.3 XF86VidModeGetPermissions.3
37
38LIBDPLIBS=          Xext      ${.CURDIR}/../libXext \
39                    X11       ${.CURDIR}/../libX11/dynamic
40
41INCS=     xf86vmode.h
42
43INCSDIR=${X11INCDIR}/X11/extensions
44
45PKGDIST=  ${LIB}
46
47.include <bsd.x11.mk>
48.include <bsd.lib.mk>
49