mesa/src/gallium/targets/SConscript
Chia-I Wu 8977879ec9 st/egl: Add egl-gdi target.
The target supports OpenVG on Windows with software rasterizer.  The
egl_g3d_loader defined by the target supports arbitrary client APIs and
window systems.  It is the SConscript that limits the support to OpenVG
and GDI.

This commit also fixes a typo in gdi backend.
2010-06-30 14:00:43 +08:00

46 lines
965 B
Python

import os
Import('*')
# Compatibility with old build scripts:
#
if 'mesa' in env['statetrackers']:
if 'xlib' in env['winsys']:
SConscript([
'libgl-xlib/SConscript',
])
if 'gdi' in env['winsys']:
SConscript([
'libgl-gdi/SConscript',
])
if not 'graw-xlib' in env['targets'] and not 'graw-null' in env['targets'] and not env['msvc']:
# XXX: disable until MSVC can link correctly
SConscript('graw-null/SConscript')
if env['dri']:
SConscript([
'SConscript.dri'
])
if 'xorg' in env['statetrackers']:
if 'vmware' in env['winsys']:
SConscript([
'xorg-vmwgfx/SConscript',
])
if 'egl' in env['statetrackers']:
SConscript([
'egl-gdi/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:
#
for target in env['targets']:
SConscript(os.path.join(target, 'SConscript'))