1Import('env') 2 3# 4# Auxiliary modules 5# 6 7SConscript('auxiliary/SConscript') 8SConscript('auxiliary/pipe-loader/SConscript') 9 10# 11# Drivers 12# 13 14# These are common and work across all platforms 15SConscript([ 16 'drivers/llvmpipe/SConscript', 17 'drivers/softpipe/SConscript', 18 'drivers/svga/SConscript', 19]) 20 21# 22# Winsys 23# 24 25SConscript([ 26 'winsys/sw/null/SConscript', 27 'winsys/sw/wrapper/SConscript', 28]) 29 30if env['x11']: 31 SConscript([ 32 'winsys/sw/xlib/SConscript', 33 ]) 34 35if env['platform'] == 'windows': 36 SConscript([ 37 'winsys/sw/gdi/SConscript', 38 ]) 39 40 41# 42# Frontends and targets 43# 44 45if not env['embedded']: 46 if env['x11']: 47 SConscript([ 48 'frontends/glx/xlib/SConscript', 49 'targets/libgl-xlib/SConscript', 50 ]) 51 52 if env['platform'] == 'windows': 53 SConscript([ 54 'frontends/wgl/SConscript', 55 'targets/libgl-gdi/SConscript', 56 ]) 57