fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / scp2 / InstallModule_python.mk
blob965781cc771e78a48f0ce0e2d90c52da7cbfff07
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,\
13 python \
14 python_scriptprovider \
15 python_librelogo \
18 ifeq ($(DISABLE_PYTHON),TRUE)
19 $(eval $(call gb_InstallModule_add_defs,scp2/python,\
20 -DDISABLE_PYUNO \
22 else ifneq ($(SYSTEM_PYTHON),)
23 $(eval $(call gb_InstallModule_add_defs,scp2/python,\
24 -DSYSTEM_PYTHON \
27 # mingw: mix mode copy file from system python to installation set
28 ifeq ($(OS)$(COM),WNTGCC)
29 $(eval $(call gb_InstallModule_add_defs,scp2/python,\
30 -DPYVERSION=$(PYTHON_VERSION) \
31 -DMINGW_SYSTEM_PYTHON \
33 endif
35 else
37 $(eval $(call gb_InstallModule_define_if_set,scp2/python,\
38 ENABLE_MACOSX_SANDBOX \
41 $(eval $(call gb_InstallModule_add_defs,scp2/python,\
42 -DPYVERSION=$(PYTHON_VERSION) \
44 endif
46 $(eval $(call gb_InstallModule_add_scpfiles,scp2/python,\
47 scp2/source/python/file_python \
48 scp2/source/python/file_python_librelogo \
49 scp2/source/python/module_python \
52 $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/python,\
53 scp2/source/python/module_python_librelogo \
56 # vim: set shiftwidth=4 tabstop=4 noexpandtab: