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