ia64/xen-unstable

annotate tools/Makefile @ 5372:bf014cae2dad

bitkeeper revision 1.1691.1.7 (42a6d8e19C3UPsmlA3u--9L4iY559Q)

Integrate virtual firmware into the tools build system.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Jun 08 11:39:13 2005 +0000 (2005-06-08)
parents 943337479992
children 5cc07785693b
rev   line source
kaf24@4338 1 XEN_ROOT = ../
kaf24@4338 2 include $(XEN_ROOT)/tools/Rules.mk
iap10@771 3
kaf24@4338 4 SUBDIRS :=
kaf24@4338 5 SUBDIRS += libxc
kaf24@4338 6 SUBDIRS += misc
kaf24@4338 7 SUBDIRS += examples
kaf24@4338 8 SUBDIRS += xentrace
kaf24@4338 9 SUBDIRS += python
kaf24@4348 10 SUBDIRS += xcs
cl349@5099 11 SUBDIRS += xcutils
mjw@4677 12 SUBDIRS += pygrub
kaf24@5372 13 SUBDIRS += firmware
iap10@771 14
kaf24@5028 15 .PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
kaf24@5028 16
kaf24@4338 17 all: check
kaf24@4338 18 @set -e; for subdir in $(SUBDIRS); do \
kaf24@4338 19 $(MAKE) -C $$subdir $@; \
kaf24@4338 20 done
kaf24@5028 21 $(MAKE) ioemu
kaf24@4338 22
kaf24@4338 23 install: check
kaf24@4338 24 @set -e; for subdir in $(SUBDIRS); do \
kaf24@4338 25 $(MAKE) -C $$subdir $@; \
kaf24@4338 26 done
kaf24@5028 27 $(MAKE) ioemuinstall
kaf24@4338 28
kaf24@4338 29 clean: check_clean
kaf24@4338 30 @set -e; for subdir in $(SUBDIRS); do \
kaf24@4338 31 $(MAKE) -C $$subdir $@; \
kaf24@4338 32 done
kaf24@5028 33 $(MAKE) ioemuclean
kaf24@4338 34
kaf24@4338 35 check:
kaf24@3537 36 $(MAKE) -C check
iap10@771 37
kaf24@4338 38 check_clean:
kaf24@4338 39 $(MAKE) -C check clean
cl349@5043 40
cl349@5043 41 ifndef XEN_NO_IOEMU
cl349@5043 42 ioemu ioemuinstall ioemuclean:
cl349@5043 43 [ -f ioemu/config-host.h ] || \
kaf24@5164 44 (cd ioemu; ./configure --prefix=usr)
cl349@5043 45 $(MAKE) -C ioemu $(patsubst ioemu%,%,$@)
cl349@5043 46 else
cl349@5043 47 ioemu ioemuinstall ioemuclean:
cl349@5043 48 endif
cl349@5043 49