X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2FMakefile.am;h=98be7cfd0dc1ee21d2d354dd54d18398e735197e;hb=17085447d7469cbe929a10e3a2a4979d0aba7d42;hp=7f5bdb732cec1bacfd3c82e71c7dc70ea3644294;hpb=ca36a8e3e8d3598b8ff901ac1825494dce0b0fc4;p=mono.git diff --git a/mono/Makefile.am b/mono/Makefile.am index 7f5bdb732ce..98be7cfd0dc 100644 --- a/mono/Makefile.am +++ b/mono/Makefile.am @@ -1,9 +1,33 @@ -# Currently the jit needs some work before it will build on windows -if PLATFORM_WIN32 -SUBDIRS = utils io-layer monoburg metadata cil dis \ - arch monograph interpreter wrapper tests +if CROSS_COMPILING +SUBDIRS = utils io-layer cil metadata arch $(interpreter_dir) mini dis else -SUBDIRS = utils io-layer monoburg metadata cil dis \ - arch monograph interpreter jit wrapper tests -endif +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; +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