24eb5f0758ccb9c04fad3dfae704447f052d2ac8
[mesa.git] / src / gallium / targets / dri-r600 / SConscript
1 Import('*')
2
3 if not 'r600' in env['drivers']:
4 print 'warning: r600 pipe driver not built skipping r600_dri.so'
5 Return()
6
7 env = drienv.Clone()
8
9 env.ParseConfig('pkg-config --cflags --libs libdrm_radeon')
10
11 env.Prepend(LIBS = [
12 st_dri,
13 r600winsys,
14 r600,
15 trace,
16 mesa,
17 glsl,
18 gallium,
19 COMMON_DRI_DRM_OBJECTS
20 ])
21
22 env.SharedLibrary(
23 target ='r600_dri.so',
24 source = 'dummy.c',
25 SHLIBPREFIX = '',
26 )