change misleading var prefix
[LibreOffice.git] / sc / Module_sc.mk
blob4d9f7c9618a660a333e4cc4c5f3281ecc489c51d
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
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/.
11 include $(SRCDIR)/sc/common_unoapi_tests.mk
12 include $(SRCDIR)/sc/functions_setup.mk
13 include $(SRCDIR)/sc/ucalc_setup.mk
14 include $(SRCDIR)/sc/subsequent_setup.mk
16 $(eval $(call gb_Module_Module,sc))
18 $(eval $(call gb_Module_add_targets,sc,\
19 Library_sc \
20 Library_scd \
21 Library_scfilt \
22 Library_scui \
23 $(call gb_Helper_optional,OPENCL,Package_opencl) \
24 Package_res_xml \
25 UIConfig_scalc \
28 $(eval $(call gb_Module_add_l10n_targets,sc,\
29 AllLangMoTarget_sc \
32 ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
34 $(eval $(call gb_Module_add_targets,sc,\
35 Library_vbaobj \
38 endif
40 ifneq ($(OS),iOS)
41 ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
42 $(eval $(call gb_Module_add_check_targets,sc,\
43 Library_scqahelper \
44 $(if $(and $(filter $(COM),MSC),$(MERGELIBS)),, \
45 CppunitTest_sc_ucalc) \
46 CppunitTest_sc_ucalc_condformat \
47 CppunitTest_sc_ucalc_copypaste \
48 CppunitTest_sc_ucalc_datatransformation \
49 CppunitTest_sc_ucalc_document_themes \
50 CppunitTest_sc_ucalc_formula \
51 CppunitTest_sc_ucalc_formula2 \
52 CppunitTest_sc_ucalc_parallelism \
53 CppunitTest_sc_ucalc_pivottable \
54 CppunitTest_sc_ucalc_rangelst \
55 CppunitTest_sc_ucalc_range \
56 CppunitTest_sc_ucalc_sharedformula \
57 CppunitTest_sc_ucalc_sparkline \
58 CppunitTest_sc_ucalc_solver \
59 CppunitTest_sc_ucalc_sort \
60 CppunitTest_sc_filters_test \
61 CppunitTest_sc_mark_test \
62 CppunitTest_sc_core \
63 CppunitTest_sc_dataprovider \
64 CppunitTest_sc_cache_test \
65 CppunitTest_sc_parallelism \
66 CppunitTest_sc_shapetest \
68 endif
70 ifneq ($(DISABLE_GUI),TRUE)
71 ifeq ($(OS),LINUX)
72 $(eval $(call gb_Module_add_check_targets,sc,\
73 CppunitTest_sc_tiledrendering \
74 CppunitTest_sc_tiledrendering2 \
76 endif
77 endif
79 $(eval $(call gb_Module_add_slowcheck_targets,sc, \
80 CppunitTest_sc_anchor_test \
81 CppunitTest_sc_cond_format_merge \
82 CppunitTest_sc_copypaste \
83 CppunitTest_sc_html_export_test \
84 CppunitTest_sc_goal_seek_test \
85 CppunitTest_sc_macros_test \
86 CppunitTest_sc_new_cond_format_api \
87 CppunitTest_sc_pdf_export \
88 CppunitTest_sc_pivottable_filters_test \
89 CppunitTest_sc_pivottable_formats_import_export_test \
90 CppunitTest_sc_scriptforge_test \
91 CppunitTest_sc_sparkline_test \
92 CppunitTest_sc_subsequent_filters_test \
93 CppunitTest_sc_subsequent_filters_test2 \
94 CppunitTest_sc_subsequent_filters_test3 \
95 CppunitTest_sc_subsequent_filters_test4 \
96 CppunitTest_sc_subsequent_filters_test5 \
97 CppunitTest_sc_subsequent_export_test \
98 CppunitTest_sc_subsequent_export_test2 \
99 CppunitTest_sc_subsequent_export_test3 \
100 CppunitTest_sc_subsequent_export_test4 \
101 CppunitTest_sc_uicalc \
102 CppunitTest_sc_uicalc2 \
103 CppunitTest_sc_vba_macro_test \
104 CppunitTest_sc_a11y \
105 CppunitTest_sc_filter_html \
108 ifneq ($(ENABLE_JUMBO_SHEETS),)
109 $(eval $(call gb_Module_add_slowcheck_targets,sc, \
110 CppunitTest_sc_jumbosheets_test \
112 endif
114 # Various function tests fail in 32-bit linux_x86 build due to dreaded floating
115 # point weirdness (x87, registers, compiler optimization, ... whatever),
116 # disable them until someone finds a real cure.
118 ifneq ($(PLATFORMID),linux_x86)
119 $(eval $(call gb_Module_add_slowcheck_targets,sc, \
120 CppunitTest_sc_functions_test_old \
121 CppunitTest_sc_database_functions_test \
122 CppunitTest_sc_array_functions_test \
123 CppunitTest_sc_addin_functions_test \
124 CppunitTest_sc_datetime_functions_test \
125 CppunitTest_sc_financial_functions_test \
126 CppunitTest_sc_information_functions_test \
127 CppunitTest_sc_logical_functions_test \
128 CppunitTest_sc_mathematical_functions_test \
129 CppunitTest_sc_spreadsheet_functions_test \
130 CppunitTest_sc_statistical_functions_test \
131 CppunitTest_sc_text_functions_test \
133 endif
135 $(eval $(call gb_Module_add_subsequentcheck_targets,sc,\
136 JunitTest_sc_complex \
137 JunitTest_sc_unoapi_1 \
138 JunitTest_sc_unoapi_2 \
139 JunitTest_sc_unoapi_3 \
140 JunitTest_sc_unoapi_4 \
141 JunitTest_sc_unoapi_6 \
142 JunitTest_sc_unoapi_7 \
143 CppunitTest_sc_annotationobj \
144 CppunitTest_sc_annotationshapeobj \
145 CppunitTest_sc_annotationsobj \
146 CppunitTest_sc_arealinkobj \
147 CppunitTest_sc_arealinksobj \
148 CppunitTest_sc_autoformatobj \
149 CppunitTest_sc_autoformatsobj \
150 CppunitTest_sc_cellcursorobj \
151 CppunitTest_sc_cellfieldsobj \
152 CppunitTest_sc_cellformatsenumeration \
153 CppunitTest_sc_cellformatsobj \
154 CppunitTest_sc_cellobj \
155 CppunitTest_sc_cellrangeobj \
156 CppunitTest_sc_cellrangesobj \
157 CppunitTest_sc_cellsearchobj \
158 CppunitTest_sc_cellsenumeration \
159 CppunitTest_sc_cellsobj \
160 CppunitTest_sc_chart2dataprovider \
161 CppunitTest_sc_chartobj \
162 CppunitTest_sc_chartsobj \
163 CppunitTest_sc_check_data_pilot_field \
164 CppunitTest_sc_check_data_pilot_table \
165 CppunitTest_sc_check_xcell_ranges_query \
166 CppunitTest_sc_consolidationdescriptorobj \
167 $(if $(filter-out $(OS),iOS), \
168 CppunitTest_sc_databaserangeobj) \
169 CppunitTest_sc_databaserangesobj \
170 CppunitTest_sc_datapilotfieldgroupitemobj \
171 CppunitTest_sc_datapilotfieldgroupobj \
172 CppunitTest_sc_datapilotfieldgroupsobj \
173 CppunitTest_sc_datapilotfieldobj \
174 CppunitTest_sc_datapilotfieldsobj \
175 CppunitTest_sc_datapilotitemobj \
176 CppunitTest_sc_datapilotitemsobj \
177 CppunitTest_sc_datapilottableobj \
178 CppunitTest_sc_datapilottablesobj \
179 CppunitTest_sc_ddelinkobj \
180 CppunitTest_sc_ddelinksobj \
181 CppunitTest_sc_documentconfigurationobj \
182 CppunitTest_sc_drawpageobj \
183 CppunitTest_sc_drawpagesobj \
184 CppunitTest_sc_editfieldobj_cell \
185 CppunitTest_sc_editfieldobj_header \
186 CppunitTest_sc_filterdescriptorbase \
187 CppunitTest_sc_functiondescriptionobj \
188 CppunitTest_sc_functionlistobj \
189 CppunitTest_sc_headerfieldsobj \
190 CppunitTest_sc_headerfootercontentobj \
191 CppunitTest_sc_indexenumeration_cellannotationsenumeration \
192 CppunitTest_sc_indexenumeration_cellarealinksenumeration \
193 CppunitTest_sc_indexenumeration_databaserangesenumeration \
194 CppunitTest_sc_indexenumeration_datapilotfieldsenumeration \
195 CppunitTest_sc_indexenumeration_datapilotitemsenumeration \
196 CppunitTest_sc_indexenumeration_datapilottablesenumeration \
197 CppunitTest_sc_indexenumeration_ddelinksenumeration \
198 CppunitTest_sc_indexenumeration_functiondescriptionenumeration \
199 CppunitTest_sc_indexenumeration_labelrangesenumeration \
200 CppunitTest_sc_indexenumeration_namedrangesenumeration \
201 CppunitTest_sc_indexenumeration_scenariosenumeration \
202 CppunitTest_sc_indexenumeration_sheetcellrangesenumeration \
203 CppunitTest_sc_indexenumeration_sheetlinksenumeration \
204 CppunitTest_sc_indexenumeration_spreadsheetsenumeration \
205 CppunitTest_sc_indexenumeration_spreadsheetviewpanesenumeration \
206 CppunitTest_sc_indexenumeration_subtotalfieldsenumeration \
207 CppunitTest_sc_indexenumeration_tableautoformatenumeration \
208 CppunitTest_sc_indexenumeration_tablechartsenumeration \
209 CppunitTest_sc_indexenumeration_tablecolumnsenumeration \
210 CppunitTest_sc_indexenumeration_tableconditionalentryenumeration \
211 CppunitTest_sc_indexenumeration_tablerowsenumeration \
212 CppunitTest_sc_indexenumeration_textfieldenumeration \
213 CppunitTest_sc_importdescriptorbaseobj \
214 CppunitTest_sc_labelrangeobj \
215 CppunitTest_sc_labelrangesobj \
216 CppunitTest_sc_modelobj \
217 CppunitTest_sc_namedrangeobj \
218 CppunitTest_sc_namedrangesobj \
219 CppunitTest_sc_opencl-1 \
220 CppunitTest_sc_opencl-2 \
221 CppunitTest_sc_outlineobj \
222 CppunitTest_sc_recentfunctionsobj \
223 CppunitTest_sc_recordchanges \
224 CppunitTest_sc_scenariosobj \
225 CppunitTest_sc_shapeobj \
226 CppunitTest_sc_sheetlinkobj \
227 CppunitTest_sc_sheetlinksobj \
228 CppunitTest_sc_solverobj \
229 CppunitTest_sc_sortdescriptorbaseobj \
230 CppunitTest_sc_spreadsheetsettings \
231 CppunitTest_sc_spreadsheetsettingsobj \
232 CppunitTest_sc_styleobj \
233 CppunitTest_sc_stylefamiliesobj \
234 CppunitTest_sc_stylefamilyobj \
235 CppunitTest_sc_subtotaldescriptorbase \
236 CppunitTest_sc_subtotalfieldobj \
237 CppunitTest_sc_tablecolumnobj \
238 CppunitTest_sc_tablecolumnsobj \
239 CppunitTest_sc_tableconditionalentryobj \
240 CppunitTest_sc_tableconditionalformat \
241 CppunitTest_sc_tablerowobj \
242 CppunitTest_sc_tablerowsobj \
243 CppunitTest_sc_tablesheetobj \
244 CppunitTest_sc_tablesheetsobj \
245 CppunitTest_sc_tablevalidationobj \
246 CppunitTest_sc_tabviewobj \
247 CppunitTest_sc_theme_import_export_test \
248 CppunitTest_sc_uniquecellformatsenumeration \
249 CppunitTest_sc_uniquecellformatsobj \
250 CppunitTest_sc_viewpaneobj \
253 $(eval $(call gb_Module_add_perfcheck_targets,sc,\
254 CppunitTest_sc_perfobj \
255 CppunitTest_sc_tablesheetobj \
258 $(eval $(call gb_Module_add_subsequentcheck_targets,sc,\
259 PythonTest_sc_python \
262 # screenshots
263 $(eval $(call gb_Module_add_screenshot_targets,sc,\
264 CppunitTest_sc_screenshots \
267 $(eval $(call gb_Module_add_uicheck_targets,sc,\
268 UITest_conditional_format \
269 UITest_range_name \
270 UITest_autofilter \
271 UITest_autofilter2 \
272 UITest_search_replace \
273 UITest_calc_tests \
274 UITest_calc_tests2 \
275 UITest_calc_tests3 \
276 UITest_calc_tests4 \
277 UITest_calc_tests6 \
278 UITest_csv_dialog \
279 UITest_external_links \
280 UITest_statistics \
281 UITest_goalSeek \
282 UITest_protect \
283 UITest_sc_options \
284 UITest_validity \
285 UITest_key_f4 \
286 UITest_textCase \
287 UITest_textToColumns \
288 UITest_signatureLine \
289 UITest_inputLine \
290 UITest_calc_tests7 \
291 UITest_sort \
292 UITest_chart \
293 UITest_chart2 \
294 UITest_pageFormat \
295 UITest_pasteSpecial \
296 UITest_calc_tests8 \
297 UITest_calc_dialogs \
298 UITest_calc_tests9 \
299 UITest_function_wizard \
300 UITest_manual_tests \
303 ifneq ($(or $(ENABLE_LPSOLVE),$(ENABLE_COINMP)),)
304 $(eval $(call gb_Module_add_uicheck_targets,sc,\
305 UITest_solver \
307 endif
308 endif
310 # vim: set noet sw=4 ts=4: