From c69ab885d74c675091c1a143bd8a4abb2071112e Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 5 Apr 2016 15:50:28 +0100 Subject: [PATCH] mesa: automake: update and reuse X86_SSE41_FILES list Signed-off-by: Emil Velikov Acked-by: Jason Ekstrand --- 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 8dc44fda0f2..390381828e9 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 7425f01273d..bbafa454c0d 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.30.2