#
# 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.
#
# 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
+ u_current.c \
+ u_current.h \
+ u_execmem.c \
+ u_execmem.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)
+ 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 = \
- $(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 \
+ entry.c \
+ mapi_glapi.c \
+ stub.c \
+ stub.h \
+ table.c \
+ table.h \
$(MAPI_UTIL_FILES)