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.0KB

123456789101112131415161718192021222324252627282930313233343536
  1. Import('*')
  2. if env['platform'] == 'windows':
  3. SConscript('getopt/SConscript')
  4. SConscript('glsl/SConscript')
  5. if env['hostonly']:
  6. # We are just compiling the things necessary on the host for cross
  7. # compilation
  8. Return()
  9. # When env['gles'] is set, the targets defined in mapi/glapi/SConscript are not
  10. # used. libgl-xlib and libgl-gdi adapt themselves to use the targets defined
  11. # in mapi/glapi-shared/SConscript. mesa/SConscript also adapts itself to
  12. # enable OpenGL ES support.
  13. SConscript('mapi/glapi/SConscript')
  14. SConscript('mesa/SConscript')
  15. SConscript('mapi/vgapi/SConscript')
  16. if not env['embedded']:
  17. if env['platform'] not in ('cygwin', 'darwin', 'haiku', 'windows'):
  18. SConscript('glx/SConscript')
  19. if env['platform'] not in ['darwin', 'haiku', 'sunos']:
  20. SConscript('egl/main/SConscript')
  21. if env['platform'] not in ['darwin']:
  22. SConscript('glu/sgi/SConscript')
  23. if env['gles']:
  24. SConscript('mapi/shared-glapi/SConscript')
  25. SConscript('gallium/SConscript')