1# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#
3# This file is part of the LibreOffice project.
4#
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/.
8#
9
10$(eval $(call gb_Module_Module,solenv))
11
12$(eval $(call gb_Module_add_targets_for_build,solenv,\
13	Executable_concat-deps \
14	Executable_gbuildtojson \
15))
16
17ifeq ($(COM),MSC)
18$(eval $(call gb_Module_add_targets,solenv,\
19	StaticLibrary_wrapper \
20	Executable_gcc-wrapper \
21	Executable_g++-wrapper \
22))
23endif
24
25ifneq ($(DISABLE_PYTHON),TRUE)
26ifneq ($(MAKE_VERSION),3.81) # gbuildtojson requires 3.82+
27ifneq ($(OS),WNT) # disable on Windows for now, causes gerrit/jenkins failures
28ifneq ($(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 \
32))
33endif
34endif
35endif
36endif
37
38ifneq ($(COMPILER_PLUGINS),)
39ifeq ($(COMPILER_EXTERNAL_TOOL)$(COMPILER_PLUGIN_TOOL),)
40$(eval $(call gb_Module_add_check_targets,solenv, \
41    CompilerTest_compilerplugins_clang \
42))
43endif
44endif
45
46# vim: set shiftwidth=4 tabstop=4 noexpandtab:
47