From: Jean Guyader Subject: [PATCH] libxl: Add make deps Date: Thu, 3 Dec 2009 15:20:12 +0000 Message-ID: <1259853613-31864-1-git-send-email-jean.guyader@eu.citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------true" Return-path: 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 Signed-off-by: Jean Guyader --- tools/libxl/Makefile | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) --------------true Content-Type: text/x-patch; name="0001-libxl-Add-make-deps.patch" Content-Disposition: attachment; filename="0001-libxl-Add-make-deps.patch" Content-Transfer-Encoding: quoted-printable diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index 0358cea..79c585f 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -25,11 +25,16 @@ LIBCONFIG_OUTPUT =3D $(LIBCONFIG_SOURCE)/.libs =20 LIBXL_OBJS-y =3D osdeps.o LIBXL_OBJS =3D flexarray.o libxl.o libxl_dom.o libxl_exec.o libxl_xshelp= .o libxl_device.o libxl_internal.o xenguest.o libxl_utils.o $(LIBXL_OBJS-= y) +LIBXL_HEADERS =3D flexarray.h libxl.h libxl_internal.h libxl_osdeps.h li= bxl_utils.h xen_uuid.h +LIBXL_SRCS =3D ${LIBXL_OBJS:.o=3D.c} $(LIBXL_HEADERS) xl.c =20 CLIENTS =3D xl =20 .PHONY: all -all: $(CLIENTS) libxenlight.so libxenlight.a +all: $(CLIENTS) libxenlight.so libxenlight.a .deps + +.deps: $(LIBXL_SRCS) + $(CC) -MM $(LIBXL_SRCS) > .deps =20 libxenlight.so: libxenlight.so.$(MAJOR) ln -sf $< $@ --------------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--