2012-05-06 14:50:07 +02:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
2013-04-19 21:10:42 +01:00
|
|
|
# This file is part of the LibreOffice project.
|
2012-05-06 14:50:07 +02:00
|
|
|
#
|
2013-04-19 21:10:42 +01:00
|
|
|
# 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/.
|
2012-05-06 14:50:07 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_InstallModule_InstallModule,scp2/python))
|
|
|
|
|
2015-02-28 21:02:04 +01:00
|
|
|
$(eval $(call gb_InstallModule_use_auto_install_libs,scp2/python,\
|
|
|
|
python \
|
|
|
|
python_scriptprovider \
|
2015-02-28 21:17:04 +01:00
|
|
|
python_librelogo \
|
2015-02-28 21:02:04 +01:00
|
|
|
))
|
2014-03-18 18:24:15 +01:00
|
|
|
|
2012-05-06 14:50:07 +02:00
|
|
|
ifeq ($(DISABLE_PYTHON),TRUE)
|
|
|
|
$(eval $(call gb_InstallModule_add_defs,scp2/python,\
|
|
|
|
-DDISABLE_PYUNO \
|
|
|
|
))
|
2014-02-11 16:57:35 +01:00
|
|
|
else ifneq ($(SYSTEM_PYTHON),)
|
2012-05-06 14:50:07 +02:00
|
|
|
$(eval $(call gb_InstallModule_add_defs,scp2/python,\
|
|
|
|
-DSYSTEM_PYTHON \
|
|
|
|
))
|
2012-06-18 00:04:19 +02:00
|
|
|
|
|
|
|
# mingw: mix mode copy file from system python to installation set
|
2012-12-12 01:07:09 +02:00
|
|
|
ifeq ($(OS)$(COM),WNTGCC)
|
2012-06-18 00:04:19 +02:00
|
|
|
$(eval $(call gb_InstallModule_add_defs,scp2/python,\
|
2012-11-27 15:32:36 +01:00
|
|
|
-DPYVERSION=$(PYTHON_VERSION) \
|
2012-06-18 00:04:19 +02:00
|
|
|
-DMINGW_SYSTEM_PYTHON \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-05-06 14:50:07 +02:00
|
|
|
else
|
2013-08-18 18:45:45 +02:00
|
|
|
|
|
|
|
$(eval $(call gb_InstallModule_define_if_set,scp2/python,\
|
|
|
|
ENABLE_MACOSX_SANDBOX \
|
|
|
|
))
|
|
|
|
|
2012-05-06 14:50:07 +02:00
|
|
|
$(eval $(call gb_InstallModule_add_defs,scp2/python,\
|
2012-11-27 15:32:36 +01:00
|
|
|
-DPYVERSION=$(PYTHON_VERSION) \
|
2012-05-06 14:50:07 +02:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(call gb_InstallModule_add_scpfiles,scp2/python,\
|
|
|
|
scp2/source/python/file_python \
|
2012-12-12 00:02:36 +01:00
|
|
|
scp2/source/python/file_python_librelogo \
|
2013-02-19 15:21:23 +01:00
|
|
|
scp2/source/python/module_python \
|
2012-05-06 14:50:07 +02:00
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/python,\
|
2012-12-12 00:02:36 +01:00
|
|
|
scp2/source/python/module_python_librelogo \
|
2012-05-06 14:50:07 +02:00
|
|
|
))
|
|
|
|
|
|
|
|
# vim: set shiftwidth=4 tabstop=4 noexpandtab:
|