#######################################################################
# SConscript for haiku winsys


Import('*')

if env['platform'] in ('haiku'):

    env = env.Clone()

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

    ws_haiku = env.ConvenienceLibrary(
        target = 'ws_haiku',
        source = [
           'hgl_sw_winsys.c',
           'bitmap_wrapper.cpp',
        ]
    )
    Export('ws_haiku')
