2 # vim:set ts=8 sw=8 sts=8 noet:
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
6 # You can obtain one at http://mozilla.org/MPL/2.0/.
9 ###########################################################################
10 ## Intent: Helper targets for displaying variables and state information
11 ###########################################################################
13 # Support usage outside of config/rules.mk
14 ifndef INCLUDED_DEBUGMAKE_MK
#{
22 '$(subst $(CR),\$(CR),$(subst ','\'',$(1)))'
26 @echo $(call shell_quote,$($*))
29 @echo $(call shell_quote,$(DIRS))
32 @printf '%20s
= %s
\n' $1 $(call shell_quote,$($1))
37 $(foreach var,$1,$(call print_var,$(var)))
41 ifneq (,$(filter $(PROGRAM) $(HOST_PROGRAM) $(SIMPLE_PROGRAMS) $(LIBRARY) $(SHARED_LIBRARY),$(TARGETS)))
42 @echo --------------------------------------------------------------------------------
56 @echo --------------------------------------------------------------------------------
60 showbuild showhost: _DEPEND_CFLAGS=
61 showbuild showhost: COMPILE_PDB_FLAG=
117 INCLUDED_DEBUGMAKE_MK = 1