ia64/xen-unstable

annotate tools/Makefile @ 9449:905cfaa5986b

Create /var/xen/dump/ during tools installation, or core files
are not written even if we set (enable-dump yes) in xend-config.sxp.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Mar 24 12:28:58 2006 +0100 (2006-03-24)
parents d92a68e6faa9
children b454a09cddb1
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
cl349@5099 10 SUBDIRS += xcutils
kaf24@5372 11 SUBDIRS += firmware
smh22@5957 12 SUBDIRS += security
kaf24@6052 13 SUBDIRS += console
kaf24@7819 14 SUBDIRS += xenmon
vhanquez@8516 15 SUBDIRS += guest-headers
kaf24@6579 16 ifeq ($(VTPM_TOOLS),y)
shand@6575 17 SUBDIRS += vtpm_manager
shand@6575 18 SUBDIRS += vtpm
kaf24@6579 19 endif
josht@6334 20 SUBDIRS += xenstat
kaf24@6488 21 # These don't cross-compile
kaf24@6488 22 ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
kaf24@6488 23 SUBDIRS += python
kaf24@7270 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@9449 40 $(INSTALL_DIR) -p $(DESTDIR)/var/xen/dump
kaf24@4338 41
kaf24@4338 42 clean: check_clean
kaf24@4338 43 @set -e; for subdir in $(SUBDIRS); do \
kaf24@4338 44 $(MAKE) -C $$subdir $@; \
kaf24@4338 45 done
kaf24@5028 46 $(MAKE) ioemuclean
kaf24@4338 47
kaf24@4338 48 check:
kaf24@3537 49 $(MAKE) -C check
iap10@771 50
kaf24@4338 51 check_clean:
kaf24@4338 52 $(MAKE) -C check clean
cl349@5043 53
cl349@5043 54 ifndef XEN_NO_IOEMU
cl349@5043 55 ioemu ioemuinstall ioemuclean:
cl349@5043 56 [ -f ioemu/config-host.h ] || \
kaf24@5164 57 (cd ioemu; ./configure --prefix=usr)
cl349@5043 58 $(MAKE) -C ioemu $(patsubst ioemu%,%,$@)
cl349@5043 59 else
cl349@5043 60 ioemu ioemuinstall ioemuclean:
cl349@5043 61 endif
cl349@5043 62