summaryrefslogtreecommitdiff
path: root/lib/libdrm/intel/Makefile
blob: 41421939551779cec5368be86b97909d9550adf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $OpenBSD: Makefile,v 1.3 2010/05/08 14:15:29 matthieu Exp $
.include <bsd.xconf.mk>

LIB=		drm_intel

INCSDIR=	${X11BASE}/include/

CPPFLAGS+=	-I${.CURDIR}			\
		-I${.CURDIR}/..			\
		-I${X11BASE}/include		\
		-I/usr/include/dev/pci/drm 

INCS= 		intel_bufmgr.h

SRCS=		intel_bufmgr.c		\
		intel_bufmgr_fake.c	\
		intel_bufmgr_gem.c	\
		mm.c

PKGCONFIG=	libdrm_intel.pc

LDADD+=		-L${X11BASE}/lib -lX11 -lpciaccess

.include <bsd.lib.mk>
.include <bsd.xorg.mk>