Fix CounterGroup to use built-in types
[mono-project.git] / mono / Makefile.am
bloba843a25f6e1f6dbde35dde5a82242d35cfc9f523
1 include $(top_srcdir)/mk/common.mk
3 if SUPPORT_SGEN
4 sgen_dirs = sgen
5 endif
7 if BTLS
8 btls_dirs = btls
9 endif
11 if MONO_NATIVE
12 native_dirs = native
13 endif
15 if ENABLE_NETCORE
16 btls_dirs = 
17 endif
19 if ENABLE_NETCORE
20 SUBDIRS = eglib arch utils sgen metadata mini profiler
21 else
23 if CROSS_COMPILING
24 SUBDIRS = $(btls_dirs) eglib arch utils cil $(sgen_dirs) metadata mini dis profiler $(native_dirs)
25 else
26 if INSTALL_MONOTOUCH
27 SUBDIRS = $(btls_dirs) eglib arch utils $(sgen_dirs) metadata mini profiler $(native_dirs)
29 monotouch-do-build:
30         @list='$(SUBDIRS)'; for subdir in $$list; do \
31           case "x$$subdir" in \
32                 xmetadata ) target="monotouch-do-build" ;; \
33                 xmini ) target="monotouch-do-build" ;; \
34                 * ) target="all" ;; \
35           esac; \
36           echo "Making $$target in $$subdir"; \
37           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \
38     done;
40 monotouch-do-clean:
41         @list='$(SUBDIRS)'; for subdir in $$list; do \
42           case "x$$subdir" in \
43                 xmetadata ) target="monotouch-do-clean" ;; \
44                 xmini ) target="monotouch-do-clean" ;; \
45                 * ) target="clean" ;; \
46           esac; \
47           echo "Making $$target in $$subdir"; \
48           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \
49     done;
50 else
51 SUBDIRS = $(btls_dirs) eglib arch utils cil $(sgen_dirs) metadata mini dis tests unit-tests benchmark profiler $(native_dirs)
52 endif
53 endif
54 endif
56 DIST_SUBDIRS = btls native eglib arch utils cil $(sgen_dirs) metadata mini dis tests unit-tests benchmark profiler