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] [PATCH 3/4] tools - Define CFLAGS and LDFLAGS for libxengues

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 3/4] tools - Define CFLAGS and LDFLAGS for libxenguest
From: Bastian Blank <bastian@xxxxxxxxxxxx>
Date: Sat, 26 Jan 2008 20:34:22 +0100
Delivery-date: Sat, 26 Jan 2008 11:35:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 3/4] tools - Define CFLAGS and LDFLAGS for libxenguest, Bastian Blank <=