office-gobmx/static/CustomTarget_unoembind.mk
Stephan Bergmann b2ade3e63e Extract embindmaker from cppumaker into its own tool
...that directly generates one large .cxx

Change-Id: I046539b83f8fde5eda7168c93a8b819137399665
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162343
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-21 15:51:39 +01:00

22 lines
881 B
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*-
#
# 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_CustomTarget_CustomTarget,static/unoembind))
$(eval $(call gb_CustomTarget_register_targets,static/unoembind, \
bindings_uno.cxx \
))
$(call gb_CustomTarget_get_workdir,static/unoembind)/bindings_uno.cxx: \
$(call gb_Executable_get_target_for_build,embindmaker) $(call gb_UnoApi_get_target,udkapi) \
$(call gb_UnoApi_get_target,offapi)
$(call gb_Executable_get_command,embindmaker) uno +$(call gb_UnoApi_get_target,udkapi) \
+$(call gb_UnoApi_get_target,offapi) > $@
# vim: set noet sw=4 ts=4: