summaryrefslogtreecommitdiff
path: root/opencl/Library_opencl.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-27 15:13:12 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-27 15:32:58 +0200
commita70b717ef872c0ac652883ecd2a82c4cc29763e2 (patch)
tree0975349b1b8798eb9d444d7c91d97d52a2f6fa4e /opencl/Library_opencl.mk
parentd83b031346799bff0a3298387f76b16baad2e5cf (diff)
Move more Calc-independent OpenCL stuff from the sc to the opencl module
No cleanups yet. Just removed the "sc" namespace parts now when this stuff is no longer Calc-specific. There is still horribly confusing use of the same OpenCLDevice name for both a class and as a namespace, for instance. And the OpenCLDevice class has only public static members even, so effectively it acts as just a namespace anyway... Etc. Change-Id: Idc5f30a721df0101426c676f04a85e02c5dc8443
Diffstat (limited to 'opencl/Library_opencl.mk')
-rw-r--r--opencl/Library_opencl.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/opencl/Library_opencl.mk b/opencl/Library_opencl.mk
index 51ca62c71302..ad1af3761b08 100644
--- a/opencl/Library_opencl.mk
+++ b/opencl/Library_opencl.mk
@@ -9,6 +9,11 @@
$(eval $(call gb_Library_Library,opencl))
+$(eval $(call gb_Library_set_include,opencl,\
+ -I$(SRCDIR)/opencl/inc \
+ $$(INCLUDE) \
+))
+
$(eval $(call gb_Library_add_defs,opencl,\
-DOPENCL_DLLIMPLEMENTATION \
))
@@ -36,6 +41,8 @@ $(eval $(call gb_Library_use_libraries,opencl,\
$(eval $(call gb_Library_add_exception_objects,opencl,\
opencl/source/openclconfig \
+ opencl/source/openclwrapper \
+ opencl/source/opencl_device \
opencl/source/platforminfo \
))