Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  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.         $(TOP)/src/mapi/u_current.c \
  19.         $(TOP)/src/mapi/u_execmem.c
  20.  
  21. MAPI_FILES = \
  22.         $(TOP)/src/mapi/entry.c \
  23.         $(TOP)/src/mapi/mapi.c \
  24.         $(TOP)/src/mapi/stub.c \
  25.         $(TOP)/src/mapi/table.c \
  26.         $(MAPI_UTIL_FILES)
  27.  
  28. MAPI_GLAPI_FILES = \
  29.         $(TOP)/src/mapi/entry.c \
  30.         $(TOP)/src/mapi/mapi_glapi.c \
  31.         $(TOP)/src/mapi/stub.c \
  32.         $(TOP)/src/mapi/table.c \
  33.         $(MAPI_UTIL_FILES)
  34.  
  35. MAPI_BRIDGE_FILES = \
  36.         $(TOP)/src/mapi/entry.c
  37.