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

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