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

[Xen-devel] [PATCH 3/4] tools - Define CFLAGS and LDFLAGS for libxenguest



# HG changeset patch
# User Bastian Blank <waldi@xxxxxxxxxx>
# Date 1201375662 -3600
# Node ID 2f8522ac276b70ddc70ec5a228a4a1bb9e18df96
# Parent  dbe5451477ab54048baf55d46a5f3349bccd3d49
Define CFLAGS and LDFLAGS for libxenguest.

Signed-off-by: Bastian Blank <waldi@xxxxxxxxxx>

diff -r dbe5451477ab -r 2f8522ac276b tools/Rules.mk
--- a/tools/Rules.mk    Sat Jan 26 20:27:42 2008 +0100
+++ b/tools/Rules.mk    Sat Jan 26 20:27:42 2008 +0100
@@ -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 dbe5451477ab -r 2f8522ac276b tools/xcutils/Makefile
--- a/tools/xcutils/Makefile    Sat Jan 26 20:27:42 2008 +0100
+++ b/tools/xcutils/Makefile    Sat Jan 26 20:27:42 2008 +0100
@@ -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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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