import os

Import('*')

SConscript('auxiliary/SConscript')

for driver in env['drivers']:
	SConscript(os.path.join('drivers', driver, 'SConscript'))

# Needed by some state trackers
SConscript('winsys/sw/null/SConscript')

SConscript('state_trackers/python/SConscript')
if platform != 'embedded':
	SConscript('state_trackers/glx/xlib/SConscript')
	SConscript('state_trackers/dri/SConscript')
	SConscript('state_trackers/xorg/SConscript')
	SConscript('state_trackers/egl/SConscript')
	SConscript('state_trackers/vega/SConscript')

if platform == 'windows':
	SConscript('state_trackers/wgl/SConscript')

SConscript('winsys/SConscript')

SConscript('targets/SConscript')

if platform != 'embedded':
	SConscript('tests/unit/SConscript')
	SConscript('tests/graw/SConscript')