Merge pull request #896 from echampet/webresource
[mono.git] / mono / Makefile.am
1 if SUPPORT_SGEN
2 sgen_dirs = sgen
3 endif
4
5 if CROSS_COMPILING
6 SUBDIRS = arch utils io-layer cil metadata $(sgen_dirs) mini dis profiler
7 else
8 if INSTALL_MONOTOUCH
9 SUBDIRS = arch utils io-layer metadata $(sgen_dirs) mini profiler
10
11 monotouch-do-build:
12         @list='$(SUBDIRS)'; for subdir in $$list; do \
13           case "x$$subdir" in \
14                 xmetadata ) target="monotouch-do-build" ;; \
15                 xmini ) target="monotouch-do-build" ;; \
16                 * ) target="all" ;; \
17           esac; \
18           echo "Making $$target in $$subdir"; \
19           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \
20     done;
21
22 monotouch-do-clean:
23         @list='$(SUBDIRS)'; for subdir in $$list; do \
24           case "x$$subdir" in \
25                 xmetadata ) target="monotouch-do-clean" ;; \
26                 xmini ) target="monotouch-do-clean" ;; \
27                 * ) target="clean" ;; \
28           esac; \
29           echo "Making $$target in $$subdir"; \
30           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \
31     done;
32 else
33 SUBDIRS = arch utils io-layer cil metadata $(sgen_dirs) mini dis tests unit-tests benchmark profiler
34 endif
35 endif
36 DIST_SUBDIRS = arch utils io-layer cil metadata $(sgen_dirs) mini dis tests unit-tests benchmark profiler