WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 4/8] tools/vtpm_manager - Use generic subdirs rules

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 4/8] tools/vtpm_manager - Use generic subdirs rules
From: Bastian Blank <bastian@xxxxxxxxxxxx>
Date: Fri, 21 Mar 2008 14:02:09 +0100
Delivery-date: Fri, 21 Mar 2008 06:03:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
# HG changeset patch
# User Bastian Blank <waldi@xxxxxxxxxx>
# Date 1206103830 -3600
# Node ID 7e04e27e02e4776c6a8423e138cbd86d44f47c8d
# Parent  fcbda0690b0f41f6b5abc93961e22797dec48789
Use generic subdirs rules.

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

diff -r fcbda0690b0f -r 7e04e27e02e4 tools/vtpm_manager/Makefile
--- a/tools/vtpm_manager/Makefile       Fri Mar 21 13:50:30 2008 +0100
+++ b/tools/vtpm_manager/Makefile       Fri Mar 21 13:50:30 2008 +0100
@@ -6,24 +6,8 @@ SUBDIRS                = crypto tcs util manager migra
 SUBDIRS                = crypto tcs util manager migration
 OPENSSL_HEADER = /usr/include/openssl/crypto.h
 
-.PHONY: all
-all:
-       for subdir in $(SUBDIRS); do          \
-               $(MAKE) -C $$subdir $@;       \
-       done
-
-.PHONY: install
-install:
-       @set -e; for subdir in $(SUBDIRS); do \
-               $(MAKE) -C $$subdir $@; \
-       done
-
-.PHONY: clean
-clean:
-       @set -e; for subdir in $(SUBDIRS); do \
-               $(MAKE) -C $$subdir $@; \
-       done
-
+.PHONY: all clean install
+all clean install: %: subdirs-%
 
 .PHONY: mrproper
 mrproper:
-- 
A princess should not be afraid -- not with a brave knight to protect her.
                -- McCoy, "Shore Leave", stardate 3025.3

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 4/8] tools/vtpm_manager - Use generic subdirs rules, Bastian Blank <=