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

[Xen-changelog] [xen-unstable] Define CFLAGS and LDFLAGS for libxenguest.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1201438682 0
# Node ID 4bac220563b106123a0a756c69d4b9516b6d82aa
# Parent  ddf454872de41037b481da8ba00b947819d5cf1e
Define CFLAGS and LDFLAGS for libxenguest.

Signed-off-by: Bastian Blank <waldi@xxxxxxxxxx>
---
 tools/Rules.mk         |    3 +++
 tools/xcutils/Makefile |    6 ++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff -r ddf454872de4 -r 4bac220563b1 tools/Rules.mk
--- a/tools/Rules.mk    Sun Jan 27 12:57:14 2008 +0000
+++ b/tools/Rules.mk    Sun Jan 27 12:58:02 2008 +0000
@@ -15,6 +15,9 @@ CFLAGS_include = -I$(XEN_INCLUDE)
 
 CFLAGS_libxenctrl = -I$(XEN_LIBXC) $(CFLAGS_include)
 LDFLAGS_libxenctrl = -L$(XEN_LIBXC) -lxenctrl
+
+CFLAGS_libxenguest = -I$(XEN_LIBXC) $(CFLAGS_include)
+LDFLAGS_libxenguest = -L$(XEN_LIBXC) -lxenguest
 
 X11_LDPATH = -L/usr/X11R6/$(LIBDIR)
 
diff -r ddf454872de4 -r 4bac220563b1 tools/xcutils/Makefile
--- a/tools/xcutils/Makefile    Sun Jan 27 12:57:14 2008 +0000
+++ b/tools/xcutils/Makefile    Sun Jan 27 12:58:02 2008 +0000
@@ -11,10 +11,8 @@ XEN_ROOT     = ../..
 XEN_ROOT       = ../..
 include $(XEN_ROOT)/tools/Rules.mk
 
-INCLUDES += $(CFLAGS_libxenctrl) -I $(XEN_XENSTORE) -I$(XEN_INCLUDE)
-
 CFLAGS += -Werror
-CFLAGS += $(INCLUDES)
+CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest) -I$(XEN_XENSTORE)
 
 # Make gcc generate dependencies.
 CFLAGS += -Wp,-MD,.$(@F).d
@@ -22,7 +20,7 @@ PROG_DEP = .*.d
 
 PROGRAMS = xc_restore xc_save readnotes
 
-LDLIBS   = $(LDFLAGS_libxenctrl) -L$(XEN_XENSTORE) -lxenguest -lxenstore
+LDLIBS   = $(LDFLAGS_libxenctrl) $(LDFLAGS_libxenguest) -L$(XEN_XENSTORE) 
-lxenstore
 
 .PHONY: all
 all: build

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


 


Rackspace

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