Converted VCL documentation to Markdown
[LibreOffice.git] / sw / Module_sw.mk
blobd0f5e63bb0c33f05ed45e113d2680ebc655d5aa3
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_docbookexport \
69 CppunitTest_sw_fodfexport \
70 CppunitTest_sw_htmlexport \
71 CppunitTest_sw_xhtmlexport \
72 CppunitTest_sw_htmlimport \
73 CppunitTest_sw_indexingexport \
74 CppunitTest_sw_macros_test \
75 CppunitTest_sw_ooxmlexport \
76 CppunitTest_sw_ooxmlexport2 \
77 CppunitTest_sw_ooxmlexport3 \
78 CppunitTest_sw_ooxmlexport4 \
79 CppunitTest_sw_ooxmlexport5 \
80 CppunitTest_sw_ooxmlexport6 \
81 CppunitTest_sw_ooxmlexport7 \
82 CppunitTest_sw_ooxmlexport8 \
83 CppunitTest_sw_ooxmlexport9 \
84 CppunitTest_sw_ooxmlexport10 \
85 CppunitTest_sw_ooxmlexport11 \
86 CppunitTest_sw_ooxmlexport12 \
87 CppunitTest_sw_ooxmlexport13 \
88 CppunitTest_sw_ooxmlexport14 \
89 CppunitTest_sw_ooxmlexport15 \
90 CppunitTest_sw_ooxmlexport16 \
91 CppunitTest_sw_ooxmlexport17 \
92 CppunitTest_sw_ooxmlexport_template \
93 CppunitTest_sw_ooxmlfieldexport \
94 CppunitTest_sw_ooxmllinks \
95 CppunitTest_sw_ooxmlw14export \
96 CppunitTest_sw_ooxmlencryption \
97 CppunitTest_sw_ooxmlimport \
98 CppunitTest_sw_ooxmlimport2 \
99 CppunitTest_sw_ww8export \
100 CppunitTest_sw_ww8export2 \
101 CppunitTest_sw_ww8export3 \
102 CppunitTest_sw_ww8import \
103 CppunitTest_sw_rtfimport \
104 CppunitTest_sw_odfexport \
105 CppunitTest_sw_odfexport2 \
106 CppunitTest_sw_odfimport \
107 CppunitTest_sw_txtexport \
108 CppunitTest_sw_txtencexport \
109 CppunitTest_sw_txtimport \
110 $(if $(filter-out MACOSX,$(OS)), \
111 CppunitTest_sw_uiwriter \
112 CppunitTest_sw_uiwriter2 \
113 CppunitTest_sw_uiwriter3 \
114 CppunitTest_sw_uiwriter4 \
116 CppunitTest_sw_layoutwriter \
117 CppunitTest_sw_layoutwriter2 \
118 CppunitTest_sw_mailmerge \
119 CppunitTest_sw_globalfilter \
120 CppunitTest_sw_accessible_relation_set \
121 CppunitTest_sw_apiterminate \
122 CppunitTest_sw_apitests \
123 CppunitTest_sw_unowriter \
124 CppunitTest_sw_core_text \
125 CppunitTest_sw_core_doc \
126 CppunitTest_sw_core_docnode \
127 CppunitTest_sw_uibase_shells \
128 CppunitTest_sw_uibase_dochdl \
129 CppunitTest_sw_uibase_frmdlg \
130 CppunitTest_sw_uibase_uno \
131 CppunitTest_sw_core_accessibilitycheck \
132 CppunitTest_sw_core_layout \
133 CppunitTest_sw_core_fields \
134 CppunitTest_sw_core_tox \
135 CppunitTest_sw_core_frmedt \
136 CppunitTest_sw_core_txtnode \
137 CppunitTest_sw_core_objectpositioning \
138 CppunitTest_sw_core_unocore \
139 CppunitTest_sw_core_crsr \
140 CppunitTest_sw_core_undo \
141 CppunitTest_sw_uibase_uiview \
142 CppunitTest_sw_core_draw \
143 CppunitTest_sw_core_edit \
144 CppunitTest_sw_uibase_fldui \
147 ifneq ($(DISABLE_GUI),TRUE)
148 ifeq ($(OS),LINUX)
149 $(eval $(call gb_Module_add_slowcheck_targets,sw,\
150 CppunitTest_sw_tiledrendering \
152 endif
153 endif
155 ifneq ($(DISABLE_CVE_TESTS),TRUE)
156 $(eval $(call gb_Module_add_slowcheck_targets,sw,\
157 CppunitTest_sw_filters_test \
158 CppunitTest_sw_filters_test2 \
160 endif
162 $(eval $(call gb_Module_add_subsequentcheck_targets,sw,\
163 JunitTest_sw_complex \
164 JunitTest_sw_unoapi_1 \
165 JunitTest_sw_unoapi_2 \
166 JunitTest_sw_unoapi_3 \
167 JunitTest_sw_unoapi_4 \
170 $(eval $(call gb_Module_add_subsequentcheck_targets,sw,\
171 PythonTest_sw_python \
174 # screenshots
175 $(eval $(call gb_Module_add_screenshot_targets,sw,\
176 CppunitTest_sw_dialogs_test \
177 CppunitTest_sw_dialogs_test_2 \
180 $(eval $(call gb_Module_add_uicheck_targets,sw,\
181 $(call gb_Helper_optional,LIBRELOGO,UITest_librelogo) \
182 UITest_writer_tests \
183 UITest_writer_tests2 \
184 UITest_writer_tests3 \
185 UITest_writer_tests4 \
186 UITest_writer_tests5 \
187 UITest_writer_tests6 \
188 UITest_writer_tests7 \
189 UITest_sw_table \
190 UITest_sw_chart \
191 UITest_sw_findBar \
192 UITest_sw_findReplace \
193 UITest_chapterNumbering \
194 UITest_sw_navigator \
195 UITest_sw_options \
196 UITest_sw_sidebar \
197 UITest_sw_styleInspector \
198 UITest_sw_ui_fmtui \
199 UITest_sw_ui_index \
200 UITest_classification \
201 UITest_writer_macro_tests \
202 UITest_writer_dialogs \
204 endif
206 # vim: set noet sw=4 ts=4: