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/
Home Products Support Community News


[Xen-changelog] [xen-unstable] xl: use the regular implicit rules to bui

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xl: use the regular implicit rules to build the xl .o files
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Aug 2010 07:01:08 -0700
Delivery-date: Wed, 18 Aug 2010 07:06:47 -0700
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 Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1281969064 -3600
# Node ID dca524642651d1da52e971e62428b8fbcd8b4de8
# Parent  f353f1ac38f673fc9f0bb18555f40aad33324cfc
xl: use the regular implicit rules to build the xl .o files

Having $(XL_OBJS) makes part of a subsequent patch a little cleaner.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
committer: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
 tools/libxl/Makefile |   13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

diff -r f353f1ac38f6 -r dca524642651 tools/libxl/Makefile
--- a/tools/libxl/Makefile      Tue Aug 17 12:45:44 2010 +0100
+++ b/tools/libxl/Makefile      Mon Aug 16 15:31:04 2010 +0100
@@ -31,6 +31,8 @@ LIBXLU_OBJS = libxlu_cfg_y.o libxlu_cfg_
 LIBXLU_OBJS = libxlu_cfg_y.o libxlu_cfg_l.o libxlu_cfg.o
+XL_OBJS = xl.o xl_cmdimpl.o xl_cmdtable.o
 .PHONY: all
 all: $(CLIENTS) libxenlight.so libxenlight.a libxlutil.so libxlutil.a \
@@ -82,16 +84,7 @@ libxlutil.a: $(LIBXLU_OBJS)
 libxlutil.a: $(LIBXLU_OBJS)
        $(AR) rcs libxlutil.a $^
-xl.o: xl.c
-       $(CC) $(CFLAGS) -c xl.c
-xl_cmdimpl.o: xl_cmdimpl.c
-       $(CC) $(CFLAGS) -c xl_cmdimpl.c
-xl_cmdtable.o: xl_cmdtable.c
-       $(CC) $(CFLAGS) -c xl_cmdtable.c
-$(CLIENTS): xl.o xl_cmdimpl.o xl_cmdtable.o libxlutil.so libxenlight.so
+$(CLIENTS): $(XL_OBJS) libxlutil.so libxenlight.so
        $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
 .PHONY: install

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xl: use the regular implicit rules to build the xl .o files, Xen patchbot-unstable <=