mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Using `ocp-indent` for now to just make minimal modifications in tabs vs spaces and get the right indentation. This avoids perpetuating a formatting style that is inconsistent with the rest of Xen, and that makes preparing and submitting patches more difficult (OCaml indentation tools usually only support spaces, not tabs). No functional change. Signed-off-by: Edwin Török <edvin.torok@citrix.com> Acked-by: Christian Lindig <christian.lindig@citrix.com>
41 lines
732 B
Makefile
41 lines
732 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
|
|
|
|
.PHONY: format
|
|
format:
|
|
git ls-files '*.ml' '*.mli' | xargs -n1 ocp-indent -i
|