calc: on editing invalidation of view with different zoom is wrong
[LibreOffice.git] / vcl / Module_vcl.mk
blobb6d06a6bc351955eb6b8471bc68faa1e5b0c39bd
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_icontest \
47 Executable_visualbackendtest \
48 Executable_mtfdemo \
49 ) \
50 )) \
53 ifeq ($(CROSS_COMPILING)$(DISABLE_DYNLOADING),)
55 $(eval $(call gb_Module_add_targets,vcl,\
56 $(if $(filter-out ANDROID iOS WNT,$(OS)), \
57 Executable_svdemo \
58 Executable_minvcl \
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_fodsfuzzer \
181 Executable_fodpfuzzer \
182 Executable_xlsfuzzer \
183 Executable_scrtffuzzer \
184 Executable_wksfuzzer \
185 Executable_diffuzzer \
186 Executable_docxfuzzer \
187 Executable_xlsxfuzzer \
188 Executable_pptxfuzzer \
189 Executable_mmlfuzzer \
190 Executable_mtpfuzzer \
191 Executable_htmlfuzzer \
192 Executable_sftfuzzer \
193 Executable_dbffuzzer \
194 Executable_webpfuzzer \
195 Executable_lockfuzzer \
197 endif
199 $(eval $(call gb_Module_add_check_targets,vcl,\
200 CppunitTest_vcl_drawmode \
201 CppunitTest_vcl_lifecycle \
202 CppunitTest_vcl_bitmap_test \
203 CppunitTest_vcl_bitmapprocessor_test \
204 CppunitTest_vcl_cjk \
205 CppunitTest_vcl_graphic_test \
206 CppunitTest_vcl_fontcharmap \
207 CppunitTest_vcl_font \
208 CppunitTest_vcl_fontfeature \
209 CppunitTest_vcl_fontmetric \
210 CppunitTest_vcl_text \
211 CppunitTest_vcl_filters_test \
212 CppunitTest_vcl_mnemonic \
213 CppunitTest_vcl_outdev \
214 CppunitTest_vcl_gradient \
215 CppunitTest_vcl_app_test \
216 CppunitTest_vcl_jpeg_read_write_test \
217 CppunitTest_vcl_svm_test \
218 CppunitTest_vcl_errorhandler \
219 CppunitTest_vcl_bitmap_render_test \
220 CppunitTest_vcl_apitests \
221 CppunitTest_vcl_png_test \
222 CppunitTest_vcl_widget_definition_reader_test \
223 CppunitTest_vcl_backend_test \
224 CppunitTest_vcl_blocklistparser_test \
225 CppunitTest_vcl_type_serializer_test \
226 CppunitTest_vcl_animation \
227 $(call gb_Helper_optional, PDFIUM, \
228 CppunitTest_vcl_pdfium_library_test) \
229 $(if $(filter SKIA,$(BUILD_TYPE)), \
230 CppunitTest_vcl_skia) \
231 CppunitTest_vcl_filter_igif \
234 ifeq ($(USING_X11),TRUE)
235 $(eval $(call gb_Module_add_check_targets,vcl,\
236 CppunitTest_vcl_timer \
238 endif
240 ifeq ($(DISABLE_GUI),TRUE)
241 $(eval $(call gb_Module_add_check_targets,vcl,\
242 CppunitTest_vcl_timer \
244 endif
246 # Is any configuration missing?
247 ifeq ($(OS),WNT)
248 $(eval $(call gb_Module_add_check_targets,vcl,\
249 CppunitTest_vcl_timer \
251 endif
253 ifeq ($(OS),MACOSX)
254 $(eval $(call gb_Module_add_check_targets,vcl,\
255 CppunitTest_vcl_timer \
257 endif
259 # screenshots
260 $(eval $(call gb_Module_add_screenshot_targets,vcl,\
261 CppunitTest_vcl_dialogs_test \
264 ifneq ($(DISPLAY),)
265 $(eval $(call gb_Module_add_slowcheck_targets,vcl,\
266 CppunitTest_vcl_gen \
268 endif
270 ifneq (,$(filter PDFIUM,$(BUILD_TYPE)))
271 $(eval $(call gb_Module_add_slowcheck_targets,vcl,\
272 CppunitTest_vcl_pdfexport \
273 CppunitTest_vcl_filter_ipdf \
275 endif
277 # vim: set noet sw=4 ts=4: