Cross Reference: SConscript
xref: /xsrc/external/mit/MesaLib.old/dist/src/loader/SConscript
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/MesaLib.old/dist/src/loader/
1848b8605SmrgImport('*')
2848b8605Smrg
3848b8605Smrgenv = env.Clone()
4848b8605Smrg
5b8e80941Smrgenv.MSVC2013Compat()
6b8e80941Smrg
7848b8605Smrgenv.Prepend(CPPPATH = [
8848b8605Smrg    '#include'
9848b8605Smrg])
10848b8605Smrg
11b8e80941Smrgif env['drm']:
12b8e80941Smrg    env.PkgUseModules('DRM')
13b8e80941Smrg    env.Append(CPPDEFINES = ['HAVE_LIBDRM'])
14848b8605Smrg
15b8e80941Smrgenv.Append(CPPDEFINES = ['DEFAULT_DRIVER_DIR=\\"/usr/local/lib/dri\\"'])
16848b8605Smrg
17848b8605Smrg# parse Makefile.sources
18848b8605Smrgsources = env.ParseSourceList('Makefile.sources', 'LOADER_C_FILES')
19848b8605Smrg
20848b8605Smrglibloader = env.ConvenienceLibrary(
21848b8605Smrg    target = 'libloader',
22848b8605Smrg    source = sources,
23848b8605Smrg)
24848b8605Smrg
25848b8605Smrgenv.Alias('libloader', libloader)
26848b8605SmrgExport('libloader')
27

Indexes created Sat Nov 29 18:09:35 GMT 2025