From 476b668ccc3f234676dbd3f15207eafe7965222e Mon Sep 17 00:00:00 2001 From: Chris Li Date: Fri, 5 Feb 2010 01:29:43 -0800 Subject: allow make to build lp_test_* for llvmpipe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: José Fonseca --- src/gallium/drivers/llvmpipe/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/llvmpipe/Makefile b/src/gallium/drivers/llvmpipe/Makefile index 899af6acf8..698078bc37 100644 --- a/src/gallium/drivers/llvmpipe/Makefile +++ b/src/gallium/drivers/llvmpipe/Makefile @@ -74,3 +74,16 @@ lp_tile_soa.c: lp_tile_soa.py ../../auxiliary/util/u_format_parse.py ../../auxil # to make a .s file to inspect assembly code .c.s: $(CC) -S $(INCLUDES) $(DEFINES) $(CFLAGS) $(LIBRARY_DEFINES) $< + + +testprogs := lp_test_format \ + lp_test_blend \ + lp_test_conv + +LIBS += $(GL_LIB_DEPS) -L. -lllvmpipe -L../../auxiliary/ -lgallium + +$(testprogs): lp_test_% : lp_test_%.o lp_test_main.o + $(LD) $^ -o $@ -Wl,--start-group $(LIBS) -Wl,--end-group + + +default: $(testprogs) -- cgit v1.2.3