Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / vcl / Module_vcl.mk
blobdebcee016a409f0fe85f29a97d012cd84bf39a46
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 AllLangResTarget_vcl \
24 CustomTarget_afm_hash \
25 Library_vcl \
26 Package_inc \
27 $(if $(filter DESKTOP,$(BUILD_TYPE)), \
28 StaticLibrary_vclmain \
29 Executable_ui-previewer) \
30 UI_vcl \
33 ifeq ($(GUIBASE),unx)
34 $(eval $(call gb_Module_add_targets,vcl,\
35 Library_vclplug_svp \
36 Library_vclplug_gen \
37 Library_desktop_detector \
38 StaticLibrary_headless \
41 ifneq ($(ENABLE_GTK),)
42 $(eval $(call gb_Module_add_targets,vcl,\
43 Library_vclplug_gtk \
45 endif
46 ifneq ($(ENABLE_GTK3),)
47 $(eval $(call gb_Module_add_targets,vcl,\
48 Library_vclplug_gtk3 \
50 endif
51 ifneq ($(ENABLE_TDE),)
52 $(eval $(call gb_Module_add_targets,vcl,\
53 CustomTarget_tde_moc \
54 Executable_tdefilepicker \
55 Library_vclplug_tde \
57 endif
58 ifneq ($(ENABLE_KDE),)
59 $(eval $(call gb_Module_add_targets,vcl,\
60 CustomTarget_kde_moc \
61 Executable_kdefilepicker \
62 Library_vclplug_kde \
64 endif
65 ifneq ($(ENABLE_KDE4),)
66 $(eval $(call gb_Module_add_targets,vcl,\
67 CustomTarget_kde4_moc \
68 Library_vclplug_kde4 \
70 endif
71 endif
73 ifeq ($(GUIBASE),aqua)
74 $(eval $(call gb_Module_add_targets,vcl,\
75 Zip_osxres \
77 endif
79 ifeq ($(GUIBASE),WIN)
80 $(eval $(call gb_Module_add_targets,vcl,\
81 WinResTarget_vcl \
83 endif
85 $(eval $(call gb_Module_add_check_targets,vcl,\
86 CppunitTest_vcl_filters_test \
89 # vim: set noet sw=4 ts=4: