1C_SOURCES := \
2	cso_cache/cso_cache.c \
3	cso_cache/cso_cache.h \
4	cso_cache/cso_context.c \
5	cso_cache/cso_context.h \
6	cso_cache/cso_hash.c \
7	cso_cache/cso_hash.h \
8	draw/draw_cliptest_tmp.h \
9	draw/draw_context.c \
10	draw/draw_context.h \
11	draw/draw_decompose_tmp.h \
12	draw/draw_fs.c \
13	draw/draw_fs.h \
14	draw/draw_gs.c \
15	draw/draw_gs.h \
16	draw/draw_gs_tmp.h \
17	draw/draw_pipe_aaline.c \
18	draw/draw_pipe_aapoint.c \
19	draw/draw_pipe.c \
20	draw/draw_pipe.h \
21	draw/draw_pipe_clip.c \
22	draw/draw_pipe_cull.c \
23	draw/draw_pipe_flatshade.c \
24	draw/draw_pipe_offset.c \
25	draw/draw_pipe_pstipple.c \
26	draw/draw_pipe_stipple.c \
27	draw/draw_pipe_twoside.c \
28	draw/draw_pipe_unfilled.c \
29	draw/draw_pipe_util.c \
30	draw/draw_pipe_validate.c \
31	draw/draw_pipe_vbuf.c \
32	draw/draw_pipe_wide_line.c \
33	draw/draw_pipe_wide_point.c \
34	draw/draw_prim_assembler.c \
35	draw/draw_prim_assembler.h \
36	draw/draw_prim_assembler_tmp.h \
37	draw/draw_private.h \
38	draw/draw_pt.c \
39	draw/draw_pt_decompose.h \
40	draw/draw_pt_emit.c \
41	draw/draw_pt_fetch.c \
42	draw/draw_pt_fetch_emit.c \
43	draw/draw_pt_fetch_shade_emit.c \
44	draw/draw_pt_fetch_shade_pipeline.c \
45	draw/draw_pt.h \
46	draw/draw_pt_post_vs.c \
47	draw/draw_pt_so_emit.c \
48	draw/draw_pt_util.c \
49	draw/draw_pt_vsplit.c \
50	draw/draw_pt_vsplit_tmp.h \
51	draw/draw_so_emit_tmp.h \
52	draw/draw_split_tmp.h \
53	draw/draw_vbuf.h \
54	draw/draw_vertex.c \
55	draw/draw_vertex.h \
56	draw/draw_vs.c \
57	draw/draw_vs_exec.c \
58	draw/draw_vs.h \
59	draw/draw_vs_variant.c \
60	driver_ddebug/dd_context.c \
61	driver_ddebug/dd_draw.c \
62	driver_ddebug/dd_pipe.h \
63	driver_ddebug/dd_public.h \
64	driver_ddebug/dd_screen.c \
65	driver_ddebug/dd_util.h \
66	driver_noop/noop_pipe.c \
67	driver_noop/noop_public.h \
68	driver_noop/noop_state.c \
69	driver_rbug/rbug_context.c \
70	driver_rbug/rbug_context.h \
71	driver_rbug/rbug_core.c \
72	driver_rbug/rbug_objects.c \
73	driver_rbug/rbug_objects.h \
74	driver_rbug/rbug_public.h \
75	driver_rbug/rbug_screen.c \
76	driver_rbug/rbug_screen.h \
77	driver_trace/tr_context.c \
78	driver_trace/tr_context.h \
79	driver_trace/tr_dump.c \
80	driver_trace/tr_dump_defines.h \
81	driver_trace/tr_dump.h \
82	driver_trace/tr_dump_state.c \
83	driver_trace/tr_dump_state.h \
84	driver_trace/tr_public.h \
85	driver_trace/tr_screen.c \
86	driver_trace/tr_screen.h \
87	driver_trace/tr_texture.c \
88	driver_trace/tr_texture.h \
89	hud/font.c \
90	hud/font.h \
91	hud/hud_context.c \
92	hud/hud_context.h \
93	hud/hud_cpu.c \
94	hud/hud_nic.c \
95	hud/hud_cpufreq.c \
96	hud/hud_diskstat.c \
97	hud/hud_sensors_temp.c \
98	hud/hud_driver_query.c \
99	hud/hud_fps.c \
100	hud/hud_private.h \
101	indices/u_indices.h \
102	indices/u_indices_priv.h \
103	indices/u_primconvert.c \
104	indices/u_primconvert.h \
105	os/os_mman.h \
106	os/os_process.c \
107	os/os_process.h \
108	os/os_thread.h \
109	pipebuffer/pb_buffer_fenced.c \
110	pipebuffer/pb_buffer_fenced.h \
111	pipebuffer/pb_buffer.h \
112	pipebuffer/pb_bufmgr_cache.c \
113	pipebuffer/pb_bufmgr_debug.c \
114	pipebuffer/pb_bufmgr.h \
115	pipebuffer/pb_bufmgr_mm.c \
116	pipebuffer/pb_bufmgr_slab.c \
117	pipebuffer/pb_cache.c \
118	pipebuffer/pb_cache.h \
119	pipebuffer/pb_slab.c \
120	pipebuffer/pb_slab.h \
121	pipebuffer/pb_validate.c \
122	pipebuffer/pb_validate.h \
123	postprocess/filters.h \
124	postprocess/postprocess.h \
125	postprocess/pp_celshade.c \
126	postprocess/pp_celshade.h \
127	postprocess/pp_colors.c \
128	postprocess/pp_colors.h \
129	postprocess/pp_filters.h \
130	postprocess/pp_init.c \
131	postprocess/pp_mlaa_areamap.h \
132	postprocess/pp_mlaa.c \
133	postprocess/pp_mlaa.h \
134	postprocess/pp_private.h \
135	postprocess/pp_program.c \
136	postprocess/pp_run.c \
137	rbug/rbug_connection.c \
138	rbug/rbug_connection.h \
139	rbug/rbug_context.c \
140	rbug/rbug_context.h \
141	rbug/rbug_core.c \
142	rbug/rbug_core.h \
143	rbug/rbug_demarshal.c \
144	rbug/rbug.h \
145	rbug/rbug_internal.h \
146	rbug/rbug_proto.h \
147	rbug/rbug_shader.c \
148	rbug/rbug_shader.h \
149	rbug/rbug_texture.c \
150	rbug/rbug_texture.h \
151	rtasm/rtasm_cpu.c \
152	rtasm/rtasm_cpu.h \
153	rtasm/rtasm_execmem.c \
154	rtasm/rtasm_execmem.h \
155	rtasm/rtasm_x86sse.c \
156	rtasm/rtasm_x86sse.h \
157	tgsi/tgsi_aa_point.c \
158	tgsi/tgsi_aa_point.h \
159	tgsi/tgsi_build.c \
160	tgsi/tgsi_build.h \
161	tgsi/tgsi_dump.c \
162	tgsi/tgsi_dump.h \
163	tgsi/tgsi_exec.c \
164	tgsi/tgsi_exec.h \
165	tgsi/tgsi_emulate.c \
166	tgsi/tgsi_emulate.h \
167	tgsi/tgsi_from_mesa.c \
168	tgsi/tgsi_from_mesa.h \
169	tgsi/tgsi_info.c \
170	tgsi/tgsi_info.h \
171	tgsi/tgsi_info_opcodes.h \
172	tgsi/tgsi_iterate.c \
173	tgsi/tgsi_iterate.h \
174	tgsi/tgsi_lowering.c \
175	tgsi/tgsi_lowering.h \
176	tgsi/tgsi_opcode_tmp.h \
177	tgsi/tgsi_parse.c \
178	tgsi/tgsi_parse.h \
179	tgsi/tgsi_point_sprite.c \
180	tgsi/tgsi_point_sprite.h \
181	tgsi/tgsi_sanity.c \
182	tgsi/tgsi_sanity.h \
183	tgsi/tgsi_scan.c \
184	tgsi/tgsi_scan.h \
185	tgsi/tgsi_strings.c \
186	tgsi/tgsi_strings.h \
187	tgsi/tgsi_text.c \
188	tgsi/tgsi_text.h \
189	tgsi/tgsi_transform.c \
190	tgsi/tgsi_transform.h \
191	tgsi/tgsi_two_side.c \
192	tgsi/tgsi_two_side.h \
193	tgsi/tgsi_ureg.c \
194	tgsi/tgsi_ureg.h \
195	tgsi/tgsi_util.c \
196	tgsi/tgsi_util.h \
197	translate/translate.c \
198	translate/translate.h \
199	translate/translate_cache.c \
200	translate/translate_cache.h \
201	translate/translate_generic.c \
202	translate/translate_sse.c \
203	util/dbghelp.h \
204	util/u_async_debug.h \
205	util/u_async_debug.c \
206	util/u_bitcast.h \
207	util/u_bitmask.c \
208	util/u_bitmask.h \
209	util/u_blend.h \
210	util/u_blit.c \
211	util/u_blit.h \
212	util/u_blitter.c \
213	util/u_blitter.h \
214	util/u_box.h \
215	util/u_cache.c \
216	util/u_cache.h \
217	util/u_compute.c \
218	util/u_compute.h \
219	util/u_debug_gallium.h \
220	util/u_debug_gallium.c \
221	util/u_debug_describe.c \
222	util/u_debug_describe.h \
223	util/u_debug_flush.c \
224	util/u_debug_flush.h \
225	util/u_debug_image.c \
226	util/u_debug_image.h \
227	util/u_debug_memory.c \
228	util/u_debug_refcnt.c \
229	util/u_debug_refcnt.h \
230	util/u_debug_stack.c \
231	util/u_debug_stack.h \
232	util/u_debug_symbol.c \
233	util/u_debug_symbol.h \
234	util/u_dirty_flags.h \
235	util/u_dirty_surfaces.h \
236	util/u_dl.c \
237	util/u_dl.h \
238	util/u_draw.c \
239	util/u_draw.h \
240	util/u_draw_quad.c \
241	util/u_draw_quad.h \
242	util/u_dual_blend.h \
243	util/u_dump_defines.c \
244	util/u_dump.h \
245	util/u_dump_state.c \
246	util/u_fifo.h \
247	util/u_format.c \
248	util/u_format.h \
249	util/u_format_bptc.c \
250	util/u_format_bptc.h \
251	util/u_format_etc.c \
252	util/u_format_etc.h \
253	util/u_format_latc.c \
254	util/u_format_latc.h \
255	util/u_format_other.c \
256	util/u_format_other.h \
257	util/u_format_rgtc.c \
258	util/u_format_rgtc.h \
259	util/u_format_s3tc.c \
260	util/u_format_s3tc.h \
261	util/u_format_tests.c \
262	util/u_format_tests.h \
263	util/u_format_yuv.c \
264	util/u_format_yuv.h \
265	util/u_format_zs.c \
266	util/u_format_zs.h \
267	util/u_framebuffer.c \
268	util/u_framebuffer.h \
269	util/u_gen_mipmap.c \
270	util/u_gen_mipmap.h \
271	util/u_half.h \
272	util/u_handle_table.c \
273	util/u_handle_table.h \
274	util/u_hash_table.c \
275	util/u_hash_table.h \
276	util/u_helpers.c \
277	util/u_helpers.h \
278	util/u_idalloc.c \
279	util/u_idalloc.h \
280	util/u_index_modify.c \
281	util/u_index_modify.h \
282	util/u_inlines.h \
283	util/u_linear.c \
284	util/u_linear.h \
285	util/u_log.c \
286	util/u_log.h \
287	util/u_mm.c \
288	util/u_mm.h \
289	util/u_network.c \
290	util/u_network.h \
291	util/u_pack_color.h \
292	util/u_pointer.h \
293	util/u_prim.h \
294	util/u_prim.c \
295	util/u_prim_restart.c \
296	util/u_prim_restart.h \
297	util/u_pstipple.c \
298	util/u_pstipple.h \
299	util/u_pwr8.h \
300	util/u_range.h \
301	util/u_rect.h \
302	util/u_resource.c \
303	util/u_resource.h \
304	util/u_ringbuffer.c \
305	util/u_ringbuffer.h \
306	util/u_sampler.c \
307	util/u_sampler.h \
308	util/u_screen.c \
309	util/u_screen.h \
310	util/u_simple_shaders.c \
311	util/u_simple_shaders.h \
312	util/u_split_prim.h \
313	util/u_sse.h \
314	util/u_suballoc.c \
315	util/u_suballoc.h \
316	util/u_surface.c \
317	util/u_surface.h \
318	util/u_surfaces.c \
319	util/u_surfaces.h \
320	util/u_tests.c \
321	util/u_tests.h \
322	util/u_texture.c \
323	util/u_texture.h \
324	util/u_tile.c \
325	util/u_tile.h \
326	util/u_transfer.c \
327	util/u_transfer.h \
328	util/u_transfer_helper.c \
329	util/u_transfer_helper.h \
330	util/u_threaded_context.c \
331	util/u_threaded_context.h \
332	util/u_threaded_context_calls.h \
333	util/u_upload_mgr.c \
334	util/u_upload_mgr.h \
335	util/u_vbuf.c \
336	util/u_vbuf.h \
337	util/u_video.h \
338	util/u_viewport.h
339
340NIR_SOURCES := \
341	nir/tgsi_to_nir.c \
342	nir/tgsi_to_nir.h
343
344VL_SOURCES := \
345	vl/vl_bicubic_filter.c \
346	vl/vl_bicubic_filter.h \
347	vl/vl_compositor.c \
348	vl/vl_compositor.h \
349	vl/vl_compositor_gfx.c \
350	vl/vl_compositor_gfx.h \
351	vl/vl_compositor_cs.c \
352	vl/vl_compositor_cs.h \
353	vl/vl_csc.c \
354	vl/vl_csc.h \
355	vl/vl_decoder.c \
356	vl/vl_decoder.h \
357	vl/vl_defines.h \
358	vl/vl_deint_filter.c \
359	vl/vl_deint_filter.h \
360	vl/vl_idct.c \
361	vl/vl_idct.h \
362	vl/vl_matrix_filter.c \
363	vl/vl_matrix_filter.h \
364	vl/vl_mc.c \
365	vl/vl_mc.h \
366	vl/vl_median_filter.c \
367	vl/vl_median_filter.h \
368	vl/vl_mpeg12_bitstream.c \
369	vl/vl_mpeg12_bitstream.h \
370	vl/vl_mpeg12_decoder.c \
371	vl/vl_mpeg12_decoder.h \
372	vl/vl_rbsp.h \
373	vl/vl_types.h \
374	vl/vl_vertex_buffers.c \
375	vl/vl_vertex_buffers.h \
376	vl/vl_video_buffer.c \
377	vl/vl_video_buffer.h \
378	vl/vl_vlc.h \
379	vl/vl_zscan.c \
380	vl/vl_zscan.h \
381	vl/vl_probs_table.h
382
383# XXX: Nuke this as our dri targets no longer depend on VL.
384VL_WINSYS_SOURCES := \
385	vl/vl_winsys.h
386
387VL_WINSYS_DRI2_SOURCES := \
388	vl/vl_winsys_dri.c
389
390VL_WINSYS_DRI3_SOURCES := \
391	vl/vl_winsys_dri3.c
392
393VL_WINSYS_DRM_SOURCES := \
394	vl/vl_winsys_drm.c
395
396VL_STUB_SOURCES := \
397	vl/vl_stubs.c
398
399GENERATED_SOURCES := \
400	indices/u_indices_gen.c \
401	indices/u_unfilled_gen.c \
402	util/u_format_table.c
403
404GALLIVM_SOURCES := \
405	gallivm/lp_bld_arit.c \
406	gallivm/lp_bld_arit.h \
407	gallivm/lp_bld_arit_overflow.c \
408	gallivm/lp_bld_arit_overflow.h \
409	gallivm/lp_bld_assert.c \
410	gallivm/lp_bld_assert.h \
411	gallivm/lp_bld_bitarit.c \
412	gallivm/lp_bld_bitarit.h \
413	gallivm/lp_bld_const.c \
414	gallivm/lp_bld_const.h \
415	gallivm/lp_bld_conv.c \
416	gallivm/lp_bld_conv.h \
417	gallivm/lp_bld_debug.cpp \
418	gallivm/lp_bld_debug.h \
419	gallivm/lp_bld_flow.c \
420	gallivm/lp_bld_flow.h \
421	gallivm/lp_bld_format_aos_array.c \
422	gallivm/lp_bld_format_aos.c \
423	gallivm/lp_bld_format_float.c \
424	gallivm/lp_bld_format.c \
425	gallivm/lp_bld_format.h \
426	gallivm/lp_bld_format_soa.c \
427	gallivm/lp_bld_format_s3tc.c \
428	gallivm/lp_bld_format_srgb.c \
429	gallivm/lp_bld_format_yuv.c \
430	gallivm/lp_bld_gather.c \
431	gallivm/lp_bld_gather.h \
432	gallivm/lp_bld.h \
433	gallivm/lp_bld_init.c \
434	gallivm/lp_bld_init.h \
435	gallivm/lp_bld_intr.c \
436	gallivm/lp_bld_intr.h \
437	gallivm/lp_bld_limits.h \
438	gallivm/lp_bld_logic.c \
439	gallivm/lp_bld_logic.h \
440	gallivm/lp_bld_misc.cpp \
441	gallivm/lp_bld_misc.h \
442	gallivm/lp_bld_pack.c \
443	gallivm/lp_bld_pack.h \
444	gallivm/lp_bld_printf.c \
445	gallivm/lp_bld_printf.h \
446	gallivm/lp_bld_quad.c \
447	gallivm/lp_bld_quad.h \
448	gallivm/lp_bld_sample_aos.c \
449	gallivm/lp_bld_sample_aos.h \
450	gallivm/lp_bld_sample.c \
451	gallivm/lp_bld_sample.h \
452	gallivm/lp_bld_sample_soa.c \
453	gallivm/lp_bld_struct.c \
454	gallivm/lp_bld_struct.h \
455	gallivm/lp_bld_swizzle.c \
456	gallivm/lp_bld_swizzle.h \
457	gallivm/lp_bld_tgsi_action.c \
458	gallivm/lp_bld_tgsi_action.h \
459	gallivm/lp_bld_tgsi_aos.c \
460	gallivm/lp_bld_tgsi.c \
461	gallivm/lp_bld_tgsi.h \
462	gallivm/lp_bld_tgsi_info.c \
463	gallivm/lp_bld_tgsi_soa.c \
464	gallivm/lp_bld_type.c \
465	gallivm/lp_bld_type.h \
466	draw/draw_llvm.c \
467	draw/draw_llvm.h \
468	draw/draw_llvm_sample.c \
469	draw/draw_pt_fetch_shade_pipeline_llvm.c \
470	draw/draw_vs_llvm.c
471
472RENDERONLY_SOURCES := \
473	renderonly/renderonly.c \
474	renderonly/renderonly.h
475