bump product version to 7.2.5.1
[LibreOffice.git] / vcl / Module_vcl.mk
blob4a3eec15c11951160a6eb4232268fdcf2aa97d9f
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,\
23 Library_vcl \
24 Package_theme_definitions \
25 Package_tipoftheday \
26 Package_toolbarmode \
27 UIConfig_vcl \
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),, \
39 Executable_vcldemo \
40 Executable_icontest \
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)), \
49 Executable_svdemo \
50 Executable_fftester \
51 Executable_svptest \
52 Executable_svpclient) \
55 endif
57 $(eval $(call gb_Module_add_l10n_targets,vcl,\
58 AllLangMoTarget_vcl \
61 ifeq ($(USING_X11),TRUE)
62 $(eval $(call gb_Module_add_targets,vcl,\
63 Library_vclplug_gen \
64 Library_desktop_detector \
65 StaticLibrary_glxtest \
66 Package_fontunxppds \
67 Package_fontunxpsprint \
70 ifneq ($(ENABLE_GTK3),)
71 $(eval $(call gb_Module_add_targets,vcl,\
72 Library_vclplug_gtk3 \
74 endif
75 ifneq ($(ENABLE_GTK4),)
76 $(eval $(call gb_Module_add_targets,vcl,\
77 Library_vclplug_gtk4 \
79 endif
80 ifneq ($(ENABLE_KF5),)
81 $(eval $(call gb_Module_add_targets,vcl,\
82 CustomTarget_kf5_moc \
83 Library_vclplug_kf5 \
85 endif
86 ifneq ($(ENABLE_QT5),)
87 $(eval $(call gb_Module_add_targets,vcl,\
88 CustomTarget_qt5_moc \
89 Library_vclplug_qt5 \
91 endif
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 \
98 endif
99 endif
101 ifeq ($(OS),MACOSX)
102 $(eval $(call gb_Module_add_targets,vcl,\
103 Package_osxres \
104 Library_vclplug_osx \
106 endif
108 ifeq ($(OS),WNT)
109 $(eval $(call gb_Module_add_targets,vcl,\
110 WinResTarget_vcl \
111 Library_vclplug_win \
113 endif
115 ifeq ($(OS),HAIKU)
116 ifneq ($(ENABLE_QT5),)
117 $(eval $(call gb_Module_add_targets,vcl,\
118 CustomTarget_qt5_moc \
119 Library_vclplug_qt5 \
121 endif
122 ifneq ($(ENABLE_KF5),)
123 $(eval $(call gb_Module_add_targets,vcl,\
124 CustomTarget_kf5_moc \
125 Library_vclplug_kf5 \
127 endif
128 endif
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 \
189 endif
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 \
226 endif
228 ifeq ($(DISABLE_GUI),TRUE)
229 $(eval $(call gb_Module_add_check_targets,vcl,\
230 CppunitTest_vcl_timer \
232 endif
234 # Is any configuration missing?
235 ifeq ($(OS),WNT)
236 $(eval $(call gb_Module_add_check_targets,vcl,\
237 CppunitTest_vcl_timer \
239 endif
241 ifeq ($(OS),MACOSX)
242 $(eval $(call gb_Module_add_check_targets,vcl,\
243 CppunitTest_vcl_timer \
245 endif
247 # screenshots
248 $(eval $(call gb_Module_add_screenshot_targets,vcl,\
249 CppunitTest_vcl_dialogs_test \
252 ifneq ($(DISPLAY),)
253 $(eval $(call gb_Module_add_slowcheck_targets,vcl,\
254 CppunitTest_vcl_gen \
256 endif
258 ifneq (,$(filter PDFIUM,$(BUILD_TYPE)))
259 $(eval $(call gb_Module_add_slowcheck_targets,vcl,\
260 CppunitTest_vcl_pdfexport \
261 CppunitTest_vcl_filter_ipdf \
263 endif
265 # vim: set noet sw=4 ts=4: