summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-vmwgfx/SConscript
blob: 7afabc7429f71d696734b7df3435629b1486bb33 (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
Import('*')

if not 'svga' in env['drivers']:
    print 'warning: svga pipe driver not built skipping vmwgfx_dri.so'
    Return()

env = drienv.Clone()

env.Append(CPPDEFINES = ['GALLIUM_RBUG', 'GALLIUM_TRACE'])

env.Prepend(LIBS = [
    st_dri,
    svgadrm,
    svga,
    trace,
    rbug,
    mesa,
    glsl,
    gallium,
    COMMON_DRI_DRM_OBJECTS
])

env.LoadableModule(
    target = 'vmwgfx_dri.so',
    source = 'target.c',
    SHLIBPREFIX = '',
)