summaryrefslogtreecommitdiff
path: root/lib/libdrm/Makefile
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-01-26 23:14:38 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-01-26 23:14:38 +0000
commit21374fcf52a6e392dc8ee256b080a129f6953363 (patch)
tree47503fd5f50e1d07d4cc7c4a7e67a6f9ab4f549b /lib/libdrm/Makefile
parent1378ce0e4ab84ce707f389d4c7777f334f7bdb27 (diff)
Update libdrm to 2.4.3
This is needed for us to be able to update Mesa and xf86-video-intel. Includes a few fixes, as well as the intel bufmgr interface and the modesetting interface (which currently errors when you check if it's enabled). ok matthieu@
Diffstat (limited to 'lib/libdrm/Makefile')
-rw-r--r--lib/libdrm/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/lib/libdrm/Makefile b/lib/libdrm/Makefile
index a4ce71c0b..10b0e7b55 100644
--- a/lib/libdrm/Makefile
+++ b/lib/libdrm/Makefile
@@ -1,26 +1,32 @@
-# $OpenBSD: Makefile,v 1.1 2009/01/10 16:29:26 oga Exp $
+# $OpenBSD: Makefile,v 1.2 2009/01/26 23:14:37 oga Exp $
.include <bsd.xconf.mk>
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
+SUBDIR=intel
+.endif
+
LIB= drm
DRM_MAJOR= 2
-DRM_MINOR= 3
-DRM_TINY= 1
+DRM_MINOR= 4
+DRM_TINY= 4
INCSDIR= ${X11BASE}/include/
CPP= cpp -notraditional
DEBUG?=
-CPPFLAGS+= -I. \
+CPPFLAGS+= -I${.CURDIR} \
-I${X11BASE}/include \
-I/usr/include/dev/pci/drm \
-DX_PRIVSEP
-INCS= xf86drm.h
+INCS= xf86drm.h \
+ xf86drmMode.h
SRCS= xf86drm.c \
xf86drmHash.c \
+ xf86drmMode.c \
xf86drmRandom.c \
xf86drmSL.c