@ -355,11 +355,11 @@ BZIP2 = bzip2
# available before building, but we don't want parallel makes all trying
# available before building, but we don't want parallel makes all trying
# to build the same headers. These rules, together with the recursion rules
# to build the same headers. These rules, together with the recursion rules
# below, ensure that we update the generated headers once, if needed,
# below, ensure that we update the generated headers once, if needed,
# at the top level of any "make all/install/check" request. If a particular
# at the top level of any "make all/install/check/installcheck " request.
# subdirectory knows this isn't needed in itself or its children, it can set
# If a particular subdirectory knows this isn't needed in itself or its
# NO_GENERATED_HEADERS.
# children, it can set NO_GENERATED_HEADERS.
all install check : submake -generated -headers
all install check installcheck : submake -generated -headers
.PHONY : submake -generated -headers
.PHONY : submake -generated -headers
@ -806,8 +806,8 @@ $(error GNU make 3.80 or newer is required. You are using version $(MAKE_VERSIO
e n d i f
e n d i f
# This function is only for internal use below. It should be called
# This function is only for internal use below. It should be called
# using $(eval). It will set up a target so that it recurses into
# using $(eval). It will set up a target so that it recurses into a
# a given subdirectory. For the tree-wide all/install/check cases,
# given subdirectory. For the tree-wide all/install/check/install check cases,
# ensure we do our one-time tasks before recursing (see targets above).
# ensure we do our one-time tasks before recursing (see targets above).
# Note that to avoid a nasty bug in make 3.80,
# Note that to avoid a nasty bug in make 3.80,
# this function has to avoid using any complicated constructs (like
# this function has to avoid using any complicated constructs (like
@ -820,7 +820,7 @@ endif
d e f i n e _ c r e a t e _ r e c u r s i v e _ t a r g e t
d e f i n e _ c r e a t e _ r e c u r s i v e _ t a r g e t
.PHONY : $( 1) -$( 2) -recurse
.PHONY : $( 1) -$( 2) -recurse
$(1) : $( 1) -$( 2) -recurse
$(1) : $( 1) -$( 2) -recurse
$(1)-$(2)-recurse : $( if $ ( filter all install check , $ ( 3) ) , submake -generated -headers ) $( if $ ( filter check , $ ( 3) ) , temp -install )
$(1)-$(2)-recurse : $( if $ ( filter all install check installcheck , $ ( 3) ) , submake -generated -headers ) $( if $ ( filter check , $ ( 3) ) , temp -install )
$$ ( MAKE) -C $( 2) $( 3)
$$ ( MAKE) -C $( 2) $( 3)
e n d e f
e n d e f
# Note that the use of $$ on the last line above is important; we want
# Note that the use of $$ on the last line above is important; we want