3 from sys import executable as python_cmd
13 target = 'indices/u_indices_gen.c',
14 script = 'indices/u_indices_gen.py',
16 command = python_cmd + ' $SCRIPT > $TARGET'
20 target = 'indices/u_unfilled_gen.c',
21 script = 'indices/u_unfilled_gen.py',
23 command = python_cmd + ' $SCRIPT > $TARGET'
27 target = 'util/u_format_table.c',
28 script = 'util/u_format_table.py',
29 source = ['util/u_format.csv'],
30 command = 'python $SCRIPT $SOURCE > $TARGET'
34 'cso_cache/cso_context.c',
35 'cso_cache/cso_cache.c',
36 'cso_cache/cso_hash.c',
37 'draw/draw_context.c',
39 'draw/draw_pipe_aaline.c',
40 'draw/draw_pipe_aapoint.c',
41 'draw/draw_pipe_clip.c',
42 'draw/draw_pipe_cull.c',
43 'draw/draw_pipe_flatshade.c',
44 'draw/draw_pipe_offset.c',
45 'draw/draw_pipe_pstipple.c',
46 'draw/draw_pipe_stipple.c',
47 'draw/draw_pipe_twoside.c',
48 'draw/draw_pipe_unfilled.c',
49 'draw/draw_pipe_util.c',
50 'draw/draw_pipe_validate.c',
51 'draw/draw_pipe_vbuf.c',
52 'draw/draw_pipe_wide_line.c',
53 'draw/draw_pipe_wide_point.c',
55 'draw/draw_pt_elts.c',
56 'draw/draw_pt_emit.c',
57 'draw/draw_pt_fetch.c',
58 'draw/draw_pt_fetch_emit.c',
59 'draw/draw_pt_fetch_shade_emit.c',
60 'draw/draw_pt_fetch_shade_pipeline.c',
61 'draw/draw_pt_post_vs.c',
62 'draw/draw_pt_util.c',
63 'draw/draw_pt_varray.c',
64 'draw/draw_pt_vcache.c',
68 'draw/draw_vs_aos_io.c',
69 'draw/draw_vs_aos_machine.c',
70 'draw/draw_vs_exec.c',
71 'draw/draw_vs_llvm.c',
74 'draw/draw_vs_varient.c',
76 #'indices/u_indices.c',
77 #'indices/u_unfilled_indices.c',
78 'indices/u_indices_gen.c',
79 'indices/u_unfilled_gen.c',
82 'os/os_stream_stdc.c',
84 'os/os_stream_null.c',
86 'pipebuffer/pb_buffer_fenced.c',
87 'pipebuffer/pb_buffer_malloc.c',
88 'pipebuffer/pb_bufmgr_alt.c',
89 'pipebuffer/pb_bufmgr_cache.c',
90 'pipebuffer/pb_bufmgr_debug.c',
91 'pipebuffer/pb_bufmgr_mm.c',
92 'pipebuffer/pb_bufmgr_ondemand.c',
93 'pipebuffer/pb_bufmgr_pool.c',
94 'pipebuffer/pb_bufmgr_slab.c',
95 'pipebuffer/pb_validate.c',
98 'rbug/rbug_context.c',
99 'rbug/rbug_texture.c',
100 'rbug/rbug_demarshal.c',
101 'rbug/rbug_connection.c',
103 'rtasm/rtasm_execmem.c',
104 'rtasm/rtasm_x86sse.c',
106 'rtasm/rtasm_ppc_spe.c',
111 'tgsi/tgsi_iterate.c',
113 'tgsi/tgsi_sanity.c',
118 'tgsi/tgsi_transform.c',
121 'translate/translate_generic.c',
122 'translate/translate_sse.c',
123 'translate/translate.c',
124 'translate/translate_cache.c',
129 'util/u_cpu_detect.c',
131 'util/u_debug_memory.c',
132 'util/u_debug_stack.c',
133 'util/u_debug_symbol.c',
134 'util/u_dump_defines.c',
135 'util/u_dump_state.c',
137 'util/u_draw_quad.c',
139 'util/u_format_table.c',
140 'util/u_format_tests.c',
141 'util/u_gen_mipmap.c',
142 'util/u_handle_table.c',
144 'util/u_hash_table.c',
150 'util/u_ringbuffer.c',
152 'util/u_simple_shaders.c',
157 'util/u_timed_winsys.c',
158 'util/u_upload_mgr.c',
159 'util/u_simple_screen.c',
160 # Disabling until pipe-video branch gets merged in
161 #'vl/vl_bitstream_parser.c',
162 #'vl/vl_mpeg12_mc_renderer.c',
163 #'vl/vl_compositor.c',
165 #'vl/vl_shader_build.c',
166 'target-helpers/wrap_screen.c',
171 'gallivm/lp_bld_alpha.c',
172 'gallivm/lp_bld_arit.c',
173 'gallivm/lp_bld_blend_aos.c',
174 'gallivm/lp_bld_blend_logicop.c',
175 'gallivm/lp_bld_blend_soa.c',
176 'gallivm/lp_bld_const.c',
177 'gallivm/lp_bld_conv.c',
178 'gallivm/lp_bld_debug.c',
179 'gallivm/lp_bld_depth.c',
180 'gallivm/lp_bld_flow.c',
181 'gallivm/lp_bld_format_soa.c',
182 'gallivm/lp_bld_interp.c',
183 'gallivm/lp_bld_intr.c',
184 'gallivm/lp_bld_logic.c',
185 'gallivm/lp_bld_init.cpp',
186 'gallivm/lp_bld_pack.c',
187 'gallivm/lp_bld_printf.c',
188 'gallivm/lp_bld_sample.c',
189 'gallivm/lp_bld_sample_soa.c',
190 'gallivm/lp_bld_struct.c',
191 'gallivm/lp_bld_swizzle.c',
192 'gallivm/lp_bld_tgsi_soa.c',
193 'gallivm/lp_bld_type.c',
196 gallium = env.ConvenienceLibrary(