bump product version to 5.0.4.1
[LibreOffice.git] / shell / Module_shell.mk
blobde906accd7100d15a1f8abf47307d8dc1cde1341
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_GCONF),TRUE)
34 $(eval $(call gb_Module_add_targets,shell,\
35 Library_gconfbe \
37 endif
39 ifeq ($(ENABLE_KDE4),TRUE)
40 $(eval $(call gb_Module_add_targets,shell,\
41 Library_kde4be \
43 endif
45 ifeq ($(ENABLE_KDE),TRUE)
46 $(eval $(call gb_Module_add_targets,shell,\
47 Library_kdebe \
49 endif
51 ifeq ($(ENABLE_TDE),TRUE)
52 $(eval $(call gb_Module_add_targets,shell,\
53 Library_tdebe \
55 endif
57 ifneq ($(filter TRUE,$(ENABLE_KDE) $(ENABLE_TDE)),)
58 $(eval $(call gb_Module_add_targets,shell,\
60 endif
62 ifeq ($(OS),WNT)
64 $(eval $(call gb_Module_add_targets,shell,\
65 Executable_regsvrex \
66 Executable_senddoc \
67 Library_smplmail \
68 Library_wininetbe \
69 StaticLibrary_simplemapi \
72 ifeq ($(COM),MSC)
73 $(eval $(call gb_Module_add_targets,shell,\
74 CustomTarget_shlxthdl_res \
75 Library_ooofilt \
76 Library_propertyhdl \
77 Library_shlxthdl \
78 StaticLibrary_shlxthandler_common \
79 StaticLibrary_xmlparser \
80 WinResTarget_shlxthdl \
83 $(eval $(call gb_Module_add_check_targets,shell,\
84 CppunitTest_shell_zip \
86 endif
88 ifeq ($(BUILD_X64),TRUE)
89 $(eval $(call gb_Module_add_targets,shell,\
90 CustomTarget_x64 \
91 Library_ooofilt_x64 \
92 Library_propertyhdl_x64 \
93 Library_shlxthdl_x64 \
94 StaticLibrary_shlxthandler_common_x64 \
95 StaticLibrary_xmlparser_x64 \
97 endif
99 endif
101 ifeq ($(OS),MACOSX)
102 $(eval $(call gb_Module_add_targets,shell,\
103 Library_macbe \
105 endif
107 ifeq ($(filter DESKTOP,$(BUILD_TYPE)),DESKTOP)
109 $(eval $(call gb_Module_add_targets,shell,\
110 Executable_lngconvex \
111 Library_syssh \
114 ifneq ($(OS),WNT)
116 $(eval $(call gb_Module_add_targets,shell,\
117 StaticLibrary_xmlparser \
120 endif
122 ifneq ($(filter-out MACOSX WNT,$(OS)),)
123 ifneq ($(ENABLE_HEADLESS),TRUE)
125 $(eval $(call gb_Module_add_targets,shell,\
126 Library_recentfile \
127 Package_scripts \
128 Package_scripts_gnome \
129 Package_scripts_kde \
132 endif
133 endif
135 ifneq ($(OS),WNT)
137 $(eval $(call gb_Module_add_targets,shell,\
138 Executable_uri_encode \
139 Library_cmdmail \
140 Package_senddoc \
143 endif
145 endif
147 # vim: set shiftwidth=4 tabstop=4 noexpandtab: