[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.