1# src/mapi/Makefile.sources 2# 3# mapi may be used in several ways 4# 5# - In util mode, mapi provides utility functions for use with glapi. To use 6# this mode, compile MAPI_UTIL_FILES with MAPI_MODE_UTIL defined. 7# 8# - In glapi mode, mapi implements the interface defined by glapi.h. To use 9# this mode, compile MAPI_GLAPI_FILES with MAPI_MODE_GLAPI defined. 10# 11# - In bridge mode, mapi provides entry points calling into glapi. To use 12# this mode, compile MAPI_BRIDGE_FILES with MAPI_MODE_BRIDGE defined. 13 14MAPI_UTIL_FILES = \ 15 u_current.c \ 16 u_current.h \ 17 u_execmem.c \ 18 u_execmem.h 19 20MAPI_BRIDGE_FILES = \ 21 entry.c \ 22 entry.h \ 23 entry_x86-64_tls.h \ 24 entry_x86_tls.h \ 25 entry_x86_tsd.h \ 26 entry_ppc64le_tls.h \ 27 entry_ppc64le_tsd.h \ 28 mapi_tmp.h 29 30MAPI_GLAPI_FILES = \ 31 entry.c \ 32 mapi_glapi.c \ 33 stub.c \ 34 stub.h \ 35 table.c \ 36 table.h \ 37 $(MAPI_UTIL_FILES) 38 39