aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2013-09-22 20:30:25 +0100
committerTom Stellard <[email protected]>2013-10-01 07:29:50 -0700
commitd8afbc6177ed00617a1dbb935042074227a1df5b (patch)
tree48ff798a99a4679bcffcc66b885cb8647c655386 /src/gallium/state_trackers
parent1918c37008e1c0ab163555034767b799e1aa63bc (diff)
st/clover: consolidate CPP sources list into Makefile.sources
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/clover/Makefile.am43
-rw-r--r--src/gallium/state_trackers/clover/Makefile.sources40
2 files changed, 43 insertions, 40 deletions
diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am
index b4c197ab139..d0ce68eb214 100644
--- a/src/gallium/state_trackers/clover/Makefile.am
+++ b/src/gallium/state_trackers/clover/Makefile.am
@@ -1,5 +1,7 @@
AUTOMAKE_OPTIONS = subdir-objects
+include Makefile.sources
+
AM_CPPFLAGS = \
$(GALLIUM_PIPE_LOADER_DEFINES) \
-DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\" \
@@ -35,46 +37,7 @@ libclover_la_CXXFLAGS = \
libclover_la_LIBADD = \
libcltgsi.la libclllvm.la
-libclover_la_SOURCES = \
- core/base.hpp \
- core/compat.hpp \
- core/compiler.hpp \
- core/geometry.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/event.hpp \
- core/event.cpp \
- core/program.hpp \
- core/program.cpp \
- core/kernel.hpp \
- core/kernel.cpp \
- core/module.hpp \
- core/module.cpp \
- api/util.hpp \
- 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
+libclover_la_SOURCES = $(CPP_SOURCES)
cldir = $(includedir)/CL
cl_HEADERS = \
diff --git a/src/gallium/state_trackers/clover/Makefile.sources b/src/gallium/state_trackers/clover/Makefile.sources
new file mode 100644
index 00000000000..fd23d78b11f
--- /dev/null
+++ b/src/gallium/state_trackers/clover/Makefile.sources
@@ -0,0 +1,40 @@
+CPP_SOURCES := \
+ core/base.hpp \
+ core/compat.hpp \
+ core/compiler.hpp \
+ core/geometry.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/event.hpp \
+ core/event.cpp \
+ core/program.hpp \
+ core/program.cpp \
+ core/kernel.hpp \
+ core/kernel.cpp \
+ core/module.hpp \
+ core/module.cpp \
+ api/util.hpp \
+ 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