summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/xlib/SConscript
blob: 26a13e42b5c8344e560a720f8510b884b8b20869 (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
#######################################################################
# SConscript for xlib winsys


Import('*')

if env['platform'] == 'linux' \
        and 'mesa' in env['statetrackers']:

    env = env.Clone()

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

    env.Append(CPPDEFINES = ['USE_XSHM'])

    st_xlib = env.ConvenienceLibrary(
	target = 'ws_xlib',
	source = [
               'xlib_cell.c',
               'xlib_llvmpipe.c',
               'xlib_softpipe.c',
               'xlib_sw_winsys.c',
		]
    )
    Export('ws_xlib')