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
,\
28 $(eval
$(call gb_Module_add_targets
,vcl
,\
30 Package_theme_definitions \
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
) \
42 $(if
$(filter LINUX MACOSX SOLARIS WNT
%BSD
,$(OS
)), \
45 Executable_visualbackendtest \
51 ifeq ($(CROSS_COMPILING
)$(DISABLE_DYNLOADING
),)
53 $(eval
$(call gb_Module_add_targets
,vcl
,\
54 $(if
$(filter-out ANDROID iOS WNT
,$(OS
)), \
59 Executable_listfonts \
60 Executable_listglyphs \
61 Executable_svpclient
) \
66 $(eval
$(call gb_Module_add_l10n_targets
,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 \
75 Package_fontunxpsprint \
79 ifneq ($(ENABLE_GTK3
),)
80 $(eval
$(call gb_Module_add_targets
,vcl
,\
81 Library_vclplug_gtk3 \
85 ifneq ($(ENABLE_GTK4
),)
86 $(eval
$(call gb_Module_add_targets
,vcl
,\
87 Library_vclplug_gtk4 \
91 ifneq ($(ENABLE_KF5
),)
92 $(eval
$(call gb_Module_add_targets
,vcl
,\
93 CustomTarget_kf5_moc \
98 ifneq ($(ENABLE_QT5
),)
99 $(eval
$(call gb_Module_add_targets
,vcl
,\
100 CustomTarget_qt5_moc \
101 Library_vclplug_qt5 \
105 ifneq ($(ENABLE_QT6
),)
106 $(eval
$(call gb_Module_add_targets
,vcl
,\
107 CustomTarget_qt6_moc \
108 Library_vclplug_qt6 \
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 \
121 $(eval
$(call gb_Module_add_targets
,vcl
,\
123 Library_vclplug_osx \
128 $(eval
$(call gb_Module_add_targets
,vcl
,\
130 Library_vclplug_win \
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 \
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 \
238 ifeq ($(DISABLE_GUI
),TRUE
)
239 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
240 CppunitTest_vcl_timer \
244 # Is any configuration missing?
246 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
247 CppunitTest_vcl_timer \
252 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
253 CppunitTest_vcl_timer \
258 $(eval
$(call gb_Module_add_screenshot_targets
,vcl
,\
259 CppunitTest_vcl_dialogs_test \
263 $(eval
$(call gb_Module_add_slowcheck_targets
,vcl
,\
264 CppunitTest_vcl_gen \
268 ifneq (,$(filter PDFIUM
,$(BUILD_TYPE
)))
269 $(eval
$(call gb_Module_add_slowcheck_targets
,vcl
,\
270 CppunitTest_vcl_pdfexport \
271 CppunitTest_vcl_filter_ipdf \
275 # vim: set noet sw=4 ts=4: