Home | History | Annotate | Download | only in llvmpipe
      1 TOP = ../../../..
      2 include $(TOP)/configs/current
      3 
      4 LIBNAME = llvmpipe
      5 
      6 C_SOURCES = \
      7 	lp_bld_alpha.c \
      8 	lp_bld_blend.c \
      9 	lp_bld_blend_aos.c \
     10 	lp_bld_blend_logicop.c \
     11 	lp_bld_blend_soa.c \
     12 	lp_bld_depth.c \
     13 	lp_bld_interp.c \
     14 	lp_clear.c \
     15 	lp_context.c \
     16 	lp_draw_arrays.c \
     17 	lp_fence.c \
     18 	lp_flush.c \
     19 	lp_jit.c \
     20 	lp_memory.c \
     21 	lp_perf.c \
     22 	lp_query.c \
     23 	lp_rast.c \
     24 	lp_rast_debug.c \
     25 	lp_rast_tri.c \
     26 	lp_scene.c \
     27 	lp_scene_queue.c \
     28 	lp_screen.c \
     29 	lp_setup.c \
     30 	lp_setup_line.c \
     31 	lp_setup_point.c \
     32 	lp_setup_tri.c \
     33 	lp_setup_vbuf.c \
     34 	lp_state_blend.c \
     35 	lp_state_clip.c \
     36 	lp_state_derived.c \
     37 	lp_state_fs.c \
     38 	lp_state_setup.c \
     39 	lp_state_gs.c \
     40 	lp_state_rasterizer.c \
     41 	lp_state_sampler.c \
     42         lp_state_so.c \
     43 	lp_state_surface.c \
     44 	lp_state_vertex.c \
     45 	lp_state_vs.c \
     46 	lp_surface.c \
     47 	lp_tex_sample.c \
     48 	lp_texture.c \
     49 	lp_tile_image.c \
     50 	lp_tile_soa.c
     51 
     52 CPP_SOURCES = \
     53 
     54 PROGS := lp_test_format	\
     55 	 lp_test_arit	\
     56 	 lp_test_blend	\
     57 	 lp_test_conv	\
     58 	 lp_test_printf
     59 
     60 # Need this for the lp_test_*.o files
     61 CLEAN_EXTRA = *.o
     62 
     63 include ../../Makefile.template
     64 
     65 PROGS_DEPS := ../../auxiliary/libgallium.a
     66 
     67 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
     68 	$(PYTHON2) $(PYTHON_FLAGS) lp_tile_soa.py ../../auxiliary/util/u_format.csv > $@
     69 
     70 LDFLAGS += $(LLVM_LDFLAGS)
     71 LIBS += -L../../auxiliary/ -lgallium libllvmpipe.a $(LLVM_LIBS) $(GL_LIB_DEPS)
     72 LD=$(CXX)
     73 
     74 $(PROGS): lp_test_main.o libllvmpipe.a
     75 
     76