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 $(eval
$(call gb_Module_Module
,sc
))
13 $(eval
$(call gb_Module_add_targets
,sc
,\
17 $(call gb_Helper_optional
,DESKTOP
,Library_scui
) \
18 $(call gb_Helper_optional
,OPENCL
,Package_opencl
) \
22 $(eval
$(call gb_Module_add_l10n_targets
,sc
,\
27 ifeq ($(ENABLE_TELEPATHY
),TRUE
)
29 $(eval
$(call gb_Module_add_targets
,sc
,\
30 CustomTarget_uiconfig \
35 ifneq ($(filter SCRIPTING
,$(BUILD_TYPE
)),)
37 $(eval
$(call gb_Module_add_targets
,sc
,\
43 $(eval
$(call gb_Module_add_check_targets
,sc
,\
45 $(if
$(and
$(filter $(COM
),MSC
),$(MERGELIBS
)),, \
46 CppunitTest_sc_ucalc
) \
47 CppunitTest_sc_bugfix_test \
48 CppunitTest_sc_filters_test \
49 CppunitTest_sc_rangelst_test \
50 CppunitTest_sc_mark_test \
55 $(eval
$(call gb_Module_add_check_targets
,sc
,\
56 CppunitTest_sc_tiledrendering \
60 $(eval
$(call gb_Module_add_slowcheck_targets
,sc
, \
61 CppunitTest_sc_condformats \
62 CppunitTest_sc_new_cond_format_api \
63 CppunitTest_sc_subsequent_filters_test \
64 CppunitTest_sc_subsequent_export_test \
65 CppunitTest_sc_html_export_test \
66 CppunitTest_sc_opencl_test \
67 CppunitTest_sc_copypaste \
70 # Various function tests fail in 32-bit linux_x86 build due to dreaded floating
71 # point weirdness (x87, registers, compiler optimization, ... whatever),
72 # disable them until someone finds a real cure.
74 ifneq ($(PLATFORMID
),linux_x86
)
75 $(eval
$(call gb_Module_add_slowcheck_targets
,sc
, \
76 CppunitTest_sc_functions_test \
80 # Disabled to allow the check tinderbox execute the sd tests
81 # CppunitTest_sc_chart_regression_test \
83 $(eval
$(call gb_Module_add_subsequentcheck_targets
,sc
,\
84 JunitTest_sc_complex \
85 JunitTest_sc_unoapi_1 \
86 JunitTest_sc_unoapi_2 \
87 JunitTest_sc_unoapi_3 \
88 JunitTest_sc_unoapi_4 \
89 JunitTest_sc_unoapi_5 \
90 JunitTest_sc_unoapi_6 \
91 JunitTest_sc_unoapi_7 \
92 CppunitTest_sc_anchor_test \
93 CppunitTest_sc_annotationshapeobj \
94 CppunitTest_sc_outlineobj \
95 CppunitTest_sc_styleloaderobj \
96 CppunitTest_sc_recordchanges \
97 CppunitTest_sc_annotationobj \
98 CppunitTest_sc_annotationsobj \
99 CppunitTest_sc_cellrangeobj \
100 $(if
$(filter-out $(OS
),IOS
), \
101 CppunitTest_sc_databaserangeobj
) \
102 CppunitTest_sc_datapilottableobj \
103 CppunitTest_sc_datapilotfieldobj \
104 CppunitTest_sc_macros_test \
105 CppunitTest_sc_namedrangeobj \
106 CppunitTest_sc_namedrangesobj \
107 CppunitTest_sc_tablesheetobj \
108 CppunitTest_sc_tablesheetsobj \
109 CppunitTest_sc_editfieldobj_cell \
110 CppunitTest_sc_editfieldobj_header \
111 CppunitTest_sc_modelobj \
112 CppunitTest_sc_check_xcell_ranges_query \
113 CppunitTest_sc_check_data_pilot_field \
114 CppunitTest_sc_check_data_pilot_table \
115 CppunitTest_sc_viewpaneobj \
118 $(eval
$(call gb_Module_add_perfcheck_targets
,sc
,\
119 CppunitTest_sc_perfobj \
120 CppunitTest_sc_tablesheetobj \
124 $(eval
$(call gb_Module_add_screenshot_targets
,sc
,\
125 CppunitTest_sc_screenshots \
128 # vim: set noet sw=4 ts=4: