Files
odfstudio/pyuno/Library_pythonloader.mk
T
Sarper Akdemir 5372538648 tdf#158375: add expert option DisablePythonRuntime
When DisablePythonRuntime is set, anything that utilizes pyuno
bindings won't work (e.g. python macros and extensions).

Change-Id: Id42d01647eebee42b120b399470a1f944e4ba00f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160968
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2024-01-09 00:48:18 +01:00

46 lines
1.1 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_Library_Library,pythonloader))
$(eval $(call gb_Library_use_custom_headers,pythonloader,\
officecfg/registry \
))
$(eval $(call gb_Library_set_componentfile,pythonloader,pyuno/source/loader/pythonloader,pyuno))
$(eval $(call gb_Library_set_include,pythonloader,\
-I$(SRCDIR)/pyuno/source/loader \
-I$(SRCDIR)/pyuno/inc \
$$(INCLUDE) \
))
$(eval $(call gb_Library_use_api,pythonloader,\
udkapi \
))
$(eval $(call gb_Library_use_libraries,pythonloader,\
comphelper \
cppu \
cppuhelper \
pyuno \
sal \
))
$(eval $(call gb_Library_use_externals,pythonloader,\
boost_headers \
python \
))
$(eval $(call gb_Library_add_exception_objects,pythonloader,\
pyuno/source/loader/pyuno_loader \
))
# vim:set noet sw=4 ts=4: