mesa/drivers: drop HAVE_*_DRI from individual makefiles
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 17 Sep 2013 14:58:29 +0000 (15:58 +0100)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 1 Oct 2013 14:29:49 +0000 (07:29 -0700)
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>
src/mesa/drivers/dri/i915/Makefile.am
src/mesa/drivers/dri/i965/Makefile.am
src/mesa/drivers/dri/nouveau/Makefile.am
src/mesa/drivers/dri/r200/Makefile.am
src/mesa/drivers/dri/radeon/Makefile.am
src/mesa/drivers/dri/swrast/Makefile.am

index 46dd4c2775628e91e20d5d9afef583f260d49559..b07ad138798c49075a87dbdd7875c8af1d90d700 100644 (file)
@@ -36,10 +36,7 @@ AM_CFLAGS = \
        $(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)
index eb437d316458cb121677ad1fddde5fdc8bc1188d..71442dd9a64140fec3af53b880747c6a0f62c222 100644 (file)
@@ -23,8 +23,6 @@
 
 include Makefile.sources
 
-if HAVE_I965_DRI
-
 AM_CFLAGS = \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/src/ \
@@ -85,5 +83,3 @@ test_eu_compact_LDADD = $(TEST_LIBS)
 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
index 7172e62558cd4fe05ebe9b500f24193b7df90888..7e6605f29c5e5b202a4312d40282d8d71832834a 100644 (file)
@@ -34,10 +34,7 @@ AM_CFLAGS = \
        $(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)
index fc0482a6ee7863404a01db151ca913a96e510fc8..6635265ea54af8393679b3c47c34b3593546c233 100644 (file)
@@ -37,10 +37,7 @@ AM_CFLAGS = \
        $(RADEON_CFLAGS)
 
 dridir = $(DRI_DRIVER_INSTALL_DIR)
-
-if HAVE_R200_DRI
 dri_LTLIBRARIES = r200_dri.la
-endif
 
 r200_dri_la_SOURCES = \
         $(R200_C_FILES)
index d13b803aeccad1ca72ad720f8f134e1a1d633c0a..eaee1a88d2500949cd25ce0262b02d3a9e2efde5 100644 (file)
@@ -37,10 +37,7 @@ AM_CFLAGS = \
        $(RADEON_CFLAGS)
 
 dridir = $(DRI_DRIVER_INSTALL_DIR)
-
-if HAVE_RADEON_DRI
 dri_LTLIBRARIES = radeon_dri.la
-endif
 
 radeon_dri_la_SOURCES = \
         $(RADEON_C_FILES)
index fb9b8a05072759e6c46610645159e050a99a34a6..9652583f2ca49cfa1b50c5be090a4c3e371e638e 100644 (file)
@@ -34,10 +34,7 @@ AM_CFLAGS = \
        $(VISIBILITY_CFLAGS)
 
 dridir = $(DRI_DRIVER_INSTALL_DIR)
-
-if HAVE_SWRAST_DRI
 dri_LTLIBRARIES = swrast_dri.la
-endif
 
 swrast_dri_la_SOURCES = \
        $(SWRAST_C_FILES)