diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-11-22 02:46:45 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-11-22 02:46:45 +0000 |
commit | 0784c49c0f8fcc8b3abd4c9286d9fd8bc089dd7d (patch) | |
tree | a6394e3e264a0f80b57f4ce0f5d9526aa543d4b0 /lib/mesa/src/loader/SConscript | |
parent | d91d0007eecf589ea5699e34aa4d748fce2c57b2 (diff) |
import Mesa 11.0.6
Diffstat (limited to 'lib/mesa/src/loader/SConscript')
-rw-r--r-- | lib/mesa/src/loader/SConscript | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/mesa/src/loader/SConscript b/lib/mesa/src/loader/SConscript new file mode 100644 index 000000000..d98f11e3c --- /dev/null +++ b/lib/mesa/src/loader/SConscript @@ -0,0 +1,24 @@ +Import('*') + +env = env.Clone() + +env.MSVC2013Compat() + +env.Prepend(CPPPATH = [ + '#include' +]) + +if env['udev']: + env.PkgUseModules('UDEV') + env.Append(CPPDEFINES = ['HAVE_LIBUDEV']) + +# parse Makefile.sources +sources = env.ParseSourceList('Makefile.sources', 'LOADER_C_FILES') + +libloader = env.ConvenienceLibrary( + target = 'libloader', + source = sources, +) + +env.Alias('libloader', libloader) +Export('libloader') |