bump product version to 7.6.3.2-android
[LibreOffice.git] / vcl / Module_vcl.mk
blob5265cd9512431396b2efe9c6004625451d6447df
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_icontest \
49 Executable_visualbackendtest \
50 Executable_mtfdemo \
51 ) \
52 )) \
55 ifeq ($(CROSS_COMPILING)$(DISABLE_DYNLOADING),)
57 $(eval $(call gb_Module_add_targets,vcl,\
58 $(if $(filter-out ANDROID iOS WNT,$(OS)), \
59 Executable_fftester \
60 Executable_svptest \
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 Library_desktop_detector \
76 Package_fontunxppds \
77 Package_fontunxpsprint \
79 endif
81 ifneq ($(ENABLE_GTK3),)
82 $(eval $(call gb_Module_add_targets,vcl,\
83 Library_vclplug_gtk3 \
85 endif
87 ifneq ($(ENABLE_GTK4),)
88 $(eval $(call gb_Module_add_targets,vcl,\
89 Library_vclplug_gtk4 \
91 endif
93 ifneq ($(ENABLE_KF5),)
94 $(eval $(call gb_Module_add_targets,vcl,\
95 CustomTarget_kf5_moc \
96 Library_vclplug_kf5 \
98 endif
100 ifneq ($(ENABLE_QT5),)
101 $(eval $(call gb_Module_add_targets,vcl,\
102 CustomTarget_qt5_moc \
103 Library_vclplug_qt5 \
105 endif
107 ifneq ($(ENABLE_QT6),)
108 $(eval $(call gb_Module_add_targets,vcl,\
109 CustomTarget_qt6_moc \
110 Library_vclplug_qt6 \
112 endif
114 ifneq ($(ENABLE_GTK3_KDE5),)
115 $(eval $(call gb_Module_add_targets,vcl,\
116 CustomTarget_gtk3_kde5_moc \
117 Library_vclplug_gtk3_kde5 \
118 Executable_lo_kde5filepicker \
120 endif
122 ifeq ($(OS),MACOSX)
123 $(eval $(call gb_Module_add_targets,vcl,\
124 Package_osxres \
125 Library_vclplug_osx \
127 endif
129 ifeq ($(OS),WNT)
130 $(eval $(call gb_Module_add_targets,vcl,\
131 WinResTarget_vcl \
132 Library_vclplug_win \
134 endif
136 ifneq (,$(filter FUZZERS,$(BUILD_TYPE)))
137 $(eval $(call gb_Module_add_targets,vcl,\
138 CustomTarget_nativecore \
139 CustomTarget_nativecalc \
140 CustomTarget_nativedraw \
141 CustomTarget_nativewriter \
142 CustomTarget_nativemath \
143 StaticLibrary_fuzzer_core \
144 StaticLibrary_fuzzer_calc \
145 StaticLibrary_fuzzer_draw \
146 StaticLibrary_fuzzer_writer \
147 StaticLibrary_fuzzer_math \
148 Executable_wmffuzzer \
149 Executable_jpgfuzzer \
150 Executable_giffuzzer \
151 Executable_xbmfuzzer \
152 Executable_xpmfuzzer \
153 Executable_pngfuzzer \
154 Executable_bmpfuzzer \
155 Executable_svmfuzzer \
156 Executable_pcdfuzzer \
157 Executable_dxffuzzer \
158 Executable_metfuzzer \
159 Executable_ppmfuzzer \
160 Executable_psdfuzzer \
161 Executable_epsfuzzer \
162 Executable_pctfuzzer \
163 Executable_pcxfuzzer \
164 Executable_rasfuzzer \
165 Executable_tgafuzzer \
166 Executable_tiffuzzer \
167 Executable_hwpfuzzer \
168 Executable_602fuzzer \
169 Executable_lwpfuzzer \
170 Executable_olefuzzer \
171 Executable_pptfuzzer \
172 Executable_rtffuzzer \
173 Executable_cgmfuzzer \
174 Executable_ww2fuzzer \
175 Executable_ww6fuzzer \
176 Executable_ww8fuzzer \
177 Executable_qpwfuzzer \
178 Executable_slkfuzzer \
179 Executable_fodtfuzzer \
180 Executable_fodt2pdffuzzer \
181 Executable_fodsfuzzer \
182 Executable_fodpfuzzer \
183 Executable_xlsfuzzer \
184 Executable_scrtffuzzer \
185 Executable_wksfuzzer \
186 Executable_diffuzzer \
187 Executable_docxfuzzer \
188 Executable_xlsxfuzzer \
189 Executable_pptxfuzzer \
190 Executable_mmlfuzzer \
191 Executable_mtpfuzzer \
192 Executable_htmlfuzzer \
193 Executable_sftfuzzer \
194 Executable_dbffuzzer \
195 Executable_webpfuzzer \
196 Executable_zipfuzzer \
197 Executable_svgfuzzer \
199 endif
201 $(eval $(call gb_Module_add_check_targets,vcl,\
202 CppunitTest_vcl_drawmode \
203 CppunitTest_vcl_lifecycle \
204 CppunitTest_vcl_bitmap_test \
205 CppunitTest_vcl_bitmapprocessor_test \
206 CppunitTest_vcl_cjk \
207 CppunitTest_vcl_graphic_test \
208 CppunitTest_vcl_fontcharmap \
209 CppunitTest_vcl_font \
210 CppunitTest_vcl_fontfeature \
211 CppunitTest_vcl_fontmetric \
212 CppunitTest_vcl_text \
213 CppunitTest_vcl_filters_test \
214 CppunitTest_vcl_mnemonic \
215 CppunitTest_vcl_outdev \
216 CppunitTest_vcl_gradient \
217 CppunitTest_vcl_app_test \
218 CppunitTest_vcl_jpeg_read_write_test \
219 CppunitTest_vcl_svm_test \
220 CppunitTest_vcl_errorhandler \
221 CppunitTest_vcl_bitmap_render_test \
222 CppunitTest_vcl_apitests \
223 CppunitTest_vcl_png_test \
224 CppunitTest_vcl_widget_definition_reader_test \
225 CppunitTest_vcl_backend_test \
226 CppunitTest_vcl_blocklistparser_test \
227 CppunitTest_vcl_type_serializer_test \
228 CppunitTest_vcl_animation \
229 $(call gb_Helper_optional, PDFIUM, \
230 CppunitTest_vcl_pdfium_library_test) \
231 $(if $(filter SKIA,$(BUILD_TYPE)), \
232 CppunitTest_vcl_skia) \
233 CppunitTest_vcl_filter_igif \
236 ifeq ($(USING_X11),TRUE)
237 $(eval $(call gb_Module_add_check_targets,vcl,\
238 CppunitTest_vcl_timer \
240 endif
242 ifeq ($(DISABLE_GUI),TRUE)
243 $(eval $(call gb_Module_add_check_targets,vcl,\
244 CppunitTest_vcl_timer \
246 endif
248 # Is any configuration missing?
249 ifeq ($(OS),WNT)
250 $(eval $(call gb_Module_add_check_targets,vcl,\
251 CppunitTest_vcl_timer \
253 endif
255 ifeq ($(OS),MACOSX)
256 $(eval $(call gb_Module_add_check_targets,vcl,\
257 CppunitTest_vcl_timer \
259 endif
261 # screenshots
262 $(eval $(call gb_Module_add_screenshot_targets,vcl,\
263 CppunitTest_vcl_dialogs_test \
266 ifneq ($(DISPLAY),)
267 $(eval $(call gb_Module_add_slowcheck_targets,vcl,\
268 CppunitTest_vcl_gen \
270 endif
272 ifneq (,$(filter PDFIUM,$(BUILD_TYPE)))
273 $(eval $(call gb_Module_add_slowcheck_targets,vcl,\
274 CppunitTest_vcl_pdfexport \
275 CppunitTest_vcl_filter_ipdf \
277 endif
279 # vim: set noet sw=4 ts=4: