37d6ef3aaae2a2406054615cd6e958273795c55e
[mesa.git] / src / mapi / Makefile.sources
1 # src/mapi/Makefile.sources
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_FILES.
7 #
8 # - In util mode, mapi provides utility functions for use with glapi. To use
9 # this mode, compile MAPI_UTIL_FILES 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_FILES 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_FILES with MAPI_MODE_BRIDGE defined.
16
17 MAPI_UTIL_FILES = \
18 u_current.c \
19 u_current.h \
20 u_execmem.c \
21 u_execmem.h
22
23 MAPI_BRIDGE_FILES = \
24 entry.c \
25 entry.h \
26 entry_x86-64_tls.h \
27 entry_x86_tls.h \
28 entry_x86_tsd.h \
29 mapi_tmp.h
30
31 MAPI_FILES = \
32 entry.c \
33 stub.c \
34 stub.h \
35 table.c \
36 table.h \
37 $(MAPI_UTIL_FILES)
38
39 MAPI_GLAPI_FILES = \
40 entry.c \
41 mapi_glapi.c \
42 stub.c \
43 stub.h \
44 table.c \
45 table.h \
46 $(MAPI_UTIL_FILES)
47