Tizen 2.0 Release
[profile/ivi/osmesa.git] / src / mapi / mapi / sources.mak
1 # src/mapi/mapi/sources.mak
2 #
3 # mapi may be used in several ways
4 #
5 #  - In default mode, mapi implements the interface defined by mapi.h.  To use
6 #    this mode, compile MAPI_SOURCES.
7 #
8 #  - In util mode, mapi provides utility functions for use with glapi.  To use
9 #    this mode, compile MAPI_UTIL_SOURCES with MAPI_MODE_UTIL defined.
10 #
11 #  - In glapi mode, mapi implements the interface defined by glapi.h.  To use
12 #    this mode, compile MAPI_GLAPI_SOURCES with MAPI_MODE_GLAPI defined.
13 #
14 #  - In bridge mode, mapi provides entry points calling into glapi.  To use
15 #    this mode, compile MAPI_BRIDGE_SOURCES with MAPI_MODE_BRIDGE defined.
16
17 MAPI_UTIL_SOURCES = \
18         u_current.c \
19         u_execmem.c \
20         u_thread.c
21
22 MAPI_SOURCES = \
23         entry.c \
24         mapi.c \
25         stub.c \
26         table.c \
27         $(MAPI_UTIL_SOURCES)
28
29 MAPI_GLAPI_SOURCES = \
30         entry.c \
31         mapi_glapi.c \
32         stub.c \
33         table.c \
34         $(MAPI_UTIL_SOURCES)
35
36 MAPI_BRIDGE_SOURCES = \
37         entry.c