aboutsummaryrefslogtreecommitdiffstats
path: root/tools/fs-back
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-27 12:58:15 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-27 12:58:15 +0000
commit3faece79e4bd120b06c01b933b6cdf93c39e1888 (patch)
treed16fa3692a06c0e0f2ecaabf697408410bf4dd89 /tools/fs-back
parent7308e97492e0bea0a4d84b92e0c08784a061abef (diff)
downloadxen-3faece79e4bd120b06c01b933b6cdf93c39e1888.tar.gz
xen-3faece79e4bd120b06c01b933b6cdf93c39e1888.tar.bz2
xen-3faece79e4bd120b06c01b933b6cdf93c39e1888.zip
Define CFLAGS and LDFLAGS for libxenstore.
Signed-off-by: Bastian Blank <waldi@debian.org>
Diffstat (limited to 'tools/fs-back')
-rw-r--r--tools/fs-back/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/fs-back/Makefile b/tools/fs-back/Makefile
index ca0453ca99..dc5fc446ce 100644
--- a/tools/fs-back/Makefile
+++ b/tools/fs-back/Makefile
@@ -9,7 +9,8 @@ CFLAGS += -Werror
CFLAGS += -Wno-unused
CFLAGS += -fno-strict-aliasing
CFLAGS += $(CFLAGS_libxenctrl)
-CFLAGS += $(INCLUDES) -I. -I../xenstore
+CFLAGS += $(CFLAGS_libxenstore)
+CFLAGS += $(INCLUDES) -I.
CFLAGS += -D_GNU_SOURCE
# Get gcc to generate the dependencies for us.
@@ -18,8 +19,8 @@ DEPS = .*.d
LIBS := -L. -L.. -L../lib
LIBS += $(LDFLAGS_libxenctrl)
+LIBS += $(LDFLAGS_libxenstore)
LIBS += -lpthread -lrt
-LIBS += -L$(XEN_XENSTORE) -lxenstore
OBJS := fs-xenbus.o fs-ops.o