X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=Makefile.am;h=aaffb9842ba9dbe36090cead00afe0d1ebe1232d;hb=722f24df519f5abc7287354cb4c1d322d11df2af;hp=5e0c053956af6345845d94b8226db224b767014d;hpb=2f6e404ed1a274e942ba0325b55ce610c25a23f2;p=mono.git
diff --git a/Makefile.am b/Makefile.am
index 5e0c053956a..aaffb9842ba 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,14 @@ AM_CFLAGS = $(WERROR_CFLAGS)
MONOTOUCH_SUBDIRS = $(libgc_dir) eglib/src mono
-SUBDIRS = po $(libgc_dir) eglib mono $(ikvm_native_dir) support data runtime scripts man samples tools msvc $(docs_dir) acceptance-tests llvm
+# Some tools might not build when cross-compiling
+if CROSS_COMPILING
+tools_dir =
+else
+tools_dir = tools
+endif
+
+SUBDIRS = po $(libgc_dir) eglib mono $(ikvm_native_dir) support data runtime scripts man samples $(tools_dir) msvc $(docs_dir) acceptance-tests llvm
# Keep in sync with SUBDIRS
DIST_SUBDIRS = m4 po $(libgc_dir) eglib mono ikvm-native support data runtime scripts man samples tools msvc docs acceptance-tests llvm
@@ -60,6 +67,14 @@ get-monolite-latest:
cd $(mcslib) && { (wget -O- $(monolite_url) || curl $(monolite_url)) | gzip -d | tar xf - ; }
cd $(mcslib) && mv -f monolite-* monolite
+if BITCODE
+BITCODE_CHECK=yes
+endif
+
+.PHONY: check-ci
+check-ci:
+ MONO_LLVMONLY=$(BITCODE_CHECK) $(srcdir)/scripts/ci/run-test-$(TEST_PROFILE).sh
+
.PHONY: validate do-build-mono-mcs mcs-do-clean mcs-do-tests
validate: do-build-mono-mcs
$(MAKE) mcs-do-tests
@@ -145,6 +160,7 @@ package-inputs:
read libou; echo " $$libou"; \
read fx_ver; echo " $$fx_ver"; \
read profile; echo " $$profile"; \
+ read resxt; echo " $$resxt"; \
read resp; echo " $$resp"; \
echo " ") >> msvc/scripts/order.xml; \
done