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

[Xen-devel] [PATCH 6/8] tools/blktap - Use generic subdirs rules



# HG changeset patch
# User Bastian Blank <waldi@xxxxxxxxxx>
# Date 1206103830 -3600
# Node ID 0799fcb6f960a4bea3a11b987c14bb3b10674270
# Parent  d5447528b3a2fbab50f1bdb412bbd4ef9fdeff53
Use generic subdirs rules.

Signed-off-by: Bastian Blank <waldi@xxxxxxxxxx>

diff -r d5447528b3a2 -r 0799fcb6f960 tools/blktap/Makefile
--- a/tools/blktap/Makefile     Fri Mar 21 13:50:30 2008 +0100
+++ b/tools/blktap/Makefile     Fri Mar 21 13:50:30 2008 +0100
@@ -5,24 +5,6 @@ SUBDIRS-y += lib
 SUBDIRS-y += lib
 SUBDIRS-y += drivers
 
-.PHONY: all
-all: build
+.PHONY: all clean install
+all clean install: %: subdirs-%
 
-.PHONY: build
-build:
-       @set -e; for subdir in $(SUBDIRS-y); do \
-       $(MAKE) -C $$subdir all;       \
-               done
-
-.PHONY: install
-install:
-       @set -e; for subdir in $(SUBDIRS-y); do \
-               $(MAKE) -C $$subdir install; \
-       done
-
-.PHONY: clean
-clean:
-       rm -rf *.a *.so *.o *.rpm $(LIB) *~ $(DEPS) TAGS
-       @set -e; for subdir in $(SUBDIRS-y); do \
-       $(MAKE) -C $$subdir clean;       \
-               done
-- 
Conquest is easy. Control is not.
                -- Kirk, "Mirror, Mirror", stardate unknown

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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