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 ifneq ($(CROSS_COMPILING
),)
11 gb_Module_add_targets_for_build
:=
12 gb_Module_SKIPTARGETS
:= check slowcheck subsequentcheck
15 ifeq ($(gb_Side
),build
)
16 gb_Module_SKIPTARGETS
:= check slowcheck subsequentcheck
19 ifeq ($(MAKECMDGOALS
),build
)
20 gb_Module_SKIPTARGETS
:= check slowcheck subsequentcheck
23 ifeq (,$(filter perfcheck
,$(MAKECMDGOALS
)))
24 gb_Module_SKIPTARGETS
+= perfcheck
26 gb_Module_SKIPTARGETS
+= check slowcheck subsequentcheck
29 ifneq ($(strip $(MAKECMDGOALS
)),)
30 # speed up depending on the target
31 gb_SpeedUpTargets_LEVEL_4
:= debugrun help translations install-package-
% packageinfo
32 gb_SpeedUpTargets_LEVEL_3
:= showmodules
$(gb_SpeedUpTargets_LEVEL_4
)
33 gb_SpeedUpTargets_LEVEL_2
:= $(gb_SpeedUpTargets_LEVEL_3
)
34 gb_SpeedUpTargets_LEVEL_1
:= clean showdeliverables
$(gb_PackageInfo_get_target
)/% $(gb_SpeedUpTargets_LEVEL_2
)
36 ifeq (T
,$(if
$(filter-out $(gb_SpeedUpTargets_LEVEL_1
),$(MAKECMDGOALS
)),,T
))
39 ifeq (T
,$(if
$(filter-out $(gb_SpeedUpTargets_LEVEL_2
),$(MAKECMDGOALS
)),,T
))
40 gb_Module_SKIPTARGETS
+= check slowcheck subsequentcheck
42 ifeq (T
,$(if
$(filter-out $(gb_SpeedUpTargets_LEVEL_3
),$(MAKECMDGOALS
)),,T
))
43 gb_Module_SKIPTARGETS
+= build
45 ifeq (T
,$(if
$(filter-out $(gb_SpeedUpTargets_LEVEL_4
),$(MAKECMDGOALS
)),,T
))
46 gb_Module_SKIPTARGETS
+= module
56 ifneq (,$(filter build
,$(gb_Module_SKIPTARGETS
)))
57 gb_Module_add_target
=
60 ifneq (,$(filter check,$(gb_Module_SKIPTARGETS
)))
61 gb_Module_add_check_target
=
64 ifneq (,$(filter slowcheck
,$(gb_Module_SKIPTARGETS
)))
65 gb_Module_add_slowcheck_target
=
68 ifneq (,$(filter subsequentcheck
,$(gb_Module_SKIPTARGETS
)))
69 gb_Module_add_subsequentcheck_target
=
72 ifneq (,$(filter perfcheck
,$(gb_Module_SKIPTARGETS
)))
73 gb_Module_add_perfcheck_target
=
76 ifneq (,$(filter module
,$(gb_Module_SKIPTARGETS
)))
77 gb_Module_add_moduledir
=
80 # vim:set shiftwidth=4 softtabstop=4 noexpandtab: