Files
xen/tools/libs/vchan/Makefile
T
Anthony PERARD e62cc29f9b 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>
2022-02-08 11:15:53 +00:00

20 lines
293 B
Makefile

XEN_ROOT = $(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk
CFLAGS += $(CFLAGS_libxenctrl)
LIBHEADER := libxenvchan.h
SRCS-y += init.c
SRCS-y += io.c
NO_HEADERS_CHK := y
include $(XEN_ROOT)/tools/libs/libs.mk
clean: cleanlocal
.PHONY: cleanlocal
cleanlocal:
rm -f libxenvchan.map