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_buffer.c \
10 lp_clear.c \
11 lp_context.c \
12 lp_draw_arrays.c \
13 lp_fence.c \
14 lp_flush.c \
15 lp_jit.c \
16 lp_perf.c \
17 lp_query.c \
18 lp_rast.c \
19 lp_rast_tri.c \
20 lp_scene.c \
21 lp_scene_queue.c \
22 lp_screen.c \
23 lp_setup.c \
24 lp_setup_line.c \
25 lp_setup_point.c \
26 lp_setup_tri.c \
27 lp_setup_vbuf.c \
28 lp_state_blend.c \
29 lp_state_clip.c \
30 lp_state_derived.c \
31 lp_state_fs.c \
32 lp_state_rasterizer.c \
33 lp_state_sampler.c \
34 lp_state_surface.c \
35 lp_state_vertex.c \
36 lp_state_vs.c \
37 lp_surface.c \
38 lp_tex_sample_llvm.c \
39 lp_texture.c \
40 lp_tile_image.c \
41 lp_tile_soa.c
42
43 CPP_SOURCES = \
44
45 PROGS := \
46 lp_test_blend \
47 lp_test_conv \
48 lp_test_printf
49
50
51 include ../../Makefile.template
52
53 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
54 python lp_tile_soa.py ../../auxiliary/util/u_format.csv > $@
55
56
57 LIBS += $(GL_LIB_DEPS) -L../../auxiliary/ -lgallium
58
59 $(PROGS): lp_test_main.o
60