Embind: Don't use new when getting UNO singletons
[LibreOffice.git] / shell / Module_shell.mk
blob220f27ebe7acf0c1d3173c289b0170c741b35784
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 ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
13 $(eval $(call gb_Module_add_targets_for_build,shell,\
14 $(if $(filter WNT,$(OS)),Executable_lngconvex) \
16 endif
18 ifeq ($(gb_Side),host)
20 $(eval $(call gb_Module_add_targets,shell,\
21 $(if $(filter-out MACOSX WNT,$(OS)),Library_desktopbe) \
22 Library_localebe \
25 ifneq ($(filter DRAGONFLY FREEBSD LINUX NETBSD OPENBSD,$(OS)),)
26 ifeq ($(ENABLE_GIO),TRUE)
27 $(eval $(call gb_Module_add_targets,shell,\
28 Library_losessioninstall \
30 endif
31 endif
33 ifeq ($(OS),SOLARIS)
34 ifeq ($(ENABLE_GIO),TRUE)
35 $(eval $(call gb_Module_add_targets,shell,\
36 Library_losessioninstall \
38 endif
39 endif
41 ifeq ($(ENABLE_KF5),TRUE)
42 $(eval $(call gb_Module_add_targets,shell,\
43 Library_kf5be \
45 endif
47 ifeq ($(OS),WNT)
49 $(eval $(call gb_Module_add_targets,shell,\
50 Executable_regsvrex \
51 Executable_senddoc \
52 Library_smplmail \
53 Library_wininetbe \
54 Library_jumplist \
55 Executable_spsupp_helper \
58 ifeq ($(COM),MSC)
59 $(eval $(call gb_Module_add_targets,shell,\
60 CustomTarget_shlxthdl_res \
61 Library_ooofilt \
62 Library_propertyhdl \
63 Library_shlxthdl \
64 StaticLibrary_shlxthandler_common \
65 StaticLibrary_xmlparser \
66 WinResTarget_shlxthdl \
67 CustomTarget_spsupp_idl \
68 WinResTarget_spsupp \
69 WinResTarget_spsupp_dlg \
72 $(eval $(call gb_Module_add_check_targets,shell,\
73 CppunitTest_shell_zip \
75 endif
77 ifeq ($(BUILD_X64),TRUE)
78 $(eval $(call gb_Module_add_targets,shell,\
79 CustomTarget_x64 \
80 Library_ooofilt_x64 \
81 Library_propertyhdl_x64 \
82 Library_shlxthdl_x64 \
83 StaticLibrary_shlxthandler_common_x64 \
84 StaticLibrary_xmlparser_x64 \
86 endif
88 ifneq ($(CXX_X64_BINARY),)
89 $(eval $(call gb_Module_add_targets,shell,\
90 Library_spsupp_x64 \
92 endif
94 ifneq ($(CXX_X86_BINARY),)
95 $(eval $(call gb_Module_add_targets,shell,\
96 Library_spsupp_x86 \
98 endif
100 endif
102 ifeq ($(OS),MACOSX)
103 $(eval $(call gb_Module_add_targets,shell,\
104 Library_macbe \
106 endif
108 ifeq ($(filter DESKTOP,$(BUILD_TYPE)),DESKTOP)
110 $(eval $(call gb_Module_add_targets,shell,\
111 Library_syssh \
114 ifneq ($(OS),WNT)
116 $(eval $(call gb_Module_add_targets,shell,\
117 StaticLibrary_xmlparser \
118 Executable_uri_encode \
119 Library_cmdmail \
120 $(if $(ENABLE_MACOSX_SANDBOX),,Package_senddoc) \
123 endif
125 endif
127 $(eval $(call gb_Module_add_l10n_targets,shell,\
128 AllLangMoTarget_shell \
131 endif # $(gb_Side) == host
133 # vim: set shiftwidth=4 tabstop=4 noexpandtab: