Bump version to 4.3-4
[LibreOffice.git] / sc / Library_scopencl.mk
blob3e6b955638ca4cd4df4e7eb0f6aeae08bf4c1ba7
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,scopencl))
12 $(eval $(call gb_Library_set_include,scopencl,\
13 -I$(SRCDIR)/sc/source/core/inc \
14 -I$(SRCDIR)/sc/inc \
15 $$(INCLUDE) \
18 $(eval $(call gb_Library_set_precompiled_header,scopencl,$(SRCDIR)/sc/inc/pch/precompiled_scopencl))
20 $(eval $(call gb_Library_use_sdk_api,scopencl))
22 $(eval $(call gb_Library_use_externals,scopencl,\
23 boost_headers \
26 $(eval $(call gb_Library_use_libraries,scopencl,\
27 cppu \
28 cppuhelper \
29 for \
30 sal \
31 svl \
32 sc \
33 tl \
34 $(gb_UWINAPI) \
37 $(eval $(call gb_Library_add_exception_objects,scopencl,\
38 sc/source/core/opencl/formulagroupcl \
39 sc/source/core/opencl/openclwrapper \
40 sc/source/core/opencl/opencl_device \
41 sc/source/core/opencl/opbase \
42 sc/source/core/opencl/op_financial \
43 sc/source/core/opencl/op_database \
44 sc/source/core/opencl/op_math \
45 sc/source/core/opencl/op_addin \
46 sc/source/core/opencl/op_statistical \
47 sc/source/core/opencl/op_array \
48 sc/source/core/opencl/op_logical \
49 sc/source/core/opencl/op_spreadsheet \
50 sc/source/core/opencl/clcc/clew \
53 ifeq ($(OS),LINUX)
54 $(eval $(call gb_Library_add_libs,scopencl,\
55 -ldl \
56 -lrt \
58 endif
60 ifeq ($(OS),MACOSX)
61 $(eval $(call gb_Library_add_libs,scopencl,\
62 -framework OpenCL \
64 endif
66 # vim: set noet sw=4 ts=4: