2012-05-27 22:50:41 +02:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
2013-04-24 17:14:03 +01:00
|
|
|
# This file is part of the LibreOffice project.
|
2012-05-27 22:50:41 +02:00
|
|
|
#
|
2013-04-24 17:14:03 +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-27 22:50:41 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_Module_Module,pyuno))
|
|
|
|
|
|
|
|
ifneq ($(DISABLE_PYTHON),TRUE)
|
|
|
|
|
|
|
|
$(eval $(call gb_Module_add_targets,pyuno,\
|
|
|
|
Library_pyuno \
|
|
|
|
Library_pythonloader \
|
|
|
|
Package_python_scripts \
|
2013-05-28 11:47:57 +02:00
|
|
|
Rdb_pyuno \
|
2012-05-27 22:50:41 +02:00
|
|
|
))
|
|
|
|
|
|
|
|
ifneq ($(OS),WNT)
|
|
|
|
$(eval $(call gb_Module_add_targets,pyuno,\
|
|
|
|
Library_pyuno_wrapper \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-06-18 00:04:19 +02:00
|
|
|
#
|
|
|
|
# Windows: only --enable-python=internal possible
|
|
|
|
# mingw: both cases possible: internal && system
|
|
|
|
# that why it makes sense to handle the next 3 targets
|
|
|
|
# with SYSTEM_PYTHON=YES and SYSTEM_PYTHON=NO
|
2012-06-14 21:01:11 +02:00
|
|
|
|
2012-06-19 08:16:09 +02:00
|
|
|
# zipcore: pyuno/python.exe on Windows
|
2012-05-27 22:50:41 +02:00
|
|
|
ifeq ($(OS),WNT)
|
|
|
|
$(eval $(call gb_Module_add_targets,pyuno,\
|
|
|
|
Executable_python_wrapper \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-06-18 00:04:19 +02:00
|
|
|
ifneq ($(SYSTEM_PYTHON),YES)
|
2012-05-27 22:50:41 +02:00
|
|
|
|
|
|
|
# zipcore: python.sh on Unix
|
2012-12-12 01:07:09 +02:00
|
|
|
ifneq ($(OS),WNT)
|
2012-05-27 22:50:41 +02:00
|
|
|
$(eval $(call gb_Module_add_targets,pyuno,\
|
|
|
|
CustomTarget_python_shell \
|
|
|
|
Package_python_shell \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-06-18 00:04:19 +02:00
|
|
|
else # SYSTEM_PYTHON
|
|
|
|
|
2013-04-21 14:34:50 +02:00
|
|
|
# these two targets have to be executed only with system-python on mingw
|
|
|
|
# FIXME remove this
|
2012-06-18 00:04:19 +02:00
|
|
|
ifeq ($(OS)$(COM),WNTGCC)
|
|
|
|
$(eval $(call gb_Module_add_targets,pyuno,\
|
|
|
|
CustomTarget_zipcore \
|
|
|
|
Package_zipcore \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-06-14 21:01:11 +02:00
|
|
|
endif # SYSTEM_PYTHON
|
2012-05-27 22:50:41 +02:00
|
|
|
|
2012-06-14 21:01:11 +02:00
|
|
|
endif # DISABLE_PYTHON
|
2012-05-27 22:50:41 +02:00
|
|
|
|
2013-01-26 22:19:07 +01:00
|
|
|
# vim:set noet sw=4 ts=4:
|