1 # src/gallium/tests/trivial/Makefile
4 include $(TOP)/configs/current
8 -I$(TOP)/src/gallium/include \
9 -I$(TOP)/src/gallium/auxiliary \
10 -I$(TOP)/src/gallium/drivers \
11 -I$(TOP)/src/gallium/winsys \
15 LINKS = $(TOP)/src/gallium/drivers/llvmpipe/libllvmpipe.a
16 LDFLAGS += $(LLVM_LDFLAGS)
20 $(TOP)/src/gallium/drivers/rbug/librbug.a \
21 $(TOP)/src/gallium/drivers/trace/libtrace.a \
22 $(TOP)/src/gallium/drivers/galahad/libgalahad.a \
23 $(TOP)/src/gallium/winsys/sw/null/libws_null.a \
24 $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
25 $(GALLIUM_AUXILIARIES) \
32 OBJECTS = $(SOURCES:.c=.o)
34 PROGS = $(OBJECTS:.o=)
37 -DGALLIUM_SOFTPIPE -DGALLIUM_RBUG -DGALLIUM_TRACE -DGALLIUM_GALAHAD
51 $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $(PROG_DEFINES) $< -o $@
53 $(PROGS): %: %.o $(LINKS)
54 $(CXX) $(LDFLAGS) $< $(LINKS) $(LLVM_LIBS) -lm -lpthread -ldl -o $@