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 screenshot subsequentcheck uicheck
15 ifeq ($(gb_Side
),build
)
16 gb_Module_SKIPTARGETS
:= check slowcheck screenshot subsequentcheck uicheck
19 ifeq ($(MAKECMDGOALS
),build
)
20 gb_Module_SKIPTARGETS
:= check slowcheck screenshot subsequentcheck uicheck
23 ifeq (,$(filter perfcheck
,$(MAKECMDGOALS
)))
24 gb_Module_SKIPTARGETS
+= perfcheck
26 gb_Module_SKIPTARGETS
+= check slowcheck screenshot subsequentcheck uicheck
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 screenshot subsequentcheck uicheck
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 screenshot
,$(gb_Module_SKIPTARGETS
)))
69 gb_Module_add_screenshot_target
=
72 ifneq (,$(filter subsequentcheck
,$(gb_Module_SKIPTARGETS
)))
73 gb_Module_add_subsequentcheck_target
=
76 ifneq (,$(filter perfcheck
,$(gb_Module_SKIPTARGETS
)))
77 gb_Module_add_perfcheck_target
=
80 ifneq (,$(filter uicheck
,$(gb_Module_SKIPTARGETS
)))
81 gb_Module_add_uicheck_target
=
84 ifneq (,$(filter module
,$(gb_Module_SKIPTARGETS
)))
85 gb_Module_add_moduledir
=
88 # vim:set shiftwidth=4 softtabstop=4 noexpandtab: