[mono-error] mono_class_from_name and mono_class_from_name_case now can cleanly retur...
[mono.git] / mono / Makefile.am
index 98be7cfd0dc1ee21d2d354dd54d18398e735197e..ef41dfeef5c4c27a659ea515e327bfa2c09c9ebf 100644 (file)
@@ -1,33 +1,36 @@
+if SUPPORT_SGEN
+sgen_dirs = sgen
+endif
+
 if CROSS_COMPILING
-SUBDIRS = utils io-layer cil metadata arch $(interpreter_dir) mini dis
+SUBDIRS = arch utils io-layer cil metadata $(sgen_dirs) mini dis profiler
 else
-if MOONLIGHT
-SUBDIRS = utils io-layer metadata arch mini
+if INSTALL_MONOTOUCH
+SUBDIRS = utils io-layer metadata arch $(sgen_dirs) mini profiler
 
-moon-do-build:
+monotouch-do-build:
        @list='$(SUBDIRS)'; for subdir in $$list; do \
          case "x$$subdir" in \
-               xmetadata ) target="moon-do-build" ;; \
-               xmini ) target="moon-do-build" ;; \
+               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;
 
-moon-do-clean:
+monotouch-do-clean:
        @list='$(SUBDIRS)'; for subdir in $$list; do \
          case "x$$subdir" in \
-               xmetadata ) target="moon-do-clean" ;; \
-               xmini ) target="moon-do-clean" ;; \
+               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 = utils io-layer cil metadata arch $(interpreter_dir) mini dis monograph tests benchmark profiler
+SUBDIRS = arch utils io-layer cil metadata $(sgen_dirs) mini dis tests unit-tests benchmark profiler
 endif
 endif
-DIST_SUBDIRS = utils io-layer cil metadata arch interpreter mini dis monograph tests benchmark profiler
+DIST_SUBDIRS = arch utils io-layer cil metadata $(sgen_dirs) mini dis tests unit-tests benchmark profiler