g3dvl: Use sobel filter for chroma interpolation
[mesa/nouveau-pmpeg.git] / src / gallium / targets / dri-swrast / SConscript
blob6b64c56413cf7b658de4da4da8d05b30229d316e
1 Import('*')
3 env = drienv.Clone()
5 env.Append(CPPPATH = [
6     '#/src/gallium/winsys/sw/dri',
7 ])
9 env.Prepend(LIBS = [
10     st_drisw,
11     ws_dri,
12     trace,
13     rbug,
14     mesa,
15     glsl,
16     gallium,
17     COMMON_DRI_SW_OBJECTS
20 if True:
21     env.Append(CPPDEFINES = [
22         'GALLIUM_SOFTPIPE',
23         'GALLIUM_RBUG',
24         'GALLIUM_TRACE',
25     ])
26     env.Prepend(LIBS = [softpipe])
28 if env['llvm']:
29     env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')
30     env.Prepend(LIBS = [llvmpipe])
32 swrast_sources = [
33     'swrast_drm_api.c'
36 module = env.LoadableModule(
37     target ='swrast_dri.so',
38     source = swrast_sources,
39     SHLIBPREFIX = '',
42 module = env.InstallSharedLibrary(module)
44 env.Alias('dri-swrast', module)