oovbaapi: hack Excel / OptionButton compatibility into Button for now.
[LibreOffice.git] / shell / Module_shell.mk
blob6d54617f0268e6938e1e8b66e267f10a57483ba8
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/.
10 $(eval $(call gb_Module_Module,shell))
12 $(eval $(call gb_Module_add_targets,shell,\
13 $(if $(filter-out MACOSX WNT,$(OS)),Library_desktopbe) \
14 Library_localebe \
17 ifneq ($(filter DRAGONFLY FREEBSD LINUX NETBSD OPENBSD,$(OS)),)
18 ifeq ($(ENABLE_GIO),TRUE)
19 $(eval $(call gb_Module_add_targets,shell,\
20 Library_losessioninstall \
22 endif
23 endif
25 ifeq ($(OS),SOLARIS)
26 ifeq ($(ENABLE_GIO),TRUE)
27 $(eval $(call gb_Module_add_targets,shell,\
28 Library_losessioninstall \
30 endif
31 endif
33 ifeq ($(ENABLE_KDE4),TRUE)
34 $(eval $(call gb_Module_add_targets,shell,\
35 Library_kde4be \
37 endif
39 ifeq ($(ENABLE_KDE5),TRUE)
40 $(eval $(call gb_Module_add_targets,shell,\
41 Library_kde5be \
43 endif
45 ifeq ($(OS),WNT)
47 $(eval $(call gb_Module_add_targets,shell,\
48 Executable_regsvrex \
49 Executable_senddoc \
50 Library_smplmail \
51 Library_wininetbe \
54 ifeq ($(COM),MSC)
55 $(eval $(call gb_Module_add_targets,shell,\
56 CustomTarget_shlxthdl_res \
57 Library_ooofilt \
58 Library_propertyhdl \
59 Library_shlxthdl \
60 StaticLibrary_shlxthandler_common \
61 StaticLibrary_xmlparser \
62 WinResTarget_shlxthdl \
63 CustomTarget_spsupp_idl \
64 Library_spsupp \
65 WinResTarget_spsupp \
68 $(eval $(call gb_Module_add_check_targets,shell,\
69 CppunitTest_shell_zip \
71 endif
73 ifeq ($(BUILD_X64),TRUE)
74 $(eval $(call gb_Module_add_targets,shell,\
75 CustomTarget_x64 \
76 Library_ooofilt_x64 \
77 Library_propertyhdl_x64 \
78 Library_shlxthdl_x64 \
79 StaticLibrary_shlxthandler_common_x64 \
80 StaticLibrary_xmlparser_x64 \
81 Library_spsupp_x64 \
83 endif
85 endif
87 ifeq ($(OS),MACOSX)
88 $(eval $(call gb_Module_add_targets,shell,\
89 Library_macbe \
91 endif
93 ifeq ($(filter DESKTOP,$(BUILD_TYPE)),DESKTOP)
95 $(eval $(call gb_Module_add_targets,shell,\
96 Executable_lngconvex \
97 Library_syssh \
100 ifeq ($(USING_X11),TRUE)
101 $(eval $(call gb_Module_add_targets,shell,\
102 Library_recentfile \
104 endif
106 ifneq ($(OS),WNT)
108 $(eval $(call gb_Module_add_targets,shell,\
109 StaticLibrary_xmlparser \
110 Executable_uri_encode \
111 Library_cmdmail \
112 $(if $(ENABLE_MACOSX_SANDBOX),,Package_senddoc) \
115 endif
117 endif
119 # vim: set shiftwidth=4 tabstop=4 noexpandtab: