Home | History | Annotate | Download | only in dri-swrast
      1 TOP = ../../../..
      2 include $(TOP)/configs/current
      3 
      4 LIBNAME = swrast_dri.so
      5 
      6 DRIVER_DEFINES = \
      7 	-D__NOT_HAVE_DRM_H -DGALLIUM_SOFTPIPE \
      8 	-DGALLIUM_RBUG -DGALLIUM_TRACE
      9 
     10 PIPE_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 
     17 ifeq ($(MESA_LLVM),1)
     18 PIPE_DRIVERS += $(TOP)/src/gallium/drivers/llvmpipe/libllvmpipe.a
     19 DRIVER_DEFINES += -DGALLIUM_LLVMPIPE
     20 endif
     21 
     22 SWRAST_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 
     27 C_SOURCES = \
     28 	swrast_drm_api.c \
     29 	$(SWRAST_COMMON_GALLIUM_SOURCES) \
     30 	$(DRIVER_SOURCES)
     31 
     32 ASM_SOURCES =
     33 
     34 include ../Makefile.dri
     35 
     36 INCLUDES += \
     37 	-I$(TOP)/src/gallium/winsys/sw/dri
     38 
     39 symlinks:
     40