1#	$NetBSD: Makefile,v 1.2 2022/10/29 21:06:15 mrg Exp $
2
3.include <bsd.own.mk>
4
5LIB=	Xpresent
6.PATH:	${X11SRCDIR.${LIB}}/src
7.PATH:	${X11SRCDIR.${LIB}}/man
8.PATH:	${X11SRCDIR.${LIB}}/include/X11/extensions
9
10SRCS=	Xpresent.c
11
12CPPFLAGS+=	${X11FLAGS.THREADLIB}
13
14LIBDPLIBS=\
15	Xext	${.CURDIR}/../libXext \
16	Xrandr	${.CURDIR}/../libXrandr \
17	Xfixes	${.CURDIR}/../libXfixes \
18	X11	${.CURDIR}/../libX11/dynamic
19
20INCS=	Xpresent.h
21
22INCSDIR=${X11INCDIR}/X11/extensions
23
24PKGDIST=	${LIB}
25
26MAN=	Xpresent.3 \
27	XPresentFreeInput.3 \
28	XPresentNotifyMSC.3 \
29	XPresentPixmap.3 \
30	XPresentQueryCapabilities.3 \
31	XPresentQueryExtension.3 \
32	XPresentQueryVersion.3 \
33	XPresentSelectInput.3 \
34	XPresentVersion.3
35
36.include <bsd.x11.mk>
37.include <bsd.lib.mk>
38