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

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Define CFLAGS and LDFLAGS for libxenguest.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 27 Jan 2008 05:10:12 -0800
Delivery-date: Sun, 27 Jan 2008 05:10:33 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Define CFLAGS and LDFLAGS for libxenguest., Xen patchbot-unstable <=