ia64/xen-unstable

changeset 16911:4bac220563b1

Define CFLAGS and LDFLAGS for libxenguest.

Signed-off-by: Bastian Blank <waldi@debian.org>
author Keir Fraser <keir.fraser@citrix.com>
date Sun Jan 27 12:58:02 2008 +0000 (2008-01-27)
parents ddf454872de4
children a59e0510780b
files tools/Rules.mk tools/xcutils/Makefile
line diff
     1.1 --- a/tools/Rules.mk	Sun Jan 27 12:57:14 2008 +0000
     1.2 +++ b/tools/Rules.mk	Sun Jan 27 12:58:02 2008 +0000
     1.3 @@ -16,6 +16,9 @@ CFLAGS_include = -I$(XEN_INCLUDE)
     1.4  CFLAGS_libxenctrl = -I$(XEN_LIBXC) $(CFLAGS_include)
     1.5  LDFLAGS_libxenctrl = -L$(XEN_LIBXC) -lxenctrl
     1.6  
     1.7 +CFLAGS_libxenguest = -I$(XEN_LIBXC) $(CFLAGS_include)
     1.8 +LDFLAGS_libxenguest = -L$(XEN_LIBXC) -lxenguest
     1.9 +
    1.10  X11_LDPATH = -L/usr/X11R6/$(LIBDIR)
    1.11  
    1.12  CFLAGS += -D__XEN_TOOLS__
     2.1 --- a/tools/xcutils/Makefile	Sun Jan 27 12:57:14 2008 +0000
     2.2 +++ b/tools/xcutils/Makefile	Sun Jan 27 12:58:02 2008 +0000
     2.3 @@ -11,10 +11,8 @@
     2.4  XEN_ROOT	= ../..
     2.5  include $(XEN_ROOT)/tools/Rules.mk
     2.6  
     2.7 -INCLUDES += $(CFLAGS_libxenctrl) -I $(XEN_XENSTORE) -I$(XEN_INCLUDE)
     2.8 -
     2.9  CFLAGS += -Werror
    2.10 -CFLAGS += $(INCLUDES)
    2.11 +CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest) -I$(XEN_XENSTORE)
    2.12  
    2.13  # Make gcc generate dependencies.
    2.14  CFLAGS += -Wp,-MD,.$(@F).d
    2.15 @@ -22,7 +20,7 @@ PROG_DEP = .*.d
    2.16  
    2.17  PROGRAMS = xc_restore xc_save readnotes
    2.18  
    2.19 -LDLIBS   = $(LDFLAGS_libxenctrl) -L$(XEN_XENSTORE) -lxenguest -lxenstore
    2.20 +LDLIBS   = $(LDFLAGS_libxenctrl) $(LDFLAGS_libxenguest) -L$(XEN_XENSTORE) -lxenstore
    2.21  
    2.22  .PHONY: all
    2.23  all: build