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 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. Import('env')
  2. #
  3. # Auxiliary modules
  4. #
  5. SConscript('auxiliary/SConscript')
  6. SConscript('auxiliary/pipe-loader/SConscript')
  7. #
  8. # Drivers
  9. #
  10. # These are common and work across all platforms
  11. SConscript([
  12. 'drivers/llvmpipe/SConscript',
  13. 'drivers/rbug/SConscript',
  14. 'drivers/softpipe/SConscript',
  15. 'drivers/svga/SConscript',
  16. 'drivers/trace/SConscript',
  17. ])
  18. #
  19. # Winsys
  20. #
  21. SConscript([
  22. 'winsys/sw/null/SConscript',
  23. 'winsys/sw/wrapper/SConscript',
  24. ])
  25. if env['x11']:
  26. SConscript([
  27. 'winsys/sw/xlib/SConscript',
  28. ])
  29. if env['platform'] == 'windows':
  30. SConscript([
  31. 'winsys/sw/gdi/SConscript',
  32. ])
  33. if env['platform'] == 'haiku':
  34. SConscript([
  35. 'winsys/sw/hgl/SConscript',
  36. ])
  37. if env['dri']:
  38. SConscript([
  39. 'winsys/sw/dri/SConscript',
  40. 'winsys/svga/drm/SConscript',
  41. ])
  42. #
  43. # State trackers and targets
  44. #
  45. SConscript([
  46. 'targets/graw-null/SConscript',
  47. ])
  48. if not env['embedded']:
  49. SConscript([
  50. 'state_trackers/osmesa/SConscript',
  51. 'targets/osmesa/SConscript',
  52. ])
  53. if env['x11']:
  54. SConscript([
  55. 'state_trackers/glx/xlib/SConscript',
  56. 'targets/graw-xlib/SConscript',
  57. 'targets/libgl-xlib/SConscript',
  58. ])
  59. if env['platform'] == 'windows':
  60. SConscript([
  61. 'state_trackers/wgl/SConscript',
  62. 'targets/graw-gdi/SConscript',
  63. 'targets/libgl-gdi/SConscript',
  64. ])
  65. if env['platform'] == 'haiku':
  66. SConscript([
  67. 'state_trackers/hgl/SConscript',
  68. 'targets/haiku-softpipe/SConscript',
  69. ])
  70. if env['dri']:
  71. SConscript([
  72. 'state_trackers/dri/SConscript',
  73. 'targets/dri/SConscript',
  74. ])
  75. #
  76. # Unit tests & tools
  77. #
  78. if not env['embedded']:
  79. SConscript('tests/unit/SConscript')
  80. SConscript('tests/graw/SConscript')