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
,$(BUILD_TYPE
)), \
33 StaticLibrary_vclmain \
34 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
35 $(if
$(DISABLE_GUI
),, \
36 Executable_ui-previewer
)) \
37 $(if
$(filter LINUX MACOSX SOLARIS WNT
%BSD
,$(OS
)), \
38 $(if
$(DISABLE_GUI
),, \
41 Executable_visualbackendtest \
42 Executable_mtfdemo
))) \
45 ifeq ($(CROSS_COMPILING
)$(DISABLE_DYNLOADING
),)
47 $(eval
$(call gb_Module_add_targets
,vcl
,\
48 $(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 \
70 ifneq ($(ENABLE_GTK3
),)
71 $(eval
$(call gb_Module_add_targets
,vcl
,\
72 Library_vclplug_gtk3 \
75 ifneq ($(ENABLE_GTK4
),)
76 $(eval
$(call gb_Module_add_targets
,vcl
,\
77 Library_vclplug_gtk4 \
80 ifneq ($(ENABLE_KF5
),)
81 $(eval
$(call gb_Module_add_targets
,vcl
,\
82 CustomTarget_kf5_moc \
86 ifneq ($(ENABLE_QT5
),)
87 $(eval
$(call gb_Module_add_targets
,vcl
,\
88 CustomTarget_qt5_moc \
92 ifneq ($(ENABLE_GTK3_KDE5
),)
93 $(eval
$(call gb_Module_add_targets
,vcl
,\
94 CustomTarget_gtk3_kde5_moc \
95 Library_vclplug_gtk3_kde5 \
96 Executable_lo_kde5filepicker \
102 $(eval
$(call gb_Module_add_targets
,vcl
,\
104 Library_vclplug_osx \
109 $(eval
$(call gb_Module_add_targets
,vcl
,\
111 Library_vclplug_win \
116 ifneq ($(ENABLE_QT5
),)
117 $(eval
$(call gb_Module_add_targets
,vcl
,\
118 CustomTarget_qt5_moc \
119 Library_vclplug_qt5 \
122 ifneq ($(ENABLE_KF5
),)
123 $(eval
$(call gb_Module_add_targets
,vcl
,\
124 CustomTarget_kf5_moc \
125 Library_vclplug_kf5 \
130 ifneq ($(ENABLE_FUZZERS
),)
131 $(eval
$(call gb_Module_add_targets
,vcl
,\
132 CustomTarget_nativecore \
133 CustomTarget_nativecalc \
134 CustomTarget_nativedraw \
135 CustomTarget_nativewriter \
136 CustomTarget_nativemath \
137 StaticLibrary_fuzzerstubs \
138 StaticLibrary_fuzzer_core \
139 StaticLibrary_fuzzer_calc \
140 StaticLibrary_fuzzer_draw \
141 StaticLibrary_fuzzer_writer \
142 StaticLibrary_fuzzer_math \
143 Executable_wmffuzzer \
144 Executable_jpgfuzzer \
145 Executable_giffuzzer \
146 Executable_xbmfuzzer \
147 Executable_xpmfuzzer \
148 Executable_pngfuzzer \
149 Executable_bmpfuzzer \
150 Executable_svmfuzzer \
151 Executable_pcdfuzzer \
152 Executable_dxffuzzer \
153 Executable_metfuzzer \
154 Executable_ppmfuzzer \
155 Executable_psdfuzzer \
156 Executable_epsfuzzer \
157 Executable_pctfuzzer \
158 Executable_pcxfuzzer \
159 Executable_rasfuzzer \
160 Executable_tgafuzzer \
161 Executable_tiffuzzer \
162 Executable_hwpfuzzer \
163 Executable_602fuzzer \
164 Executable_lwpfuzzer \
165 Executable_olefuzzer \
166 Executable_pptfuzzer \
167 Executable_rtffuzzer \
168 Executable_cgmfuzzer \
169 Executable_ww2fuzzer \
170 Executable_ww6fuzzer \
171 Executable_ww8fuzzer \
172 Executable_qpwfuzzer \
173 Executable_slkfuzzer \
174 Executable_fodtfuzzer \
175 Executable_fodsfuzzer \
176 Executable_fodpfuzzer \
177 Executable_xlsfuzzer \
178 Executable_scrtffuzzer \
179 Executable_wksfuzzer \
180 Executable_diffuzzer \
181 Executable_docxfuzzer \
182 Executable_xlsxfuzzer \
183 Executable_pptxfuzzer \
184 Executable_mmlfuzzer \
185 Executable_mtpfuzzer \
186 Executable_htmlfuzzer \
187 Executable_sftfuzzer \
191 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
192 CppunitTest_vcl_lifecycle \
193 CppunitTest_vcl_bitmap_test \
194 CppunitTest_vcl_bitmapprocessor_test \
195 CppunitTest_vcl_graphic_test \
196 CppunitTest_vcl_fontcharmap \
197 CppunitTest_vcl_font \
198 CppunitTest_vcl_fontfeature \
199 CppunitTest_vcl_fontmetric \
200 CppunitTest_vcl_text \
201 CppunitTest_vcl_filters_test \
202 CppunitTest_vcl_mnemonic \
203 CppunitTest_vcl_outdev \
204 CppunitTest_vcl_app_test \
205 CppunitTest_vcl_jpeg_read_write_test \
206 CppunitTest_vcl_svm_test \
207 CppunitTest_vcl_errorhandler \
208 CppunitTest_vcl_bitmap_render_test \
209 CppunitTest_vcl_apitests \
210 CppunitTest_vcl_png_test \
211 CppunitTest_vcl_widget_definition_reader_test \
212 CppunitTest_vcl_backend_test \
213 CppunitTest_vcl_blocklistparser_test \
214 CppunitTest_vcl_type_serializer_test \
215 $(call gb_Helper_optional
, PDFIUM
, \
216 CppunitTest_vcl_pdfium_library_test
) \
217 $(if
$(filter SKIA
,$(BUILD_TYPE
)), \
218 CppunitTest_vcl_skia
) \
219 CppunitTest_vcl_filter_igif \
222 ifeq ($(USING_X11
),TRUE
)
223 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
224 CppunitTest_vcl_timer \
228 ifeq ($(DISABLE_GUI
),TRUE
)
229 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
230 CppunitTest_vcl_timer \
234 # Is any configuration missing?
236 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
237 CppunitTest_vcl_timer \
242 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
243 CppunitTest_vcl_timer \
248 $(eval
$(call gb_Module_add_screenshot_targets
,vcl
,\
249 CppunitTest_vcl_dialogs_test \
253 $(eval
$(call gb_Module_add_slowcheck_targets
,vcl
,\
254 CppunitTest_vcl_gen \
258 ifneq (,$(filter PDFIUM
,$(BUILD_TYPE
)))
259 $(eval
$(call gb_Module_add_slowcheck_targets
,vcl
,\
260 CppunitTest_vcl_pdfexport \
261 CppunitTest_vcl_filter_ipdf \
265 # vim: set noet sw=4 ts=4: