summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/xorg/SConscript
blob: 6165bae7a4ba2400eb134a214a1eb60151dd0947 (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
26
27
28
#######################################################################
# SConscript for xorg state_tracker

Import('*')

if 'xorg' in env['statetrackers']:

    env = env.Clone()

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

    env.ParseConfig('pkg-config --cflags --libs xorg-server')

    st_xorg = env.ConvenienceLibrary(
	target = 'st_xorg',
	source = [ 'xorg_composite.c',
		'xorg_crtc.c',
		'xorg_dri2.c',
		'xorg_driver.c',
		'xorg_exa.c',
		'xorg_exa_tgsi.c',
		'xorg_output.c',
		'xorg_xv.c',
		]
    )
    Export('st_xorg')