1Import('*')
2
3env = drienv.Clone()
4
5env.PkgUseModules('DRM')
6env.PkgUseModules('DRM_RADEON')
7
8env.Append(CPPDEFINES = ['GALLIUM_RBUG', 'GALLIUM_TRACE'])
9
10env.Prepend(LIBS = [
11    st_dri,
12    radeonwinsys,
13    r600,
14    trace,
15    rbug,
16    mesa,
17    glsl,
18    gallium,
19    COMMON_DRI_DRM_OBJECTS
20])
21
22module = env.SharedLibrary(
23    target ='r600_dri.so',
24    source = 'target.c',
25    SHLIBPREFIX = '',
26)
27
28env.Alias('dri-r600', module)
29