Module_shell.mk 2.29 KB
Newer Older
David Tardon's avatar
David Tardon committed
1 2
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
3
# This file is part of the LibreOffice project.
David Tardon's avatar
David Tardon committed
4
#
5 6 7
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
David Tardon's avatar
David Tardon committed
8 9 10 11 12
#

$(eval $(call gb_Module_Module,shell))

$(eval $(call gb_Module_add_targets,shell,\
13
	$(if $(filter-out MACOSX WNT,$(OS)),Library_desktopbe) \
David Tardon's avatar
David Tardon committed
14
	Library_localebe \
15 16
))

17
ifneq ($(filter DRAGONFLY FREEBSD LINUX NETBSD OPENBSD,$(OS)),)
18 19
ifeq ($(ENABLE_GIO),TRUE)
$(eval $(call gb_Module_add_targets,shell,\
20
	Library_losessioninstall \
David Tardon's avatar
David Tardon committed
21
))
22
endif
23 24 25 26 27 28 29 30
endif

ifeq ($(OS),SOLARIS)
ifeq ($(ENABLE_GIO),TRUE)
$(eval $(call gb_Module_add_targets,shell,\
    Library_losessioninstall \
))
endif
31
endif
David Tardon's avatar
David Tardon committed
32

Milian Wolff's avatar
Milian Wolff committed
33 34 35 36 37 38
ifeq ($(ENABLE_KDE5),TRUE)
$(eval $(call gb_Module_add_targets,shell,\
	Library_kde5be \
))
endif

39
ifeq ($(OS),WNT)
David Tardon's avatar
David Tardon committed
40 41 42 43 44 45

$(eval $(call gb_Module_add_targets,shell,\
	Executable_regsvrex \
	Executable_senddoc \
	Library_smplmail \
	Library_wininetbe \
46
	Executable_spsupp_helper \
David Tardon's avatar
David Tardon committed
47 48
))

49
ifeq ($(COM),MSC)
David Tardon's avatar
David Tardon committed
50 51 52 53 54 55 56 57
$(eval $(call gb_Module_add_targets,shell,\
	CustomTarget_shlxthdl_res \
	Library_ooofilt \
	Library_propertyhdl \
	Library_shlxthdl \
	StaticLibrary_shlxthandler_common \
	StaticLibrary_xmlparser \
	WinResTarget_shlxthdl \
58 59 60
	CustomTarget_spsupp_idl \
	Library_spsupp \
	WinResTarget_spsupp \
61
	WinResTarget_spsupp_dlg \
David Tardon's avatar
David Tardon committed
62
))
63 64 65 66

$(eval $(call gb_Module_add_check_targets,shell,\
    CppunitTest_shell_zip \
))
David Tardon's avatar
David Tardon committed
67 68
endif

69
ifeq ($(BUILD_X64),TRUE)
David Tardon's avatar
David Tardon committed
70 71 72 73 74 75 76
$(eval $(call gb_Module_add_targets,shell,\
	CustomTarget_x64 \
	Library_ooofilt_x64 \
	Library_propertyhdl_x64 \
	Library_shlxthdl_x64 \
	StaticLibrary_shlxthandler_common_x64 \
	StaticLibrary_xmlparser_x64 \
77
	Library_spsupp_x64 \
David Tardon's avatar
David Tardon committed
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
))
endif

endif

ifeq ($(OS),MACOSX)
$(eval $(call gb_Module_add_targets,shell,\
	Library_macbe \
))
endif

ifeq ($(filter DESKTOP,$(BUILD_TYPE)),DESKTOP)

$(eval $(call gb_Module_add_targets,shell,\
	Executable_lngconvex \
93
	Library_syssh \
Tor Lillqvist's avatar
Tor Lillqvist committed
94 95
))

96 97 98
ifneq ($(OS),WNT)

$(eval $(call gb_Module_add_targets,shell,\
99
	StaticLibrary_xmlparser \
100
	Executable_uri_encode \
101
	Library_cmdmail \
102
	$(if $(ENABLE_MACOSX_SANDBOX),,Package_senddoc) \
David Tardon's avatar
David Tardon committed
103 104 105 106 107 108
))

endif

endif

109 110 111 112
$(eval $(call gb_Module_add_l10n_targets,shell,\
    AllLangMoTarget_shell \
))

David Tardon's avatar
David Tardon committed
113
# vim: set shiftwidth=4 tabstop=4 noexpandtab: