tdf#151548 ContentControls: Add Delete()
[LibreOffice.git] / vcl / Module_vcl.mk
blob596ed5b8c03a52ef35efd3d619521a1a0d8874e2
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)),Executable_vcldemo) \
41 , \
42 $(if $(filter LINUX MACOSX SOLARIS WNT %BSD,$(OS)), \
43 Executable_vcldemo \
44 Executable_icontest \
45 Executable_visualbackendtest \
46 Executable_mtfdemo \
47 ) \
48 )) \
51 ifeq ($(CROSS_COMPILING)$(DISABLE_DYNLOADING),)
53 $(eval $(call gb_Module_add_targets,vcl,\
54 $(if $(filter-out ANDROID iOS WNT,$(OS)), \
55 Executable_svdemo \
56 Executable_minvcl \
57 Executable_fftester \
58 Executable_svptest \
59 Executable_listfonts \
60 Executable_listglyphs \
61 Executable_svpclient) \
64 endif
66 $(eval $(call gb_Module_add_l10n_targets,vcl,\
67 AllLangMoTarget_vcl \
70 ifeq ($(USING_X11),TRUE)
71 $(eval $(call gb_Module_add_targets,vcl,\
72 $(if $(ENABLE_GEN),Library_vclplug_gen) \
73 Library_desktop_detector \
74 Package_fontunxppds \
75 Package_fontunxpsprint \
77 endif
79 ifneq ($(ENABLE_GTK3),)
80 $(eval $(call gb_Module_add_targets,vcl,\
81 Library_vclplug_gtk3 \
83 endif
85 ifneq ($(ENABLE_GTK4),)
86 $(eval $(call gb_Module_add_targets,vcl,\
87 Library_vclplug_gtk4 \
89 endif
91 ifneq ($(ENABLE_KF5),)
92 $(eval $(call gb_Module_add_targets,vcl,\
93 CustomTarget_kf5_moc \
94 Library_vclplug_kf5 \
96 endif
98 ifneq ($(ENABLE_QT5),)
99 $(eval $(call gb_Module_add_targets,vcl,\
100 CustomTarget_qt5_moc \
101 Library_vclplug_qt5 \
103 endif
105 ifneq ($(ENABLE_QT6),)
106 $(eval $(call gb_Module_add_targets,vcl,\
107 CustomTarget_qt6_moc \
108 Library_vclplug_qt6 \
110 endif
112 ifneq ($(ENABLE_GTK3_KDE5),)
113 $(eval $(call gb_Module_add_targets,vcl,\
114 CustomTarget_gtk3_kde5_moc \
115 Library_vclplug_gtk3_kde5 \
116 Executable_lo_kde5filepicker \
118 endif
120 ifeq ($(OS),MACOSX)
121 $(eval $(call gb_Module_add_targets,vcl,\
122 Package_osxres \
123 Library_vclplug_osx \
125 endif
127 ifeq ($(OS),WNT)
128 $(eval $(call gb_Module_add_targets,vcl,\
129 WinResTarget_vcl \
130 Library_vclplug_win \
132 endif
134 ifneq (,$(filter FUZZERS,$(BUILD_TYPE)))
135 $(eval $(call gb_Module_add_targets,vcl,\
136 CustomTarget_nativecore \
137 CustomTarget_nativecalc \
138 CustomTarget_nativedraw \
139 CustomTarget_nativewriter \
140 CustomTarget_nativemath \
141 StaticLibrary_fuzzer_core \
142 StaticLibrary_fuzzer_calc \
143 StaticLibrary_fuzzer_draw \
144 StaticLibrary_fuzzer_writer \
145 StaticLibrary_fuzzer_math \
146 Executable_wmffuzzer \
147 Executable_jpgfuzzer \
148 Executable_giffuzzer \
149 Executable_xbmfuzzer \
150 Executable_xpmfuzzer \
151 Executable_pngfuzzer \
152 Executable_bmpfuzzer \
153 Executable_svmfuzzer \
154 Executable_pcdfuzzer \
155 Executable_dxffuzzer \
156 Executable_metfuzzer \
157 Executable_ppmfuzzer \
158 Executable_psdfuzzer \
159 Executable_epsfuzzer \
160 Executable_pctfuzzer \
161 Executable_pcxfuzzer \
162 Executable_rasfuzzer \
163 Executable_tgafuzzer \
164 Executable_tiffuzzer \
165 Executable_hwpfuzzer \
166 Executable_602fuzzer \
167 Executable_lwpfuzzer \
168 Executable_olefuzzer \
169 Executable_pptfuzzer \
170 Executable_rtffuzzer \
171 Executable_cgmfuzzer \
172 Executable_ww2fuzzer \
173 Executable_ww6fuzzer \
174 Executable_ww8fuzzer \
175 Executable_qpwfuzzer \
176 Executable_slkfuzzer \
177 Executable_fodtfuzzer \
178 Executable_fodsfuzzer \
179 Executable_fodpfuzzer \
180 Executable_xlsfuzzer \
181 Executable_scrtffuzzer \
182 Executable_wksfuzzer \
183 Executable_diffuzzer \
184 Executable_docxfuzzer \
185 Executable_xlsxfuzzer \
186 Executable_pptxfuzzer \
187 Executable_mmlfuzzer \
188 Executable_mtpfuzzer \
189 Executable_htmlfuzzer \
190 Executable_sftfuzzer \
191 Executable_dbffuzzer \
192 Executable_webpfuzzer \
193 Executable_lockfuzzer \
195 endif
197 $(eval $(call gb_Module_add_check_targets,vcl,\
198 CppunitTest_vcl_drawmode \
199 CppunitTest_vcl_lifecycle \
200 CppunitTest_vcl_bitmap_test \
201 CppunitTest_vcl_bitmapprocessor_test \
202 CppunitTest_vcl_cjk \
203 CppunitTest_vcl_graphic_test \
204 CppunitTest_vcl_fontcharmap \
205 CppunitTest_vcl_font \
206 CppunitTest_vcl_fontfeature \
207 CppunitTest_vcl_fontmetric \
208 CppunitTest_vcl_text \
209 CppunitTest_vcl_filters_test \
210 CppunitTest_vcl_mnemonic \
211 CppunitTest_vcl_outdev \
212 CppunitTest_vcl_gradient \
213 CppunitTest_vcl_app_test \
214 CppunitTest_vcl_jpeg_read_write_test \
215 CppunitTest_vcl_svm_test \
216 CppunitTest_vcl_errorhandler \
217 CppunitTest_vcl_bitmap_render_test \
218 CppunitTest_vcl_apitests \
219 CppunitTest_vcl_png_test \
220 CppunitTest_vcl_widget_definition_reader_test \
221 CppunitTest_vcl_backend_test \
222 CppunitTest_vcl_blocklistparser_test \
223 CppunitTest_vcl_type_serializer_test \
224 CppunitTest_vcl_animation \
225 $(call gb_Helper_optional, PDFIUM, \
226 CppunitTest_vcl_pdfium_library_test) \
227 $(if $(filter SKIA,$(BUILD_TYPE)), \
228 CppunitTest_vcl_skia) \
229 CppunitTest_vcl_filter_igif \
232 ifeq ($(USING_X11),TRUE)
233 $(eval $(call gb_Module_add_check_targets,vcl,\
234 CppunitTest_vcl_timer \
236 endif
238 ifeq ($(DISABLE_GUI),TRUE)
239 $(eval $(call gb_Module_add_check_targets,vcl,\
240 CppunitTest_vcl_timer \
242 endif
244 # Is any configuration missing?
245 ifeq ($(OS),WNT)
246 $(eval $(call gb_Module_add_check_targets,vcl,\
247 CppunitTest_vcl_timer \
249 endif
251 ifeq ($(OS),MACOSX)
252 $(eval $(call gb_Module_add_check_targets,vcl,\
253 CppunitTest_vcl_timer \
255 endif
257 # screenshots
258 $(eval $(call gb_Module_add_screenshot_targets,vcl,\
259 CppunitTest_vcl_dialogs_test \
262 ifneq ($(DISPLAY),)
263 $(eval $(call gb_Module_add_slowcheck_targets,vcl,\
264 CppunitTest_vcl_gen \
266 endif
268 ifneq (,$(filter PDFIUM,$(BUILD_TYPE)))
269 $(eval $(call gb_Module_add_slowcheck_targets,vcl,\
270 CppunitTest_vcl_pdfexport \
271 CppunitTest_vcl_filter_ipdf \
273 endif
275 # vim: set noet sw=4 ts=4: