aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xcutils
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-27 12:57:14 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-27 12:57:14 +0000
commitad44c013ec383964e20248f73eeece9f3730c3ff (patch)
treeba2c1d701bfa7e7eb81e4bd098351a784c09357c /tools/xcutils
parent9f602ddea9e12233d43f2fe2021d33d40c87455a (diff)
downloadxen-ad44c013ec383964e20248f73eeece9f3730c3ff.tar.gz
xen-ad44c013ec383964e20248f73eeece9f3730c3ff.tar.bz2
xen-ad44c013ec383964e20248f73eeece9f3730c3ff.zip
Define CFLAGS and LDFLAGS for libxenctrl.
Signed-off-by: Bastian Blank <waldi@debian.org>
Diffstat (limited to 'tools/xcutils')
-rw-r--r--tools/xcutils/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/xcutils/Makefile b/tools/xcutils/Makefile
index b7714c1f38..24fa8849f8 100644
--- a/tools/xcutils/Makefile
+++ b/tools/xcutils/Makefile
@@ -11,7 +11,7 @@
XEN_ROOT = ../..
include $(XEN_ROOT)/tools/Rules.mk
-INCLUDES += -I $(XEN_LIBXC) -I $(XEN_XENSTORE) -I$(XEN_INCLUDE)
+INCLUDES += $(CFLAGS_libxenctrl) -I $(XEN_XENSTORE) -I$(XEN_INCLUDE)
CFLAGS += -Werror
CFLAGS += $(INCLUDES)
@@ -22,7 +22,7 @@ PROG_DEP = .*.d
PROGRAMS = xc_restore xc_save readnotes
-LDLIBS = -L$(XEN_LIBXC) -L$(XEN_XENSTORE) -lxenguest -lxenctrl -lxenstore
+LDLIBS = $(LDFLAGS_libxenctrl) -L$(XEN_XENSTORE) -lxenguest -lxenstore
.PHONY: all
all: build