Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
[mesa.git] / src / gallium / drivers / svga / SConscript
1 Import('*')
2
3 env = env.Clone()
4
5 if env['platform'] in ['linux']:
6 env.Append(CCFLAGS = ['-fvisibility=hidden'])
7
8 if env['gcc']:
9 env.Append(CPPDEFINES = [
10 'HAVE_STDINT_H',
11 'HAVE_SYS_TYPES_H',
12 ])
13
14 env.Prepend(CPPPATH = [
15 'include',
16 ])
17
18 env.Append(CPPDEFINES = [
19 ])
20
21 sources = [
22 'svga_cmd.c',
23 'svga_context.c',
24 'svga_draw.c',
25 'svga_draw_arrays.c',
26 'svga_draw_elements.c',
27 'svga_pipe_blend.c',
28 'svga_pipe_blit.c',
29 'svga_pipe_clear.c',
30 'svga_pipe_constants.c',
31 'svga_pipe_depthstencil.c',
32 'svga_pipe_draw.c',
33 'svga_pipe_flush.c',
34 'svga_pipe_fs.c',
35 'svga_pipe_misc.c',
36 'svga_pipe_query.c',
37 'svga_pipe_rasterizer.c',
38 'svga_pipe_sampler.c',
39 'svga_pipe_vertex.c',
40 'svga_pipe_vs.c',
41 'svga_screen.c',
42 'svga_screen_buffer.c',
43 'svga_screen_cache.c',
44 'svga_screen_texture.c',
45 'svga_state.c',
46 'svga_state_constants.c',
47 'svga_state_framebuffer.c',
48 'svga_state_need_swtnl.c',
49 'svga_state_rss.c',
50 'svga_state_tss.c',
51 'svga_state_vdecl.c',
52 'svga_state_fs.c',
53 'svga_state_vs.c',
54 'svga_swtnl_backend.c',
55 'svga_swtnl_draw.c',
56 'svga_swtnl_state.c',
57 'svga_tgsi.c',
58 'svga_tgsi_decl_sm20.c',
59 'svga_tgsi_decl_sm30.c',
60 'svga_tgsi_insn.c',
61
62 'svgadump/svga_dump.c',
63 'svgadump/svga_shader_dump.c',
64 'svgadump/svga_shader_op.c',
65 ]
66
67 svga = env.ConvenienceLibrary(
68 target = 'svga',
69 source = sources,
70 )
71
72 Export('svga')