summaryrefslogtreecommitdiffstats
path: root/src/mapi/Makefile.sources
blob: 4b83caa8ed2b0c0aba6a1471c6b819e261a24047 (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
# src/mapi/Makefile.sources
#
# mapi may be used in several ways
#
#  - 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 \
	entry_ppc64le_tls.h \
	entry_ppc64le_tsd.h \
	mapi_tmp.h

MAPI_GLAPI_FILES = \
	entry.c \
	mapi_glapi.c \
	stub.c \
	stub.h \
	table.c \
	table.h \
	$(MAPI_UTIL_FILES)