From: Emil Velikov Date: Tue, 5 Apr 2016 14:50:28 +0000 (+0100) Subject: mesa: automake: update and reuse X86_SSE41_FILES list X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c69ab885d74c675091c1a143bd8a4abb2071112e;p=mesa.git mesa: automake: update and reuse X86_SSE41_FILES list Signed-off-by: Emil Velikov Acked-by: Jason Ekstrand --- 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 \