/
Makefile.am
32 lines (30 loc) · 1.01 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
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