odk: don't run compiler -dumpversion for eaach include of settings.mk
[LibreOffice.git] / sw / Module_sw.mk
blob2db6fbace5f501f14080c4b23b12ac77c5daebeb
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 CustomTarget_source \
31 Library_msword \
32 Library_sw \
33 Library_swd \
34 Library_swui \
35 Library_sw_writerfilter \
36 UIConfig_sglobal \
37 UIConfig_sweb \
38 UIConfig_swform \
39 UIConfig_swreport \
40 UIConfig_swriter \
41 UIConfig_swxform \
44 $(eval $(call gb_Module_add_l10n_targets,sw,\
45 AllLangMoTarget_sw \
48 ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
50 $(eval $(call gb_Module_add_targets,sw,\
51 Library_vbaswobj \
54 endif
56 ifneq ($(OS),iOS)
57 $(eval $(call gb_Module_add_check_targets,sw,\
58 Library_swqahelper \
59 CppunitTest_sw_uibase_unit \
62 $(eval $(call gb_Module_add_slowcheck_targets,sw,\
63 $(if $(and $(filter $(COM),MSC),$(MERGELIBS)),, \
64 CppunitTest_sw_uwriter) \
65 CppunitTest_sw_rtfexport \
66 CppunitTest_sw_rtfexport2 \
67 CppunitTest_sw_rtfexport3 \
68 CppunitTest_sw_rtfexport4 \
69 CppunitTest_sw_rtfexport5 \
70 CppunitTest_sw_rtfexport6 \
71 CppunitTest_sw_rtfexport7 \
72 CppunitTest_sw_rtfexport8 \
73 CppunitTest_sw_docbookexport \
74 CppunitTest_sw_fodfexport \
75 CppunitTest_sw_htmlexport \
76 CppunitTest_sw_xhtmlexport \
77 CppunitTest_sw_htmlimport \
78 CppunitTest_sw_indexingexport \
79 CppunitTest_sw_macros_test \
80 CppunitTest_sw_ooxmlexport \
81 CppunitTest_sw_ooxmlexport2 \
82 CppunitTest_sw_ooxmlexport3 \
83 CppunitTest_sw_ooxmlexport4 \
84 CppunitTest_sw_ooxmlexport5 \
85 CppunitTest_sw_ooxmlexport6 \
86 CppunitTest_sw_ooxmlexport7 \
87 CppunitTest_sw_ooxmlexport8 \
88 CppunitTest_sw_ooxmlexport9 \
89 CppunitTest_sw_ooxmlexport10 \
90 CppunitTest_sw_ooxmlexport11 \
91 CppunitTest_sw_ooxmlexport12 \
92 CppunitTest_sw_ooxmlexport13 \
93 CppunitTest_sw_ooxmlexport14 \
94 CppunitTest_sw_ooxmlexport15 \
95 CppunitTest_sw_ooxmlexport16 \
96 CppunitTest_sw_ooxmlexport17 \
97 CppunitTest_sw_ooxmlexport18 \
98 CppunitTest_sw_ooxmlexport19 \
99 CppunitTest_sw_ooxmlexport20 \
100 CppunitTest_sw_ooxmlexport21 \
101 CppunitTest_sw_ooxmlexport_template \
102 CppunitTest_sw_ooxmlfieldexport \
103 CppunitTest_sw_ooxmllinks \
104 CppunitTest_sw_ooxmlw14export \
105 CppunitTest_sw_ooxmlencryption \
106 CppunitTest_sw_ooxml_theme_export \
107 CppunitTest_sw_ooxmlimport \
108 CppunitTest_sw_ooxmlimport2 \
109 CppunitTest_sw_ww8export \
110 CppunitTest_sw_ww8export2 \
111 CppunitTest_sw_ww8export3 \
112 CppunitTest_sw_ww8export4 \
113 CppunitTest_sw_ww8import \
114 CppunitTest_sw_rtfimport \
115 CppunitTest_sw_odfexport \
116 CppunitTest_sw_odfexport2 \
117 CppunitTest_sw_odfimport \
118 CppunitTest_sw_txtexport \
119 CppunitTest_sw_txtencexport \
120 CppunitTest_sw_txtimport \
121 CppunitTest_sw_uiwriter \
122 CppunitTest_sw_uiwriter2 \
123 CppunitTest_sw_uiwriter3 \
124 CppunitTest_sw_uiwriter4 \
125 CppunitTest_sw_uiwriter5 \
126 CppunitTest_sw_uiwriter6 \
127 CppunitTest_sw_uiwriter7 \
128 CppunitTest_sw_uiwriter8 \
129 CppunitTest_sw_uiwriter9 \
130 CppunitTest_sw_layoutwriter \
131 CppunitTest_sw_layoutwriter2 \
132 CppunitTest_sw_layoutwriter3 \
133 CppunitTest_sw_mailmerge \
134 CppunitTest_sw_mailmerge2 \
135 CppunitTest_sw_globalfilter \
136 CppunitTest_sw_accessible_relation_set \
137 CppunitTest_sw_apiterminate \
138 CppunitTest_sw_apitests \
139 CppunitTest_sw_unowriter \
140 CppunitTest_sw_core_text \
141 CppunitTest_sw_core_doc \
142 CppunitTest_sw_core_docnode \
143 CppunitTest_sw_uibase_shells \
144 CppunitTest_sw_uibase_dochdl \
145 CppunitTest_sw_uibase_docvw \
146 CppunitTest_sw_uibase_frmdlg \
147 CppunitTest_sw_uibase_uno \
148 CppunitTest_sw_uibase_dialog \
149 CppunitTest_sw_uibase_wrtsh \
150 CppunitTest_sw_core_accessibilitycheck \
151 CppunitTest_sw_core_layout \
152 CppunitTest_sw_core_fields \
153 CppunitTest_sw_core_tox \
154 CppunitTest_sw_core_frmedt \
155 CppunitTest_sw_core_txtnode \
156 CppunitTest_sw_core_objectpositioning \
157 CppunitTest_sw_core_unocore \
158 CppunitTest_sw_core_crsr \
159 CppunitTest_sw_core_undo \
160 CppunitTest_sw_uibase_uiview \
161 CppunitTest_sw_core_draw \
162 CppunitTest_sw_core_edit \
163 CppunitTest_sw_uibase_fldui \
164 CppunitTest_sw_core_view \
165 CppunitTest_sw_core_attr \
166 CppunitTest_sw_core_header_footer \
167 CppunitTest_sw_filter_ww8 \
168 CppunitTest_sw_filter_html \
169 CppunitTest_sw_filter_xml \
170 CppunitTest_sw_filter_ascii \
171 CppunitTest_sw_a11y \
172 CppunitTest_sw_core_theme \
173 CppunitTest_sw_pdf_test \
174 CppunitTest_sw_writerfilter_filters_test \
175 CppunitTest_sw_writerfilter_misc \
176 CppunitTest_sw_writerfilter_dmapper \
177 CppunitTest_sw_writerfilter_ooxml \
178 CppunitTest_sw_writerfilter_rtftok \
179 CppunitTest_sw_writerfilter_filter \
182 ifneq ($(DISABLE_GUI),TRUE)
183 ifeq ($(OS),LINUX)
184 $(eval $(call gb_Module_add_slowcheck_targets,sw,\
185 CppunitTest_sw_tiledrendering \
186 CppunitTest_sw_tiledrendering2 \
188 endif
189 endif
191 ifneq ($(DISABLE_CVE_TESTS),TRUE)
192 $(eval $(call gb_Module_add_slowcheck_targets,sw,\
193 CppunitTest_sw_filters_test \
195 endif
197 $(eval $(call gb_Module_add_subsequentcheck_targets,sw,\
198 JunitTest_sw_complex \
199 JunitTest_sw_unoapi_1 \
200 JunitTest_sw_unoapi_2 \
201 JunitTest_sw_unoapi_3 \
202 JunitTest_sw_unoapi_4 \
205 $(eval $(call gb_Module_add_subsequentcheck_targets,sw,\
206 PythonTest_sw_python \
209 # screenshots
210 $(eval $(call gb_Module_add_screenshot_targets,sw,\
211 CppunitTest_sw_dialogs_test \
212 CppunitTest_sw_dialogs_test_2 \
215 # feature coverage
216 $(eval $(call gb_Module_add_coverage_targets,sw,\
217 CppunitTest_sw_odffeatures \
220 $(eval $(call gb_Module_add_uicheck_targets,sw,\
221 $(call gb_Helper_optional,LIBRELOGO,UITest_librelogo) \
222 UITest_writer_tests \
223 UITest_writer_tests2 \
224 UITest_writer_tests3 \
225 UITest_writer_tests4 \
226 UITest_writer_tests5 \
227 UITest_writer_tests6 \
228 UITest_writer_tests7 \
229 UITest_writer_tests8 \
230 UITest_sw_table \
231 UITest_sw_chart \
232 UITest_sw_fieldDialog \
233 UITest_sw_findBar \
234 UITest_sw_findReplace \
235 UITest_chapterNumbering \
236 UITest_sw_navigator \
237 UITest_sw_options \
238 UITest_sw_sidebar \
239 UITest_sw_styleInspector \
240 UITest_sw_ui_fmtui \
241 UITest_sw_ui_frmdlg \
242 UITest_sw_ui_index \
243 UITest_sw_ui_misc \
244 UITest_sw_uibase_docvw \
245 UITest_sw_uibase_shells \
246 UITest_classification \
247 UITest_writer_macro_tests \
248 UITest_writer_dialogs \
250 endif
252 # vim: set noet sw=4 ts=4: