#######################################################################
# SConscript for xlib winsys


Import('*')

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

    env = env.Clone()

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

    ws_dri = env.ConvenienceLibrary(
        target = 'ws_dri',
        source = [
           'dri_sw_winsys.c',
        ]
    )
    Export('ws_dri')
