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_Module_Module
,pyuno
))
12 ifneq ($(DISABLE_PYTHON
),TRUE
)
14 $(eval
$(call gb_Module_add_targets
,pyuno
,\
15 CustomTarget_pyuno_pythonloader_ini \
17 Library_pythonloader \
18 Package_python_scripts \
19 Package_pyuno_pythonloader_ini \
24 $(eval
$(call gb_Module_add_targets
,pyuno
,\
25 Library_pyuno_wrapper \
30 # Windows: only --enable-python=internal possible
31 # mingw: both cases possible: internal && system
32 # that why it makes sense to handle the next 3 targets
33 # with SYSTEM_PYTHON=TRUE and SYSTEM_PYTHON=
35 # zipcore: pyuno/python.exe on Windows
37 $(eval
$(call gb_Module_add_targets
,pyuno
,\
42 ifeq ($(SYSTEM_PYTHON
),)
44 # zipcore: python.sh on Unix
46 $(eval
$(call gb_Module_add_targets
,pyuno
,\
47 CustomTarget_python_shell \
48 Package_python_shell \
54 # these two targets have to be executed only with system-python on mingw
56 ifeq ($(OS
)$(COM
),WNTGCC
)
57 $(eval
$(call gb_Module_add_targets
,pyuno
,\
58 CustomTarget_zipcore \
66 $(eval
$(call gb_Module_add_check_targets
,pyuno
, \
67 PythonTest_pyuno_pytests_ssl \
71 ifneq (,$(filter PythonTest_pytests
,$(MAKECMDGOALS
)))
72 $(eval
$(call gb_Module_add_targets
,pyuno
, \
74 PythonTest_pyuno_pytests_insertremovecells \
78 endif # DISABLE_PYTHON
80 # vim:set noet sw=4 ts=4: