ia64/xen-unstable

changeset 4347:3498bafc832f

bitkeeper revision 1.1236.1.136 (4244ed87pc_Rj1ULdCzoDdQsTu7rTg)

Manual merge.
author kaf24@firebug.cl.cam.ac.uk
date Fri Mar 25 23:37:13 2005 +0000 (2005-03-25)
parents 0dc36f964d78 324645337353
children 30a1863a693d
files tools/Makefile
line diff
     1.1 --- a/tools/Makefile	Fri Mar 25 23:11:41 2005 +0000
     1.2 +++ b/tools/Makefile	Fri Mar 25 23:37:13 2005 +0000
     1.3 @@ -1,37 +1,34 @@
     1.4 +XEN_ROOT = ../
     1.5 +include $(XEN_ROOT)/tools/Rules.mk
     1.6  
     1.7 -all:	
     1.8 -	$(MAKE) -C check
     1.9 -	$(MAKE) -C libxutil
    1.10 -	$(MAKE) -C libxc
    1.11 -	$(MAKE) -C misc
    1.12 -	$(MAKE) -C examples
    1.13 -	$(MAKE) -C xentrace
    1.14 -	$(MAKE) -C python
    1.15 -	$(MAKE) -C xfrd
    1.16 -	$(MAKE) -C xcs
    1.17 -	$(MAKE) -C ioemu
    1.18 +SUBDIRS :=
    1.19 +SUBDIRS += libxutil
    1.20 +SUBDIRS += libxc
    1.21 +SUBDIRS += misc
    1.22 +SUBDIRS += examples
    1.23 +SUBDIRS += xentrace
    1.24 +SUBDIRS += python
    1.25 +SUBDIRS += xfrd
    1.26 +
    1.27 +.PHONY: all install clean check check_clean
    1.28  
    1.29 -install: 
    1.30 +all: check
    1.31 +	@set -e; for subdir in $(SUBDIRS); do \
    1.32 +		$(MAKE) -C $$subdir $@; \
    1.33 +	done
    1.34 +
    1.35 +install: check
    1.36 +	@set -e; for subdir in $(SUBDIRS); do \
    1.37 +		$(MAKE) -C $$subdir $@; \
    1.38 +	done
    1.39 +
    1.40 +clean: check_clean
    1.41 +	@set -e; for subdir in $(SUBDIRS); do \
    1.42 +		$(MAKE) -C $$subdir $@; \
    1.43 +	done
    1.44 +
    1.45 +check:
    1.46  	$(MAKE) -C check
    1.47 -	$(MAKE) -C libxutil install
    1.48 -	$(MAKE) -C libxc install
    1.49 -	$(MAKE) -C misc install
    1.50 -	$(MAKE) -C examples install
    1.51 -	$(MAKE) -C xentrace install
    1.52 -	$(MAKE) -C python install
    1.53 -	$(MAKE) -C xfrd install
    1.54 -	$(MAKE) -C sv install
    1.55 -	$(MAKE) -C xcs install
    1.56 -	$(MAKE) -C ioemu install
    1.57  
    1.58 -clean build:
    1.59 -	$(MAKE) -C check $@
    1.60 -	$(MAKE) -C libxutil $@
    1.61 -	$(MAKE) -C libxc $@
    1.62 -	$(MAKE) -C misc $@
    1.63 -	$(MAKE) -C examples $@
    1.64 -	$(MAKE) -C xentrace $@
    1.65 -	$(MAKE) -C python $@
    1.66 -	$(MAKE) -C xfrd $@
    1.67 -	$(MAKE) -C xcs clean
    1.68 -	$(MAKE) -C ioemu clean
    1.69 +check_clean:
    1.70 +	$(MAKE) -C check clean