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

[Xen-devel] [PATCH 15 of 16 RFC] blktap3: Include the blktap3/control Makefile in the blktap3 compilation



diff -r 9f5d1f1f9791 -r b12c1bb767d3 tools/blktap3/Makefile
--- a/tools/blktap3/Makefile    Wed Oct 24 17:27:38 2012 +0100
+++ b/tools/blktap3/Makefile    Wed Oct 24 17:28:12 2012 +0100
@@ -1,12 +1,25 @@
-XEN_ROOT := $(CURDIR)/../../
+XEN_ROOT = $(CURDIR)/../..
 include $(XEN_ROOT)/tools/Rules.mk
 
-all: build
+override CFLAGS = \
+       -Wall \
+       -Wextra \
+       -Werror
+export CFLAGS
 
-build: ;
+SUBDIRS-y = \
+       control
 
-clean: ;
+override CPPCHECK_DIR ?= .
 
-install: ;
+tags:
+       ctags -R --language-force=C --c-kinds=+px
 
-.PHONY: all build clean install
+clean:
+       rm -rf *.a *.so *.o *.rpm $(LIB) *~ $(DEPS) TAGS tags
+
+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®.