ViewDocument3 method takes OpenType parameter, which allows to decide if user can choose opening the document read-only or to edit. Since we need to show localizable strings, we need to bootstrap part of LO (l10n), which is impossible when e.g. 64-bit ActiveX DLL tries to load installed 32-bit sal DLLs. Thus, we need a separate helper .exe, which architecture matches the rest of installed LO, and which handles user interaction. Change-Id: I0ad53ba64272fb84728d2221e3dc85d3eefdda68 Reviewed-on: https://gerrit.libreoffice.org/72355 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
114 lines
2.3 KiB
Makefile
114 lines
2.3 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# 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/.
|
|
#
|
|
|
|
$(eval $(call gb_Module_Module,shell))
|
|
|
|
$(eval $(call gb_Module_add_targets,shell,\
|
|
$(if $(filter-out MACOSX WNT,$(OS)),Library_desktopbe) \
|
|
Library_localebe \
|
|
))
|
|
|
|
ifneq ($(filter DRAGONFLY FREEBSD LINUX NETBSD OPENBSD,$(OS)),)
|
|
ifeq ($(ENABLE_GIO),TRUE)
|
|
$(eval $(call gb_Module_add_targets,shell,\
|
|
Library_losessioninstall \
|
|
))
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(OS),SOLARIS)
|
|
ifeq ($(ENABLE_GIO),TRUE)
|
|
$(eval $(call gb_Module_add_targets,shell,\
|
|
Library_losessioninstall \
|
|
))
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(ENABLE_KDE5),TRUE)
|
|
$(eval $(call gb_Module_add_targets,shell,\
|
|
Library_kde5be \
|
|
))
|
|
endif
|
|
|
|
ifeq ($(OS),WNT)
|
|
|
|
$(eval $(call gb_Module_add_targets,shell,\
|
|
Executable_regsvrex \
|
|
Executable_senddoc \
|
|
Library_smplmail \
|
|
Library_wininetbe \
|
|
Executable_spsupp_helper \
|
|
))
|
|
|
|
ifeq ($(COM),MSC)
|
|
$(eval $(call gb_Module_add_targets,shell,\
|
|
CustomTarget_shlxthdl_res \
|
|
Library_ooofilt \
|
|
Library_propertyhdl \
|
|
Library_shlxthdl \
|
|
StaticLibrary_shlxthandler_common \
|
|
StaticLibrary_xmlparser \
|
|
WinResTarget_shlxthdl \
|
|
CustomTarget_spsupp_idl \
|
|
Library_spsupp \
|
|
WinResTarget_spsupp \
|
|
WinResTarget_spsupp_dlg \
|
|
))
|
|
|
|
$(eval $(call gb_Module_add_check_targets,shell,\
|
|
CppunitTest_shell_zip \
|
|
))
|
|
endif
|
|
|
|
ifeq ($(BUILD_X64),TRUE)
|
|
$(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 \
|
|
Library_spsupp_x64 \
|
|
))
|
|
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 \
|
|
Library_syssh \
|
|
))
|
|
|
|
ifneq ($(OS),WNT)
|
|
|
|
$(eval $(call gb_Module_add_targets,shell,\
|
|
StaticLibrary_xmlparser \
|
|
Executable_uri_encode \
|
|
Library_cmdmail \
|
|
$(if $(ENABLE_MACOSX_SANDBOX),,Package_senddoc) \
|
|
))
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
$(eval $(call gb_Module_add_l10n_targets,shell,\
|
|
AllLangMoTarget_shell \
|
|
))
|
|
|
|
# vim: set shiftwidth=4 tabstop=4 noexpandtab:
|