gbuild trace: disable flock for wsl-as-helper case
[LibreOffice.git] / solenv / Module_solenv.mk
blob89e40c6d43c0d8eb9974d1fa8055644be7c1d719
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 (,$(LOCKFILE))
18 $(eval $(call gb_Module_add_targets_for_build,solenv,\
19 $(call gb_CondExeLockfile,Executable_lockfile) \
21 endif
23 ifeq ($(COM),MSC)
24 $(eval $(call gb_Module_add_targets,solenv,\
25 StaticLibrary_wrapper \
26 Executable_gcc-wrapper \
27 Executable_g++-wrapper \
29 endif
31 ifneq ($(DISABLE_PYTHON),TRUE)
32 ifneq ($(OS),WNT) # disable on Windows for now, causes gerrit/jenkins failures
33 ifneq ($(OS),MACOSX) # disable on macOS too, fails at least for me and would be pointless anyway surely
34 $(eval $(call gb_Module_add_subsequentcheck_targets,solenv,\
35 CustomTarget_gbuildtesttools \
36 PythonTest_solenv_python \
38 endif
39 endif
40 endif
42 ifneq ($(COMPILER_PLUGINS),)
43 ifeq ($(COMPILER_EXTERNAL_TOOL)$(COMPILER_PLUGIN_TOOL),)
44 $(eval $(call gb_Module_add_check_targets,solenv, \
45 CompilerTest_compilerplugins_clang \
46 CompilerTest_compilerplugins_clang-c++03 \
48 endif
49 endif
51 # vim: set shiftwidth=4 tabstop=4 noexpandtab: