Revert "reduce symbol visibility in sw"
[LibreOffice.git] / opencl / Library_opencl.mk
blob204cba064ee4811534951cc15f278391718b48cc
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 clew \
23 icu_headers \
24 icui18n \
25 icuuc \
28 $(eval $(call gb_Library_use_custom_headers,opencl,\
29 officecfg/registry \
32 $(eval $(call gb_Library_use_sdk_api,opencl))
34 $(eval $(call gb_Library_use_libraries,opencl,\
35 comphelper \
36 cppu \
37 sal \
38 salhelper \
39 tl \
42 $(eval $(call gb_Library_add_exception_objects,opencl,\
43 opencl/source/openclconfig \
44 opencl/source/openclwrapper \
45 opencl/source/opencl_device \
46 opencl/source/platforminfo \
47 opencl/source/OpenCLZone \
50 ifeq ($(OS),LINUX)
51 $(eval $(call gb_Library_add_libs,opencl,\
52 -lrt \
54 endif
56 # vim: set noet sw=4 ts=4: