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
,\
24 Package_theme_definitions \
28 $(if
$(filter WNT
,$(OS
)), \
29 Package_opengl_denylist
) \
30 $(if
$(filter SKIA
,$(BUILD_TYPE
)), \
31 Package_skia_denylist
) \
32 $(if
$(filter DESKTOP FUZZERS
,$(BUILD_TYPE
)), \
33 StaticLibrary_vclmain \
34 $(if
$(DISABLE_GUI
),, \
35 $(if
$(filter LINUX MACOSX SOLARIS WNT
%BSD
,$(OS
)), \
38 Executable_visualbackendtest \
44 ifeq ($(CROSS_COMPILING
)$(DISABLE_DYNLOADING
),)
46 $(eval
$(call gb_Module_add_targets
,vcl
,\
47 $(if
$(filter-out ANDROID iOS WNT
,$(OS
)), \
52 Executable_svpclient
) \
57 $(eval
$(call gb_Module_add_l10n_targets
,vcl
,\
61 ifeq ($(USING_X11
),TRUE
)
62 $(eval
$(call gb_Module_add_targets
,vcl
,\
64 Library_desktop_detector \
65 StaticLibrary_glxtest \
67 Package_fontunxpsprint \
71 ifneq ($(ENABLE_GTK3
),)
72 $(eval
$(call gb_Module_add_targets
,vcl
,\
73 Library_vclplug_gtk3 \
77 ifneq ($(ENABLE_GTK4
),)
78 $(eval
$(call gb_Module_add_targets
,vcl
,\
79 Library_vclplug_gtk4 \
83 ifneq ($(ENABLE_KF5
),)
84 $(eval
$(call gb_Module_add_targets
,vcl
,\
85 CustomTarget_kf5_moc \
90 ifneq ($(ENABLE_QT5
),)
91 $(eval
$(call gb_Module_add_targets
,vcl
,\
92 CustomTarget_qt5_moc \
97 ifneq ($(ENABLE_QT6
),)
98 $(eval
$(call gb_Module_add_targets
,vcl
,\
99 CustomTarget_qt6_moc \
100 Library_vclplug_qt6 \
104 ifneq ($(ENABLE_GTK3_KDE5
),)
105 $(eval
$(call gb_Module_add_targets
,vcl
,\
106 CustomTarget_gtk3_kde5_moc \
107 Library_vclplug_gtk3_kde5 \
108 Executable_lo_kde5filepicker \
113 $(eval
$(call gb_Module_add_targets
,vcl
,\
115 Library_vclplug_osx \
120 $(eval
$(call gb_Module_add_targets
,vcl
,\
122 Library_vclplug_win \
126 ifneq (,$(filter FUZZERS
,$(BUILD_TYPE
)))
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_fuzzer_core \
134 StaticLibrary_fuzzer_calc \
135 StaticLibrary_fuzzer_draw \
136 StaticLibrary_fuzzer_writer \
137 StaticLibrary_fuzzer_math \
138 Executable_wmffuzzer \
139 Executable_jpgfuzzer \
140 Executable_giffuzzer \
141 Executable_xbmfuzzer \
142 Executable_xpmfuzzer \
143 Executable_pngfuzzer \
144 Executable_bmpfuzzer \
145 Executable_svmfuzzer \
146 Executable_pcdfuzzer \
147 Executable_dxffuzzer \
148 Executable_metfuzzer \
149 Executable_ppmfuzzer \
150 Executable_psdfuzzer \
151 Executable_epsfuzzer \
152 Executable_pctfuzzer \
153 Executable_pcxfuzzer \
154 Executable_rasfuzzer \
155 Executable_tgafuzzer \
156 Executable_tiffuzzer \
157 Executable_hwpfuzzer \
158 Executable_602fuzzer \
159 Executable_lwpfuzzer \
160 Executable_olefuzzer \
161 Executable_pptfuzzer \
162 Executable_rtffuzzer \
163 Executable_cgmfuzzer \
164 Executable_ww2fuzzer \
165 Executable_ww6fuzzer \
166 Executable_ww8fuzzer \
167 Executable_qpwfuzzer \
168 Executable_slkfuzzer \
169 Executable_fodtfuzzer \
170 Executable_fodsfuzzer \
171 Executable_fodpfuzzer \
172 Executable_xlsfuzzer \
173 Executable_scrtffuzzer \
174 Executable_wksfuzzer \
175 Executable_diffuzzer \
176 Executable_docxfuzzer \
177 Executable_xlsxfuzzer \
178 Executable_pptxfuzzer \
179 Executable_mmlfuzzer \
180 Executable_mtpfuzzer \
181 Executable_htmlfuzzer \
182 Executable_sftfuzzer \
183 Executable_dbffuzzer \
187 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
188 CppunitTest_vcl_drawmode \
189 CppunitTest_vcl_lifecycle \
190 CppunitTest_vcl_bitmap_test \
191 CppunitTest_vcl_bitmapprocessor_test \
192 CppunitTest_vcl_graphic_test \
193 CppunitTest_vcl_fontcharmap \
194 CppunitTest_vcl_font \
195 CppunitTest_vcl_fontfeature \
196 CppunitTest_vcl_fontmetric \
197 CppunitTest_vcl_text \
198 CppunitTest_vcl_filters_test \
199 CppunitTest_vcl_mnemonic \
200 CppunitTest_vcl_outdev \
201 CppunitTest_vcl_gradient \
202 CppunitTest_vcl_app_test \
203 CppunitTest_vcl_jpeg_read_write_test \
204 CppunitTest_vcl_svm_test \
205 CppunitTest_vcl_errorhandler \
206 CppunitTest_vcl_bitmap_render_test \
207 CppunitTest_vcl_apitests \
208 CppunitTest_vcl_png_test \
209 CppunitTest_vcl_widget_definition_reader_test \
210 CppunitTest_vcl_backend_test \
211 CppunitTest_vcl_blocklistparser_test \
212 CppunitTest_vcl_type_serializer_test \
213 $(call gb_Helper_optional
, PDFIUM
, \
214 CppunitTest_vcl_pdfium_library_test
) \
215 $(if
$(filter SKIA
,$(BUILD_TYPE
)), \
216 CppunitTest_vcl_skia
) \
217 CppunitTest_vcl_filter_igif \
220 ifeq ($(USING_X11
),TRUE
)
221 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
222 CppunitTest_vcl_timer \
226 ifeq ($(DISABLE_GUI
),TRUE
)
227 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
228 CppunitTest_vcl_timer \
232 # Is any configuration missing?
234 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
235 CppunitTest_vcl_timer \
240 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
241 CppunitTest_vcl_timer \
246 $(eval
$(call gb_Module_add_screenshot_targets
,vcl
,\
247 CppunitTest_vcl_dialogs_test \
251 $(eval
$(call gb_Module_add_slowcheck_targets
,vcl
,\
252 CppunitTest_vcl_gen \
256 ifneq (,$(filter PDFIUM
,$(BUILD_TYPE
)))
257 $(eval
$(call gb_Module_add_slowcheck_targets
,vcl
,\
258 CppunitTest_vcl_pdfexport \
259 CppunitTest_vcl_filter_ipdf \
263 # vim: set noet sw=4 ts=4: