Typo: documet->document
[LibreOffice.git] / opencl / Library_opencl.mk
blob5b3de52d6a3e23dd64bbef004cf478545897bd7d
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,opencl))
12 $(eval $(call gb_Library_set_include,opencl,\
13 -I$(SRCDIR)/opencl/inc \
14 $$(INCLUDE) \
17 $(eval $(call gb_Library_add_defs,opencl,\
18 -DOPENCL_DLLIMPLEMENTATION \
21 $(eval $(call gb_Library_use_externals,opencl,\
22 boost_headers \
23 clew \
24 icu_headers \
25 icui18n \
26 icuuc \
27 libxml2 \
30 $(eval $(call gb_Library_use_custom_headers,opencl,\
31 officecfg/registry \
34 $(eval $(call gb_Library_use_sdk_api,opencl))
36 $(eval $(call gb_Library_use_libraries,opencl,\
37 comphelper \
38 cppu \
39 sal \
40 salhelper \
41 tl \
44 $(eval $(call gb_Library_add_exception_objects,opencl,\
45 opencl/source/openclconfig \
46 opencl/source/openclwrapper \
47 opencl/source/opencl_device \
48 opencl/source/platforminfo \
49 opencl/source/OpenCLZone \
52 ifeq ($(OS),LINUX)
53 $(eval $(call gb_Library_add_libs,opencl,\
54 -lrt \
56 endif
58 # vim: set noet sw=4 ts=4: