summaryrefslogtreecommitdiff
path: root/src/mapi/mapi/sources.mak
blob: 86d98cd143f2a52ca3d46597ea19b1424e865e4f (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
# src/mapi/mapi/sources.mak
#
# mapi may be used in several ways
#
#  - In default mode, mapi implements the interface defined by mapi.h.  To use
#    this mode, compile MAPI_SOURCES.
#
#  - In util mode, mapi provides utility functions for use with glapi.  To use
#    this mode, compile MAPI_UTIL_SOURCES with MAPI_MODE_UTIL defined.
#
#  - In glapi mode, mapi implements the interface defined by glapi.h.  To use
#    this mode, compile MAPI_GLAPI_SOURCES with MAPI_MODE_GLAPI defined.

MAPI_UTIL_SOURCES = \
	u_current.c \
	u_execmem.c \
	u_thread.c

MAPI_SOURCES = \
	entry.c \
	mapi.c \
	stub.c \
	table.c \
	$(MAPI_UTIL_SOURCES)

MAPI_GLAPI_SOURCES = \
	entry.c \
	mapi_glapi.c \
	stub.c \
	table.c \
	$(MAPI_UTIL_SOURCES)