afcf84daa0
AMLOEXT-378 FIX Change-Id: Ie70185694f9e7ab3a955994948146b9adb60f650 Signed-off-by: haochen <haochen@multicorewareinc.com> Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>
66 lines
1.7 KiB
Makefile
66 lines
1.7 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,\
|
|
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:
|