The mesa/drivers/dri/Makefile.am already guards the individual
targets/subdirs with HAVE_*_DRI before including them. Thus making
the additional check within each Makefile.am unnecessary.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
$(INTEL_CFLAGS)
dridir = $(DRI_DRIVER_INSTALL_DIR)
-
-if HAVE_I915_DRI
dri_LTLIBRARIES = i915_dri.la
-endif
i915_dri_la_SOURCES = $(i915_FILES)
i915_dri_la_LDFLAGS = $(DRI_DRIVER_LDFLAGS)
include Makefile.sources
-if HAVE_I965_DRI
-
AM_CFLAGS = \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src/ \
all-local: i965_dri.la
$(MKDIR_P) $(top_builddir)/$(LIB_DIR);
ln -f .libs/i965_dri.so $(top_builddir)/$(LIB_DIR)/i965_dri.so;
-
-endif
$(NOUVEAU_CFLAGS)
dridir = $(DRI_DRIVER_INSTALL_DIR)
-
-if HAVE_NOUVEAU_DRI
dri_LTLIBRARIES = nouveau_vieux_dri.la
-endif
nouveau_vieux_dri_la_SOURCES = \
$(NOUVEAU_C_FILES)
$(RADEON_CFLAGS)
dridir = $(DRI_DRIVER_INSTALL_DIR)
-
-if HAVE_R200_DRI
dri_LTLIBRARIES = r200_dri.la
-endif
r200_dri_la_SOURCES = \
$(R200_C_FILES)
$(RADEON_CFLAGS)
dridir = $(DRI_DRIVER_INSTALL_DIR)
-
-if HAVE_RADEON_DRI
dri_LTLIBRARIES = radeon_dri.la
-endif
radeon_dri_la_SOURCES = \
$(RADEON_C_FILES)
$(VISIBILITY_CFLAGS)
dridir = $(DRI_DRIVER_INSTALL_DIR)
-
-if HAVE_SWRAST_DRI
dri_LTLIBRARIES = swrast_dri.la
-endif
swrast_dri_la_SOURCES = \
$(SWRAST_C_FILES)