X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2FMakefile.am;h=98be7cfd0dc1ee21d2d354dd54d18398e735197e;hb=89d372ff9faeeb14c1dae0feba689854190e7bac;hp=d2cb5f571d7e6c1997e237794d3e99bff7220516;hpb=6cfd2055426c190ca2f6a9f8ca3af2da6f6a79d0;p=mono.git diff --git a/mono/Makefile.am b/mono/Makefile.am index d2cb5f571d7..98be7cfd0dc 100644 --- a/mono/Makefile.am +++ b/mono/Makefile.am @@ -1,7 +1,33 @@ -# the handles dir doesn't apply to windows -if ! PLATFORM_WIN32 -HANDLES = handles -endif +if CROSS_COMPILING +SUBDIRS = utils io-layer cil metadata arch $(interpreter_dir) mini dis +else +if MOONLIGHT +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; -SUBDIRS = utils io-layer monoburg os cil metadata \ - arch interpreter mini dis monograph tests benchmark $(HANDLES) profiler +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