summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-i965/Makefile
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-07-22 21:50:27 -0700
committerJakob Bornecrantz <[email protected]>2010-07-26 12:26:53 -0700
commit0697d41fce6e7cad4badc54cecdd25f1f312c93f (patch)
treee289dd0457c65ef965015138863f3ae797b59498 /src/gallium/targets/dri-i965/Makefile
parent4830237660be23ff67b2dd538947c285cde4b715 (diff)
i965g: Enable llvm in dri driver if built
Diffstat (limited to 'src/gallium/targets/dri-i965/Makefile')
-rw-r--r--src/gallium/targets/dri-i965/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/gallium/targets/dri-i965/Makefile b/src/gallium/targets/dri-i965/Makefile
index 3679c075b24..4b50d04255f 100644
--- a/src/gallium/targets/dri-i965/Makefile
+++ b/src/gallium/targets/dri-i965/Makefile
@@ -6,10 +6,11 @@ LIBNAME = i965_dri.so
PIPE_DRIVERS = \
$(TOP)/src/gallium/state_trackers/dri/drm/libdridrm.a \
$(TOP)/src/gallium/winsys/i965/drm/libi965drm.a \
- $(TOP)/src/gallium/drivers/trace/libtrace.a \
- $(TOP)/src/gallium/drivers/rbug/librbug.a \
$(TOP)/src/gallium/winsys/sw/wrapper/libwsw.a \
$(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
+ $(TOP)/src/gallium/drivers/galahad/libgalahad.a \
+ $(TOP)/src/gallium/drivers/trace/libtrace.a \
+ $(TOP)/src/gallium/drivers/rbug/librbug.a \
$(TOP)/src/gallium/drivers/i965/libi965.a
C_SOURCES = \
@@ -18,7 +19,11 @@ C_SOURCES = \
$(DRIVER_SOURCES)
DRIVER_DEFINES = \
- -DGALLIUM_SOFTPIPE -DGALLIUM_RBUG -DGALLIUM_TRACE
+ -DGALLIUM_RBUG -DGALLIUM_TRACE -DGALLIUM_GALAHAD -DGALLIUM_SOFTPIPE
+
+ifeq ($(MESA_LLVM),1)
+DRIVER_DEFINES += -DGALLIUM_LLVMPIPE
+endif
include ../Makefile.dri