aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore/Makefile
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-05-24 14:24:57 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-05-24 14:24:57 +0100
commit1ac7d8afca7e4136796e8fccb495b83cfce9e2c8 (patch)
treeadd4283e9c486289b894403a76ef5f4c6e5304bd /tools/xenstore/Makefile
parent04f28b0fc70ebd68a8db4b62ebaae492ae5aeca6 (diff)
downloadxen-1ac7d8afca7e4136796e8fccb495b83cfce9e2c8.tar.gz
xen-1ac7d8afca7e4136796e8fccb495b83cfce9e2c8.tar.bz2
xen-1ac7d8afca7e4136796e8fccb495b83cfce9e2c8.zip
[XENSTORE] Make use of /proc/xen/xsd_{port,kva} private to the Linux implementation.
Signed-off-by: John Levon <john.levon@sun.com>
Diffstat (limited to 'tools/xenstore/Makefile')
-rw-r--r--tools/xenstore/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile
index 84c08d8626..30b30b3ced 100644
--- a/tools/xenstore/Makefile
+++ b/tools/xenstore/Makefile
@@ -27,6 +27,12 @@ CLIENTS := xenstore-exists xenstore-list xenstore-read xenstore-rm
CLIENTS += xenstore-write
CLIENTS_OBJS := $(patsubst xenstore-%,xenstore_%.o,$(CLIENTS))
+XENSTORED_OBJS = xenstored_core.o xenstored_watch.o xenstored_domain.o xenstored_transaction.o xs_lib.o talloc.o utils.o tdb.o hashtable.o
+
+XENSTORED_Linux = xenstored_linux.o
+
+XENSTORED_OBJS += $(XENSTORED_$(OS))
+
.PHONY: all
all: libxenstore.so xenstored $(CLIENTS) xs_tdb_dump xenstore-control xenstore-ls
@@ -36,7 +42,7 @@ test_interleaved_transactions: test_interleaved_transactions.o
.PHONY: testcode
testcode: xs_test xenstored_test xs_random
-xenstored: xenstored_core.o xenstored_watch.o xenstored_domain.o xenstored_transaction.o xs_lib.o talloc.o utils.o tdb.o hashtable.o
+xenstored: $(XENSTORED_OBJS)
$(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -lxenctrl -o $@
$(CLIENTS): xenstore-%: xenstore_%.o libxenstore.so