Reimplemented much of the kqueue-based file watcher so that watching subdirectories...
[mono.git] / Makefile.am
index 3542279772d8bcccda8448954ae79ad030594e4d..da8953cdf2617c7cdd7ca2944b0c38e15a539af2 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,7 @@ 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'`
        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: