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
,\
16 Library_pythonloader \
17 Package_python_scripts \
22 $(eval
$(call gb_Module_add_targets
,pyuno
,\
23 Library_pyuno_wrapper \
28 # Windows: only --enable-python=internal possible
29 # mingw: both cases possible: internal && system
30 # that why it makes sense to handle the next 3 targets
31 # with SYSTEM_PYTHON=YES and SYSTEM_PYTHON=NO
33 # zipcore: pyuno/python.exe on Windows
35 $(eval
$(call gb_Module_add_targets
,pyuno
,\
36 Executable_python_wrapper \
40 ifneq ($(SYSTEM_PYTHON
),YES
)
42 # zipcore: python.sh on Unix
44 $(eval
$(call gb_Module_add_targets
,pyuno
,\
45 CustomTarget_python_shell \
46 Package_python_shell \
52 # these two targets have to be executed only with system-python on mingw
54 ifeq ($(OS
)$(COM
),WNTGCC
)
55 $(eval
$(call gb_Module_add_targets
,pyuno
,\
56 CustomTarget_zipcore \
63 endif # DISABLE_PYTHON
65 # vim:set noet sw=4 ts=4: