[Mesa-dev] [PATCH 9/9] mesa: automake: update and reuse X86_SSE41_FILES list

Emil Velikov emil.l.velikov at gmail.com
Tue Apr 5 16:49:13 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/mesa/Makefile.am      | 6 ++----
 src/mesa/Makefile.sources | 4 +++-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am
index 8dc44fd..3903818 100644
--- a/src/mesa/Makefile.am
+++ b/src/mesa/Makefile.am
@@ -179,10 +179,8 @@ libmesagallium_la_LIBADD = \
 	$(ARCH_LIBS)
 
 libmesa_sse41_la_SOURCES = \
-	main/streaming-load-memcpy.c \
-	main/streaming-load-memcpy.h \
-	main/sse_minmax.c \
-	main/sse_minmax.h
+	$(X86_SSE41_FILES)
+
 libmesa_sse41_la_CFLAGS = $(AM_CFLAGS) $(SSE41_CFLAGS)
 
 pkgconfigdir = $(libdir)/pkgconfig
diff --git a/src/mesa/Makefile.sources b/src/mesa/Makefile.sources
index 7425f01..bbafa45 100644
--- a/src/mesa/Makefile.sources
+++ b/src/mesa/Makefile.sources
@@ -589,7 +589,9 @@ X86_64_FILES =		\
 
 X86_SSE41_FILES = \
 	main/streaming-load-memcpy.c \
-	main/sse_minmax.c
+	main/streaming-load-memcpy.h \
+	main/sse_minmax.c \
+	main/sse_minmax.h
 
 SPARC_FILES =			\
 	sparc/sparc.h		\
-- 
2.8.0



More information about the mesa-dev mailing list