diff options
Diffstat (limited to 'src/util/SConscript')
-rw-r--r-- | src/util/SConscript | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/util/SConscript b/src/util/SConscript new file mode 100644 index 00000000000..9653ef62ea1 --- /dev/null +++ b/src/util/SConscript @@ -0,0 +1,26 @@ +import common + +Import('*') + +from sys import executable as python_cmd + +env = env.Clone() + +env.Prepend(CPPPATH = [ + '#include', + '#src/mesa', + '#src/util', +]) + +# parse Makefile.sources +source_lists = env.ParseSourceList('Makefile.sources') + +mesautil_sources = source_lists['MESA_UTIL_FILES'] + +mesautil = env.ConvenienceLibrary( + target = 'mesautil', + source = mesautil_sources, +) + +env.Alias('mesautil', mesautil) +Export('mesautil') |