tdf#161349 writerfilter: only copy page background vml fill
[libreoffice.git] / vcl / Module_vcl.mk
bloba79262b1c7579642ebce71b906982a41317388e5
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 $(eval $(call gb_Module_Module,vcl))
22 ifneq ($(ENABLE_WASM_STRIP_PINGUSER),TRUE)
23 $(eval $(call gb_Module_add_targets,vcl,\
24 Package_tipoftheday \
26 endif
28 $(eval $(call gb_Module_add_targets,vcl,\
29 Library_vcl \
30 Package_theme_definitions \
31 Package_toolbarmode \
32 UIConfig_vcl \
33 $(if $(filter WNT,$(OS)), \
34 Package_opengl_denylist ) \
35 $(if $(filter SKIA,$(BUILD_TYPE)), \
36 Package_skia_denylist ) \
37 $(if $(filter DESKTOP FUZZERS,$(BUILD_TYPE)), \
38 StaticLibrary_vclmain \
39 $(if $(or $(DISABLE_GUI),$(DISABLE_DYNLOADING)), \
40 $(if $(filter EMSCRIPTEN,$(OS)), \
41 $(if $(ENABLE_QT5),Executable_vcldemo) \
42 ) \
43 , \
44 $(if $(filter LINUX MACOSX SOLARIS WNT %BSD,$(OS)), \
45 Executable_vcldemo \
46 Executable_svdemo \
47 Executable_minvcl \
48 Executable_svptest \
49 Executable_icontest \
50 Executable_visualbackendtest \
51 Executable_mtfdemo \
52 ) \
53 )) \
56 ifeq ($(CROSS_COMPILING)$(DISABLE_DYNLOADING),)
58 $(eval $(call gb_Module_add_targets,vcl,\
59 $(if $(filter-out ANDROID iOS WNT,$(OS)), \
60 Executable_fftester \
61 Executable_listfonts \
62 Executable_listglyphs \
63 Executable_svpclient) \
66 endif
68 $(eval $(call gb_Module_add_l10n_targets,vcl,\
69 AllLangMoTarget_vcl \
72 ifeq ($(USING_X11),TRUE)
73 $(eval $(call gb_Module_add_targets,vcl,\
74 $(if $(ENABLE_GEN),Library_vclplug_gen) \
75 Package_fontunxppds \
76 Package_fontunxpsprint \
78 endif
80 ifneq ($(ENABLE_GTK3),)
81 $(eval $(call gb_Module_add_targets,vcl,\
82 Library_vclplug_gtk3 \
85 ifneq ($(ENABLE_ATSPI_TESTS),)
86 $(eval $(call gb_Module_add_check_targets,vcl,\
87 CppunitTest_vcl_gtk3_a11y \
89 endif
90 endif
92 ifneq ($(ENABLE_GTK4),)
93 $(eval $(call gb_Module_add_targets,vcl,\
94 Library_vclplug_gtk4 \
96 endif
98 ifneq ($(ENABLE_KF5),)
99 $(eval $(call gb_Module_add_targets,vcl,\
100 CustomTarget_kf5_moc \
101 Library_vclplug_kf5 \
103 endif
105 ifneq ($(ENABLE_KF6),)
106 $(eval $(call gb_Module_add_targets,vcl,\
107 CustomTarget_kf6_moc \
108 Library_vclplug_kf6 \
110 endif
113 ifneq ($(ENABLE_QT5),)
114 $(eval $(call gb_Module_add_targets,vcl,\
115 CustomTarget_qt5_moc \
116 Library_vclplug_qt5 \
118 endif
120 ifneq ($(ENABLE_QT6),)
121 $(eval $(call gb_Module_add_targets,vcl,\
122 CustomTarget_qt6_moc \
123 Library_vclplug_qt6 \
125 endif
127 ifneq ($(ENABLE_GTK3_KDE5),)
128 $(eval $(call gb_Module_add_targets,vcl,\
129 CustomTarget_gtk3_kde5_moc \
130 Library_vclplug_gtk3_kde5 \
131 Executable_lo_kde5filepicker \
133 endif
135 ifeq ($(OS),MACOSX)
136 $(eval $(call gb_Module_add_targets,vcl,\
137 Package_osxres \
138 Library_vclplug_osx \
140 endif
142 ifeq ($(OS),WNT)
143 $(eval $(call gb_Module_add_targets,vcl,\
144 WinResTarget_vcl \
145 Library_vclplug_win \
147 endif
149 ifneq (,$(filter FUZZERS,$(BUILD_TYPE)))
150 $(eval $(call gb_Module_add_targets,vcl,\
151 CustomTarget_nativecore \
152 CustomTarget_nativecalc \
153 CustomTarget_nativedraw \
154 CustomTarget_nativewriter \
155 CustomTarget_nativemath \
156 StaticLibrary_fuzzer_core \
157 StaticLibrary_fuzzer_calc \
158 StaticLibrary_fuzzer_draw \
159 StaticLibrary_fuzzer_writer \
160 StaticLibrary_fuzzer_math \
161 Executable_wmffuzzer \
162 Executable_jpgfuzzer \
163 Executable_giffuzzer \
164 Executable_xbmfuzzer \
165 Executable_xpmfuzzer \
166 Executable_pngfuzzer \
167 Executable_bmpfuzzer \
168 Executable_svmfuzzer \
169 Executable_pcdfuzzer \
170 Executable_dxffuzzer \
171 Executable_metfuzzer \
172 Executable_ppmfuzzer \
173 Executable_psdfuzzer \
174 Executable_epsfuzzer \
175 Executable_pctfuzzer \
176 Executable_pcxfuzzer \
177 Executable_rasfuzzer \
178 Executable_tgafuzzer \
179 Executable_tiffuzzer \
180 Executable_hwpfuzzer \
181 Executable_602fuzzer \
182 Executable_lwpfuzzer \
183 Executable_olefuzzer \
184 Executable_pptfuzzer \
185 Executable_rtffuzzer \
186 Executable_rtf2pdffuzzer \
187 Executable_cgmfuzzer \
188 Executable_ww2fuzzer \
189 Executable_ww6fuzzer \
190 Executable_ww8fuzzer \
191 Executable_qpwfuzzer \
192 Executable_slkfuzzer \
193 Executable_fodtfuzzer \
194 Executable_fodt2pdffuzzer \
195 Executable_fods2xlsfuzzer \
196 Executable_fodsfuzzer \
197 Executable_fodpfuzzer \
198 Executable_xlsfuzzer \
199 Executable_schtmlfuzzer \
200 Executable_scrtffuzzer \
201 Executable_wksfuzzer \
202 Executable_diffuzzer \
203 Executable_docxfuzzer \
204 Executable_xlsxfuzzer \
205 Executable_pptxfuzzer \
206 Executable_mmlfuzzer \
207 Executable_mtpfuzzer \
208 Executable_htmlfuzzer \
209 Executable_sftfuzzer \
210 Executable_dbffuzzer \
211 Executable_webpfuzzer \
212 Executable_zipfuzzer \
213 Executable_svgfuzzer \
215 endif
217 $(eval $(call gb_Module_add_check_targets,vcl,\
218 CppunitTest_vcl_drawmode \
219 CppunitTest_vcl_lifecycle \
220 CppunitTest_vcl_bitmap_test \
221 CppunitTest_vcl_bitmapprocessor_test \
222 CppunitTest_vcl_cjk \
223 CppunitTest_vcl_graphic_test \
224 CppunitTest_vcl_fontcharmap \
225 CppunitTest_vcl_font \
226 CppunitTest_vcl_fontfeature \
227 CppunitTest_vcl_fontmetric \
228 CppunitTest_vcl_text \
229 CppunitTest_vcl_textlayout \
230 CppunitTest_vcl_filters_test \
231 CppunitTest_vcl_mnemonic \
232 CppunitTest_vcl_outdev \
233 CppunitTest_vcl_gradient \
234 CppunitTest_vcl_app_test \
235 CppunitTest_vcl_jpeg_read_write_test \
236 CppunitTest_vcl_svm_test \
237 CppunitTest_vcl_errorhandler \
238 CppunitTest_vcl_bitmap_render_test \
239 CppunitTest_vcl_apitests \
240 CppunitTest_vcl_png_test \
241 CppunitTest_vcl_widget_definition_reader_test \
242 CppunitTest_vcl_backend_test \
243 CppunitTest_vcl_blocklistparser_test \
244 CppunitTest_vcl_type_serializer_test \
245 CppunitTest_vcl_animation \
246 $(call gb_Helper_optional, PDFIUM, \
247 CppunitTest_vcl_pdfium_library_test) \
248 $(if $(filter SKIA,$(BUILD_TYPE)), \
249 CppunitTest_vcl_skia) \
250 CppunitTest_vcl_filter_igif \
253 ifeq ($(USING_X11),TRUE)
254 $(eval $(call gb_Module_add_check_targets,vcl,\
255 CppunitTest_vcl_timer \
257 endif
259 ifeq ($(DISABLE_GUI),TRUE)
260 $(eval $(call gb_Module_add_check_targets,vcl,\
261 CppunitTest_vcl_timer \
263 endif
265 # Is any configuration missing?
266 ifeq ($(OS),WNT)
267 $(eval $(call gb_Module_add_check_targets,vcl,\
268 CppunitTest_vcl_timer \
270 endif
272 ifeq ($(OS),MACOSX)
273 $(eval $(call gb_Module_add_check_targets,vcl,\
274 CppunitTest_vcl_timer \
276 endif
278 # screenshots
279 $(eval $(call gb_Module_add_screenshot_targets,vcl,\
280 CppunitTest_vcl_dialogs_test \
283 ifneq ($(DISPLAY),)
284 $(eval $(call gb_Module_add_slowcheck_targets,vcl,\
285 CppunitTest_vcl_gen \
287 endif
289 ifneq (,$(filter PDFIUM,$(BUILD_TYPE)))
290 $(eval $(call gb_Module_add_slowcheck_targets,vcl,\
291 CppunitTest_vcl_pdfexport \
292 CppunitTest_vcl_pdfexport2 \
293 CppunitTest_vcl_filter_ipdf \
295 endif
297 ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
298 ifeq ($(OS),LINUX)
299 $(eval $(call gb_Module_add_slowcheck_targets,vcl,\
300 CppunitTest_vcl_unx_generic \
302 endif
303 endif
305 # vim: set noet sw=4 ts=4: