aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xorg/xvmc/SConscript
blob: cb25d68bd80161091882763e757bac863c723292 (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
#######################################################################
# SConscript for xvmc state_tracker

Import('*')

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

    env = env.Clone()
    
    env.Append(CPPPATH = [
	'#/src/gallium/include',
	'#/src/gallium/auxiliary',
	'#/src/gallium/winsys/g3dvl',
    ])

    env.ParseConfig('pkg-config --cflags --libs xvmc')

    st_xvmc = env.ConvenienceLibrary(
	target = 'st_xvmc',
	source = [ 'block.c',
		'surface.c',
		'context.c',
		'subpicture.c',
		'attributes.c',
		]
    )
    Export('st_xvmc')