Xamarin Public Jenkins (auto-signing) 95fdb59ea6 Imported Upstream version 6.6.0.89
Former-commit-id: b39a328747c2f3414dc52e009fb6f0aa80ca2492
2019-09-24 08:53:40 +00:00

57 lines
1.4 KiB
Makefile

include $(top_srcdir)/mk/common.mk
if SUPPORT_SGEN
sgen_dirs = sgen
endif
if BTLS
btls_dirs = btls
endif
if MONO_NATIVE
native_dirs = native
endif
if ENABLE_NETCORE
btls_dirs =
endif
if ENABLE_NETCORE
SUBDIRS = eglib arch utils sgen metadata mini profiler
else
if CROSS_COMPILING
SUBDIRS = $(btls_dirs) eglib arch utils cil $(sgen_dirs) metadata mini dis profiler $(native_dirs)
else
if INSTALL_MONOTOUCH
SUBDIRS = $(btls_dirs) eglib arch utils $(sgen_dirs) metadata mini profiler $(native_dirs)
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 = $(btls_dirs) eglib arch utils cil $(sgen_dirs) metadata mini dis tests unit-tests benchmark profiler $(native_dirs)
endif
endif
endif
DIST_SUBDIRS = btls native eglib arch utils cil $(sgen_dirs) metadata mini dis tests unit-tests benchmark profiler