summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/Automake.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/softpipe/Automake.inc')
-rw-r--r--src/gallium/drivers/softpipe/Automake.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/Automake.inc b/src/gallium/drivers/softpipe/Automake.inc
new file mode 100644
index 00000000000..6455f3caa3d
--- /dev/null
+++ b/src/gallium/drivers/softpipe/Automake.inc
@@ -0,0 +1,15 @@
+if HAVE_GALLIUM_SOFTPIPE
+
+TARGET_DRIVERS += swrast
+TARGET_CPPFLAGS += -DGALLIUM_SOFTPIPE
+TARGET_LIB_DEPS += \
+ $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la \
+ $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la
+
+if HAVE_DRI2
+TARGET_DRIVERS += kms_swrast
+TARGET_LIB_DEPS += \
+ $(top_builddir)/src/gallium/winsys/sw/kms-dri/libswkmsdri.la
+
+endif
+endif