diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-12-11 03:27:54 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2010-12-18 15:05:58 +0800 |
commit | 7048095513f8e91db26736eee0343b1a00d18f6f (patch) | |
tree | e4be2fcf5a7214d3fd1e47afb078b198bc18d0e3 /src/mapi/mapi/sources.mak | |
parent | c17d4999f108d86c468cf4b11b08f915c282ce12 (diff) |
mapi: Clean up sources.mk.
Rename MAPI_GLAPI_SOURCES to MAPI_UTIL_SOURCES. Rename macro
MAPI_GLAPI_CURRENT to MAPI_MODE_UTIL. Update the comments to make it
clear that mapi may be used in two ways and how.
Diffstat (limited to 'src/mapi/mapi/sources.mak')
-rw-r--r-- | src/mapi/mapi/sources.mak | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/mapi/mapi/sources.mak b/src/mapi/mapi/sources.mak index 5f327f3df6..ed36e1af48 100644 --- a/src/mapi/mapi/sources.mak +++ b/src/mapi/mapi/sources.mak @@ -1,12 +1,14 @@ # src/mapi/mapi/sources.mak # -# When MAPI_GLAPI_CURRENT is defined, MAPI_GLAPI_SOURCES can be built without -# MAPI_SOURCES and it is used by glapi. +# mapi may be used in several ways # -# Otherwise, MAPI_ABI_HEADER must be defined. It should expand to the header -# generated by mapi_abi.py. +# - 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. -MAPI_GLAPI_SOURCES = \ +MAPI_UTIL_SOURCES = \ u_current.c \ u_execmem.c \ u_thread.c @@ -16,4 +18,4 @@ MAPI_SOURCES = \ mapi.c \ stub.c \ table.c \ - $(MAPI_GLAPI_SOURCES) + $(MAPI_UTIL_SOURCES) |