All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libxl: Add make deps
@ 2009-12-03 15:20 Jean Guyader
  2009-12-03 15:20 ` [PATCH] libxl: Makefile and libconfig Jean Guyader
  0 siblings, 1 reply; 3+ messages in thread
From: Jean Guyader @ 2009-12-03 15:20 UTC (permalink / raw)
  To: xen-devel; +Cc: Jean Guyader

[-- Attachment #1: Type: text/plain, Size: 156 bytes --]


Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
---
 tools/libxl/Makefile |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-libxl-Add-make-deps.patch --]
[-- Type: text/x-patch; name="0001-libxl-Add-make-deps.patch", Size: 797 bytes --]

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 = $(LIBCONFIG_SOURCE)/.libs
 
 LIBXL_OBJS-y = osdeps.o
 LIBXL_OBJS = 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 = flexarray.h libxl.h libxl_internal.h libxl_osdeps.h libxl_utils.h xen_uuid.h
+LIBXL_SRCS = ${LIBXL_OBJS:.o=.c} $(LIBXL_HEADERS) xl.c
 
 CLIENTS = xl
 
 .PHONY: all
-all: $(CLIENTS) libxenlight.so libxenlight.a
+all: $(CLIENTS) libxenlight.so libxenlight.a .deps
+
+.deps: $(LIBXL_SRCS)
+	$(CC) -MM $(LIBXL_SRCS) > .deps
 
 libxenlight.so: libxenlight.so.$(MAJOR)
 	ln -sf $< $@

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-03 17:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-03 15:20 [PATCH] libxl: Add make deps Jean Guyader
2009-12-03 15:20 ` [PATCH] libxl: Makefile and libconfig Jean Guyader
2009-12-03 17:36   ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.