Update git submodules
[LibreOffice.git] / sw / Module_sw.mk
blob5be870597a2cfb38c85cb3cff0f2ad3ec9cc11e0
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/layoutwriter_setup.mk
21 include $(SRCDIR)/sw/ooxmlexport_setup.mk
22 include $(SRCDIR)/sw/rtfexport_setup.mk
23 include $(SRCDIR)/sw/uiwriter_setup.mk
24 include $(SRCDIR)/sw/ww8export_setup.mk
26 $(eval $(call gb_Module_Module,sw))
28 $(eval $(call gb_Module_add_targets,sw,\
29 CustomTarget_generated \
30 Library_msword \
31 Library_sw \
32 Library_swd \
33 Library_swui \
34 UIConfig_sglobal \
35 UIConfig_sweb \
36 UIConfig_swform \
37 UIConfig_swreport \
38 UIConfig_swriter \
39 UIConfig_swxform \
42 $(eval $(call gb_Module_add_l10n_targets,sw,\
43 AllLangMoTarget_sw \
46 ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
48 $(eval $(call gb_Module_add_targets,sw,\
49 Library_vbaswobj \
52 endif
54 ifneq ($(OS),iOS)
55 $(eval $(call gb_Module_add_check_targets,sw,\
56 Library_swqahelper \
57 CppunitTest_sw_uibase_unit \
60 $(eval $(call gb_Module_add_slowcheck_targets,sw,\
61 $(if $(and $(filter $(COM),MSC),$(MERGELIBS)),, \
62 CppunitTest_sw_uwriter) \
63 CppunitTest_sw_rtfexport \
64 CppunitTest_sw_rtfexport2 \
65 CppunitTest_sw_rtfexport3 \
66 CppunitTest_sw_rtfexport4 \
67 CppunitTest_sw_rtfexport5 \
68 CppunitTest_sw_rtfexport6 \
69 CppunitTest_sw_rtfexport7 \
70 CppunitTest_sw_docbookexport \
71 CppunitTest_sw_fodfexport \
72 CppunitTest_sw_htmlexport \
73 CppunitTest_sw_xhtmlexport \
74 CppunitTest_sw_htmlimport \
75 CppunitTest_sw_indexingexport \
76 CppunitTest_sw_macros_test \
77 CppunitTest_sw_ooxmlexport \
78 CppunitTest_sw_ooxmlexport2 \
79 CppunitTest_sw_ooxmlexport3 \
80 CppunitTest_sw_ooxmlexport4 \
81 CppunitTest_sw_ooxmlexport5 \
82 CppunitTest_sw_ooxmlexport6 \
83 CppunitTest_sw_ooxmlexport7 \
84 CppunitTest_sw_ooxmlexport8 \
85 CppunitTest_sw_ooxmlexport9 \
86 CppunitTest_sw_ooxmlexport10 \
87 CppunitTest_sw_ooxmlexport11 \
88 CppunitTest_sw_ooxmlexport12 \
89 CppunitTest_sw_ooxmlexport13 \
90 CppunitTest_sw_ooxmlexport14 \
91 CppunitTest_sw_ooxmlexport15 \
92 CppunitTest_sw_ooxmlexport16 \
93 CppunitTest_sw_ooxmlexport17 \
94 CppunitTest_sw_ooxmlexport18 \
95 CppunitTest_sw_ooxmlexport19 \
96 CppunitTest_sw_ooxmlexport_template \
97 CppunitTest_sw_ooxmlfieldexport \
98 CppunitTest_sw_ooxmllinks \
99 CppunitTest_sw_ooxmlw14export \
100 CppunitTest_sw_ooxmlencryption \
101 CppunitTest_sw_ooxml_theme_export \
102 CppunitTest_sw_ooxmlimport \
103 CppunitTest_sw_ooxmlimport2 \
104 CppunitTest_sw_ww8export \
105 CppunitTest_sw_ww8export2 \
106 CppunitTest_sw_ww8export3 \
107 CppunitTest_sw_ww8export4 \
108 CppunitTest_sw_ww8import \
109 CppunitTest_sw_rtfimport \
110 CppunitTest_sw_odfexport \
111 CppunitTest_sw_odfexport2 \
112 CppunitTest_sw_odfimport \
113 CppunitTest_sw_txtexport \
114 CppunitTest_sw_txtencexport \
115 CppunitTest_sw_txtimport \
116 CppunitTest_sw_uiwriter \
117 CppunitTest_sw_uiwriter2 \
118 CppunitTest_sw_uiwriter3 \
119 CppunitTest_sw_uiwriter4 \
120 CppunitTest_sw_uiwriter5 \
121 CppunitTest_sw_uiwriter6 \
122 CppunitTest_sw_uiwriter7 \
123 CppunitTest_sw_uiwriter8 \
124 CppunitTest_sw_layoutwriter \
125 CppunitTest_sw_layoutwriter2 \
126 CppunitTest_sw_layoutwriter3 \
127 CppunitTest_sw_mailmerge \
128 CppunitTest_sw_mailmerge2 \
129 CppunitTest_sw_globalfilter \
130 CppunitTest_sw_accessible_relation_set \
131 CppunitTest_sw_apiterminate \
132 CppunitTest_sw_apitests \
133 CppunitTest_sw_unowriter \
134 CppunitTest_sw_core_text \
135 CppunitTest_sw_core_doc \
136 CppunitTest_sw_core_docnode \
137 CppunitTest_sw_uibase_shells \
138 CppunitTest_sw_uibase_dochdl \
139 CppunitTest_sw_uibase_docvw \
140 CppunitTest_sw_uibase_frmdlg \
141 CppunitTest_sw_uibase_uno \
142 CppunitTest_sw_uibase_dialog \
143 CppunitTest_sw_uibase_wrtsh \
144 CppunitTest_sw_core_accessibilitycheck \
145 CppunitTest_sw_core_layout \
146 CppunitTest_sw_core_fields \
147 CppunitTest_sw_core_tox \
148 CppunitTest_sw_core_frmedt \
149 CppunitTest_sw_core_txtnode \
150 CppunitTest_sw_core_objectpositioning \
151 CppunitTest_sw_core_unocore \
152 CppunitTest_sw_core_crsr \
153 CppunitTest_sw_core_undo \
154 CppunitTest_sw_uibase_uiview \
155 CppunitTest_sw_core_draw \
156 CppunitTest_sw_core_edit \
157 CppunitTest_sw_uibase_fldui \
158 CppunitTest_sw_core_view \
159 CppunitTest_sw_core_attr \
160 CppunitTest_sw_filter_ww8 \
161 CppunitTest_sw_filter_html \
162 CppunitTest_sw_filter_xml \
163 CppunitTest_sw_a11y \
164 CppunitTest_sw_core_theme \
165 CppunitTest_sw_pdf_test \
168 ifneq ($(DISABLE_GUI),TRUE)
169 ifeq ($(OS),LINUX)
170 $(eval $(call gb_Module_add_slowcheck_targets,sw,\
171 CppunitTest_sw_tiledrendering \
173 endif
174 endif
176 ifneq ($(DISABLE_CVE_TESTS),TRUE)
177 $(eval $(call gb_Module_add_slowcheck_targets,sw,\
178 CppunitTest_sw_filters_test \
180 endif
182 $(eval $(call gb_Module_add_subsequentcheck_targets,sw,\
183 JunitTest_sw_complex \
184 JunitTest_sw_unoapi_1 \
185 JunitTest_sw_unoapi_2 \
186 JunitTest_sw_unoapi_3 \
187 JunitTest_sw_unoapi_4 \
190 $(eval $(call gb_Module_add_subsequentcheck_targets,sw,\
191 PythonTest_sw_python \
194 # screenshots
195 $(eval $(call gb_Module_add_screenshot_targets,sw,\
196 CppunitTest_sw_dialogs_test \
197 CppunitTest_sw_dialogs_test_2 \
200 # feature coverage
201 $(eval $(call gb_Module_add_coverage_targets,sw,\
202 CppunitTest_sw_odffeatures \
205 $(eval $(call gb_Module_add_uicheck_targets,sw,\
206 $(call gb_Helper_optional,LIBRELOGO,UITest_librelogo) \
207 UITest_writer_tests \
208 UITest_writer_tests2 \
209 UITest_writer_tests3 \
210 UITest_writer_tests4 \
211 UITest_writer_tests5 \
212 UITest_writer_tests6 \
213 UITest_writer_tests7 \
214 UITest_sw_table \
215 UITest_sw_chart \
216 UITest_sw_fieldDialog \
217 UITest_sw_findBar \
218 UITest_sw_findReplace \
219 UITest_chapterNumbering \
220 UITest_sw_navigator \
221 UITest_sw_options \
222 UITest_sw_sidebar \
223 UITest_sw_styleInspector \
224 UITest_sw_ui_fmtui \
225 UITest_sw_ui_frmdlg \
226 UITest_sw_ui_index \
227 UITest_sw_ui_misc \
228 UITest_sw_uibase_docvw \
229 UITest_sw_uibase_shells \
230 UITest_classification \
231 UITest_writer_macro_tests \
232 UITest_writer_dialogs \
234 endif
236 # vim: set noet sw=4 ts=4: