From: Jean Guyader Subject: [PATCH] libxl: Makefile and libconfig Date: Thu, 3 Dec 2009 15:20:13 +0000 Message-ID: <1259853613-31864-2-git-send-email-jean.guyader@eu.citrix.com> References: <1259853613-31864-1-git-send-email-jean.guyader@eu.citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------true" Return-path: In-Reply-To: <1259853613-31864-1-git-send-email-jean.guyader@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Jean Guyader List-Id: xen-devel@lists.xenproject.org --------------true Content-Type: text/plain; charset="UTF-8"; format=fixed Content-Transfer-Encoding: quoted-printable Get rid of the depedency on the LIBCONFIG_SOURCE directory. Signed-off-by: Jean Guyader --- tools/libxl/Makefile | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) --------------true Content-Type: text/x-patch; name="0002-libxl-Makefile-and-libconfig.patch" Content-Disposition: attachment; filename="0002-libxl-Makefile-and-libconfig.patch" Content-Transfer-Encoding: quoted-printable diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index 79c585f..4fba7f6 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -51,13 +51,11 @@ libxenlight.a: $(LIBXL_OBJS) $(LIBCONFIG_SOURCE).tar.gz: $(WGET) $(LIBCONFIG_URL)/$@ =20 -$(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=3D$(DESTDIR)$(PREFIX) &&= $(MAKE) =20 -xl.o: $(LIBCONFIG_SOURCE) +xl.o: $(LIBCONFIG_OUTPUT)/libconfig.so xl.c $(CC) $(CFLAGS) -I$(LIBCONFIG_SOURCE) -c xl.c =20 $(CLIENTS): xl.o libxenlight.so $(LIBCONFIG_OUTPUT)/libconfig.so --------------true Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------true--