SConscript 850 Bytes
Newer Older
1
import os
2 3
Import('*')
	
4 5
# Compatibility with old build scripts:
#
6 7 8 9 10
if 'mesa' in env['statetrackers']:
	if 'xlib' in env['winsys']:
		SConscript([
			'libgl-xlib/SConscript',
		])
11

12 13 14 15
	if 'gdi' in env['winsys']:
		SConscript([
			'libgl-gdi/SConscript',
		])
16

17
if not 'graw-xlib' in env['targets'] and not env['msvc']:
18 19
        # XXX: disable until MSVC can link correctly
        SConscript('graw-null/SConscript')
20

21

22
if env['dri']:
23 24
	SConscript([
		'SConscript.dri'
25 26 27 28 29 30 31
	])

if 'xorg' in env['statetrackers']:
	if 'vmware' in env['winsys']:
		SConscript([
			'xorg-vmwgfx/SConscript',
		])
32 33 34 35 36 37 38 39 40 41

# 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'))