tdf#137105: crash in table with Style Inspector active
[LibreOffice.git] / vcl / Module_vcl.mk
blob05fe05b8b4bf2a697da8dff79c5c1ea087e8be47
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 $(eval $(call gb_Module_add_targets,vcl,\
23 Library_vcl \
24 Package_opengl_shader \
25 Package_theme_definitions \
26 Package_tipoftheday \
27 Package_toolbarmode \
28 UIConfig_vcl \
29 $(if $(filter WNT,$(OS)), \
30 Package_opengl_denylist ) \
31 $(if $(filter SKIA,$(BUILD_TYPE)), \
32 Package_skia_denylist ) \
33 $(if $(filter DESKTOP,$(BUILD_TYPE)), \
34 StaticLibrary_vclmain \
35 $(if $(ENABLE_MACOSX_SANDBOX),, \
36 $(if $(DISABLE_GUI),, \
37 Executable_ui-previewer)) \
38 $(if $(filter LINUX MACOSX SOLARIS WNT %BSD,$(OS)), \
39 $(if $(DISABLE_GUI),, \
40 Executable_vcldemo \
41 Executable_icontest \
42 Executable_visualbackendtest \
43 Executable_mtfdemo ))) \
46 ifeq ($(CROSS_COMPILING)$(DISABLE_DYNLOADING),)
48 $(eval $(call gb_Module_add_targets,vcl,\
49 $(if $(filter-out ANDROID iOS WNT,$(OS)), \
50 Executable_svdemo \
51 Executable_fftester \
52 Executable_svptest \
53 Executable_svpclient) \
56 endif
58 $(eval $(call gb_Module_add_l10n_targets,vcl,\
59 AllLangMoTarget_vcl \
62 ifeq ($(USING_X11),TRUE)
63 $(eval $(call gb_Module_add_targets,vcl,\
64 Library_vclplug_gen \
65 Library_desktop_detector \
66 StaticLibrary_glxtest \
67 Package_fontunxppds \
68 Package_fontunxpsprint \
71 ifneq ($(ENABLE_GTK3),)
72 $(eval $(call gb_Module_add_targets,vcl,\
73 Library_vclplug_gtk3 \
75 endif
76 ifneq ($(ENABLE_KF5),)
77 $(eval $(call gb_Module_add_targets,vcl,\
78 CustomTarget_kf5_moc \
79 Library_vclplug_kf5 \
81 endif
82 ifneq ($(ENABLE_QT5),)
83 $(eval $(call gb_Module_add_targets,vcl,\
84 CustomTarget_qt5_moc \
85 Library_vclplug_qt5 \
87 endif
88 ifneq ($(ENABLE_GTK3_KDE5),)
89 $(eval $(call gb_Module_add_targets,vcl,\
90 CustomTarget_gtk3_kde5_moc \
91 Library_vclplug_gtk3_kde5 \
92 Executable_lo_kde5filepicker \
94 endif
95 endif
97 ifeq ($(OS),MACOSX)
98 $(eval $(call gb_Module_add_targets,vcl,\
99 Package_osxres \
100 Library_vclplug_osx \
102 endif
104 ifeq ($(OS),WNT)
105 $(eval $(call gb_Module_add_targets,vcl,\
106 WinResTarget_vcl \
107 Library_vclplug_win \
109 endif
111 ifeq ($(OS),HAIKU)
112 ifneq ($(ENABLE_QT5),)
113 $(eval $(call gb_Module_add_targets,vcl,\
114 CustomTarget_qt5_moc \
115 Library_vclplug_qt5 \
117 endif
118 ifneq ($(ENABLE_KF5),)
119 $(eval $(call gb_Module_add_targets,vcl,\
120 CustomTarget_kf5_moc \
121 Library_vclplug_kf5 \
123 endif
124 endif
126 ifneq ($(ENABLE_FUZZERS),)
127 $(eval $(call gb_Module_add_targets,vcl,\
128 CustomTarget_nativecore \
129 CustomTarget_nativecalc \
130 CustomTarget_nativedraw \
131 CustomTarget_nativewriter \
132 CustomTarget_nativemath \
133 StaticLibrary_fuzzerstubs \
134 StaticLibrary_fuzzer_core \
135 StaticLibrary_fuzzer_calc \
136 StaticLibrary_fuzzer_draw \
137 StaticLibrary_fuzzer_writer \
138 StaticLibrary_fuzzer_math \
139 Executable_wmffuzzer \
140 Executable_jpgfuzzer \
141 Executable_giffuzzer \
142 Executable_xbmfuzzer \
143 Executable_xpmfuzzer \
144 Executable_pngfuzzer \
145 Executable_bmpfuzzer \
146 Executable_svmfuzzer \
147 Executable_pcdfuzzer \
148 Executable_dxffuzzer \
149 Executable_metfuzzer \
150 Executable_ppmfuzzer \
151 Executable_psdfuzzer \
152 Executable_epsfuzzer \
153 Executable_pctfuzzer \
154 Executable_pcxfuzzer \
155 Executable_rasfuzzer \
156 Executable_tgafuzzer \
157 Executable_tiffuzzer \
158 Executable_hwpfuzzer \
159 Executable_602fuzzer \
160 Executable_lwpfuzzer \
161 Executable_olefuzzer \
162 Executable_pptfuzzer \
163 Executable_rtffuzzer \
164 Executable_cgmfuzzer \
165 Executable_ww2fuzzer \
166 Executable_ww6fuzzer \
167 Executable_ww8fuzzer \
168 Executable_qpwfuzzer \
169 Executable_slkfuzzer \
170 Executable_fodtfuzzer \
171 Executable_fodsfuzzer \
172 Executable_fodpfuzzer \
173 Executable_xlsfuzzer \
174 Executable_scrtffuzzer \
175 Executable_wksfuzzer \
176 Executable_diffuzzer \
177 Executable_docxfuzzer \
178 Executable_xlsxfuzzer \
179 Executable_pptxfuzzer \
180 Executable_mmlfuzzer \
181 Executable_mtpfuzzer \
182 Executable_htmlfuzzer \
183 Executable_sftfuzzer \
185 endif
187 $(eval $(call gb_Module_add_check_targets,vcl,\
188 CppunitTest_vcl_lifecycle \
189 CppunitTest_vcl_bitmap_test \
190 CppunitTest_vcl_bitmapprocessor_test \
191 CppunitTest_vcl_graphic_test \
192 CppunitTest_vcl_fontcharmap \
193 CppunitTest_vcl_font \
194 CppunitTest_vcl_fontfeature \
195 CppunitTest_vcl_fontmetric \
196 CppunitTest_vcl_complextext \
197 CppunitTest_vcl_filters_test \
198 CppunitTest_vcl_mnemonic \
199 CppunitTest_vcl_outdev \
200 CppunitTest_vcl_app_test \
201 CppunitTest_vcl_jpeg_read_write_test \
202 CppunitTest_vcl_svm_test \
203 CppunitTest_vcl_errorhandler \
204 CppunitTest_vcl_bitmap_render_test \
205 CppunitTest_vcl_apitests \
206 CppunitTest_vcl_png_test \
207 CppunitTest_vcl_widget_definition_reader_test \
208 CppunitTest_vcl_backend_test \
209 CppunitTest_vcl_blocklistparser_test \
210 CppunitTest_vcl_type_serializer_test \
211 $(call gb_Helper_optional, PDFIUM, \
212 CppunitTest_vcl_pdfium_library_test) \
213 $(if $(filter SKIA,$(BUILD_TYPE)), \
214 CppunitTest_vcl_skia) \
217 ifeq ($(USING_X11),TRUE)
218 $(eval $(call gb_Module_add_check_targets,vcl,\
219 CppunitTest_vcl_timer \
221 endif
223 ifeq ($(DISABLE_GUI),TRUE)
224 $(eval $(call gb_Module_add_check_targets,vcl,\
225 CppunitTest_vcl_timer \
227 endif
229 # Is any configuration missing?
230 ifeq ($(OS),WNT)
231 $(eval $(call gb_Module_add_check_targets,vcl,\
232 CppunitTest_vcl_timer \
234 endif
236 ifeq ($(OS),MACOSX)
237 $(eval $(call gb_Module_add_check_targets,vcl,\
238 CppunitTest_vcl_timer \
240 endif
242 # screenshots
243 $(eval $(call gb_Module_add_screenshot_targets,vcl,\
244 CppunitTest_vcl_dialogs_test \
247 ifneq ($(DISPLAY),)
248 $(eval $(call gb_Module_add_slowcheck_targets,vcl,\
249 CppunitTest_vcl_gen \
251 endif
253 ifneq (,$(filter PDFIUM,$(BUILD_TYPE)))
254 $(eval $(call gb_Module_add_slowcheck_targets,vcl,\
255 CppunitTest_vcl_pdfexport \
256 CppunitTest_vcl_filter_ipdf \
258 endif
260 # vim: set noet sw=4 ts=4: