Version 6.4.0.3, tag libreoffice-6.4.0.3
[LibreOffice.git] / scp2 / InstallModule_python.mk
blobe38d58a9b821011f7b5813d93c6d28941e9e5347
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_InstallModule_InstallModule,scp2/python))
12 $(eval $(call gb_InstallModule_use_auto_install_libs,scp2/python,\
13 python \
14 python_scriptprovider \
15 python_librelogo \
18 ifeq ($(DISABLE_PYTHON),TRUE)
19 $(eval $(call gb_InstallModule_add_defs,scp2/python,\
20 -DDISABLE_PYUNO \
22 else ifneq ($(SYSTEM_PYTHON),)
23 $(eval $(call gb_InstallModule_add_defs,scp2/python,\
24 -DSYSTEM_PYTHON \
27 else
29 $(eval $(call gb_InstallModule_define_if_set,scp2/python,\
30 ENABLE_MACOSX_SANDBOX \
33 $(eval $(call gb_InstallModule_add_defs,scp2/python,\
34 -DPYVERSION=$(PYTHON_VERSION) \
36 endif
38 $(eval $(call gb_InstallModule_add_scpfiles,scp2/python,\
39 scp2/source/python/file_python \
40 scp2/source/python/file_python_librelogo \
41 scp2/source/python/module_python \
44 $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/python,\
45 scp2/source/python/module_python_librelogo \
48 # vim: set shiftwidth=4 tabstop=4 noexpandtab: