[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 21 of 21] blktap3: Introduce top-level blktap3 makefile



Signed-off-by: Thanos Makatos <thanos.makatos@xxxxxxxxxx>

diff --git a/tools/blktap2/Makefile b/tools/blktap3/Makefile
copy from tools/blktap2/Makefile
copy to tools/blktap3/Makefile
--- a/tools/blktap2/Makefile
+++ b/tools/blktap3/Makefile
@@ -1,18 +1,24 @@
 XEN_ROOT = $(CURDIR)/../..
 include $(XEN_ROOT)/tools/Rules.mk
 
-CFLAGS  += $(CFLAGS_libxenctrl)
 LDLIBS += $(LDLIBS_libxenctrl)
 
+override CPPCHECK_DIR ?= .
+
 SUBDIRS-y :=
-SUBDIRS-y += include
-SUBDIRS-y += lvm
 SUBDIRS-y += vhd
-SUBDIRS-$(CONFIG_Linux) += drivers
-SUBDIRS-$(CONFIG_Linux) += control
+SUBDIRS-y += control
+SUBDIRS-y += tapback
+SUBDIRS-y += drivers
+
+tags:
+       ctags -R --language-force=C --c-kinds=+px
 
 clean:
-       rm -rf *.a *.so *.o *.rpm $(LIB) *~ $(DEPS) TAGS
+       rm -rf *.a *.so *.o *.rpm $(LIB) *~ $(DEPS) TAGS tags
 
-.PHONY: all clean install
+check:
+       cppcheck --enable=all -q $(CPPCHECK_DIR)
+
+.PHONY: all clean install tags check
 all clean install: %: subdirs-%

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.