X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2FMakefile.am;h=df1a9c1c22e4d59de1b439105db13c9955aa2961;hb=4320e844e92386319c01095435e6ae0c67bfc09a;hp=07d0f0a0ef966291138fef160e94d8450ac27d50;hpb=c4a3b30460c7ea1a1fb3c97cfc8478555714af2f;p=mono.git diff --git a/mono/Makefile.am b/mono/Makefile.am index 07d0f0a0ef9..df1a9c1c22e 100644 --- a/mono/Makefile.am +++ b/mono/Makefile.am @@ -1,3 +1,32 @@ +if CROSS_COMPILING +SUBDIRS = arch utils io-layer cil metadata mini dis profiler +else +if INSTALL_MONOTOUCH +SUBDIRS = utils io-layer metadata arch mini profiler -SUBDIRS = utils io-layer monoburg os cil metadata \ - arch interpreter mini dis monograph tests benchmark profiler +monotouch-do-build: + @list='$(SUBDIRS)'; for subdir in $$list; do \ + case "x$$subdir" in \ + xmetadata ) target="monotouch-do-build" ;; \ + xmini ) target="monotouch-do-build" ;; \ + * ) target="all" ;; \ + esac; \ + echo "Making $$target in $$subdir"; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \ + done; + +monotouch-do-clean: + @list='$(SUBDIRS)'; for subdir in $$list; do \ + case "x$$subdir" in \ + xmetadata ) target="monotouch-do-clean" ;; \ + xmini ) target="monotouch-do-clean" ;; \ + * ) target="clean" ;; \ + esac; \ + echo "Making $$target in $$subdir"; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \ + done; +else +SUBDIRS = arch utils io-layer cil metadata mini dis monograph tests unit-tests benchmark profiler +endif +endif +DIST_SUBDIRS = arch utils io-layer cil metadata mini dis monograph tests unit-tests benchmark profiler