summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/glx/xlib/SConscript
blob: 01641e90e4710231ffeb7bfc0ffc33a821c375a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#######################################################################
# SConscript for xlib state_tracker

Import('*')

if env['platform'] == 'linux' \
        and 'mesa' in env['statetrackers'] \
        and ('softpipe' or 'i915simple' or 'trace') in env['drivers']:

    env = env.Clone()

    env.Append(CPPPATH = [
        '#/src/mesa',
        '#/src/mesa/main',
    ])

    st_xlib = env.ConvenienceLibrary(
	target = 'st_xlib',
	source = [ 'glxapi.c',
		'fakeglx.c',
		'fakeglx_fonts.c',
		'xm_api.c',
		]
    )
    Export('st_xlib')