fix build
[LibreOffice.git] / opencl / Library_opencl.mk
blob213c600637c274792022dbbac32cfb7579935428
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 \
29 $(eval $(call gb_Library_use_custom_headers,opencl,\
30 officecfg/registry \
33 $(eval $(call gb_Library_use_sdk_api,opencl))
35 $(eval $(call gb_Library_use_libraries,opencl,\
36 comphelper \
37 cppu \
38 sal \
39 salhelper \
40 tl \
43 $(eval $(call gb_Library_add_exception_objects,opencl,\
44 opencl/source/openclconfig \
45 opencl/source/openclwrapper \
46 opencl/source/opencl_device \
47 opencl/source/platforminfo \
48 opencl/source/OpenCLZone \
51 ifeq ($(OS),LINUX)
52 $(eval $(call gb_Library_add_libs,opencl,\
53 -lrt \
55 endif
57 # vim: set noet sw=4 ts=4: