Files
xen/tools/ocaml/Makefile
T
Edwin Török f437314e86 Makefile: Add build-tools-oxenstored
As a convenience so that oxenstored patches can be compile-tested
using upstream's build-system before submitting upstream.

Signed-off-by: Edwin Török <edvin.torok@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
2021-01-22 14:39:48 +00:00

37 lines
653 B
Makefile

XEN_ROOT = $(CURDIR)/../..
include $(XEN_ROOT)/tools/Rules.mk
SUBDIRS := libs
SUBDIRS += xenstored
ifeq ($(CONFIG_TESTS),y)
SUBDIRS += test
endif
.NOTPARALLEL:
# targets here must be run in order, otherwise we can try
# to build programs before the libraries are done
.PHONY: all
all: subdirs-all
.PHONY: install
install: subdirs-install
.PHONY: uninstall
uninstall: subdirs-uninstall
.PHONY: clean
clean: subdirs-clean
.PHONY: distclean
distclean: subdirs-distclean
.PHONY: build-tools-oxenstored
build-tools-oxenstored:
$(MAKE) -s -C libs/eventchn
$(MAKE) -s -C libs/mmap
$(MAKE) -s -C libs/xb
$(MAKE) -s -C libs/xc
$(MAKE) -C xenstored