1 TOP = ../../../.. 2 include $(TOP)/configs/current 3 4 LIBNAME = i915_dri.so 5 6 PIPE_DRIVERS = \ 7 $(TOP)/src/gallium/state_trackers/dri/drm/libdridrm.a \ 8 $(TOP)/src/gallium/winsys/i915/drm/libi915drm.a \ 9 $(TOP)/src/gallium/winsys/sw/wrapper/libwsw.a \ 10 $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \ 11 $(TOP)/src/gallium/drivers/galahad/libgalahad.a \ 12 $(TOP)/src/gallium/drivers/trace/libtrace.a \ 13 $(TOP)/src/gallium/drivers/rbug/librbug.a \ 14 $(TOP)/src/gallium/drivers/i915/libi915.a 15 16 C_SOURCES = \ 17 target.c \ 18 $(COMMON_GALLIUM_SOURCES) \ 19 $(DRIVER_SOURCES) 20 21 DRIVER_DEFINES = \ 22 -DGALLIUM_RBUG -DGALLIUM_TRACE -DGALLIUM_GALAHAD -DGALLIUM_SOFTPIPE 23 24 ifeq ($(MESA_LLVM),1) 25 PIPE_DRIVERS += $(TOP)/src/gallium/drivers/llvmpipe/libllvmpipe.a 26 DRIVER_DEFINES += -DGALLIUM_LLVMPIPE 27 endif 28 29 include ../Makefile.dri 30 31 GALLIUM_DRI_LIB_DEPS += $(INTEL_LIBS) 32 33 symlinks: 34