tools/libs: Fix build dependencies
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 8 Feb 2022 10:39:59 +0000 (10:39 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 8 Feb 2022 11:15:53 +0000 (11:15 +0000)
commite62cc29f9b6c42b67182a1362e2ea18bad75b5ff
treeae8860b4602e4630f888aaa08b8bd27bceda6c15
parentbfb148a0fcb19678cdb7f2c46bbc5fbe3beaf584
tools/libs: Fix build dependencies

Some libs' Makefile aren't loading the dependencies files *.d2.

We can load them from "libs.mk" as none of the Makefile here are
changing $(DEPS) or $(DEPS_INCLUDE) so it is fine to move the
"include" to "libs.mk".

As a little improvement, don't load the dependencies files (and thus
avoid regenerating the *.d2 files) during `make clean`.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
tools/libs/ctrl/Makefile
tools/libs/guest/Makefile
tools/libs/libs.mk
tools/libs/light/Makefile
tools/libs/stat/Makefile
tools/libs/store/Makefile
tools/libs/util/Makefile
tools/libs/vchan/Makefile