Switch over to using the kernel *_drm.h headers instead of the copies

thereof provided with libdrm. This has been annoying me forever, and it
a blight caused by developing widely used drivers out of the kernel
tree.

ok matthieu@
This commit is contained in:
oga 2009-01-10 16:06:51 +00:00
parent fb552d1643
commit f89935ff4d
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.22 2009/01/10 16:04:43 oga Exp $
# $OpenBSD: Makefile,v 1.23 2009/01/10 16:06:51 oga Exp $
.include <bsd.xconf.mk>
.if ${XENOCARA_BUILD_DRI:L} == "yes"
@ -46,7 +46,7 @@ CPPFLAGS+= \
-I${MESA}/shader/slang \
-I${GLX} \
-I${X11BASE}/include \
-I${X11BASE}/include/drm \
-I/usr/include/dev/pci/drm \
-DGLX_INDIRECT_RENDERING \
-DPTHREADS \
-DHAVE_ALIAS \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.7 2008/11/02 15:01:32 matthieu Exp $
# $OpenBSD: Makefile.inc,v 1.8 2009/01/10 16:06:51 oga Exp $
.include <bsd.xconf.mk>
MESA= ${.CURDIR}/../../../../dist/Mesa/src/mesa
@ -35,7 +35,7 @@ INCLUDES = \
-I$(TOP)/src/egl/main \
-I$(TOP)/src/egl/drivers/dri \
-I$(X11BASE)/include \
-I$(X11BASE)/include/drm
-I/usr/include/dev/pci/drm
.if ${MACHINE_ARCH} == "i386"
CPPFLAGS += \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2008/11/05 07:18:26 todd Exp $
# $OpenBSD: Makefile,v 1.7 2009/01/10 16:06:51 oga Exp $
MESA= ${.CURDIR}/../../../dist/Mesa/src/mesa
MESA_INCLUDE= ${.CURDIR}/../../../dist/Mesa/include
@ -18,7 +18,7 @@ CPPFLAGS+= \
-I${MESA}/shader/grammar \
-I${MESA}/shader/slang \
-I${X11BASE}/include \
-I${X11BASE}/include/drm \
-I/usr/include/dev/pci/drm \
-DGLX_INDIRECT_RENDERING \
-DGLX_DIRECT_RENDERING \
-DUSE_EXTERNAL_DXTN_LIB=1 \