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 mapi.c \ 34 mapi.h \ 35 stub.c \ 36 stub.h \ 37 table.c \ 38 table.h \ 39 $(MAPI_UTIL_FILES) 40 41 MAPI_GLAPI_FILES = \ 42 entry.c \ 43 mapi_glapi.c \ 44 stub.c \ 45 stub.h \ 46 table.c \ 47 table.h \ 48 $(MAPI_UTIL_FILES) 49 50