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 \
29 $(call gb_Helper_optional
,DESKTOP
,Library_swui
) \
39 $(eval
$(call gb_Module_add_l10n_targets
,sw
,\
43 ifneq ($(filter SCRIPTING
,$(BUILD_TYPE
)),)
45 $(eval
$(call gb_Module_add_targets
,sw
,\
51 $(eval
$(call gb_Module_add_check_targets
,sw
,\
52 CppunitTest_sw_uibase_unit \
55 $(eval
$(call gb_Module_add_slowcheck_targets
,sw
,\
56 $(if
$(and
$(filter $(COM
),MSC
),$(MERGELIBS
)),, \
57 CppunitTest_sw_uwriter
) \
58 CppunitTest_sw_docbookexport \
59 CppunitTest_sw_fodfexport \
60 CppunitTest_sw_htmlexport \
61 CppunitTest_sw_htmlimport \
62 CppunitTest_sw_macros_test \
63 CppunitTest_sw_ooxmlexport \
64 CppunitTest_sw_ooxmlexport2 \
65 CppunitTest_sw_ooxmlexport3 \
66 CppunitTest_sw_ooxmlexport4 \
67 CppunitTest_sw_ooxmlexport5 \
68 CppunitTest_sw_ooxmlexport6 \
69 CppunitTest_sw_ooxmlexport7 \
70 CppunitTest_sw_ooxmlexport8 \
71 CppunitTest_sw_ooxmlexport9 \
72 CppunitTest_sw_ooxmlexport10 \
73 CppunitTest_sw_ooxmlexport11 \
74 CppunitTest_sw_ooxmlexport12 \
75 CppunitTest_sw_ooxmlfieldexport \
76 CppunitTest_sw_ooxmllinks \
77 CppunitTest_sw_ooxmlw14export \
78 CppunitTest_sw_ooxmlencryption \
79 CppunitTest_sw_ooxmlimport \
80 CppunitTest_sw_ooxmlimport2 \
81 CppunitTest_sw_ww8export \
82 CppunitTest_sw_ww8export2 \
83 CppunitTest_sw_ww8import \
84 CppunitTest_sw_rtfexport \
85 CppunitTest_sw_rtfexport2 \
86 CppunitTest_sw_rtfexport3 \
87 CppunitTest_sw_rtfimport \
88 CppunitTest_sw_odfexport \
89 CppunitTest_sw_odfimport \
90 CppunitTest_sw_txtexport \
91 CppunitTest_sw_uiwriter \
92 CppunitTest_sw_layoutwriter \
93 CppunitTest_sw_mailmerge \
94 CppunitTest_sw_globalfilter \
95 CppunitTest_sw_accessible_relation_set \
96 CppunitTest_sw_apitests \
99 ifneq ($(ENABLE_HEADLESS
),TRUE
)
101 $(eval
$(call gb_Module_add_slowcheck_targets
,sw
,\
102 CppunitTest_sw_tiledrendering \
107 ifneq ($(DISABLE_CVE_TESTS
),TRUE
)
108 $(eval
$(call gb_Module_add_slowcheck_targets
,sw
,\
109 CppunitTest_sw_filters_test \
113 ifneq ($(OOO_JUNIT_JAR
),)
114 $(eval
$(call gb_Module_add_subsequentcheck_targets
,sw
,\
115 JunitTest_sw_complex \
116 JunitTest_sw_unoapi_1 \
117 JunitTest_sw_unoapi_2 \
118 JunitTest_sw_unoapi_3 \
119 JunitTest_sw_unoapi_4 \
123 ifneq ($(DISABLE_PYTHON
),TRUE
)
124 $(eval
$(call gb_Module_add_subsequentcheck_targets
,sw
,\
125 PythonTest_sw_python \
130 $(eval
$(call gb_Module_add_screenshot_targets
,sw
,\
131 CppunitTest_sw_dialogs_test \
132 CppunitTest_sw_dialogs_test_2 \
135 $(eval
$(call gb_Module_add_uicheck_targets
,sw
,\
136 UITest_writer_tests \
140 # vim: set noet sw=4 ts=4: