---
 src/gallium/state_trackers/dri/Makefile.am | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gallium/state_trackers/dri/Makefile.am 
b/src/gallium/state_trackers/dri/Makefile.am
index bda75c3..bcbd081 100644
--- a/src/gallium/state_trackers/dri/Makefile.am
+++ b/src/gallium/state_trackers/dri/Makefile.am
@@ -26,6 +26,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CPPFLAGS = \
        $(GALLIUM_PIPE_LOADER_DEFINES) \
+       -DDRI_TARGET \
        -DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\" \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/src/mapi \
@@ -37,6 +38,10 @@ AM_CPPFLAGS = \
        $(LIBDRM_CFLAGS) \
        $(VISIBILITY_CFLAGS)
 
+if HAVE_GALLIUM_SOFTPIPE
+AM_CPPFLAGS += \
+       -DGALLIUM_SOFTPIPE
+endif
 if HAVE_GALLIUM_STATIC_TARGETS
 AM_CPPFLAGS += \
        -DGALLIUM_STATIC_TARGETS=1
-- 
2.1.0.rc1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to