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_opengl_shader \
25 Package_theme_definitions \
28 $(if
$(filter WNT
,$(OS
)), \
29 Package_opengl_blacklist
) \
30 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)), \
31 StaticLibrary_vclmain \
32 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
33 $(if
$(DISABLE_GUI
),, \
34 Executable_ui-previewer
)) \
35 $(if
$(filter LINUX MACOSX SOLARIS WNT
%BSD
,$(OS
)), \
36 Executable_outdevgrind \
37 $(if
$(DISABLE_GUI
),, \
40 Executable_visualbackendtest \
41 Executable_mtfdemo
))) \
44 ifeq ($(CROSS_COMPILING
)$(DISABLE_DYNLOADING
),)
46 $(eval
$(call gb_Module_add_targets
,vcl
,\
47 $(if
$(filter-out ANDROID iOS WNT
,$(OS
)), \
51 Executable_svpclient
) \
56 $(eval
$(call gb_Module_add_l10n_targets
,vcl
,\
60 ifeq ($(USING_X11
),TRUE
)
61 $(eval
$(call gb_Module_add_targets
,vcl
,\
63 Library_desktop_detector \
64 StaticLibrary_glxtest \
66 Package_fontunxpsprint \
69 ifneq ($(ENABLE_GTK3
),)
70 $(eval
$(call gb_Module_add_targets
,vcl
,\
71 Library_vclplug_gtk3 \
74 ifneq ($(ENABLE_KF5
),)
75 $(eval
$(call gb_Module_add_targets
,vcl
,\
76 CustomTarget_kf5_moc \
80 ifneq ($(ENABLE_QT5
),)
81 $(eval
$(call gb_Module_add_targets
,vcl
,\
82 CustomTarget_qt5_moc \
86 ifneq ($(ENABLE_GTK3_KDE5
),)
87 $(eval
$(call gb_Module_add_targets
,vcl
,\
88 CustomTarget_gtk3_kde5_moc \
89 Library_vclplug_gtk3_kde5 \
90 Executable_lo_kde5filepicker \
96 $(eval
$(call gb_Module_add_targets
,vcl
,\
103 $(eval
$(call gb_Module_add_targets
,vcl
,\
105 Library_vclplug_win \
110 ifneq ($(ENABLE_QT5
),)
111 $(eval
$(call gb_Module_add_targets
,vcl
,\
112 CustomTarget_qt5_moc \
113 Library_vclplug_qt5 \
116 ifneq ($(ENABLE_KF5
),)
117 $(eval
$(call gb_Module_add_targets
,vcl
,\
118 CustomTarget_kf5_moc \
119 Library_vclplug_kf5 \
124 ifneq ($(ENABLE_FUZZERS
),)
125 $(eval
$(call gb_Module_add_targets
,vcl
,\
126 CustomTarget_nativecore \
127 CustomTarget_nativecalc \
128 CustomTarget_nativedraw \
129 CustomTarget_nativewriter \
130 CustomTarget_nativemath \
131 StaticLibrary_fuzzerstubs \
132 StaticLibrary_fuzzer_core \
133 StaticLibrary_fuzzer_calc \
134 StaticLibrary_fuzzer_draw \
135 StaticLibrary_fuzzer_writer \
136 StaticLibrary_fuzzer_math \
137 Executable_wmffuzzer \
138 Executable_jpgfuzzer \
139 Executable_giffuzzer \
140 Executable_xbmfuzzer \
141 Executable_xpmfuzzer \
142 Executable_pngfuzzer \
143 Executable_bmpfuzzer \
144 Executable_svmfuzzer \
145 Executable_pcdfuzzer \
146 Executable_dxffuzzer \
147 Executable_metfuzzer \
148 Executable_ppmfuzzer \
149 Executable_psdfuzzer \
150 Executable_epsfuzzer \
151 Executable_pctfuzzer \
152 Executable_pcxfuzzer \
153 Executable_rasfuzzer \
154 Executable_tgafuzzer \
155 Executable_tiffuzzer \
156 Executable_hwpfuzzer \
157 Executable_602fuzzer \
158 Executable_lwpfuzzer \
159 Executable_olefuzzer \
160 Executable_pptfuzzer \
161 Executable_rtffuzzer \
162 Executable_cgmfuzzer \
163 Executable_ww2fuzzer \
164 Executable_ww6fuzzer \
165 Executable_ww8fuzzer \
166 Executable_qpwfuzzer \
167 Executable_slkfuzzer \
168 Executable_fodtfuzzer \
169 Executable_fodsfuzzer \
170 Executable_fodpfuzzer \
171 Executable_xlsfuzzer \
172 Executable_scrtffuzzer \
173 Executable_wksfuzzer \
174 Executable_diffuzzer \
175 Executable_docxfuzzer \
176 Executable_xlsxfuzzer \
177 Executable_pptxfuzzer \
178 Executable_mmlfuzzer \
179 Executable_mtpfuzzer \
180 Executable_htmlfuzzer \
181 Executable_sftfuzzer \
185 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
186 CppunitTest_vcl_lifecycle \
187 CppunitTest_vcl_bitmap_test \
188 CppunitTest_vcl_bitmapprocessor_test \
189 CppunitTest_vcl_graphic_test \
190 CppunitTest_vcl_fontcharmap \
191 CppunitTest_vcl_font \
192 CppunitTest_vcl_fontfeature \
193 CppunitTest_vcl_fontmetric \
194 CppunitTest_vcl_complextext \
195 CppunitTest_vcl_filters_test \
196 CppunitTest_vcl_mnemonic \
197 CppunitTest_vcl_outdev \
198 CppunitTest_vcl_app_test \
199 CppunitTest_vcl_jpeg_read_write_test \
200 CppunitTest_vcl_svm_test \
201 CppunitTest_vcl_errorhandler \
202 CppunitTest_vcl_bitmap_render_test \
203 CppunitTest_vcl_apitests \
204 CppunitTest_vcl_png_test \
205 CppunitTest_vcl_widget_definition_reader_test \
206 CppunitTest_vcl_backend_test \
209 ifeq ($(USING_X11
),TRUE
)
210 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
211 CppunitTest_vcl_timer \
215 ifeq ($(DISABLE_GUI
),TRUE
)
216 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
217 CppunitTest_vcl_timer \
221 # Is any configuration missing?
223 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
224 CppunitTest_vcl_timer \
225 CppunitTest_vcl_blocklistparser_test \
230 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
231 CppunitTest_vcl_timer \
236 $(eval
$(call gb_Module_add_screenshot_targets
,vcl
,\
237 CppunitTest_vcl_dialogs_test \
241 $(eval
$(call gb_Module_add_slowcheck_targets
,vcl
,\
242 CppunitTest_vcl_gen \
246 ifneq (,$(filter PDFIUM
,$(BUILD_TYPE
)))
247 $(eval
$(call gb_Module_add_slowcheck_targets
,vcl
,\
248 CppunitTest_vcl_pdfexport \
252 # vim: set noet sw=4 ts=4: