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
,\
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
,\
22 else ifneq ($(SYSTEM_PYTHON
),)
23 $(eval
$(call gb_InstallModule_add_defs
,scp2
/python
,\
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) \
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: