summaryrefslogtreecommitdiff
path: root/src/gallium/targets/dri-radeong/SConscript
blob: bb3b5b9304b857d871870f40e351dafd047b5c26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Import('*')

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

env = drienv.Clone()

env.ParseConfig('pkg-config --cflags --libs libdrm_radeon')

drivers = [
    trace,
    softpipe,
    r300
]

env.SharedLibrary(
    target ='radeon_dri.so',
    source = COMMON_GALLIUM_SOURCES,
    LIBS = st_dri + radeonwinsys + mesa + drivers + gallium + env['LIBS'],
)