[Mesa-dev] [PATCH 21/22] st/clover: sort the sources list

Emil Velikov emil.l.velikov at gmail.com
Mon Aug 18 16:20:58 PDT 2014


Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/gallium/state_trackers/clover/Makefile.am      |  6 +-
 src/gallium/state_trackers/clover/Makefile.sources | 94 ++++++++++++----------
 2 files changed, 52 insertions(+), 48 deletions(-)

diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am
index 5e6f908..e1daafa 100644
--- a/src/gallium/state_trackers/clover/Makefile.am
+++ b/src/gallium/state_trackers/clover/Makefile.am
@@ -37,8 +37,7 @@ libcltgsi_la_CXXFLAGS = \
 	-std=c++0x \
 	$(VISIBILITY_CXXFLAGS)
 
-libcltgsi_la_SOURCES = \
-	tgsi/compiler.cpp
+libcltgsi_la_SOURCES = $(TGSI_SOURCES)
 
 libclllvm_la_CXXFLAGS = \
 	$(VISIBILITY_CXXFLAGS) \
@@ -48,8 +47,7 @@ libclllvm_la_CXXFLAGS = \
 	-DLIBCLC_LIBEXECDIR=\"$(LIBCLC_LIBEXECDIR)/\" \
 	-DCLANG_RESOURCE_DIR=\"$(CLANG_RESOURCE_DIR)\"
 
-libclllvm_la_SOURCES = \
-	llvm/invocation.cpp
+libclllvm_la_SOURCES = $(LLVM_SOURCES)
 
 libclover_la_CXXFLAGS = \
 	-std=c++11 \
diff --git a/src/gallium/state_trackers/clover/Makefile.sources b/src/gallium/state_trackers/clover/Makefile.sources
index 42b3345..5b3344c 100644
--- a/src/gallium/state_trackers/clover/Makefile.sources
+++ b/src/gallium/state_trackers/clover/Makefile.sources
@@ -1,4 +1,47 @@
 CPP_SOURCES := \
+	api/context.cpp \
+	api/device.cpp \
+	api/dispatch.cpp \
+	api/dispatch.hpp \
+	api/event.cpp \
+	api/kernel.cpp \
+	api/memory.cpp \
+	api/platform.cpp \
+	api/program.cpp \
+	api/queue.cpp \
+	api/sampler.cpp \
+	api/transfer.cpp \
+	api/util.hpp \
+	core/compiler.hpp \
+	core/context.cpp \
+	core/context.hpp \
+	core/device.cpp \
+	core/device.hpp \
+	core/error.hpp \
+	core/event.cpp \
+	core/event.hpp \
+	core/format.cpp \
+	core/format.hpp \
+	core/kernel.cpp \
+	core/kernel.hpp \
+	core/memory.cpp \
+	core/memory.hpp \
+	core/module.cpp \
+	core/module.hpp \
+	core/object.hpp \
+	core/platform.cpp \
+	core/platform.hpp \
+	core/program.cpp \
+	core/program.hpp \
+	core/property.hpp \
+	core/queue.cpp \
+	core/queue.hpp \
+	core/resource.cpp \
+	core/resource.hpp \
+	core/sampler.cpp \
+	core/sampler.hpp \
+	core/timestamp.cpp \
+	core/timestamp.hpp \
 	util/adaptor.hpp \
 	util/algebra.hpp \
 	util/algorithm.hpp \
@@ -9,47 +52,10 @@ CPP_SOURCES := \
 	util/lazy.hpp \
 	util/pointer.hpp \
 	util/range.hpp \
-	util/tuple.hpp \
-	core/object.hpp \
-	core/error.hpp \
-	core/compiler.hpp \
-	core/device.hpp \
-	core/device.cpp \
-	core/context.hpp \
-	core/context.cpp \
-	core/queue.hpp \
-	core/queue.cpp \
-	core/format.hpp \
-	core/format.cpp \
-	core/memory.hpp \
-	core/memory.cpp \
-	core/platform.hpp \
-	core/platform.cpp \
-	core/resource.hpp \
-	core/resource.cpp \
-	core/sampler.hpp \
-	core/sampler.cpp \
-	core/timestamp.hpp \
-	core/timestamp.cpp \
-	core/event.hpp \
-	core/event.cpp \
-	core/program.hpp \
-	core/program.cpp \
-	core/property.hpp \
-	core/kernel.hpp \
-	core/kernel.cpp \
-	core/module.hpp \
-	core/module.cpp \
-	api/util.hpp \
-	api/dispatch.hpp \
-	api/dispatch.cpp \
-	api/platform.cpp \
-	api/device.cpp \
-	api/context.cpp \
-	api/queue.cpp \
-	api/memory.cpp \
-	api/transfer.cpp \
-	api/sampler.cpp \
-	api/event.cpp \
-	api/program.cpp \
-	api/kernel.cpp
+	util/tuple.hpp
+
+LLVM_SOURCES := \
+	llvm/invocation.cpp
+
+TGSI_SOURCES := \
+	tgsi/compiler.cpp
-- 
2.0.2



More information about the mesa-dev mailing list