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

[Xen-devel] debian tools-misc-TARGETS.patch (1 of 5)

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] debian tools-misc-TARGETS.patch (1 of 5)
From: "Adam Heath" <doogie@xxxxxxxxxxxxx>
Date: Fri, 04 Feb 2005 22:24:18 -0600
Delivery-date: Sat, 05 Feb 2005 04:24:52 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Name: tools-misc-TARGETS.patch
Description: Split compile/link stages
 distcc behaves much better when you compile and link in 2 separate steps.
 Plus, this is a more standard way of doing things.
Signed-off-by: Adam Heath <doogie@xxxxxxxxxxxxx>
DiffStat:
 tools/misc/Makefile |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

--- xen-2.0.4.orig/tools/misc/Makefile
+++ xen-2.0.4/tools/misc/Makefile
@@ -34,5 +34,8 @@
        $(RM) *.o $(TARGETS) *~
        $(MAKE) -C miniterm clean
 
-%: %.c $(HDRS) Makefile
+%.o: %.c $(HDRS) Makefile
+       $(CC) -c $(CFLAGS) -o $@ $<
+
+$(TARGETS): %: %.o Makefile
        $(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) -lxc -L$(XEN_LIBXUTIL) -lxutil



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] debian tools-misc-TARGETS.patch (1 of 5), Adam Heath <=