[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix build dependency issue.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 523078a332879ceb8234b9ed5924c30ba3114d7b
# Parent  b6c98fe62e1a35d8eb6e37af834eabddd7e3dd6f
Fix build dependency issue.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r b6c98fe62e1a -r 523078a33287 tools/xenstore/Makefile
--- a/tools/xenstore/Makefile   Sat Sep  3 18:48:59 2005
+++ b/tools/xenstore/Makefile   Sun Sep  4 15:08:16 2005
@@ -16,7 +16,8 @@
 #BASECFLAGS+= -I$(XEN_ROOT)/tools
 BASECFLAGS+= -I$(XEN_ROOT)/tools/libxc
 BASECFLAGS+= -I$(XEN_ROOT)/xen/include/public
-BASECFLAGS+= -I.
+BASECFLAGS+= -I$(XEN_ROOT)/xen/include/public
+BASECFLAGS+= -I$(XEN_ROOT)/linux-2.6-xen-sparse/include/asm-xen/linux-public
 
 CFLAGS  += $(BASECFLAGS)
 LDFLAGS += $(PROFILE) -L$(XEN_LIBXC)
@@ -27,15 +28,9 @@
 CLIENTS := xenstore-read xenstore-rm xenstore-write
 CLIENTS_OBJS := $(patsubst xenstore-%,xenstore_%.o,$(CLIENTS))
 
-all: xen xenbus_dev.h libxenstore.so xenstored $(CLIENTS)
+all: libxenstore.so xenstored $(CLIENTS)
 
-testcode: xen xs_test xenstored_test xs_random xs_dom0_test
-
-xen:
-       ln -sf $(XEN_ROOT)/xen/include/public $@
-
-xenbus_dev.h:
-       ln -sf 
$(XEN_ROOT)/linux-2.6-xen-sparse/include/asm-xen/linux-public/xenbus_dev.h $@
+testcode: xs_test xenstored_test xs_random xs_dom0_test
 
 xenstored: xenstored_core.o xenstored_watch.o xenstored_domain.o 
xenstored_transaction.o xs_lib.o talloc.o utils.o
        $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -lxenctrl -o $@
@@ -70,7 +65,7 @@
 
 clean: testsuite-clean
        rm -f *.o *.opic *.so
-       rm -f xen xenstored xs_random xs_stress xs_crashme
+       rm -f xenstored xs_random xs_stress xs_crashme
        rm -f xs_test xenstored_test xs_dom0_test
        $(RM) $(PROG_DEP)
 
@@ -84,10 +79,10 @@
 
 fullcheck: testsuite-run randomcheck stresstest
 
-testsuite-run: xen xenstored_test xs_test
+testsuite-run: xenstored_test xs_test
        $(TESTENV) testsuite/test.sh && echo
 
-testsuite-fast: xen xenstored_test xs_test
+testsuite-fast: xenstored_test xs_test
        @$(TESTENV) testsuite/test.sh --fast
 
 testsuite-clean:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.