Clone of mesa.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

SConscript 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. Import('*')
  2. if env['platform'] == 'windows':
  3. SConscript('getopt/SConscript')
  4. SConscript('util/SConscript')
  5. SConscript('glsl/SConscript')
  6. if env['hostonly']:
  7. # We are just compiling the things necessary on the host for cross
  8. # compilation
  9. Return()
  10. if env['platform'] != 'windows':
  11. SConscript('loader/SConscript')
  12. # When env['gles'] is set, the targets defined in mapi/glapi/SConscript are not
  13. # used. libgl-xlib and libgl-gdi adapt themselves to use the targets defined
  14. # in mapi/glapi-shared/SConscript. mesa/SConscript also adapts itself to
  15. # enable OpenGL ES support.
  16. SConscript('mapi/glapi/gen/SConscript')
  17. SConscript('mapi/glapi/SConscript')
  18. # Haiku C++ libGL dispatch (renderers depend on libgl)
  19. if env['platform'] in ['haiku']:
  20. SConscript('hgl/SConscript')
  21. SConscript('mesa/SConscript')
  22. if not env['embedded']:
  23. if env['platform'] not in ('cygwin', 'darwin', 'freebsd', 'haiku', 'windows'):
  24. SConscript('glx/SConscript')
  25. if env['platform'] == 'haiku':
  26. SConscript('egl/SConscript')
  27. if env['gles']:
  28. SConscript('mapi/shared-glapi/SConscript')
  29. SConscript('gallium/SConscript')