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