1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #*************************************************************************
12 $(eval
$(call gb_CppunitTest_CppunitTest
,sc_ucalc
))
14 $(eval
$(call gb_CppunitTest_add_exception_objects
,sc_ucalc
, \
16 sc
/qa
/unit
/ucalc_column \
17 sc
/qa
/unit
/ucalc_condformat \
18 sc
/qa
/unit
/ucalc_formula \
19 sc
/qa
/unit
/ucalc_pivottable \
20 sc
/qa
/unit
/ucalc_sharedformula \
21 sc
/qa
/unit
/ucalc_sort \
24 $(eval
$(call gb_CppunitTest_use_library_objects
,sc_ucalc
, \
29 $(eval
$(call gb_CppunitTest_use_externals
,sc_ucalc
,\
31 $(call gb_Helper_optional
,OPENCL
, \
42 $(eval
$(call gb_CppunitTest_use_libraries
,sc_ucalc
, \
43 $(call gb_Helper_optional
,AVMEDIA
,avmedia
) \
55 $(call gb_Helper_optional
,OPENCL
, \
78 $(eval
$(call gb_CppunitTest_set_include
,sc_ucalc
,\
79 -I
$(SRCDIR
)/sc
/source
/ui
/inc \
80 -I
$(SRCDIR
)/sc
/source
/core
/inc \
85 $(eval
$(call gb_CppunitTest_use_api
,sc_ucalc
,\
91 $(eval
$(call gb_CppunitTest_use_custom_headers
,sc_ucalc
,\
95 $(eval
$(call gb_CppunitTest_use_ure
,sc_ucalc
))
96 $(eval
$(call gb_CppunitTest_use_vcl
,sc_ucalc
))
98 $(eval
$(call gb_CppunitTest_use_components
,sc_ucalc
,\
99 configmgr
/source
/configmgr \
101 i18npool
/source
/search
/i18nsearch \
102 i18npool
/util
/i18npool \
103 sax
/source
/expatwrap
/expwrap \
104 scaddins
/source
/analysis
/analysis \
105 scaddins
/source
/datefunc
/date \
106 scaddins
/source
/pricing
/pricing \
108 ucb
/source
/core
/ucb1 \
109 ucb
/source
/ucp
/file
/ucpfile1 \
110 unoxml
/source
/service
/unoxml \
116 $(eval
$(call gb_CppunitTest_add_libs
,sc_ucalc
,\
121 ifeq ($(OS
), $(filter LINUX
%BSD SOLARIS
, $(OS
)))
122 $(eval
$(call gb_CppunitTest_add_libs
,sc_ucalc
,\
127 $(eval
$(call gb_CppunitTest_use_configuration
,sc_ucalc
))
129 # vim: set noet sw=4 ts=4: