st/dri: define GALLIUM_SOFTPIPE when building kms_swrast
[mesa.git] / src / gallium / state_trackers / dri / Makefile.am
index bda75c3f9b8c552ddac604689be53ffea63ac09f..aa196ebbb11fd39e1d35b879922a3dc914859e75 100644 (file)
@@ -40,6 +40,11 @@ AM_CPPFLAGS = \
 if HAVE_GALLIUM_STATIC_TARGETS
 AM_CPPFLAGS += \
        -DGALLIUM_STATIC_TARGETS=1
+
+if HAVE_GALLIUM_SOFTPIPE
+AM_CPPFLAGS += \
+       -DGALLIUM_SOFTPIPE
+endif # HAVE_GALLIUM_SOFTPIPE
 endif # HAVE_GALLIUM_STATIC_TARGETS
 
 noinst_LTLIBRARIES = libdri.la