tdf#115863: fix TIFF import
[LibreOffice.git] / sc / CppunitTest_sc_ucalc.mk
blobd423f6c73a7bdb3537c25d912556ed8ab677b167
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, \
15 sc/qa/unit/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, \
25 sc \
26 scqahelper \
29 $(eval $(call gb_CppunitTest_use_externals,sc_ucalc,\
30 boost_headers \
31 $(call gb_Helper_optional,OPENCL, \
32 clew) \
33 icu_headers \
34 icui18n \
35 icuuc \
36 libxml2 \
37 mdds_headers \
38 orcus \
39 orcus-parser \
42 $(eval $(call gb_CppunitTest_use_libraries,sc_ucalc, \
43 $(call gb_Helper_optional,AVMEDIA,avmedia) \
44 basegfx \
45 comphelper \
46 cppu \
47 cppuhelper \
48 dbtools \
49 drawinglayer \
50 editeng \
51 for \
52 forui \
53 i18nlangtag \
54 i18nutil \
55 $(call gb_Helper_optional,OPENCL, \
56 opencl) \
57 sal \
58 salhelper \
59 sax \
60 sb \
61 sfx \
62 sot \
63 svl \
64 svt \
65 svx \
66 svxcore \
67 test \
68 tk \
69 tl \
70 ucbhelper \
71 unotest \
72 utl \
73 vbahelper \
74 vcl \
75 xo \
78 $(eval $(call gb_CppunitTest_set_include,sc_ucalc,\
79 -I$(SRCDIR)/sc/source/ui/inc \
80 -I$(SRCDIR)/sc/source/core/inc \
81 -I$(SRCDIR)/sc/inc \
82 $$(INCLUDE) \
85 $(eval $(call gb_CppunitTest_use_sdk_api,sc_ucalc))
87 $(eval $(call gb_CppunitTest_use_custom_headers,sc_ucalc,\
88 officecfg/registry \
91 $(eval $(call gb_CppunitTest_use_ure,sc_ucalc))
92 $(eval $(call gb_CppunitTest_use_vcl,sc_ucalc))
94 $(eval $(call gb_CppunitTest_use_components,sc_ucalc,\
95 configmgr/source/configmgr \
96 framework/util/fwk \
97 i18npool/source/search/i18nsearch \
98 i18npool/util/i18npool \
99 sax/source/expatwrap/expwrap \
100 scaddins/source/analysis/analysis \
101 scaddins/source/datefunc/date \
102 scaddins/source/pricing/pricing \
103 sfx2/util/sfx \
104 ucb/source/core/ucb1 \
105 ucb/source/ucp/file/ucpfile1 \
106 unoxml/source/service/unoxml \
107 uui/util/uui \
110 ifeq ($(OS),LINUX)
111 $(eval $(call gb_CppunitTest_add_libs,sc_ucalc,\
112 -lrt \
114 endif
116 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
117 $(eval $(call gb_CppunitTest_add_libs,sc_ucalc,\
118 -lpthread \
120 endif
122 $(eval $(call gb_CppunitTest_use_configuration,sc_ucalc))
124 # vim: set noet sw=4 ts=4: