2011-08-10 02:12:48 +09:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2010-04-17 12:41:17 +02:00
|
|
|
#
|
2011-03-31 10:05:04 +02:00
|
|
|
# This file is part of the LibreOffice project.
|
2010-04-17 12:41:17 +02:00
|
|
|
#
|
2011-03-31 10:05:04 +02: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/.
|
2010-04-17 12:41:17 +02:00
|
|
|
#
|
2011-03-31 10:05:04 +02:00
|
|
|
# This file incorporates work covered by the following license notice:
|
2010-04-17 12:41:17 +02:00
|
|
|
#
|
2011-03-31 10:05:04 +02:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
# contributor license agreements. See the NOTICE file distributed
|
|
|
|
# with this work for additional information regarding copyright
|
|
|
|
# ownership. The ASF licenses this file to you under the Apache
|
|
|
|
# License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
# except in compliance with the License. You may obtain a copy of
|
|
|
|
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
2010-04-17 12:41:17 +02:00
|
|
|
#
|
|
|
|
|
2016-12-29 23:42:23 +01:00
|
|
|
include $(SRCDIR)/sw/ooxmlexport_setup.mk
|
|
|
|
|
2010-06-26 01:29:37 +02:00
|
|
|
$(eval $(call gb_Module_Module,sw))
|
|
|
|
|
|
|
|
$(eval $(call gb_Module_add_targets,sw,\
|
2017-06-11 20:56:30 +01:00
|
|
|
CustomTarget_generated \
|
2013-11-13 02:12:48 +01:00
|
|
|
Library_msword \
|
|
|
|
Library_sw \
|
|
|
|
Library_swd \
|
2014-02-19 12:21:12 +01:00
|
|
|
$(call gb_Helper_optional,DESKTOP,Library_swui) \
|
2013-04-06 15:34:43 +02:00
|
|
|
UIConfig_sglobal \
|
|
|
|
UIConfig_sweb \
|
|
|
|
UIConfig_swform \
|
|
|
|
UIConfig_swreport \
|
2013-04-06 13:10:54 +02:00
|
|
|
UIConfig_swriter \
|
2013-04-06 15:34:43 +02:00
|
|
|
UIConfig_swxform \
|
2013-11-13 02:12:48 +01:00
|
|
|
))
|
|
|
|
|
2017-06-11 20:56:30 +01:00
|
|
|
ifneq ($(OS),IOS)
|
|
|
|
$(eval $(call gb_Module_add_l10n_targets,sw,\
|
|
|
|
AllLangMoTarget_sw \
|
|
|
|
))
|
|
|
|
|
2014-10-21 23:21:37 +03:00
|
|
|
ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
|
2012-01-27 22:37:33 +02:00
|
|
|
|
|
|
|
$(eval $(call gb_Module_add_targets,sw,\
|
|
|
|
Library_vbaswobj \
|
|
|
|
))
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2012-02-11 17:06:42 +01:00
|
|
|
$(eval $(call gb_Module_add_slowcheck_targets,sw,\
|
2015-02-21 17:51:51 +01:00
|
|
|
$(if $(and $(filter $(COM),MSC),$(MERGELIBS)),, \
|
|
|
|
CppunitTest_sw_uwriter) \
|
2015-05-06 16:36:52 +02:00
|
|
|
CppunitTest_sw_docbookexport \
|
2013-04-30 17:31:12 +01:00
|
|
|
CppunitTest_sw_htmlexport \
|
2014-09-17 11:56:24 +02:00
|
|
|
CppunitTest_sw_htmlimport \
|
2012-03-15 16:00:02 +01:00
|
|
|
CppunitTest_sw_macros_test \
|
2013-06-12 15:06:42 +03:00
|
|
|
CppunitTest_sw_ooxmlexport \
|
2014-08-19 17:20:08 +02:00
|
|
|
CppunitTest_sw_ooxmlexport2 \
|
|
|
|
CppunitTest_sw_ooxmlexport3 \
|
|
|
|
CppunitTest_sw_ooxmlexport4 \
|
|
|
|
CppunitTest_sw_ooxmlexport5 \
|
2015-04-27 07:41:47 +02:00
|
|
|
CppunitTest_sw_ooxmlexport6 \
|
|
|
|
CppunitTest_sw_ooxmlexport7 \
|
2016-10-07 13:44:01 +03:00
|
|
|
CppunitTest_sw_ooxmlexport8 \
|
|
|
|
CppunitTest_sw_ooxmlexport9 \
|
2017-10-21 00:20:56 +03:00
|
|
|
CppunitTest_sw_ooxmlexport10 \
|
2014-07-17 15:53:26 +02:00
|
|
|
CppunitTest_sw_ooxmlfieldexport \
|
2014-03-11 15:09:22 +01:00
|
|
|
CppunitTest_sw_ooxmlw14export \
|
2017-01-17 17:55:44 +01:00
|
|
|
CppunitTest_sw_ooxmlencryption \
|
2013-03-18 09:35:01 +01:00
|
|
|
CppunitTest_sw_ooxmlimport \
|
|
|
|
CppunitTest_sw_ww8export \
|
2016-10-21 13:27:42 +03:00
|
|
|
CppunitTest_sw_ww8export2 \
|
2013-03-18 09:35:01 +01:00
|
|
|
CppunitTest_sw_ww8import \
|
|
|
|
CppunitTest_sw_rtfexport \
|
2017-07-11 20:09:14 -04:00
|
|
|
CppunitTest_sw_rtfexport2 \
|
|
|
|
CppunitTest_sw_rtfexport3 \
|
2013-03-18 09:35:01 +01:00
|
|
|
CppunitTest_sw_rtfimport \
|
|
|
|
CppunitTest_sw_odfexport \
|
|
|
|
CppunitTest_sw_odfimport \
|
2017-05-05 15:02:20 +02:00
|
|
|
CppunitTest_sw_txtexport \
|
2013-10-28 11:53:17 +01:00
|
|
|
CppunitTest_sw_uiwriter \
|
2014-09-23 10:00:13 +02:00
|
|
|
CppunitTest_sw_mailmerge \
|
2014-10-27 09:41:00 +01:00
|
|
|
CppunitTest_sw_globalfilter \
|
2012-02-11 17:06:42 +01:00
|
|
|
))
|
|
|
|
|
2017-05-02 19:57:53 +02:00
|
|
|
ifneq ($(ENABLE_HEADLESS),TRUE)
|
2015-11-14 15:35:18 +01:00
|
|
|
ifeq ($(OS),LINUX)
|
|
|
|
$(eval $(call gb_Module_add_slowcheck_targets,sw,\
|
|
|
|
CppunitTest_sw_tiledrendering \
|
|
|
|
))
|
|
|
|
endif
|
2017-05-02 19:57:53 +02:00
|
|
|
endif
|
2015-11-14 15:35:18 +01:00
|
|
|
|
2016-07-28 12:22:00 +02:00
|
|
|
ifneq ($(DISABLE_CVE_TESTS),TRUE)
|
2012-09-19 22:13:36 +02:00
|
|
|
$(eval $(call gb_Module_add_slowcheck_targets,sw,\
|
|
|
|
CppunitTest_sw_filters_test \
|
2016-07-28 12:22:00 +02:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2011-03-31 10:05:04 +02:00
|
|
|
ifneq ($(OOO_JUNIT_JAR),)
|
2011-01-11 21:16:21 +01:00
|
|
|
$(eval $(call gb_Module_add_subsequentcheck_targets,sw,\
|
|
|
|
JunitTest_sw_complex \
|
2015-05-29 01:31:59 +02:00
|
|
|
JunitTest_sw_unoapi_1 \
|
|
|
|
JunitTest_sw_unoapi_2 \
|
|
|
|
JunitTest_sw_unoapi_3 \
|
|
|
|
JunitTest_sw_unoapi_4 \
|
2011-01-11 21:16:21 +01:00
|
|
|
))
|
2011-03-31 10:05:04 +02:00
|
|
|
endif
|
2011-01-11 21:16:21 +01:00
|
|
|
|
2013-03-30 22:10:48 +01:00
|
|
|
ifneq ($(DISABLE_PYTHON),TRUE)
|
|
|
|
$(eval $(call gb_Module_add_subsequentcheck_targets,sw,\
|
2013-04-19 10:17:41 +02:00
|
|
|
PythonTest_sw_python \
|
2013-03-30 22:10:48 +01:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2016-08-17 09:43:33 +02:00
|
|
|
# screenshots
|
|
|
|
$(eval $(call gb_Module_add_screenshot_targets,sw,\
|
|
|
|
CppunitTest_sw_dialogs_test \
|
2016-11-20 07:41:10 -06:00
|
|
|
CppunitTest_sw_dialogs_test_2 \
|
2016-08-17 09:43:33 +02:00
|
|
|
))
|
2017-06-23 21:38:25 +02:00
|
|
|
endif
|
2016-08-17 09:43:33 +02:00
|
|
|
|
2011-07-30 23:03:51 +03:00
|
|
|
# vim: set noet sw=4 ts=4:
|