summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/xlib/SConscript
blob: 587cdb8e38a286e91c23df9161d297ba004a5a36 (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 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',
    ])

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