summaryrefslogtreecommitdiff
path: root/lib/mesa/src/mapi/Makefile.sources
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-11-22 02:46:45 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-11-22 02:46:45 +0000
commit0784c49c0f8fcc8b3abd4c9286d9fd8bc089dd7d (patch)
treea6394e3e264a0f80b57f4ce0f5d9526aa543d4b0 /lib/mesa/src/mapi/Makefile.sources
parentd91d0007eecf589ea5699e34aa4d748fce2c57b2 (diff)
import Mesa 11.0.6
Diffstat (limited to 'lib/mesa/src/mapi/Makefile.sources')
-rw-r--r--lib/mesa/src/mapi/Makefile.sources49
1 files changed, 49 insertions, 0 deletions
diff --git a/lib/mesa/src/mapi/Makefile.sources b/lib/mesa/src/mapi/Makefile.sources
new file mode 100644
index 000000000..07063f390
--- /dev/null
+++ b/lib/mesa/src/mapi/Makefile.sources
@@ -0,0 +1,49 @@
+# src/mapi/Makefile.sources
+#
+# mapi may be used in several ways
+#
+# - In default mode, mapi implements the interface defined by mapi.h. To use
+# this mode, compile MAPI_FILES.
+#
+# - In util mode, mapi provides utility functions for use with glapi. To use
+# this mode, compile MAPI_UTIL_FILES with MAPI_MODE_UTIL defined.
+#
+# - In glapi mode, mapi implements the interface defined by glapi.h. To use
+# this mode, compile MAPI_GLAPI_FILES with MAPI_MODE_GLAPI defined.
+#
+# - In bridge mode, mapi provides entry points calling into glapi. To use
+# this mode, compile MAPI_BRIDGE_FILES with MAPI_MODE_BRIDGE defined.
+
+MAPI_UTIL_FILES = \
+ u_current.c \
+ u_current.h \
+ u_execmem.c \
+ u_execmem.h
+
+MAPI_BRIDGE_FILES = \
+ entry.c \
+ entry.h \
+ entry_x86-64_tls.h \
+ entry_x86_tls.h \
+ entry_x86_tsd.h \
+ mapi_tmp.h
+
+MAPI_FILES = \
+ entry.c \
+ mapi.c \
+ mapi.h \
+ stub.c \
+ stub.h \
+ table.c \
+ table.h \
+ $(MAPI_UTIL_FILES)
+
+MAPI_GLAPI_FILES = \
+ entry.c \
+ mapi_glapi.c \
+ stub.c \
+ stub.h \
+ table.c \
+ table.h \
+ $(MAPI_UTIL_FILES)
+