aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xcutils
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-27 12:58:02 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-27 12:58:02 +0000
commit7308e97492e0bea0a4d84b92e0c08784a061abef (patch)
tree2e710690b479b33874057cd28e0a4fbe1fda61a1 /tools/xcutils
parentad44c013ec383964e20248f73eeece9f3730c3ff (diff)
downloadxen-7308e97492e0bea0a4d84b92e0c08784a061abef.tar.gz
xen-7308e97492e0bea0a4d84b92e0c08784a061abef.tar.bz2
xen-7308e97492e0bea0a4d84b92e0c08784a061abef.zip
Define CFLAGS and LDFLAGS for libxenguest.
Signed-off-by: Bastian Blank <waldi@debian.org>
Diffstat (limited to 'tools/xcutils')
-rw-r--r--tools/xcutils/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/xcutils/Makefile b/tools/xcutils/Makefile
index 24fa8849f8..cc9e7a606a 100644
--- a/tools/xcutils/Makefile
+++ b/tools/xcutils/Makefile
@@ -11,10 +11,8 @@
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