makefiles: Output the top-level depend rules explicitly for each module.
This commit is contained in:
parent
943cd739b2
commit
18e5313cd9
|
@ -61,11 +61,6 @@ include/stamp-h: include/config.h.in config.status
|
||||||
$(ALL_CONFIGS):
|
$(ALL_CONFIGS):
|
||||||
@./config.status $@
|
@./config.status $@
|
||||||
|
|
||||||
# Rules for dependencies
|
|
||||||
|
|
||||||
depend: $(ALL_DIRS:%=%/__depend__) dummy
|
|
||||||
.PHONY: $(ALL_DIRS:%=%/__depend__)
|
|
||||||
|
|
||||||
# Rules for cleaning
|
# Rules for cleaning
|
||||||
|
|
||||||
$(ALL_DIRS:%=%/__clean__): dummy
|
$(ALL_DIRS:%=%/__clean__): dummy
|
||||||
|
@ -94,7 +89,6 @@ libs/wine: libs/port
|
||||||
tools/wmc tools/wrc: tools
|
tools/wmc tools/wrc: tools
|
||||||
tools tools/wmc tools/wrc: libs/wine
|
tools tools/wmc tools/wrc: libs/wine
|
||||||
tools/widl tools/wmc tools/wrc: libs/wpp
|
tools/widl tools/wmc tools/wrc: libs/wpp
|
||||||
tools/__depend__: $(MAKEDEP)
|
|
||||||
|
|
||||||
$(MAKEDEP): include/config.h tools/Makefile
|
$(MAKEDEP): include/config.h tools/Makefile
|
||||||
@cd $(TOOLSDIR)/tools && $(MAKE) makedep$(TOOLSEXT)
|
@cd $(TOOLSDIR)/tools && $(MAKE) makedep$(TOOLSEXT)
|
||||||
|
|
|
@ -165,7 +165,10 @@ wine_fn_all_dir_rules ()
|
||||||
wine_fn_append_file ALL_DIRS $[1]
|
wine_fn_append_file ALL_DIRS $[1]
|
||||||
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
|
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
|
||||||
"$[1]/__clean__: $[1]/Makefile
|
"$[1]/__clean__: $[1]/Makefile
|
||||||
$[1]/Makefile $[1]/__depend__: $[1]/Makefile.in config.status $[2]
|
$[1]/Makefile: $[1]/Makefile.in config.status $[2]
|
||||||
|
@./config.status --file $[1]/Makefile && cd $[1] && \$(MAKE) depend
|
||||||
|
depend .PHONY: $[1]/__depend__
|
||||||
|
$[1]/__depend__: \$(MAKEDEP) dummy
|
||||||
@./config.status --file $[1]/Makefile && cd $[1] && \$(MAKE) depend"
|
@./config.status --file $[1]/Makefile && cd $[1] && \$(MAKE) depend"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13877,7 +13877,10 @@ wine_fn_all_dir_rules ()
|
||||||
wine_fn_append_file ALL_DIRS $1
|
wine_fn_append_file ALL_DIRS $1
|
||||||
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
|
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
|
||||||
"$1/__clean__: $1/Makefile
|
"$1/__clean__: $1/Makefile
|
||||||
$1/Makefile $1/__depend__: $1/Makefile.in config.status $2
|
$1/Makefile: $1/Makefile.in config.status $2
|
||||||
|
@./config.status --file $1/Makefile && cd $1 && \$(MAKE) depend
|
||||||
|
depend .PHONY: $1/__depend__
|
||||||
|
$1/__depend__: \$(MAKEDEP) dummy
|
||||||
@./config.status --file $1/Makefile && cd $1 && \$(MAKE) depend"
|
@./config.status --file $1/Makefile && cd $1 && \$(MAKE) depend"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue