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