Revert "reduce symbol visibility in sw"
[LibreOffice.git] / scp2 / InstallModule_python.mk
blobe4f3bd5f7db4947d6a744c49000dd3ebdaf1f77f
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 $(call gb_Helper_optional,LIBRELOGO,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) \
35 $(call gb_Helper_optional,LIBRELOGO,-DENABLE_LIBRELOGO=1) \
37 endif
39 $(eval $(call gb_InstallModule_add_scpfiles,scp2/python,\
40 scp2/source/python/file_python \
41 $(call gb_Helper_optional,LIBRELOGO,scp2/source/python/file_python_librelogo) \
42 scp2/source/python/module_python \
45 $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/python,\
46 $(call gb_Helper_optional,LIBRELOGO,scp2/source/python/module_python_librelogo) \
49 # vim: set shiftwidth=4 tabstop=4 noexpandtab: