Xamarin Public Jenkins (auto-signing) 0510252385 Imported Upstream version 5.20.0.180
Former-commit-id: ff953ca879339fe1e1211f7220f563e1342e66cb
2019-02-04 20:11:37 +00:00

47 lines
1.3 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 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
DIST_SUBDIRS = btls native eglib arch utils cil $(sgen_dirs) metadata mini dis tests unit-tests benchmark profiler