Merge remote branch 'origin/7.8'
[mesa.git] / src / gallium / drivers / llvmpipe / Makefile
1 TOP = ../../../..
2 include $(TOP)/configs/current
3
4 LIBNAME = llvmpipe
5
6 DEFINES += -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
7
8 C_SOURCES = \
9 lp_bld_alpha.c \
10 lp_bld_blend_aos.c \
11 lp_bld_blend_logicop.c \
12 lp_bld_blend_soa.c \
13 lp_bld_depth.c \
14 lp_bld_interp.c \
15 lp_clear.c \
16 lp_context.c \
17 lp_draw_arrays.c \
18 lp_fence.c \
19 lp_flush.c \
20 lp_jit.c \
21 lp_perf.c \
22 lp_query.c \
23 lp_rast.c \
24 lp_rast_tri.c \
25 lp_scene.c \
26 lp_scene_queue.c \
27 lp_screen.c \
28 lp_setup.c \
29 lp_setup_line.c \
30 lp_setup_point.c \
31 lp_setup_tri.c \
32 lp_setup_vbuf.c \
33 lp_state_blend.c \
34 lp_state_clip.c \
35 lp_state_derived.c \
36 lp_state_fs.c \
37 lp_state_rasterizer.c \
38 lp_state_sampler.c \
39 lp_state_surface.c \
40 lp_state_vertex.c \
41 lp_state_vs.c \
42 lp_surface.c \
43 lp_tex_sample_llvm.c \
44 lp_texture.c \
45 lp_tile_image.c \
46 lp_tile_soa.c
47
48 CPP_SOURCES = \
49
50 PROGS := lp_test_format \
51 lp_test_blend \
52 lp_test_conv \
53 lp_test_printf
54
55
56 include ../../Makefile.template
57
58 lp_tile_soa.c: lp_tile_soa.py ../../auxiliary/util/u_format_parse.py ../../auxiliary/util/u_format_pack.py ../../auxiliary/util/u_format.csv
59 python lp_tile_soa.py ../../auxiliary/util/u_format.csv > $@
60
61
62 LIBS += $(GL_LIB_DEPS) -L../../auxiliary/ -lgallium libllvmpipe.a
63
64 $(PROGS): lp_test_main.o libllvmpipe.a
65