X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2FMakefile.am;h=98be7cfd0dc1ee21d2d354dd54d18398e735197e;hb=f272e3663d1479adfe3b398a5d7d30de9bd754ab;hp=209387678fe3c16c691fa7c88bc7d525d1c7cf33;hpb=fe8f5908d0c4a11471be49bad34acc669f105a41;p=mono.git diff --git a/mono/Makefile.am b/mono/Makefile.am index 209387678fe..98be7cfd0dc 100644 --- a/mono/Makefile.am +++ b/mono/Makefile.am @@ -2,8 +2,32 @@ if CROSS_COMPILING SUBDIRS = utils io-layer cil metadata arch $(interpreter_dir) mini dis else if MOONLIGHT -SUBDIRS = utils io-layer metadata arch $(interpreter_dir) mini +SUBDIRS = utils io-layer metadata arch mini + +moon-do-build: + @list='$(SUBDIRS)'; for subdir in $$list; do \ + case "x$$subdir" in \ + xmetadata ) target="moon-do-build" ;; \ + xmini ) target="moon-do-build" ;; \ + * ) target="all" ;; \ + esac; \ + echo "Making $$target in $$subdir"; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \ + done; + +moon-do-clean: + @list='$(SUBDIRS)'; for subdir in $$list; do \ + case "x$$subdir" in \ + xmetadata ) target="moon-do-clean" ;; \ + xmini ) target="moon-do-clean" ;; \ + * ) target="clean" ;; \ + esac; \ + echo "Making $$target in $$subdir"; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \ + done; + else SUBDIRS = utils io-layer cil metadata arch $(interpreter_dir) mini dis monograph tests benchmark profiler endif endif +DIST_SUBDIRS = utils io-layer cil metadata arch interpreter mini dis monograph tests benchmark profiler