aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/Makefile.am2
-rw-r--r--src/gallium/state_trackers/dri/Makefile.am6
-rw-r--r--src/gallium/targets/Makefile.am18
-rw-r--r--src/gallium/targets/gbm/Makefile.am2
-rw-r--r--src/gallium/targets/opencl/Makefile.am2
-rw-r--r--src/gallium/targets/xa/Makefile.am2
-rw-r--r--src/gallium/tests/trivial/Makefile.am2
-rw-r--r--src/gallium/winsys/Makefile.am2
8 files changed, 20 insertions, 16 deletions
diff --git a/src/gallium/state_trackers/Makefile.am b/src/gallium/state_trackers/Makefile.am
index 209856041ee..3ced6adb482 100644
--- a/src/gallium/state_trackers/Makefile.am
+++ b/src/gallium/state_trackers/Makefile.am
@@ -29,7 +29,7 @@ if HAVE_GALLIUM_OSMESA
SUBDIRS += osmesa
endif
-if HAVE_DRI
+if HAVE_DRICOMMON
SUBDIRS += dri
endif
diff --git a/src/gallium/state_trackers/dri/Makefile.am b/src/gallium/state_trackers/dri/Makefile.am
index 9428b555512..b89d02f2a2b 100644
--- a/src/gallium/state_trackers/dri/Makefile.am
+++ b/src/gallium/state_trackers/dri/Makefile.am
@@ -20,7 +20,11 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
-SUBDIRS = sw
+SUBDIRS =
+
+if HAVE_DRISW
+SUBDIRS += sw
+endif
if HAVE_LIBDRM
SUBDIRS += drm
diff --git a/src/gallium/targets/Makefile.am b/src/gallium/targets/Makefile.am
index 5023dbc3bff..36d359ce772 100644
--- a/src/gallium/targets/Makefile.am
+++ b/src/gallium/targets/Makefile.am
@@ -43,37 +43,37 @@ SUBDIRS += opencl
endif
if HAVE_GALLIUM_SVGA
-if HAVE_DRI
+if HAVE_DRI2
SUBDIRS += dri-vmwgfx
endif
endif
if HAVE_GALLIUM_FREEDRENO
-if HAVE_DRI
+if HAVE_DRI2
SUBDIRS += dri-freedreno
endif
endif
if HAVE_GALLIUM_I915
-if HAVE_DRI
+if HAVE_DRI2
SUBDIRS += dri-i915
endif
endif
if HAVE_GALLIUM_ILO
-if HAVE_DRI
+if HAVE_DRI2
SUBDIRS += dri-ilo
endif
endif
if HAVE_GALLIUM_R300
-if HAVE_DRI
+if HAVE_DRI2
SUBDIRS += r300/dri
endif
endif
if HAVE_GALLIUM_R600
-if HAVE_DRI
+if HAVE_DRI2
SUBDIRS += r600/dri
endif
@@ -91,7 +91,7 @@ endif
endif
if HAVE_GALLIUM_RADEONSI
-if HAVE_DRI
+if HAVE_DRI2
SUBDIRS += radeonsi/dri
endif
@@ -105,7 +105,7 @@ endif
endif
if HAVE_GALLIUM_NOUVEAU
-if HAVE_DRI
+if HAVE_DRI2
SUBDIRS += dri-nouveau
endif
@@ -123,7 +123,7 @@ endif
endif
if HAVE_GALLIUM_SOFTPIPE
-if HAVE_DRI
+if HAVE_DRISW
SUBDIRS += dri-swrast
endif
endif
diff --git a/src/gallium/targets/gbm/Makefile.am b/src/gallium/targets/gbm/Makefile.am
index bfc03073b3c..ccfddacd865 100644
--- a/src/gallium/targets/gbm/Makefile.am
+++ b/src/gallium/targets/gbm/Makefile.am
@@ -51,7 +51,7 @@ gbm_gallium_drm_la_LIBADD = \
$(LIBDRM_LIBS) \
$(GALLIUM_COMMON_LIB_DEPS)
-if HAVE_DRI
+if HAVE_DRISW
gbm_gallium_drm_la_LIBADD += \
$(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
endif
diff --git a/src/gallium/targets/opencl/Makefile.am b/src/gallium/targets/opencl/Makefile.am
index f8c591d6281..55a73b49ecd 100644
--- a/src/gallium/targets/opencl/Makefile.am
+++ b/src/gallium/targets/opencl/Makefile.am
@@ -35,7 +35,7 @@ lib@OPENCL_LIBNAME@_la_LIBADD = \
-lclangBasic \
$(LLVM_LIBS)
-if HAVE_DRI
+if HAVE_DRISW
lib@OPENCL_LIBNAME@_la_LIBADD += \
$(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
endif
diff --git a/src/gallium/targets/xa/Makefile.am b/src/gallium/targets/xa/Makefile.am
index 2619e57e142..0d3945430a1 100644
--- a/src/gallium/targets/xa/Makefile.am
+++ b/src/gallium/targets/xa/Makefile.am
@@ -48,7 +48,7 @@ libxatracker_la_LIBADD = \
$(LIBDRM_LIBS) \
$(GALLIUM_COMMON_LIB_DEPS)
-if HAVE_DRI
+if HAVE_DRISW
libxatracker_la_LIBADD += \
$(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
endif
diff --git a/src/gallium/tests/trivial/Makefile.am b/src/gallium/tests/trivial/Makefile.am
index d795ab164d7..8a8fad138e3 100644
--- a/src/gallium/tests/trivial/Makefile.am
+++ b/src/gallium/tests/trivial/Makefile.am
@@ -17,7 +17,7 @@ LDADD = $(GALLIUM_PIPE_LOADER_CLIENT_LIBS) \
$(top_builddir)/src/gallium/auxiliary/libgallium.la \
$(GALLIUM_COMMON_LIB_DEPS)
-if HAVE_DRI
+if HAVE_DRISW
LDADD += \
$(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
endif
diff --git a/src/gallium/winsys/Makefile.am b/src/gallium/winsys/Makefile.am
index ab1acc37b4a..7d7a0b11f7a 100644
--- a/src/gallium/winsys/Makefile.am
+++ b/src/gallium/winsys/Makefile.am
@@ -26,7 +26,7 @@ if NEED_WINSYS_XLIB
SUBDIRS += sw/xlib
endif
-if HAVE_DRI
+if HAVE_DRISW
SUBDIRS += sw/dri
endif