ia64/xen-unstable

annotate tools/Makefile @ 6579:06b1cbe76880

VTPM is off by default.
author kaf24@firebug.cl.cam.ac.uk
date Thu Sep 01 09:01:15 2005 +0000 (2005-09-01)
parents f0dc15fd3c1b
children dd668f7527cb
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
kaf24@6579 15 ifeq ($(VTPM_TOOLS),y)
shand@6575 16 SUBDIRS += vtpm_manager
shand@6575 17 SUBDIRS += vtpm
kaf24@6579 18 endif
josht@6334 19 SUBDIRS += xenstat
iap10@771 20
shand@6576 21 .PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
shand@6576 22
kaf24@6488 23 # These don't cross-compile
kaf24@6488 24 ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
kaf24@6488 25 SUBDIRS += python
kaf24@6488 26 #SUBDIRS += pygrub
kaf24@6488 27 endif
kaf24@6488 28
kaf24@5028 29 .PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
kaf24@5028 30
kaf24@4338 31 all: check
kaf24@4338 32 @set -e; for subdir in $(SUBDIRS); do \
kaf24@4338 33 $(MAKE) -C $$subdir $@; \
kaf24@4338 34 done
kaf24@5028 35 $(MAKE) ioemu
kaf24@4338 36
kaf24@4338 37 install: check
kaf24@4338 38 @set -e; for subdir in $(SUBDIRS); do \
kaf24@4338 39 $(MAKE) -C $$subdir $@; \
kaf24@4338 40 done
kaf24@5028 41 $(MAKE) ioemuinstall
kaf24@4338 42
kaf24@4338 43 clean: check_clean
kaf24@4338 44 @set -e; for subdir in $(SUBDIRS); do \
kaf24@4338 45 $(MAKE) -C $$subdir $@; \
kaf24@4338 46 done
kaf24@5028 47 $(MAKE) ioemuclean
kaf24@4338 48
kaf24@4338 49 check:
kaf24@3537 50 $(MAKE) -C check
iap10@771 51
kaf24@4338 52 check_clean:
kaf24@4338 53 $(MAKE) -C check clean
cl349@5043 54
cl349@5043 55 ifndef XEN_NO_IOEMU
cl349@5043 56 ioemu ioemuinstall ioemuclean:
cl349@5043 57 [ -f ioemu/config-host.h ] || \
kaf24@5164 58 (cd ioemu; ./configure --prefix=usr)
cl349@5043 59 $(MAKE) -C ioemu $(patsubst ioemu%,%,$@)
cl349@5043 60 else
cl349@5043 61 ioemu ioemuinstall ioemuclean:
cl349@5043 62 endif
cl349@5043 63