Related: tdf#145722 need to clone userdata if we copy a module/dialog
[LibreOffice.git] / solenv / Module_solenv.mk
blob70eb5f9fb7c33c17153ee7e8ba242f653abc5279
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,solenv))
12 $(eval $(call gb_Module_add_targets_for_build,solenv,\
13 Executable_concat-deps \
14 Executable_gbuildtojson \
17 ifeq ($(COM),MSC)
18 $(eval $(call gb_Module_add_targets,solenv,\
19 StaticLibrary_wrapper \
20 Executable_gcc-wrapper \
21 Executable_g++-wrapper \
23 endif
25 ifneq ($(DISABLE_PYTHON),TRUE)
26 ifneq ($(MAKE_VERSION),3.81) # gbuildtojson requires 3.82+
27 ifneq ($(OS),WNT) # disable on Windows for now, causes gerrit/jenkins failures
28 ifneq ($(OS),MACOSX) # disable on macOS too, fails at least for me and would be pointless anyway surely
29 $(eval $(call gb_Module_add_subsequentcheck_targets,solenv,\
30 CustomTarget_gbuildtesttools \
31 PythonTest_solenv_python \
33 endif
34 endif
35 endif
36 endif
38 ifneq ($(COMPILER_PLUGINS),)
39 ifeq ($(COMPILER_EXTERNAL_TOOL)$(COMPILER_PLUGIN_TOOL),)
40 $(eval $(call gb_Module_add_check_targets,solenv, \
41 CompilerTest_compilerplugins_clang \
43 endif
44 endif
46 # vim: set shiftwidth=4 tabstop=4 noexpandtab: