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-changelog

[Xen-changelog] [xen-unstable] libxenlight: Get rid of the dependency on

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] libxenlight: Get rid of the dependency on the LIBCONFIG_SOURCE directory.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 03 Dec 2009 23:20:20 -0800
Delivery-date: Thu, 03 Dec 2009 23:20:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1259909513 0
# Node ID fc43518b59f9d36ef4d1138e56645412c4b48531
# Parent  1c024e1227c0cea87d309e39fd21b8f4eeca51a5
libxenlight: Get rid of the dependency on the LIBCONFIG_SOURCE directory.

Signed-off-by: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>
---
 tools/libxl/Makefile |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff -r 1c024e1227c0 -r fc43518b59f9 tools/libxl/Makefile
--- a/tools/libxl/Makefile      Fri Dec 04 06:50:46 2009 +0000
+++ b/tools/libxl/Makefile      Fri Dec 04 06:51:53 2009 +0000
@@ -46,13 +46,11 @@ libxenlight.a: $(LIBXL_OBJS)
 $(LIBCONFIG_SOURCE).tar.gz:
        $(WGET) $(LIBCONFIG_URL)/$@
 
-$(LIBCONFIG_SOURCE): $(LIBCONFIG_SOURCE).tar.gz
-       tar xzf $<
-
-$(LIBCONFIG_OUTPUT)/libconfig.so: $(LIBCONFIG_SOURCE)
+$(LIBCONFIG_OUTPUT)/libconfig.so: $(LIBCONFIG_SOURCE).tar.gz
+       [ ! -d "$(LIBCONFIG_SOURCE)" ] && tar xzf $<
        cd $(LIBCONFIG_SOURCE) && ./configure --prefix=$(DESTDIR)$(PREFIX) && 
$(MAKE)
 
-xl.o: $(LIBCONFIG_SOURCE)
+xl.o: $(LIBCONFIG_OUTPUT)/libconfig.so xl.c
        $(CC) $(CFLAGS) -I$(LIBCONFIG_SOURCE) -c xl.c
 
 $(CLIENTS): xl.o libxenlight.so $(LIBCONFIG_OUTPUT)/libconfig.so

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] libxenlight: Get rid of the dependency on the LIBCONFIG_SOURCE directory., Xen patchbot-unstable <=