diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/common/SConscript | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/SConscript b/src/mesa/drivers/dri/common/SConscript index 41f6356c32d..2763380cd8a 100644 --- a/src/mesa/drivers/dri/common/SConscript +++ b/src/mesa/drivers/dri/common/SConscript @@ -76,9 +76,36 @@ driswenv.AppendUnique(LIBS = [ 'expat', ]) +# +# megadrivers_stub +# +env = env.Clone() + +env.Append(CPPPATH = [ + '#/include', + '#/src/', + '#/src/mapi', + '#/src/mesa', +]) + +env.Append(CPPDEFINES = [ + '__NOT_HAVE_DRM_H', + 'HAVE_DLADDR', +]) + +sources = env.ParseSourceList('Makefile.sources', 'megadriver_stub_FILES') + +megadrivers_stub = env.ConvenienceLibrary( + target = 'megadrivers_stub', + source = sources, +) + +env.Alias('megadrivers_stub', megadrivers_stub) + Export([ 'drienv', 'driswenv', 'COMMON_DRI_SW_OBJECTS', 'COMMON_DRI_DRM_OBJECTS', + 'megadrivers_stub', ]) |