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 DESKTOP
,$(BUILD_TYPE
)), \
27 StaticLibrary_vclmain \
28 $(if
$(ENABLE_HEADLESS
),, \
29 Executable_ui-previewer
) \
30 $(if
$(filter LINUX MACOSX WNT
,$(OS
)), \
31 Executable_outdevgrind \
32 $(if
$(ENABLE_HEADLESS
),, \
35 Executable_mtfdemo
))) \
36 $(if
$(filter-out ANDROID IOS WNT
,$(OS
)), \
39 Executable_svpclient
) \
42 $(eval
$(call gb_Module_add_l10n_targets
,vcl
,\
43 AllLangResTarget_vcl \
48 $(eval
$(call gb_Module_add_targets
,vcl
,\
50 Library_desktop_detector \
51 StaticLibrary_glxtest \
53 Package_fontunxpsprint \
56 ifneq ($(ENABLE_GTK
),)
57 $(eval
$(call gb_Module_add_targets
,vcl
,\
58 Executable_xid_fullscreen_on_all_monitors \
62 ifneq ($(ENABLE_GTK3
),)
63 $(eval
$(call gb_Module_add_targets
,vcl
,\
64 Library_vclplug_gtk3 \
67 ifneq ($(ENABLE_TDE
),)
68 $(eval
$(call gb_Module_add_targets
,vcl
,\
69 CustomTarget_tde_moc \
70 Executable_tdefilepicker \
74 ifneq ($(ENABLE_KDE
),)
75 $(eval
$(call gb_Module_add_targets
,vcl
,\
76 CustomTarget_kde_moc \
77 Executable_kdefilepicker \
81 ifneq ($(ENABLE_KDE4
),)
82 $(eval
$(call gb_Module_add_targets
,vcl
,\
83 CustomTarget_kde4_moc \
84 Library_vclplug_kde4 \
90 $(eval
$(call gb_Module_add_targets
,vcl
,\
96 $(eval
$(call gb_Module_add_targets
,vcl
,\
101 $(eval
$(call gb_Module_add_check_targets
,vcl
,\
102 CppunitTest_vcl_lifecycle \
103 CppunitTest_vcl_bitmap_test \
104 CppunitTest_vcl_fontcharmap \
105 CppunitTest_vcl_complextext \
106 CppunitTest_vcl_filters_test \
107 CppunitTest_vcl_outdev \
108 CppunitTest_vcl_app_test \
109 CppunitTest_vcl_wmf_test \
113 ifeq ($(GUIBASE
),unx
)
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 \
124 # vim: set noet sw=4 ts=4: