ia64/xen-unstable

annotate tools/Makefile @ 6576:dd108e5ad24d

Fix vtpm build when doing 'make dist' (particularly when not root).

Signed-off-by: Steven Hand <steven@xensource.com>
author shand@ubuntu.eng.hq.xensource.com
date Wed Aug 31 14:37:21 2005 -0800 (2005-08-31)
parents 0db6e392c380
children f0dc15fd3c1b
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
cl349@5359 6 SUBDIRS += xenstore
kaf24@4338 7 SUBDIRS += misc
kaf24@4338 8 SUBDIRS += examples
kaf24@4338 9 SUBDIRS += xentrace
kaf24@4348 10 SUBDIRS += xcs
cl349@5099 11 SUBDIRS += xcutils
kaf24@5372 12 SUBDIRS += firmware
smh22@5957 13 SUBDIRS += security
kaf24@6052 14 SUBDIRS += console
shand@6575 15 SUBDIRS += vtpm_manager
shand@6575 16 SUBDIRS += vtpm
josht@6334 17 SUBDIRS += xenstat
kaf24@4338 18
shand@6576 19 .PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
shand@6576 20
kaf24@6488 21 # These don't cross-compile
kaf24@6488 22 ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
kaf24@6488 23 SUBDIRS += python
kaf24@6488 24 #SUBDIRS += pygrub
kaf24@6488 25 endif
kaf24@6488 26
kaf24@5028 27 .PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
kaf24@5028 28
kaf24@4338 29 all: check
kaf24@4338 30 @set -e; for subdir in $(SUBDIRS); do \
kaf24@4338 31 $(MAKE) -C $$subdir $@; \
kaf24@4338 32 done
kaf24@5028 33 $(MAKE) ioemu
kaf24@4338 34
kaf24@4338 35 install: check
kaf24@4338 36 @set -e; for subdir in $(SUBDIRS); do \
kaf24@4338 37 $(MAKE) -C $$subdir $@; \
kaf24@4338 38 done
kaf24@5028 39 $(MAKE) ioemuinstall
kaf24@4338 40
kaf24@4338 41 clean: check_clean
kaf24@4338 42 @set -e; for subdir in $(SUBDIRS); do \
kaf24@4338 43 $(MAKE) -C $$subdir $@; \
kaf24@4338 44 done
kaf24@5028 45 $(MAKE) ioemuclean
kaf24@4338 46
kaf24@4338 47 check:
kaf24@3537 48 $(MAKE) -C check
iap10@771 49
kaf24@4338 50 check_clean:
kaf24@4338 51 $(MAKE) -C check clean
cl349@5043 52
cl349@5043 53 ifndef XEN_NO_IOEMU
cl349@5043 54 ioemu ioemuinstall ioemuclean:
cl349@5043 55 [ -f ioemu/config-host.h ] || \
kaf24@5164 56 (cd ioemu; ./configure --prefix=usr)
cl349@5043 57 $(MAKE) -C ioemu $(patsubst ioemu%,%,$@)
cl349@5043 58 else
cl349@5043 59 ioemu ioemuinstall ioemuclean:
cl349@5043 60 endif
cl349@5043 61