summaryrefslogtreecommitdiff
path: root/lib/libGL/mesa/libmesa/Makefile
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2013-09-05 15:12:10 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2013-09-05 15:12:10 +0000
commitc4ea4fbadf0301e13a071f572dfc0ac65266eb8e (patch)
tree4550c578748227b554907c5e375c92614500242e /lib/libGL/mesa/libmesa/Makefile
parent821893da535a9c114e427454fe97ee8db13dafbd (diff)
build infrastructure changes for Mesa 9.2.0
ok matthieu@ mpi@
Diffstat (limited to 'lib/libGL/mesa/libmesa/Makefile')
-rw-r--r--lib/libGL/mesa/libmesa/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libGL/mesa/libmesa/Makefile b/lib/libGL/mesa/libmesa/Makefile
index 0b0ce6367..feb130a67 100644
--- a/lib/libGL/mesa/libmesa/Makefile
+++ b/lib/libGL/mesa/libmesa/Makefile
@@ -1,9 +1,13 @@
-# $OpenBSD: Makefile,v 1.1 2012/08/26 18:46:42 mpi Exp $
+# $OpenBSD: Makefile,v 1.2 2013/09/05 15:12:09 jsg Exp $
LIB= mesa
+CFLAGS+= -std=c99
+
CPPFLAGS+= \
-I/usr/include/dev/pci/drm \
+ -I${.CURDIR}/../generated \
+ -I${.CURDIR}/../generated/main \
-DGLX_INDIRECT_RENDERING \
-DGLX_DIRECT_RENDERING \
-DUSE_EXTERNAL_DXTN_LIB=1 \