Kaydet (Commit) e52886be authored tarafından Petr Mladek's avatar Petr Mladek

[mono] allow to use the prebuilt ure types

Change-Id: If931617e648310aef4ecb41030ec5d17ebcbf3ce
üst 975bb6ac
# -*- 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/.
#
include $(SRCDIR)/cli_ure/version/version.txt
$(eval $(call gb_CustomTarget_CustomTarget,cli_ure/unotypes))
cli_uretypes_CLIDIR := $(call gb_CustomTarget_get_workdir,cli_ure/unotypes)
$(call gb_CustomTarget_get_target,cli_ure/unotypes) : \
$(cli_uretypes_CLIDIR)/cli_uretypes.dll \
$(cli_uretypes_CLIDIR)/cli_uretypes.config \
$(cli_uretypes_CLIDIR)/$(CLI_URETYPES_POLICY_ASSEMBLY).dll
$(cli_uretypes_CLIDIR)/cli_uretypes.dll : $(OUTDIR)/inc/external/cli/cli_uretypes.dll
mkdir -p $(@D)
$(GNUCOPY) $? $@
$(cli_uretypes_CLIDIR)/cli_uretypes.config : $(OUTDIR)/inc/external/cli/cli_uretypes.config
mkdir -p $(@D)
$(GNUCOPY) $? $@
$(cli_uretypes_CLIDIR)/$(CLI_URETYPES_POLICY_ASSEMBLY).dll : $(OUTDIR)/inc/external/cli/$(CLI_URETYPES_POLICY_ASSEMBLY).dll
mkdir -p $(@D)
$(GNUCOPY) $< $@
# vim:set shiftwidth=4 tabstop=4 noexpandtab:
......@@ -18,7 +18,6 @@ ifeq ($(BUILD_CLI),YES)
$(eval $(call gb_Module_add_targets,cli_ure,\
CliLibrary_cli_basetypes \
CliLibrary_cli_ure \
CliUnoApi_cli_uretypes \
CustomTarget_cli_ure_assemblies \
Package_config \
))
......@@ -28,6 +27,7 @@ ifeq ($(COM),MSC)
# Original implementation for Windows
$(eval $(call gb_Module_add_targets,cli_ure,\
CliNativeLibrary_cli_cppuhelper \
CliUnoApi_cli_uretypes \
Executable_climaker \
Library_cli_cppuhelper_native \
Library_cli_uno \
......@@ -47,9 +47,15 @@ $(eval $(call gb_Module_add_targets,cli_ure,\
ifeq ($(ENABLE_MONO_CLIMAKER),YES)
$(eval $(call gb_Module_add_targets,cli_ure,\
CliUnoApi_cli_uretypes \
Executable_climaker_mono \
Library_climaker \
))
else
$(eval $(call gb_Module_add_targets,cli_ure,\
CustomTarget_cli_uretypes \
Package_cli_uretypes \
))
endif
endif
......
# -*- 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/.
#
include $(SRCDIR)/cli_ure/version/version.txt
$(eval $(call gb_Package_Package,cli_ure_unotypes,$(WORKDIR)/CustomTarget/cli_ure/unotypes))
$(eval $(call gb_Package_add_file,cli_ure_unotypes,bin/cli_uretypes.config,cli_uretypes.config))
$(eval $(call gb_Package_add_file,cli_ure_unotypes,bin/cli_uretypes.dll,cli_uretypes.dll))
$(eval $(call gb_Package_add_file,cli_ure_unotypes,bin/$(CLI_URETYPES_POLICY_ASSEMBLY).dll,$(CLI_URETYPES_POLICY_ASSEMBLY).dll))
# vim:set shiftwidth=4 softtabstop=4 expandtab:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment