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
,\
26 $(if
$(filter WNT
,$(OS
)), \
27 Package_opengl_blacklist
) \
28 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)), \
29 StaticLibrary_vclmain \
30 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
31 $(if
$(DISABLE_GUI
),, \
32 Executable_ui-previewer
)) \
33 $(if
$(filter LINUX MACOSX SOLARIS WNT
%BSD
,$(OS
)), \
34 Executable_outdevgrind \
35 $(if
$(DISABLE_GUI
),, \
38 Executable_visualbackendtest \
39 Executable_mtfdemo
))) \
42 ifeq ($(CROSS_COMPILING
)$(DISABLE_DYNLOADING
),)
44 $(eval
$(call gb_Module_add_targets
,vcl
,\
45 $(if
$(filter-out ANDROID IOS WNT
,$(OS
)), \
49 Executable_svpclient
) \
54 $(eval
$(call gb_Module_add_l10n_targets
,vcl
,\
58 ifeq ($(USING_X11
),TRUE
)
59 $(eval
$(call gb_Module_add_targets
,vcl
,\
61 Library_desktop_detector \
62 StaticLibrary_glxtest \
64 Package_fontunxpsprint \
67 ifneq ($(ENABLE_GTK
),)
68 $(eval
$(call gb_Module_add_targets
,vcl
,\
69 Executable_xid_fullscreen_on_all_monitors \
73 ifneq ($(ENABLE_GTK3
),)
74 $(eval
$(call gb_Module_add_targets
,vcl
,\
75 Library_vclplug_gtk3 \
78 ifneq ($(ENABLE_KDE4
),)
79 $(eval
$(call gb_Module_add_targets
,vcl
,\
80 CustomTarget_kde4_moc \
81 Library_vclplug_kde4 \
85 ifneq ($(ENABLE_KDE5
),)
86 $(eval
$(call gb_Module_add_targets
,vcl
,\
87 CustomTarget_kde5_moc \
88 Library_vclplug_kde5 \
91 ifneq ($(ENABLE_QT5
),)
92 $(eval
$(call gb_Module_add_targets
,vcl
,\
93 CustomTarget_qt5_moc \
97 ifneq ($(ENABLE_GTK3_KDE5
),)
98 $(eval
$(call gb_Module_add_targets
,vcl
,\
99 CustomTarget_gtk3_kde5_moc \
100 Library_vclplug_gtk3_kde5 \
101 Executable_lo_kde5filepicker \
107 $(eval
$(call gb_Module_add_targets
,vcl
,\
109 Library_vclplug_osx \
114 $(eval
$(call gb_Module_add_targets
,vcl
,\
116 Library_vclplug_win \
121 ifneq ($(ENABLE_QT5
),)
122 $(eval
$(call gb_Module_add_targets
,vcl
,\
123 CustomTarget_qt5_moc \
124 Library_vclplug_qt5 \
127 ifneq ($(ENABLE_KDE5
),)
128 $(eval
$(call gb_Module_add_targets
,vcl
,\
129 CustomTarget_kde5_moc \
130 Library_vclplug_kde5 \
135 ifneq ($(ENABLE_FUZZERS
),)
136 $(eval
$(call gb_Module_add_targets
,vcl
,\
137 CustomTarget_nativecore \
138 CustomTarget_nativecalc \
139 CustomTarget_nativedraw \
140 CustomTarget_nativewriter \
141 CustomTarget_nativemath \
142 StaticLibrary_fuzzerstubs \
143 StaticLibrary_fuzzer_core \
144 StaticLibrary_fuzzer_calc \
145 StaticLibrary_fuzzer_draw \
146 StaticLibrary_fuzzer_writer \
147 StaticLibrary_fuzzer_math \
148 Executable_wmffuzzer \
149 Executable_jpgfuzzer \
150 Executable_giffuzzer \
151 Executable_xbmfuzzer \
152 Executable_xpmfuzzer \
153 Executable_pngfuzzer \
154 Executable_bmpfuzzer \
155 Executable_svmfuzzer \
156 Executable_pcdfuzzer \
157 Executable_dxffuzzer \
158 Executable_metfuzzer \
159 Executable_ppmfuzzer \
160 Executable_psdfuzzer \
161 Executable_epsfuzzer \
162 Executable_pctfuzzer \
163 Executable_pcxfuzzer \
164 Executable_rasfuzzer \
165 Executable_tgafuzzer \
166 Executable_tiffuzzer \
167 Executable_hwpfuzzer \
168 Executable_602fuzzer \
169 Executable_lwpfuzzer \
170 Executable_olefuzzer \
171 Executable_pptfuzzer \
172 Executable_rtffuzzer \
173 Executable_cgmfuzzer \
174 Executable_ww2fuzzer \
175 Executable_ww6fuzzer \
176 Executable_ww8fuzzer \
177 Executable_qpwfuzzer \
178 Executable_slkfuzzer \
179 Executable_fodtfuzzer \
180 Executable_fodsfuzzer \
181 Executable_fodpfuzzer \
182 Executable_xlsfuzzer \
183 Executable_scrtffuzzer \
184 Executable_wksfuzzer \
185 Executable_diffuzzer \
186 Executable_docxfuzzer \
187 Executable_xlsxfuzzer \
188 Executable_pptxfuzzer \
189 Executable_mmlfuzzer \
190 Executable_mtpfuzzer \
191 Executable_htmlfuzzer \
192 Executable_sftfuzzer \
196 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
197 CppunitTest_vcl_lifecycle \
198 CppunitTest_vcl_bitmap_test \
199 CppunitTest_vcl_bitmapprocessor_test \
200 CppunitTest_vcl_graphic_test \
201 CppunitTest_vcl_fontcharmap \
202 CppunitTest_vcl_font \
203 CppunitTest_vcl_fontfeature \
204 CppunitTest_vcl_fontmetric \
205 CppunitTest_vcl_complextext \
206 CppunitTest_vcl_filters_test \
207 CppunitTest_vcl_mnemonic \
208 CppunitTest_vcl_outdev \
209 CppunitTest_vcl_app_test \
210 CppunitTest_vcl_jpeg_read_write_test \
211 CppunitTest_vcl_svm_test \
212 CppunitTest_vcl_errorhandler \
213 CppunitTest_vcl_bitmap_render_test \
214 CppunitTest_vcl_apitests \
217 ifneq (,$(filter PDFIUM
,$(BUILD_TYPE
)))
218 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
219 CppunitTest_vcl_pdfexport \
223 ifeq ($(USING_X11
),TRUE
)
224 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
225 CppunitTest_vcl_timer \
229 ifeq ($(DISABLE_GUI
),TRUE
)
230 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
231 CppunitTest_vcl_timer \
235 # Is any configuration missing?
237 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
238 CppunitTest_vcl_timer \
239 CppunitTest_vcl_blocklistparser_test \
244 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
245 CppunitTest_vcl_timer \
250 $(eval
$(call gb_Module_add_screenshot_targets
,vcl
,\
251 CppunitTest_vcl_dialogs_test \
254 # vim: set noet sw=4 ts=4: