BUILDDIR=$(shell pwd) TOP=../.. PLATFORM=solaris UNAME=$(shell uname -a) ifneq (,$(findstring SunOS,$(UNAME))) export PLATFORM=solaris endif SUBDIRS = \ $(TOP)/tools/preverifier/build/solaris \ $(TOP)/api \ ifeq ($(DEBUG), true) SUBDIRS += $(TOP)/tools/kdp endif ifneq ($(ROMIZING), false) SUBDIRS += $(TOP)/tools/jcc endif SUBDIRS += $(TOP)/kvm/VmUnix/build all clean : FORCE @for i in $(SUBDIRS) ; do \ echo ">>>Recursively making "$$i" "$@"..."; \ cd $$i; $(MAKE) $@ \ || exit 1; cd $(BUILDDIR); \ echo "<<