684e3488f71c7bd07c547e42824eaafdfaadfed6
[mesa.git] / src / gallium / targets / dri-i965 / SConscript
1 Import('*')
2
3 if not 'i965' in env['drivers']:
4 print 'warning: i965 pipe driver not built skipping i965_dri.so'
5 Return()
6
7 env = drienv.Clone()
8
9 env.ParseConfig('pkg-config --cflags --libs libdrm_intel')
10
11 env.Append(CPPDEFINES = [
12 'GALLIUM_SOFTPIPE',
13 'GALLIUM_RBUG',
14 'GALLIUM_TRACE'
15 ])
16
17 env.Prepend(LIBS = [
18 st_dri,
19 i965drm,
20 ws_wrapper,
21 i965,
22 trace,
23 rbug,
24 mesa,
25 glsl,
26 gallium,
27 COMMON_DRI_DRM_OBJECTS
28 ])
29
30 env.LoadableModule(
31 target = 'i965_dri.so',
32 source = 'target.c',
33 SHLIBPREFIX = '',
34 )