5 if env['platform'] in ['linux']:
6 env.Append(CCFLAGS = ['-fvisibility=hidden'])
9 env.Append(CPPDEFINES = [
13 if env['platform'] not in ['windows']:
14 # The Windows headers cause many gcc warnings
15 env.Append(CCFLAGS = ['-Werror'])
17 env.Prepend(CPPPATH = [
21 env.Append(CPPDEFINES = [
29 'svga_draw_elements.c',
33 'svga_pipe_constants.c',
34 'svga_pipe_depthstencil.c',
40 'svga_pipe_rasterizer.c',
41 'svga_pipe_sampler.c',
45 'svga_screen_buffer.c',
46 'svga_screen_cache.c',
47 'svga_screen_texture.c',
49 'svga_state_constants.c',
50 'svga_state_framebuffer.c',
51 'svga_state_need_swtnl.c',
57 'svga_swtnl_backend.c',
61 'svga_tgsi_decl_sm20.c',
62 'svga_tgsi_decl_sm30.c',
65 'svgadump/svga_dump.c',
66 'svgadump/st_shader_dump.c',
67 'svgadump/st_shader_op.c',
70 svga = env.ConvenienceLibrary(