|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] libxenlight: Get rid of the dependency on
# 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 <=
|
|
|
|
|