summaryrefslogtreecommitdiff
path: root/lib/mesa/src/mapi/Makefile.am
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2016-05-29 10:40:29 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2016-05-29 10:40:29 +0000
commit2385cfa1495b103056bc96cf2711443e39c44d30 (patch)
tree6b74fcc268633004ad21e3b5a982cdba112c5014 /lib/mesa/src/mapi/Makefile.am
parente052553623cc1aae604a988ab684b4935a83b03d (diff)
Merge Mesa 11.2.2
Diffstat (limited to 'lib/mesa/src/mapi/Makefile.am')
-rw-r--r--lib/mesa/src/mapi/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/mesa/src/mapi/Makefile.am b/lib/mesa/src/mapi/Makefile.am
index e2278083c..e5e1a64f1 100644
--- a/lib/mesa/src/mapi/Makefile.am
+++ b/lib/mesa/src/mapi/Makefile.am
@@ -35,6 +35,7 @@ EXTRA_DIST = \
es2api/ABI-check \
mapi_abi.py \
glapi/SConscript \
+ glapi/registry/gl.xml \
shared-glapi/SConscript
AM_CFLAGS = \
@@ -108,12 +109,16 @@ if HAVE_SPARC_ASM
GLAPI_ASM_SOURCES = glapi/glapi_sparc.S
endif
-glapi_libglapi_la_SOURCES = glapi/glapi_gentable.c
+glapi_libglapi_la_SOURCES =
glapi_libglapi_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
-I$(top_srcdir)/src/mapi/glapi \
-I$(top_srcdir)/src/mesa
+if HAVE_APPLEDRI
+glapi_libglapi_la_SOURCES += glapi/glapi_gentable.c
+endif
+
if HAVE_SHARED_GLAPI
glapi_libglapi_la_SOURCES += $(MAPI_BRIDGE_FILES) glapi/glapi_mapi_tmp.h
glapi_libglapi_la_CPPFLAGS += \