Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / sw / Module_sw.mk
blob0ab442fb3c7b124004263d28da508979ad32e722
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 include $(SRCDIR)/sw/ooxmlexport_setup.mk
22 $(eval $(call gb_Module_Module,sw))
24 $(eval $(call gb_Module_add_targets,sw,\
25 CustomTarget_generated \
26 Library_msword \
27 Library_sw \
28 Library_swd \
29 $(call gb_Helper_optional,DESKTOP,Library_swui) \
32 $(eval $(call gb_Module_add_l10n_targets,sw,\
33 AllLangResTarget_sw \
34 UIConfig_sglobal \
35 UIConfig_sweb \
36 UIConfig_swform \
37 UIConfig_swreport \
38 UIConfig_swriter \
39 UIConfig_swxform \
42 ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
44 $(eval $(call gb_Module_add_targets,sw,\
45 Library_vbaswobj \
48 endif
50 $(eval $(call gb_Module_add_slowcheck_targets,sw,\
51 $(if $(and $(filter $(COM),MSC),$(MERGELIBS)),, \
52 CppunitTest_sw_uwriter) \
53 CppunitTest_sw_docbookexport \
54 CppunitTest_sw_htmlexport \
55 CppunitTest_sw_htmlimport \
56 CppunitTest_sw_macros_test \
57 CppunitTest_sw_ooxmlexport \
58 CppunitTest_sw_ooxmlexport2 \
59 CppunitTest_sw_ooxmlexport3 \
60 CppunitTest_sw_ooxmlexport4 \
61 CppunitTest_sw_ooxmlexport5 \
62 CppunitTest_sw_ooxmlexport6 \
63 CppunitTest_sw_ooxmlexport7 \
64 CppunitTest_sw_ooxmlexport8 \
65 CppunitTest_sw_ooxmlexport9 \
66 CppunitTest_sw_ooxmlfieldexport \
67 CppunitTest_sw_ooxmlw14export \
68 CppunitTest_sw_ooxmlencryption \
69 CppunitTest_sw_ooxmlimport \
70 CppunitTest_sw_ww8export \
71 CppunitTest_sw_ww8export2 \
72 CppunitTest_sw_ww8import \
73 CppunitTest_sw_rtfexport \
74 CppunitTest_sw_rtfimport \
75 CppunitTest_sw_odfexport \
76 CppunitTest_sw_odfimport \
77 CppunitTest_sw_txtexport \
78 CppunitTest_sw_uiwriter \
79 CppunitTest_sw_mailmerge \
80 CppunitTest_sw_globalfilter \
83 ifneq ($(ENABLE_HEADLESS),TRUE)
84 ifeq ($(OS),LINUX)
85 $(eval $(call gb_Module_add_slowcheck_targets,sw,\
86 CppunitTest_sw_tiledrendering \
88 endif
89 endif
91 ifneq ($(DISABLE_CVE_TESTS),TRUE)
92 $(eval $(call gb_Module_add_slowcheck_targets,sw,\
93 CppunitTest_sw_filters_test \
95 endif
97 ifneq ($(OOO_JUNIT_JAR),)
98 $(eval $(call gb_Module_add_subsequentcheck_targets,sw,\
99 JunitTest_sw_complex \
100 JunitTest_sw_unoapi_1 \
101 JunitTest_sw_unoapi_2 \
102 JunitTest_sw_unoapi_3 \
103 JunitTest_sw_unoapi_4 \
105 endif
107 ifneq ($(DISABLE_PYTHON),TRUE)
108 $(eval $(call gb_Module_add_subsequentcheck_targets,sw,\
109 PythonTest_sw_python \
111 endif
113 # screenshots
114 $(eval $(call gb_Module_add_screenshot_targets,sw,\
115 CppunitTest_sw_dialogs_test \
116 CppunitTest_sw_dialogs_test_2 \
119 # vim: set noet sw=4 ts=4: