2011-08-10 02:12:48 +09:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2011-03-25 23:41:28 -05:00
|
|
|
#
|
|
|
|
#
|
2013-04-19 21:10:42 +01:00
|
|
|
# This file is part of the LibreOffice project.
|
2011-03-25 23:41:28 -05:00
|
|
|
#
|
2013-04-19 21:10:42 +01:00
|
|
|
# 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/.
|
2011-03-25 23:41:28 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_Module_Module,sc))
|
|
|
|
|
|
|
|
$(eval $(call gb_Module_add_targets,sc,\
|
2011-04-05 11:50:53 +02:00
|
|
|
Library_sc \
|
|
|
|
Library_scd \
|
|
|
|
Library_scfilt \
|
2014-02-19 12:21:12 +01:00
|
|
|
$(call gb_Helper_optional,DESKTOP,Library_scui) \
|
2016-07-11 15:12:38 +01:00
|
|
|
$(call gb_Helper_optional,OPENCL,Package_opencl) \
|
2016-08-01 19:20:26 +05:30
|
|
|
Package_res_xml \
|
2017-06-11 20:56:30 +01:00
|
|
|
UIConfig_scalc \
|
2011-03-25 23:41:28 -05:00
|
|
|
))
|
2011-04-11 12:22:52 +02:00
|
|
|
|
2013-11-13 02:12:48 +01:00
|
|
|
$(eval $(call gb_Module_add_l10n_targets,sc,\
|
2017-06-11 20:56:30 +01:00
|
|
|
AllLangMoTarget_sc \
|
2013-11-13 02:12:48 +01:00
|
|
|
))
|
|
|
|
|
2014-10-21 23:21:37 +03:00
|
|
|
ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
|
2012-01-20 17:20:11 +02:00
|
|
|
|
|
|
|
$(eval $(call gb_Module_add_targets,sc,\
|
|
|
|
Library_vbaobj \
|
|
|
|
))
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2017-06-23 21:38:25 +02:00
|
|
|
ifneq ($(OS),IOS)
|
2011-04-11 12:22:52 +02:00
|
|
|
$(eval $(call gb_Module_add_check_targets,sc,\
|
2015-11-17 18:32:38 +01:00
|
|
|
Library_scqahelper \
|
2015-02-21 17:51:51 +01:00
|
|
|
$(if $(and $(filter $(COM),MSC),$(MERGELIBS)),, \
|
|
|
|
CppunitTest_sc_ucalc) \
|
2016-03-24 14:06:09 +01:00
|
|
|
CppunitTest_sc_bugfix_test \
|
2015-11-17 18:32:38 +01:00
|
|
|
CppunitTest_sc_filters_test \
|
|
|
|
CppunitTest_sc_rangelst_test \
|
2016-11-23 15:49:56 +01:00
|
|
|
CppunitTest_sc_range_test \
|
2016-03-03 09:00:13 +05:30
|
|
|
CppunitTest_sc_mark_test \
|
2015-11-17 18:32:38 +01:00
|
|
|
CppunitTest_sc_core \
|
2017-08-12 19:13:10 +02:00
|
|
|
CppunitTest_sc_dataprovider \
|
2017-08-14 17:06:05 +02:00
|
|
|
CppunitTest_sc_datatransformation \
|
2017-08-16 03:03:04 +02:00
|
|
|
CppunitTest_sc_cache_test \
|
2012-11-12 13:27:40 +00:00
|
|
|
))
|
|
|
|
|
2017-05-02 19:57:53 +02:00
|
|
|
ifneq ($(ENABLE_HEADLESS),TRUE)
|
2016-07-01 12:00:44 +02:00
|
|
|
ifeq ($(OS),LINUX)
|
|
|
|
$(eval $(call gb_Module_add_check_targets,sc,\
|
2017-08-08 21:30:03 +00:00
|
|
|
CppunitTest_sc_tiledrendering \
|
2016-07-01 12:00:44 +02:00
|
|
|
))
|
|
|
|
endif
|
2017-05-02 19:57:53 +02:00
|
|
|
endif
|
2016-07-01 12:00:44 +02:00
|
|
|
|
2012-11-12 13:27:40 +00:00
|
|
|
$(eval $(call gb_Module_add_slowcheck_targets,sc, \
|
2015-11-17 18:32:38 +01:00
|
|
|
CppunitTest_sc_condformats \
|
|
|
|
CppunitTest_sc_new_cond_format_api \
|
|
|
|
CppunitTest_sc_subsequent_filters_test \
|
|
|
|
CppunitTest_sc_subsequent_export_test \
|
|
|
|
CppunitTest_sc_html_export_test \
|
|
|
|
CppunitTest_sc_copypaste \
|
2016-09-14 12:56:31 +02:00
|
|
|
))
|
|
|
|
|
|
|
|
# Various function tests fail in 32-bit linux_x86 build due to dreaded floating
|
|
|
|
# point weirdness (x87, registers, compiler optimization, ... whatever),
|
|
|
|
# disable them until someone finds a real cure.
|
|
|
|
|
2017-10-20 10:52:48 +02:00
|
|
|
ifneq ($(filter-out linux_aarch64 linux_x86,$(PLATFORMID)),)
|
2016-09-14 12:56:31 +02:00
|
|
|
$(eval $(call gb_Module_add_slowcheck_targets,sc, \
|
2016-11-30 21:01:31 +01:00
|
|
|
CppunitTest_sc_functions_test_old \
|
|
|
|
CppunitTest_sc_database_functions_test \
|
2016-11-30 22:13:51 +01:00
|
|
|
CppunitTest_sc_array_functions_test \
|
|
|
|
CppunitTest_sc_addin_functions_test \
|
|
|
|
CppunitTest_sc_datetime_functions_test \
|
|
|
|
CppunitTest_sc_financial_functions_test \
|
|
|
|
CppunitTest_sc_information_functions_test \
|
|
|
|
CppunitTest_sc_logical_functions_test \
|
|
|
|
CppunitTest_sc_mathematical_functions_test \
|
|
|
|
CppunitTest_sc_spreadsheet_functions_test \
|
|
|
|
CppunitTest_sc_statistical_functions_test \
|
|
|
|
CppunitTest_sc_text_functions_test \
|
2012-11-12 13:27:40 +00:00
|
|
|
))
|
2016-09-14 12:56:31 +02:00
|
|
|
endif
|
2012-11-12 13:27:40 +00:00
|
|
|
|
|
|
|
# Disabled to allow the check tinderbox execute the sd tests
|
2012-11-30 12:23:25 +00:00
|
|
|
# CppunitTest_sc_chart_regression_test \
|
2012-11-12 13:27:40 +00:00
|
|
|
|
|
|
|
$(eval $(call gb_Module_add_subsequentcheck_targets,sc,\
|
2015-11-17 18:32:38 +01:00
|
|
|
JunitTest_sc_complex \
|
|
|
|
JunitTest_sc_unoapi_1 \
|
|
|
|
JunitTest_sc_unoapi_2 \
|
|
|
|
JunitTest_sc_unoapi_3 \
|
|
|
|
JunitTest_sc_unoapi_4 \
|
|
|
|
JunitTest_sc_unoapi_5 \
|
|
|
|
JunitTest_sc_unoapi_6 \
|
|
|
|
JunitTest_sc_unoapi_7 \
|
2016-12-22 21:05:41 +01:00
|
|
|
CppunitTest_sc_opencl_test \
|
2017-08-10 17:13:45 +03:00
|
|
|
CppunitTest_sc_parallelism \
|
2016-10-02 18:29:34 +02:00
|
|
|
CppunitTest_sc_anchor_test \
|
2015-11-17 18:32:38 +01:00
|
|
|
CppunitTest_sc_annotationshapeobj \
|
|
|
|
CppunitTest_sc_outlineobj \
|
|
|
|
CppunitTest_sc_styleloaderobj \
|
|
|
|
CppunitTest_sc_recordchanges \
|
|
|
|
CppunitTest_sc_annotationobj \
|
|
|
|
CppunitTest_sc_annotationsobj \
|
|
|
|
CppunitTest_sc_cellrangeobj \
|
|
|
|
$(if $(filter-out $(OS),IOS), \
|
|
|
|
CppunitTest_sc_databaserangeobj) \
|
|
|
|
CppunitTest_sc_datapilottableobj \
|
|
|
|
CppunitTest_sc_datapilotfieldobj \
|
|
|
|
CppunitTest_sc_macros_test \
|
|
|
|
CppunitTest_sc_namedrangeobj \
|
|
|
|
CppunitTest_sc_namedrangesobj \
|
|
|
|
CppunitTest_sc_tablesheetobj \
|
|
|
|
CppunitTest_sc_tablesheetsobj \
|
|
|
|
CppunitTest_sc_editfieldobj_cell \
|
|
|
|
CppunitTest_sc_editfieldobj_header \
|
|
|
|
CppunitTest_sc_modelobj \
|
2016-02-11 03:01:14 +02:00
|
|
|
CppunitTest_sc_check_xcell_ranges_query \
|
2016-02-22 02:08:55 +02:00
|
|
|
CppunitTest_sc_check_data_pilot_field \
|
|
|
|
CppunitTest_sc_check_data_pilot_table \
|
2016-04-21 22:45:51 +02:00
|
|
|
CppunitTest_sc_viewpaneobj \
|
2017-06-28 08:09:33 +00:00
|
|
|
CppunitTest_sc_cellobj \
|
2017-06-08 16:30:08 +02:00
|
|
|
CppunitTest_sc_cellcursorobj \
|
2017-08-06 07:10:36 +00:00
|
|
|
CppunitTest_sc_tabviewobj \
|
2017-08-07 23:17:51 +00:00
|
|
|
CppunitTest_sc_arealinkobj \
|
2017-08-25 06:02:55 +00:00
|
|
|
CppunitTest_sc_datapilotitemobj \
|
2017-09-02 04:34:39 +00:00
|
|
|
CppunitTest_sc_subtotalfieldobj \
|
2017-09-03 08:04:24 +00:00
|
|
|
CppunitTest_sc_arealinksobj \
|
2011-11-28 21:58:08 +01:00
|
|
|
))
|
2011-03-25 23:41:28 -05:00
|
|
|
|
2014-11-04 12:36:46 +01:00
|
|
|
$(eval $(call gb_Module_add_perfcheck_targets,sc,\
|
2015-11-17 18:32:38 +01:00
|
|
|
CppunitTest_sc_perfobj \
|
|
|
|
CppunitTest_sc_tablesheetobj \
|
2014-11-04 12:36:46 +01:00
|
|
|
))
|
|
|
|
|
2017-05-29 12:23:21 +02:00
|
|
|
ifneq ($(DISABLE_PYTHON),TRUE)
|
|
|
|
$(eval $(call gb_Module_add_subsequentcheck_targets,sc,\
|
|
|
|
PythonTest_sc_python \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2016-08-17 09:43:33 +02:00
|
|
|
# screenshots
|
|
|
|
$(eval $(call gb_Module_add_screenshot_targets,sc,\
|
|
|
|
CppunitTest_sc_screenshots \
|
|
|
|
))
|
2014-11-03 16:01:07 +01:00
|
|
|
|
2017-02-19 23:56:13 +01:00
|
|
|
$(eval $(call gb_Module_add_uicheck_targets,sc,\
|
|
|
|
UITest_conditional_format \
|
2017-03-18 01:58:05 +01:00
|
|
|
UITest_range_name \
|
2017-03-18 04:48:06 +01:00
|
|
|
UITest_hide_cols \
|
2017-03-26 23:00:24 +02:00
|
|
|
UITest_autofilter \
|
2017-04-08 22:23:54 +02:00
|
|
|
UITest_search_replace \
|
2017-02-19 23:56:13 +01:00
|
|
|
))
|
2017-06-23 21:38:25 +02:00
|
|
|
endif
|
2017-02-19 23:56:13 +01:00
|
|
|
|
2011-07-30 23:01:11 +03:00
|
|
|
# vim: set noet sw=4 ts=4:
|