This prunes out all targets except libgl-gdi, libgl-xlib, and svga, as suggested by Marek Olšák. libgl-xlib will be remove once I have had time to confirm no automated tests we have rely upon it. There are also a bunch of Makefile.sources which become orphaned as result, that are not taken care of in this change. v2: Prune remainders of swr support. Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4348> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4348>
57 lines
940 B
Python
57 lines
940 B
Python
Import('env')
|
|
|
|
#
|
|
# Auxiliary modules
|
|
#
|
|
|
|
SConscript('auxiliary/SConscript')
|
|
SConscript('auxiliary/pipe-loader/SConscript')
|
|
|
|
#
|
|
# Drivers
|
|
#
|
|
|
|
# These are common and work across all platforms
|
|
SConscript([
|
|
'drivers/llvmpipe/SConscript',
|
|
'drivers/softpipe/SConscript',
|
|
'drivers/svga/SConscript',
|
|
])
|
|
|
|
#
|
|
# Winsys
|
|
#
|
|
|
|
SConscript([
|
|
'winsys/sw/null/SConscript',
|
|
'winsys/sw/wrapper/SConscript',
|
|
])
|
|
|
|
if env['x11']:
|
|
SConscript([
|
|
'winsys/sw/xlib/SConscript',
|
|
])
|
|
|
|
if env['platform'] == 'windows':
|
|
SConscript([
|
|
'winsys/sw/gdi/SConscript',
|
|
])
|
|
|
|
|
|
#
|
|
# State trackers and targets
|
|
#
|
|
|
|
if not env['embedded']:
|
|
if env['x11']:
|
|
SConscript([
|
|
'state_trackers/glx/xlib/SConscript',
|
|
'targets/libgl-xlib/SConscript',
|
|
])
|
|
|
|
if env['platform'] == 'windows':
|
|
SConscript([
|
|
'state_trackers/wgl/SConscript',
|
|
'targets/libgl-gdi/SConscript',
|
|
])
|