summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/Makefile.am')
-rw-r--r--src/gallium/auxiliary/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/Makefile.am b/src/gallium/auxiliary/Makefile.am
index 0d1aee69ff0..1154c791311 100644
--- a/src/gallium/auxiliary/Makefile.am
+++ b/src/gallium/auxiliary/Makefile.am
@@ -20,6 +20,16 @@ libgallium_la_SOURCES = \
$(NIR_SOURCES) \
$(GENERATED_SOURCES)
+if HAVE_LIBDRM
+
+AM_CFLAGS += \
+ $(LIBDRM_CFLAGS)
+
+libgallium_la_SOURCES += \
+ $(RENDERONLY_SOURCES)
+
+endif
+
if HAVE_GALLIUM_LLVM
AM_CFLAGS += \