Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / vcl / Module_vcl.mk
blob03c884c491b0f2f63fe66553ee1363f2bc6b1d81
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 CustomTarget_afm_hash \
24 Library_vcl \
25 Package_opengl \
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_mtfdemo ))) \
39 $(if $(filter-out ANDROID IOS WNT,$(OS)), \
40 Executable_svdemo \
41 Executable_fftester \
42 Executable_svptest \
43 Executable_svpclient) \
46 $(eval $(call gb_Module_add_l10n_targets,vcl,\
47 AllLangResTarget_vcl \
48 UIConfig_vcl \
51 ifeq ($(USING_X11),TRUE)
52 $(eval $(call gb_Module_add_targets,vcl,\
53 Library_vclplug_gen \
54 Library_desktop_detector \
55 StaticLibrary_glxtest \
56 Package_fontunxppds \
57 Package_fontunxpsprint \
60 ifneq ($(ENABLE_GTK),)
61 $(eval $(call gb_Module_add_targets,vcl,\
62 Executable_xid_fullscreen_on_all_monitors \
63 Library_vclplug_gtk \
65 endif
66 ifneq ($(ENABLE_GTK3),)
67 $(eval $(call gb_Module_add_targets,vcl,\
68 Library_vclplug_gtk3 \
70 endif
71 ifneq ($(ENABLE_TDE),)
72 $(eval $(call gb_Module_add_targets,vcl,\
73 CustomTarget_tde_moc \
74 Executable_tdefilepicker \
75 Library_vclplug_tde \
77 endif
78 ifneq ($(ENABLE_KDE4),)
79 $(eval $(call gb_Module_add_targets,vcl,\
80 CustomTarget_kde4_moc \
81 Library_vclplug_kde4 \
83 endif
84 endif
86 ifeq ($(OS),MACOSX)
87 $(eval $(call gb_Module_add_targets,vcl,\
88 Package_osxres \
90 endif
92 ifeq ($(OS),WNT)
93 $(eval $(call gb_Module_add_targets,vcl,\
94 WinResTarget_vcl \
96 endif
98 $(eval $(call gb_Module_add_check_targets,vcl,\
99 CppunitTest_vcl_lifecycle \
100 CppunitTest_vcl_bitmap_test \
101 CppunitTest_vcl_fontcharmap \
102 CppunitTest_vcl_font \
103 CppunitTest_vcl_fontmetric \
104 CppunitTest_vcl_complextext \
105 CppunitTest_vcl_filters_test \
106 CppunitTest_vcl_mapmode \
107 CppunitTest_vcl_outdev \
108 CppunitTest_vcl_app_test \
109 CppunitTest_vcl_wmf_test \
113 ifeq ($(USING_X11),TRUE)
114 $(eval $(call gb_Module_add_check_targets,vcl,\
115 CppunitTest_vcl_timer \
117 endif
119 ifeq ($(ENABLE_HEADLESS),TRUE)
120 $(eval $(call gb_Module_add_check_targets,vcl,\
121 CppunitTest_vcl_timer \
123 endif
125 # Is any configuration missing?
126 ifeq ($(OS),WNT)
127 $(eval $(call gb_Module_add_check_targets,vcl,\
128 CppunitTest_vcl_timer \
129 CppunitTest_vcl_blocklistparser_test \
131 endif
132 # vim: set noet sw=4 ts=4: