blob: ffaa1c2684636f9e0af7f25dc097bbb1bfa7a86d (
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
29
30
31
32
33
34
35
36
37
|
#######################################################################
# SConscript for xorg state_tracker
Import('*')
if not env['x11'] or not env['dri'] or not env['xorg']:
Return()
env = env.Clone()
env.Append(CPPPATH = [
'#/src/mesa',
])
env.ParseConfig('pkg-config --cflags --libs libdrm xorg-server')
conf = env.Configure()
if conf.CheckHeader('X11/extensions/dpmsconst.h'):
env.Append(CPPDEFINES = [('HAVE_XEXTPROTO_71', '1')])
conf.Finish()
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_renderer.c',
'xorg_xv.c',
]
)
Export('st_xorg')
|