aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mapi/Makefile.sources
blob: 4ce1afb23def75764ead19aea4223db133ec4e6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# 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 = \
	$(TOP)/src/mapi/u_compiler.h \
	$(TOP)/src/mapi/u_current.c \
	$(TOP)/src/mapi/u_current.h \
	$(TOP)/src/mapi/u_execmem.c \
	$(TOP)/src/mapi/u_execmem.h \
	$(TOP)/src/mapi/u_macros.h \
	$(TOP)/src/mapi/u_thread.h

MAPI_BRIDGE_FILES = \
	$(TOP)/src/mapi/entry.c \
	$(TOP)/src/mapi/entry.h \
	$(TOP)/src/mapi/entry_x86-64_tls.h \
	$(TOP)/src/mapi/entry_x86_tls.h \
	$(TOP)/src/mapi/entry_x86_tsd.h \
	$(TOP)/src/mapi/mapi_tmp.h

MAPI_FILES = \
	$(TOP)/src/mapi/entry.c \
	$(TOP)/src/mapi/mapi.c \
	$(TOP)/src/mapi/mapi.h \
	$(TOP)/src/mapi/stub.c \
	$(TOP)/src/mapi/stub.h \
	$(TOP)/src/mapi/table.c \
	$(TOP)/src/mapi/table.h \
	$(MAPI_UTIL_FILES)

MAPI_GLAPI_FILES = \
	$(TOP)/src/mapi/entry.c \
	$(TOP)/src/mapi/mapi_glapi.c \
	$(TOP)/src/mapi/stub.c \
	$(TOP)/src/mapi/stub.h \
	$(TOP)/src/mapi/table.c \
	$(TOP)/src/mapi/table.h \
	$(MAPI_UTIL_FILES)