diff options
Diffstat (limited to 'src/gallium/targets/SConscript')
-rw-r--r-- | src/gallium/targets/SConscript | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/src/gallium/targets/SConscript b/src/gallium/targets/SConscript index 9077cbf6a4..b61a4855af 100644 --- a/src/gallium/targets/SConscript +++ b/src/gallium/targets/SConscript @@ -3,15 +3,16 @@ Import('*') # Compatibility with old build scripts: # -if 'xlib' in env['winsys']: - SConscript([ - 'libgl-xlib/SConscript', - ]) +if 'mesa' in env['statetrackers']: + if 'xlib' in env['winsys']: + SConscript([ + 'libgl-xlib/SConscript', + ]) -if 'gdi' in env['winsys']: - SConscript([ - 'libgl-gdi/SConscript', - ]) + if 'gdi' in env['winsys']: + SConscript([ + 'libgl-gdi/SConscript', + ]) if not 'graw-xlib' in env['targets'] and not env['msvc']: # XXX: disable until MSVC can link correctly @@ -29,6 +30,12 @@ if 'xorg' in env['statetrackers']: 'xorg-vmwgfx/SConscript', ]) +if 'egl' in env['statetrackers']: + SConscript([ + 'egl-swrast/SConscript', + 'egl-apis/SConscript', + ]) + # Ideally all non-target directories would produce convenience # libraries, and the actual shared libraries and other installables # would be finally assembled in the targets subtree: |