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 \
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
),, \
38 Executable_mtfdemo
))) \
39 $(if
$(filter-out ANDROID IOS WNT
,$(OS
)), \
43 Executable_svpclient
) \
46 $(eval
$(call gb_Module_add_l10n_targets
,vcl
,\
47 AllLangResTarget_vcl \
51 ifeq ($(USING_X11
),TRUE
)
52 $(eval
$(call gb_Module_add_targets
,vcl
,\
54 Library_desktop_detector \
55 StaticLibrary_glxtest \
57 Package_fontunxpsprint \
60 ifneq ($(ENABLE_GTK
),)
61 $(eval
$(call gb_Module_add_targets
,vcl
,\
62 Executable_xid_fullscreen_on_all_monitors \
66 ifneq ($(ENABLE_GTK3
),)
67 $(eval
$(call gb_Module_add_targets
,vcl
,\
68 Library_vclplug_gtk3 \
71 ifneq ($(ENABLE_TDE
),)
72 $(eval
$(call gb_Module_add_targets
,vcl
,\
73 CustomTarget_tde_moc \
74 Executable_tdefilepicker \
78 ifneq ($(ENABLE_KDE4
),)
79 $(eval
$(call gb_Module_add_targets
,vcl
,\
80 CustomTarget_kde4_moc \
81 Library_vclplug_kde4 \
87 $(eval
$(call gb_Module_add_targets
,vcl
,\
93 $(eval
$(call gb_Module_add_targets
,vcl
,\
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 \
119 ifeq ($(ENABLE_HEADLESS
),TRUE
)
120 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
121 CppunitTest_vcl_timer \
125 # Is any configuration missing?
127 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
128 CppunitTest_vcl_timer \
129 CppunitTest_vcl_blocklistparser_test \
132 # vim: set noet sw=4 ts=4: