8f436d3de7
and automatically seed from time on first use coverity#1242393 Don't call rand coverity#1242404 Don't call rand coverity#1242410 Don't call rand and additionally allow 0xFF as a value coverity#1242409 Don't call rand coverity#1242399 Don't call rand coverity#1242372 Don't call rand coverity#1242377 Don't call rand coverity#1242378 Don't call rand coverity#1242379 Don't call rand coverity#1242382 Don't call rand coverity#1242383 Don't call rand coverity#1242402 Don't call rand coverity#1242397 Don't call rand coverity#1242390 Don't call rand coverity#1242389 Don't call rand coverity#1242388 Don't call rand coverity#1242386 Don't call rand coverity#1242384 Don't call rand coverity#1242394 Don't call rand Change-Id: I241feab9cb370e091fd6ccaba2af941eb95bc7cf
67 lines
1.8 KiB
Makefile
67 lines
1.8 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
|
|
$(eval $(call gb_Library_Library,scopencl))
|
|
|
|
$(eval $(call gb_Library_set_include,scopencl,\
|
|
-I$(SRCDIR)/sc/source/core/inc \
|
|
-I$(SRCDIR)/sc/inc \
|
|
$$(INCLUDE) \
|
|
))
|
|
|
|
$(eval $(call gb_Library_set_precompiled_header,scopencl,$(SRCDIR)/sc/inc/pch/precompiled_scopencl))
|
|
|
|
$(eval $(call gb_Library_use_sdk_api,scopencl))
|
|
|
|
$(eval $(call gb_Library_use_externals,scopencl,\
|
|
boost_headers \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_libraries,scopencl,\
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
for \
|
|
sal \
|
|
svl \
|
|
sc \
|
|
tl \
|
|
$(gb_UWINAPI) \
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,scopencl,\
|
|
sc/source/core/opencl/formulagroupcl \
|
|
sc/source/core/opencl/openclwrapper \
|
|
sc/source/core/opencl/opencl_device \
|
|
sc/source/core/opencl/opbase \
|
|
sc/source/core/opencl/op_financial \
|
|
sc/source/core/opencl/op_database \
|
|
sc/source/core/opencl/op_math \
|
|
sc/source/core/opencl/op_addin \
|
|
sc/source/core/opencl/op_statistical \
|
|
sc/source/core/opencl/op_array \
|
|
sc/source/core/opencl/op_logical \
|
|
sc/source/core/opencl/op_spreadsheet \
|
|
sc/source/core/opencl/clcc/clew \
|
|
))
|
|
|
|
ifeq ($(OS),LINUX)
|
|
$(eval $(call gb_Library_add_libs,scopencl,\
|
|
-ldl \
|
|
-lrt \
|
|
))
|
|
endif
|
|
|
|
ifeq ($(OS),MACOSX)
|
|
$(eval $(call gb_Library_add_libs,scopencl,\
|
|
-framework OpenCL \
|
|
))
|
|
endif
|
|
|
|
# vim: set noet sw=4 ts=4:
|