summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/Automake.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/virgl/Automake.inc')
-rw-r--r--src/gallium/drivers/virgl/Automake.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/Automake.inc b/src/gallium/drivers/virgl/Automake.inc
new file mode 100644
index 00000000000..b05d3e314c8
--- /dev/null
+++ b/src/gallium/drivers/virgl/Automake.inc
@@ -0,0 +1,11 @@
+if HAVE_GALLIUM_VIRGL
+
+TARGET_DRIVERS += virtio_gpu
+TARGET_CPPFLAGS += -DGALLIUM_VIRGL
+TARGET_LIB_DEPS += \
+ $(top_builddir)/src/gallium/drivers/virgl/libvirgl.la \
+ $(top_builddir)/src/gallium/winsys/virgl/drm/libvirgldrm.la \
+ $(top_builddir)/src/gallium/winsys/virgl/vtest/libvirglvtest.la \
+ $(LIBDRM_LIBS)
+
+endif