Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SConscript 422B

123456789101112131415161718192021222324
  1. Import('*')
  2. env = env.Clone()
  3. env.MSVC2013Compat()
  4. env.Prepend(CPPPATH = [
  5. '#include'
  6. ])
  7. if env['drm']:
  8. env.PkgUseModules('DRM')
  9. env.Append(CPPDEFINES = ['HAVE_LIBDRM'])
  10. # parse Makefile.sources
  11. sources = env.ParseSourceList('Makefile.sources', 'LOADER_C_FILES')
  12. libloader = env.ConvenienceLibrary(
  13. target = 'libloader',
  14. source = sources,
  15. )
  16. env.Alias('libloader', libloader)
  17. Export('libloader')