1TOP = ../../../.. 2include $(TOP)/configs/current 3 4LIBNAME = swrast_dri.so 5 6DRIVER_DEFINES = \ 7 -D__NOT_HAVE_DRM_H -DGALLIUM_SOFTPIPE \ 8 -DGALLIUM_RBUG -DGALLIUM_TRACE 9 10PIPE_DRIVERS = \ 11 $(TOP)/src/gallium/state_trackers/dri/sw/libdrisw.a \ 12 $(TOP)/src/gallium/winsys/sw/dri/libswdri.a \ 13 $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \ 14 $(TOP)/src/gallium/drivers/trace/libtrace.a \ 15 $(TOP)/src/gallium/drivers/rbug/librbug.a 16 17ifeq ($(MESA_LLVM),1) 18PIPE_DRIVERS += $(TOP)/src/gallium/drivers/llvmpipe/libllvmpipe.a 19DRIVER_DEFINES += -DGALLIUM_LLVMPIPE 20endif 21 22SWRAST_COMMON_GALLIUM_SOURCES = \ 23 $(TOP)/src/mesa/drivers/dri/common/utils.c \ 24 $(TOP)/src/mesa/drivers/dri/common/drisw_util.c \ 25 $(TOP)/src/mesa/drivers/dri/common/xmlconfig.c 26 27C_SOURCES = \ 28 swrast_drm_api.c \ 29 $(SWRAST_COMMON_GALLIUM_SOURCES) \ 30 $(DRIVER_SOURCES) 31 32ASM_SOURCES = 33 34include ../Makefile.dri 35 36INCLUDES += \ 37 -I$(TOP)/src/gallium/winsys/sw/dri 38 39symlinks: 40