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
:=
14 ifeq ($(gb_CAN_EXECUTE_HOST_CODE
),$(false
))
15 gb_Module_SKIPTARGETS
:= check coverage slowcheck screenshot subsequentcheck uicheck
18 ifeq ($(gb_Side
),build
)
19 gb_Module_SKIPTARGETS
:= check coverage slowcheck screenshot subsequentcheck uicheck
22 ifeq ($(MAKECMDGOALS
),build
)
23 gb_Module_SKIPTARGETS
:= check coverage slowcheck screenshot subsequentcheck uicheck
26 ifeq (,$(filter perfcheck
,$(MAKECMDGOALS
)))
27 gb_Module_SKIPTARGETS
+= perfcheck
29 gb_Module_SKIPTARGETS
+= check coverage slowcheck screenshot subsequentcheck uicheck
32 ifneq ($(strip $(MAKECMDGOALS
)),)
33 # speed up depending on the target
34 gb_SpeedUpTargets_LEVEL_4
:= debugrun help translations install-package-
% packageinfo
35 gb_SpeedUpTargets_LEVEL_3
:= showmodules
$(gb_SpeedUpTargets_LEVEL_4
)
36 gb_SpeedUpTargets_LEVEL_2
:= $(gb_SpeedUpTargets_LEVEL_3
)
37 gb_SpeedUpTargets_LEVEL_1
:= clean showdeliverables
$(gb_PackageInfo_get_target
)/% $(gb_SpeedUpTargets_LEVEL_2
)
39 ifeq (T
,$(if
$(filter-out $(gb_SpeedUpTargets_LEVEL_1
),$(MAKECMDGOALS
)),,T
))
42 ifeq (T
,$(if
$(filter-out $(gb_SpeedUpTargets_LEVEL_2
),$(MAKECMDGOALS
)),,T
))
43 gb_Module_SKIPTARGETS
+= check coverage slowcheck screenshot subsequentcheck uicheck
45 ifeq (T
,$(if
$(filter-out $(gb_SpeedUpTargets_LEVEL_3
),$(MAKECMDGOALS
)),,T
))
46 gb_Module_SKIPTARGETS
+= build
48 ifeq (T
,$(if
$(filter-out $(gb_SpeedUpTargets_LEVEL_4
),$(MAKECMDGOALS
)),,T
))
49 gb_Module_SKIPTARGETS
+= module
59 ifneq (,$(filter build
,$(gb_Module_SKIPTARGETS
)))
60 gb_Module_add_target
=
63 ifneq (,$(filter check,$(gb_Module_SKIPTARGETS
)))
64 gb_Module_add_check_target
=
67 ifneq (,$(filter slowcheck
,$(gb_Module_SKIPTARGETS
)))
68 gb_Module_add_slowcheck_target
=
71 ifneq (,$(filter screenshot
,$(gb_Module_SKIPTARGETS
)))
72 gb_Module_add_screenshot_target
=
75 ifneq (,$(filter coverage
,$(gb_Module_SKIPTARGETS
)))
76 gb_Module_add_coverage_target
=
79 ifneq (,$(filter subsequentcheck
,$(gb_Module_SKIPTARGETS
)))
80 gb_Module_add_subsequentcheck_target
=
83 ifneq (,$(filter perfcheck
,$(gb_Module_SKIPTARGETS
)))
84 gb_Module_add_perfcheck_target
=
87 ifneq (,$(filter uicheck
,$(gb_Module_SKIPTARGETS
)))
88 gb_Module_add_uicheck_target
=
91 ifneq (,$(filter module
,$(gb_Module_SKIPTARGETS
)))
92 gb_Module_add_moduledir
=
95 # vim:set shiftwidth=4 softtabstop=4 noexpandtab: