st/clover: sort the sources list
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 18 Aug 2014 22:16:24 +0000 (23:16 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 28 Aug 2014 20:24:42 +0000 (21:24 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/state_trackers/clover/Makefile.am
src/gallium/state_trackers/clover/Makefile.sources

index 5e6f9088e3670644bd4e93072b89b0bf174c3f05..e1daafa960a24f6531808c7d3b10250ac12212e8 100644 (file)
@@ -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 \
index 42b334537e42d7559baea72ad600872054f91d35..5b3344c63ffade0c7fc83c690b56a53de9bb57dc 100644 (file)
@@ -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