ia64/xen-unstable

changeset 6628:523078a33287

Fix build dependency issue.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Sun Sep 04 15:08:16 2005 +0000 (2005-09-04)
parents b6c98fe62e1a
children f59e0163540e
files tools/xenstore/Makefile
line diff
     1.1 --- a/tools/xenstore/Makefile	Sat Sep 03 18:48:59 2005 +0000
     1.2 +++ b/tools/xenstore/Makefile	Sun Sep 04 15:08:16 2005 +0000
     1.3 @@ -16,7 +16,8 @@ PROG_DEP = .*.d
     1.4  #BASECFLAGS+= -I$(XEN_ROOT)/tools
     1.5  BASECFLAGS+= -I$(XEN_ROOT)/tools/libxc
     1.6  BASECFLAGS+= -I$(XEN_ROOT)/xen/include/public
     1.7 -BASECFLAGS+= -I.
     1.8 +BASECFLAGS+= -I$(XEN_ROOT)/xen/include/public
     1.9 +BASECFLAGS+= -I$(XEN_ROOT)/linux-2.6-xen-sparse/include/asm-xen/linux-public
    1.10  
    1.11  CFLAGS  += $(BASECFLAGS)
    1.12  LDFLAGS += $(PROFILE) -L$(XEN_LIBXC)
    1.13 @@ -27,15 +28,9 @@ TESTENV  = XENSTORED_ROOTDIR=$(TESTDIR) 
    1.14  CLIENTS := xenstore-read xenstore-rm xenstore-write
    1.15  CLIENTS_OBJS := $(patsubst xenstore-%,xenstore_%.o,$(CLIENTS))
    1.16  
    1.17 -all: xen xenbus_dev.h libxenstore.so xenstored $(CLIENTS)
    1.18 -
    1.19 -testcode: xen xs_test xenstored_test xs_random xs_dom0_test
    1.20 +all: libxenstore.so xenstored $(CLIENTS)
    1.21  
    1.22 -xen:
    1.23 -	ln -sf $(XEN_ROOT)/xen/include/public $@
    1.24 -
    1.25 -xenbus_dev.h:
    1.26 -	ln -sf $(XEN_ROOT)/linux-2.6-xen-sparse/include/asm-xen/linux-public/xenbus_dev.h $@
    1.27 +testcode: xs_test xenstored_test xs_random xs_dom0_test
    1.28  
    1.29  xenstored: xenstored_core.o xenstored_watch.o xenstored_domain.o xenstored_transaction.o xs_lib.o talloc.o utils.o
    1.30  	$(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -lxenctrl -o $@
    1.31 @@ -70,7 +65,7 @@ libxenstore.so: xs.opic xs_lib.opic
    1.32  
    1.33  clean: testsuite-clean
    1.34  	rm -f *.o *.opic *.so
    1.35 -	rm -f xen xenstored xs_random xs_stress xs_crashme
    1.36 +	rm -f xenstored xs_random xs_stress xs_crashme
    1.37  	rm -f xs_test xenstored_test xs_dom0_test
    1.38  	$(RM) $(PROG_DEP)
    1.39  
    1.40 @@ -84,10 +79,10 @@ check: print-dir testsuite-fast randomch
    1.41  
    1.42  fullcheck: testsuite-run randomcheck stresstest
    1.43  
    1.44 -testsuite-run: xen xenstored_test xs_test
    1.45 +testsuite-run: xenstored_test xs_test
    1.46  	$(TESTENV) testsuite/test.sh && echo
    1.47  
    1.48 -testsuite-fast: xen xenstored_test xs_test
    1.49 +testsuite-fast: xenstored_test xs_test
    1.50  	@$(TESTENV) testsuite/test.sh --fast
    1.51  
    1.52  testsuite-clean: