summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/sw/xlib/SConscript
blob: 3a8c75dfdaf709fcaa8e1529457420df4317dcd9 (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
#######################################################################
# SConscript for xlib winsys


Import('*')

if env['platform'] in ('cygwin', 'darwin', 'freebsd', 'linux', 'sunos'):

    env = env.Clone()

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

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