Files
xen/tools/Makefile
T
kaf24@firebug.cl.cam.ac.uk 99f38fa81f bitkeeper revision 1.1500 (428f08f1cclAJMtKpbiDrXknPvaMCA)
Small ioemu build fixes. Fix 'make clean' so we can switch between
32-bit and 64-bit build easily.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-21 10:09:53 +00:00

50 lines
911 B
Makefile

XEN_ROOT = ../
include $(XEN_ROOT)/tools/Rules.mk
SUBDIRS :=
SUBDIRS += libxutil
SUBDIRS += libxc
SUBDIRS += misc
SUBDIRS += examples
SUBDIRS += xentrace
SUBDIRS += python
SUBDIRS += xfrd
SUBDIRS += xcs
SUBDIRS += pygrub
.PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
all: check
@set -e; for subdir in $(SUBDIRS); do \
$(MAKE) -C $$subdir $@; \
done
$(MAKE) ioemu
install: check
@set -e; for subdir in $(SUBDIRS); do \
$(MAKE) -C $$subdir $@; \
done
$(MAKE) ioemuinstall
clean: check_clean
@set -e; for subdir in $(SUBDIRS); do \
$(MAKE) -C $$subdir $@; \
done
$(MAKE) ioemuclean
check:
$(MAKE) -C check
check_clean:
$(MAKE) -C check clean
ifndef XEN_NO_IOEMU
ioemu ioemuinstall ioemuclean:
[ -f ioemu/config-host.h ] || \
(cd ioemu; ./configure --prefix=$(DESTDIR)/usr)
$(MAKE) -C ioemu $(patsubst ioemu%,%,$@)
else
ioemu ioemuinstall ioemuclean:
endif