diff options
author | Matt Turner <mattst88@gmail.com> | 2013-01-21 10:27:25 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2013-04-15 12:04:25 -0700 |
commit | d5e9426b9605264608e0b1204ebf818103f1f011 (patch) | |
tree | 3031ccdbd85b35529129f5cef87c8779be5f8782 /src/mapi/Makefile.sources | |
parent | 3c690524e2ec0fdd6bef6d50897d6879fdb8b53b (diff) | |
download | external_mesa3d-d5e9426b9605264608e0b1204ebf818103f1f011.zip external_mesa3d-d5e9426b9605264608e0b1204ebf818103f1f011.tar.gz external_mesa3d-d5e9426b9605264608e0b1204ebf818103f1f011.tar.bz2 |
build: Move src/mapi/mapi/* to src/mapi/
Tested-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'src/mapi/Makefile.sources')
-rw-r--r-- | src/mapi/Makefile.sources | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/mapi/Makefile.sources b/src/mapi/Makefile.sources new file mode 100644 index 0000000..aff465a --- /dev/null +++ b/src/mapi/Makefile.sources @@ -0,0 +1,36 @@ +# src/mapi/Makefile.sources +# +# 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. +# +# - In glapi mode, mapi implements the interface defined by glapi.h. To use +# this mode, compile MAPI_GLAPI_FILES with MAPI_MODE_GLAPI defined. +# +# - In bridge mode, mapi provides entry points calling into glapi. To use +# this mode, compile MAPI_BRIDGE_FILES with MAPI_MODE_BRIDGE defined. + +MAPI_UTIL_FILES = \ + $(TOP)/src/mapi/u_current.c \ + $(TOP)/src/mapi/u_execmem.c + +MAPI_FILES = \ + $(TOP)/src/mapi/entry.c \ + $(TOP)/src/mapi/mapi.c \ + $(TOP)/src/mapi/stub.c \ + $(TOP)/src/mapi/table.c \ + $(MAPI_UTIL_FILES) + +MAPI_GLAPI_FILES = \ + $(TOP)/src/mapi/entry.c \ + $(TOP)/src/mapi/mapi_glapi.c \ + $(TOP)/src/mapi/stub.c \ + $(TOP)/src/mapi/table.c \ + $(MAPI_UTIL_FILES) + +MAPI_BRIDGE_FILES = \ + $(TOP)/src/mapi/entry.c |