tdf#115863: fix TIFF import
[LibreOffice.git] / vcl / Module_vcl.mk
blob59e5b9c2045f437c943364efa4de8460571ba69d
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_opengl \
25 UIConfig_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 $(ENABLE_HEADLESS),, \
32 Executable_ui-previewer)) \
33 $(if $(filter LINUX MACOSX SOLARIS WNT %BSD,$(OS)), \
34 Executable_outdevgrind \
35 $(if $(ENABLE_HEADLESS),, \
36 Executable_vcldemo \
37 Executable_icontest \
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)), \
46 Executable_svdemo \
47 Executable_fftester \
48 Executable_svptest \
49 Executable_svpclient) \
52 endif
54 $(eval $(call gb_Module_add_l10n_targets,vcl,\
55 AllLangMoTarget_vcl \
58 ifeq ($(USING_X11),TRUE)
59 $(eval $(call gb_Module_add_targets,vcl,\
60 Library_vclplug_gen \
61 Library_desktop_detector \
62 StaticLibrary_glxtest \
63 Package_fontunxppds \
64 Package_fontunxpsprint \
67 ifneq ($(ENABLE_GTK),)
68 $(eval $(call gb_Module_add_targets,vcl,\
69 Executable_xid_fullscreen_on_all_monitors \
70 Library_vclplug_gtk \
72 endif
73 ifneq ($(ENABLE_GTK3),)
74 $(eval $(call gb_Module_add_targets,vcl,\
75 Library_vclplug_gtk3 \
77 endif
78 ifneq ($(ENABLE_KDE4),)
79 $(eval $(call gb_Module_add_targets,vcl,\
80 CustomTarget_kde4_moc \
81 Library_vclplug_kde4 \
83 endif
85 ifneq ($(ENABLE_KDE5),)
86 $(eval $(call gb_Module_add_targets,vcl,\
87 CustomTarget_kde5_moc \
88 Library_vclplug_kde5 \
90 endif
91 ifneq ($(ENABLE_QT5),)
92 $(eval $(call gb_Module_add_targets,vcl,\
93 CustomTarget_qt5_moc \
94 Library_vclplug_qt5 \
96 endif
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 \
103 endif
104 endif
106 ifeq ($(OS),MACOSX)
107 $(eval $(call gb_Module_add_targets,vcl,\
108 Package_osxres \
110 endif
112 ifeq ($(OS),WNT)
113 $(eval $(call gb_Module_add_targets,vcl,\
114 WinResTarget_vcl \
116 endif
118 ifneq ($(ENABLE_FUZZERS),)
119 $(eval $(call gb_Module_add_targets,vcl,\
120 CustomTarget_nativecore \
121 CustomTarget_nativecalc \
122 CustomTarget_nativedraw \
123 CustomTarget_nativewriter \
124 CustomTarget_nativemath \
125 StaticLibrary_fuzzerstubs \
126 StaticLibrary_fuzzer_core \
127 StaticLibrary_fuzzer_calc \
128 StaticLibrary_fuzzer_draw \
129 StaticLibrary_fuzzer_writer \
130 StaticLibrary_fuzzer_math \
131 Executable_wmffuzzer \
132 Executable_jpgfuzzer \
133 Executable_giffuzzer \
134 Executable_xbmfuzzer \
135 Executable_xpmfuzzer \
136 Executable_pngfuzzer \
137 Executable_bmpfuzzer \
138 Executable_svmfuzzer \
139 Executable_pcdfuzzer \
140 Executable_dxffuzzer \
141 Executable_metfuzzer \
142 Executable_ppmfuzzer \
143 Executable_psdfuzzer \
144 Executable_epsfuzzer \
145 Executable_pctfuzzer \
146 Executable_pcxfuzzer \
147 Executable_rasfuzzer \
148 Executable_tgafuzzer \
149 Executable_tiffuzzer \
150 Executable_hwpfuzzer \
151 Executable_602fuzzer \
152 Executable_lwpfuzzer \
153 Executable_olefuzzer \
154 Executable_pptfuzzer \
155 Executable_rtffuzzer \
156 Executable_cgmfuzzer \
157 Executable_ww2fuzzer \
158 Executable_ww6fuzzer \
159 Executable_ww8fuzzer \
160 Executable_qpwfuzzer \
161 Executable_slkfuzzer \
162 Executable_fodtfuzzer \
163 Executable_fodsfuzzer \
164 Executable_fodpfuzzer \
165 Executable_xlsfuzzer \
166 Executable_scrtffuzzer \
167 Executable_wksfuzzer \
168 Executable_diffuzzer \
169 Executable_docxfuzzer \
170 Executable_xlsxfuzzer \
171 Executable_pptxfuzzer \
172 Executable_mmlfuzzer \
173 Executable_mtpfuzzer \
174 Executable_htmlfuzzer \
175 Executable_sftfuzzer \
177 endif
179 $(eval $(call gb_Module_add_check_targets,vcl,\
180 CppunitTest_vcl_lifecycle \
181 CppunitTest_vcl_bitmap_test \
182 CppunitTest_vcl_bitmapprocessor_test \
183 CppunitTest_vcl_fontcharmap \
184 CppunitTest_vcl_font \
185 CppunitTest_vcl_fontmetric \
186 CppunitTest_vcl_complextext \
187 CppunitTest_vcl_filters_test \
188 CppunitTest_vcl_mnemonic \
189 CppunitTest_vcl_outdev \
190 CppunitTest_vcl_app_test \
191 CppunitTest_vcl_jpeg_read_write_test \
192 CppunitTest_vcl_svm_test \
193 CppunitTest_vcl_pdfexport \
194 CppunitTest_vcl_errorhandler \
198 ifeq ($(USING_X11),TRUE)
199 $(eval $(call gb_Module_add_check_targets,vcl,\
200 CppunitTest_vcl_timer \
202 endif
204 ifeq ($(ENABLE_HEADLESS),TRUE)
205 $(eval $(call gb_Module_add_check_targets,vcl,\
206 CppunitTest_vcl_timer \
208 endif
210 # Is any configuration missing?
211 ifeq ($(OS),WNT)
212 $(eval $(call gb_Module_add_check_targets,vcl,\
213 CppunitTest_vcl_timer \
214 CppunitTest_vcl_blocklistparser_test \
216 endif
218 ifeq ($(OS),MACOSX)
219 $(eval $(call gb_Module_add_check_targets,vcl,\
220 CppunitTest_vcl_timer \
222 endif
224 # screenshots
225 $(eval $(call gb_Module_add_screenshot_targets,vcl,\
226 CppunitTest_vcl_dialogs_test \
229 # vim: set noet sw=4 ts=4: