[System.IO] Reimplemented much of the kqueue-based file watcher so that watching...
[mono.git] / Makefile.am
index 3542279772d8bcccda8448954ae79ad030594e4d..c44c4b93c09690f1949a64b77994b52215b39cb4 100644 (file)
@@ -1,5 +1,7 @@
 ACLOCAL_AMFLAGS = -I m4
 
+AM_CFLAGS = $(WERROR_CFLAGS)
+
 MONOTOUCH_SUBDIRS = $(libgc_dir) eglib/src mono
 
 if CROSS_COMPILING
@@ -48,7 +50,9 @@ GIT_DIR ?= $(srcdir)/.git
 dist-hook:
        test -d $(distdir)/mcs || mkdir $(distdir)/mcs
        d=`cd $(distdir)/mcs && pwd`; cd $(mcs_topdir) && $(MAKE) distdir=$$d dist-recursive
-       rm -rf `find $(top_distdir)/external -path '*\.git' -and -type d`
+       rm -rf `find $(top_distdir)/external -path '*\.git'`
+       rm -f `find $(top_distdir)/external -path '*\.exe'`
+       rm -f `find $(top_distdir)/external -path '*\.dll'`
        cp mcs/class/lib/basic/System.Configuration.dll mcs/class/lib/monolite/
        cp mcs/class/lib/basic/System.Security.dll mcs/class/lib/monolite/
 # Disable this for now because it is very slow and causes wrench to timeout: