summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-04-15 12:38:25 -0500
committerTim Rowley <[email protected]>2016-04-15 14:21:50 -0500
commitee72fec9cfaddfef78a112f0b8d2f3f7f67a6535 (patch)
tree12a1fe797c25d6534ec7801518756a4ba4118381 /src/gallium/drivers/swr
parentf6d21bcd6b5cd5073a571034ec640177b0abf82d (diff)
gallium/swr: allow swr use as a swrast dri driver
Reviewed-by: Emil Velikov <[email protected]> Tested-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r--src/gallium/drivers/swr/Automake.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/Automake.inc b/src/gallium/drivers/swr/Automake.inc
new file mode 100644
index 00000000000..a51921455a9
--- /dev/null
+++ b/src/gallium/drivers/swr/Automake.inc
@@ -0,0 +1,8 @@
+if HAVE_GALLIUM_SWR
+
+TARGET_DRIVERS += swrast
+TARGET_CPPFLAGS += -DGALLIUM_SWR
+TARGET_LIB_DEPS += \
+ $(top_builddir)/src/gallium/drivers/swr/libmesaswr.la
+
+endif