summaryrefslogtreecommitdiff
path: root/src/mapi/mapi/sources.mak
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-04-23 16:07:47 +0800
committerChia-I Wu <olv@lunarg.com>2010-05-07 10:41:12 +0800
commitd4589d381697b4b3dd291a3c93a34370508ef1e8 (patch)
treefd683feae1d9aaf0b21dfd95c518d3a296d11ddd /src/mapi/mapi/sources.mak
parenta73c6540d9a7f6e26d8568ba2fc522cb865f0a6c (diff)
mapi: Add a generic C dispatcher.
The idea is to have an API generate a header using mapi_abi.py. The API can then use the header to build a dispatcher.
Diffstat (limited to 'src/mapi/mapi/sources.mak')
-rw-r--r--src/mapi/mapi/sources.mak13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mapi/mapi/sources.mak b/src/mapi/mapi/sources.mak
index 9e27f45e2a..5f327f3df6 100644
--- a/src/mapi/mapi/sources.mak
+++ b/src/mapi/mapi/sources.mak
@@ -1,6 +1,19 @@
# src/mapi/mapi/sources.mak
+#
+# When MAPI_GLAPI_CURRENT is defined, MAPI_GLAPI_SOURCES can be built without
+# MAPI_SOURCES and it is used by glapi.
+#
+# Otherwise, MAPI_ABI_HEADER must be defined. It should expand to the header
+# generated by mapi_abi.py.
MAPI_GLAPI_SOURCES = \
u_current.c \
u_execmem.c \
u_thread.c
+
+MAPI_SOURCES = \
+ entry.c \
+ mapi.c \
+ stub.c \
+ table.c \
+ $(MAPI_GLAPI_SOURCES)