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_srgb.c',
28 script = 'util/u_format_srgb.py',
30 command = python_cmd + ' $SCRIPT > $TARGET'
34 target = 'util/u_format_table.c',
35 script = 'util/u_format_table.py',
36 source = ['util/u_format.csv'],
37 command = 'python $SCRIPT $SOURCE > $TARGET'
41 target = 'util/u_half.c',
42 script = 'util/u_half.py',
44 command = 'python $SCRIPT > $TARGET'
47 env.Depends('util/u_format_table.c', [
48 'util/u_format_parse.py',
49 'util/u_format_pack.py',
53 'cso_cache/cso_context.c',
54 'cso_cache/cso_cache.c',
55 'cso_cache/cso_hash.c',
56 'draw/draw_context.c',
58 'draw/draw_pipe_aaline.c',
59 'draw/draw_pipe_aapoint.c',
60 'draw/draw_pipe_clip.c',
61 'draw/draw_pipe_cull.c',
62 'draw/draw_pipe_flatshade.c',
63 'draw/draw_pipe_offset.c',
64 'draw/draw_pipe_pstipple.c',
65 'draw/draw_pipe_stipple.c',
66 'draw/draw_pipe_twoside.c',
67 'draw/draw_pipe_unfilled.c',
68 'draw/draw_pipe_util.c',
69 'draw/draw_pipe_validate.c',
70 'draw/draw_pipe_vbuf.c',
71 'draw/draw_pipe_wide_line.c',
72 'draw/draw_pipe_wide_point.c',
74 'draw/draw_pt_elts.c',
75 'draw/draw_pt_emit.c',
76 'draw/draw_pt_fetch.c',
77 'draw/draw_pt_fetch_emit.c',
78 'draw/draw_pt_fetch_shade_emit.c',
79 'draw/draw_pt_fetch_shade_pipeline.c',
80 'draw/draw_pt_post_vs.c',
81 'draw/draw_pt_util.c',
82 'draw/draw_pt_varray.c',
83 'draw/draw_pt_vcache.c',
87 'draw/draw_vs_aos_io.c',
88 'draw/draw_vs_aos_machine.c',
89 'draw/draw_vs_exec.c',
92 'draw/draw_vs_varient.c',
94 #'indices/u_indices.c',
95 #'indices/u_unfilled_indices.c',
96 'indices/u_indices_gen.c',
97 'indices/u_unfilled_gen.c',
100 'os/os_stream_stdc.c',
101 'os/os_stream_str.c',
102 'os/os_stream_null.c',
104 'pipebuffer/pb_buffer_fenced.c',
105 'pipebuffer/pb_buffer_malloc.c',
106 'pipebuffer/pb_bufmgr_alt.c',
107 'pipebuffer/pb_bufmgr_cache.c',
108 'pipebuffer/pb_bufmgr_debug.c',
109 'pipebuffer/pb_bufmgr_mm.c',
110 'pipebuffer/pb_bufmgr_ondemand.c',
111 'pipebuffer/pb_bufmgr_pool.c',
112 'pipebuffer/pb_bufmgr_slab.c',
113 'pipebuffer/pb_validate.c',
115 'rbug/rbug_shader.c',
116 'rbug/rbug_context.c',
117 'rbug/rbug_texture.c',
118 'rbug/rbug_demarshal.c',
119 'rbug/rbug_connection.c',
121 'rtasm/rtasm_execmem.c',
122 'rtasm/rtasm_x86sse.c',
124 'rtasm/rtasm_ppc_spe.c',
129 'tgsi/tgsi_iterate.c',
131 'tgsi/tgsi_sanity.c',
136 'tgsi/tgsi_transform.c',
139 'translate/translate_generic.c',
140 'translate/translate_sse.c',
141 'translate/translate.c',
142 'translate/translate_cache.c',
148 'util/u_cpu_detect.c',
150 'util/u_debug_memory.c',
151 'util/u_debug_stack.c',
152 'util/u_debug_symbol.c',
153 'util/u_dump_defines.c',
154 'util/u_dump_state.c',
156 'util/u_draw_quad.c',
158 'util/u_format_other.c',
159 'util/u_format_s3tc.c',
160 'util/u_format_srgb.c',
161 'util/u_format_table.c',
162 'util/u_format_tests.c',
163 'util/u_format_yuv.c',
164 'util/u_format_zs.c',
165 'util/u_framebuffer.c',
166 'util/u_gen_mipmap.c',
168 'util/u_handle_table.c',
170 'util/u_hash_table.c',
177 'util/u_ringbuffer.c',
179 'util/u_simple_shaders.c',
186 'util/u_upload_mgr.c',
187 # Disabling until pipe-video branch gets merged in
188 #'vl/vl_bitstream_parser.c',
189 #'vl/vl_mpeg12_mc_renderer.c',
190 #'vl/vl_compositor.c',
192 #'vl/vl_shader_build.c',
193 'target-helpers/wrap_screen.c',
198 'gallivm/lp_bld_arit.c',
199 'gallivm/lp_bld_const.c',
200 'gallivm/lp_bld_conv.c',
201 'gallivm/lp_bld_debug.c',
202 'gallivm/lp_bld_flow.c',
203 'gallivm/lp_bld_format_aos.c',
204 'gallivm/lp_bld_format_soa.c',
205 'gallivm/lp_bld_intr.c',
206 'gallivm/lp_bld_logic.c',
207 'gallivm/lp_bld_init.c',
208 'gallivm/lp_bld_misc.cpp',
209 'gallivm/lp_bld_pack.c',
210 'gallivm/lp_bld_printf.c',
211 'gallivm/lp_bld_sample.c',
212 'gallivm/lp_bld_sample_soa.c',
213 'gallivm/lp_bld_struct.c',
214 'gallivm/lp_bld_swizzle.c',
215 'gallivm/lp_bld_tgsi_soa.c',
216 'gallivm/lp_bld_type.c',
218 'draw/draw_pt_fetch_shade_pipeline_llvm.c',
219 'draw/draw_llvm_translate.c'
222 gallium = env.ConvenienceLibrary(