blob: 17661e9aa210a74f8a5c39c41720f59006bc809e [file] [log] [blame]
David Tardond4efa8b2012-04-28 20:48:14 +02001# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
David Tardond4efa8b2012-04-28 20:48:14 +02002#
Michael Meeks62badf382013-04-19 21:10:42 +01003# This file is part of the LibreOffice project.
David Tardond4efa8b2012-04-28 20:48:14 +02004#
Michael Meeks62badf382013-04-19 21:10:42 +01005# 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/.
David Tardond4efa8b2012-04-28 20:48:14 +02008#
David Tardond4efa8b2012-04-28 20:48:14 +02009
10$(eval $(call gb_Module_Module,shell))
11
12$(eval $(call gb_Module_add_targets,shell,\
Matúš Kukan6078d322013-04-15 12:41:49 +020013 $(if $(filter-out MACOSX WNT,$(OS)),Library_desktopbe) \
David Tardond4efa8b2012-04-28 20:48:14 +020014 Library_localebe \
Michael Stahl2154fca2012-11-09 20:54:11 +010015))
16
Baptiste Daroussin5a379862014-06-11 11:28:14 +020017ifneq ($(filter DRAGONFLY FREEBSD LINUX NETBSD OPENBSD,$(OS)),)
Michael Stahl2154fca2012-11-09 20:54:11 +010018ifeq ($(ENABLE_GIO),TRUE)
19$(eval $(call gb_Module_add_targets,shell,\
Bjoern Michaelsen8cd6a942012-11-09 19:10:38 +010020 Library_losessioninstall \
David Tardond4efa8b2012-04-28 20:48:14 +020021))
Michael Stahl2154fca2012-11-09 20:54:11 +010022endif
23endif
David Tardond4efa8b2012-04-28 20:48:14 +020024
Richard PALOa395a392014-11-10 17:33:47 +010025ifeq ($(OS),SOLARIS)
26ifeq ($(ENABLE_GIO),TRUE)
27$(eval $(call gb_Module_add_targets,shell,\
28 Library_losessioninstall \
29))
30endif
31endif
32
David Tardond4efa8b2012-04-28 20:48:14 +020033ifeq ($(ENABLE_KDE4),TRUE)
34$(eval $(call gb_Module_add_targets,shell,\
35 Library_kde4be \
36))
37endif
38
David Tardond4efa8b2012-04-28 20:48:14 +020039ifeq ($(ENABLE_TDE),TRUE)
40$(eval $(call gb_Module_add_targets,shell,\
41 Library_tdebe \
42))
43endif
44
Matúš Kukan22e8f9b2012-05-28 15:04:18 +020045ifeq ($(OS),WNT)
David Tardond4efa8b2012-04-28 20:48:14 +020046
47$(eval $(call gb_Module_add_targets,shell,\
48 Executable_regsvrex \
49 Executable_senddoc \
David Tardond4efa8b2012-04-28 20:48:14 +020050 Library_smplmail \
David Tardond4efa8b2012-04-28 20:48:14 +020051 Library_wininetbe \
52 StaticLibrary_simplemapi \
53))
54
Matúš Kukan22e8f9b2012-05-28 15:04:18 +020055ifeq ($(COM),MSC)
David Tardond4efa8b2012-04-28 20:48:14 +020056$(eval $(call gb_Module_add_targets,shell,\
57 CustomTarget_shlxthdl_res \
58 Library_ooofilt \
59 Library_propertyhdl \
60 Library_shlxthdl \
61 StaticLibrary_shlxthandler_common \
62 StaticLibrary_xmlparser \
63 WinResTarget_shlxthdl \
64))
Fridrich Štrbacfda5af2013-07-18 11:30:10 +020065
66$(eval $(call gb_Module_add_check_targets,shell,\
67 CppunitTest_shell_zip \
68))
David Tardond4efa8b2012-04-28 20:48:14 +020069endif
70
Andras Timare7ee6ed2012-05-29 15:21:01 +020071ifeq ($(BUILD_X64),TRUE)
David Tardond4efa8b2012-04-28 20:48:14 +020072$(eval $(call gb_Module_add_targets,shell,\
73 CustomTarget_x64 \
74 Library_ooofilt_x64 \
75 Library_propertyhdl_x64 \
76 Library_shlxthdl_x64 \
77 StaticLibrary_shlxthandler_common_x64 \
78 StaticLibrary_xmlparser_x64 \
79))
80endif
81
82endif
83
84ifeq ($(OS),MACOSX)
85$(eval $(call gb_Module_add_targets,shell,\
David Tardond4efa8b2012-04-28 20:48:14 +020086 Library_macbe \
87))
88endif
89
90ifeq ($(filter DESKTOP,$(BUILD_TYPE)),DESKTOP)
91
92$(eval $(call gb_Module_add_targets,shell,\
93 Executable_lngconvex \
Michael Stahl42c9f352014-03-03 22:39:09 +010094 Library_syssh \
Tor Lillqvistc84f0da2014-03-07 10:32:45 +020095))
96
97ifneq ($(OS),WNT)
98
99$(eval $(call gb_Module_add_targets,shell,\
Tor Lillqvistee394462014-03-07 10:08:08 +0200100 StaticLibrary_xmlparser \
David Tardond4efa8b2012-04-28 20:48:14 +0200101))
102
Tor Lillqvistc84f0da2014-03-07 10:32:45 +0200103endif
104
Samuel Mehrbrodt313b82d2015-10-02 09:59:59 +0200105ifeq ($(USING_X11),TRUE)
David Tardond4efa8b2012-04-28 20:48:14 +0200106$(eval $(call gb_Module_add_targets,shell,\
Tor Lillqvistff3f66d2014-03-07 10:17:19 +0200107 Library_recentfile \
Tor Lillqvista59e2d42014-08-11 11:42:33 +0300108))
Riccardo Magliocchetti8b94b2e2014-11-05 17:10:16 +0100109endif
Tor Lillqvista59e2d42014-08-11 11:42:33 +0300110
111ifneq ($(OS),WNT)
112
113$(eval $(call gb_Module_add_targets,shell,\
Stephan Bergmannf3f63f52014-11-06 14:11:35 +0100114 Executable_uri_encode \
Tor Lillqvista59e2d42014-08-11 11:42:33 +0300115 Library_cmdmail \
David Tardon65149562013-05-04 09:07:16 +0200116 Package_senddoc \
David Tardond4efa8b2012-04-28 20:48:14 +0200117))
118
David Tardond4efa8b2012-04-28 20:48:14 +0200119endif
120
121endif
122
123# vim: set shiftwidth=4 tabstop=4 noexpandtab: