Tizen 2.0 Release
[profile/ivi/osmesa.git] / src / gallium / drivers / llvmpipe / Makefile
1 TOP = ../../../..
2 include $(TOP)/configs/current
3
4 LIBNAME = llvmpipe
5
6 C_SOURCES = \
7         lp_bld_alpha.c \
8         lp_bld_blend_aos.c \
9         lp_bld_blend_logicop.c \
10         lp_bld_blend_soa.c \
11         lp_bld_depth.c \
12         lp_bld_interp.c \
13         lp_clear.c \
14         lp_context.c \
15         lp_draw_arrays.c \
16         lp_fence.c \
17         lp_flush.c \
18         lp_jit.c \
19         lp_memory.c \
20         lp_perf.c \
21         lp_query.c \
22         lp_rast.c \
23         lp_rast_debug.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_setup.c \
38         lp_state_gs.c \
39         lp_state_rasterizer.c \
40         lp_state_sampler.c \
41         lp_state_so.c \
42         lp_state_surface.c \
43         lp_state_vertex.c \
44         lp_state_vs.c \
45         lp_surface.c \
46         lp_tex_sample.c \
47         lp_texture.c \
48         lp_tile_image.c \
49         lp_tile_soa.c
50
51 CPP_SOURCES = \
52
53 PROGS := lp_test_format \
54          lp_test_blend  \
55          lp_test_conv   \
56          lp_test_printf \
57          lp_test_round \
58          lp_test_sincos
59
60 # Need this for the lp_test_*.o files
61 CLEAN_EXTRA = *.o
62
63 include ../../Makefile.template
64
65 lp_test_sincos.o : sse_mathfun.h
66
67 PROGS_DEPS := ../../auxiliary/libgallium.a
68
69 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
70         $(PYTHON2) $(PYTHON_FLAGS) lp_tile_soa.py ../../auxiliary/util/u_format.csv > $@
71
72 LDFLAGS += $(LLVM_LDFLAGS)
73 LIBS += -L../../auxiliary/ -lgallium libllvmpipe.a $(LLVM_LIBS) $(GL_LIB_DEPS)
74 LD=$(CXX)
75
76 $(PROGS): lp_test_main.o libllvmpipe.a
77