diff --git a/Makefile.am b/Makefile.am
index c5388a5a7258b97112b995dd76feb20c9d45b488..108f060b636c0d44b67d23d551e5350a6619d396 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,3 +12,5 @@ pkgconfig_DATA = dune.pc
 # use configured compiler for "make distcheck"
 # doxygen is difficult to convince to build in a special directory...
 DISTCHECK_CONFIGURE_FLAGS = CXX="$(CXX)" CC="$(CC)" DOXYGEN="true"
+
+include $(top_srcdir)/am/sourcescheck
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 0653918127a8db866c2b71d1ca78a88b7fe0a65f..f4e6aba318264d823c11230a55aa26303c3fed9e 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -16,3 +16,5 @@ CURDIR=doc
 include $(top_srcdir)/am/webstuff
 
 CLEANFILES = $(PAGES)
+
+include $(top_srcdir)/am/sourcescheck
diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am
index 656e5fede60b9404a7b1895a3fef1ebf0b844840..b624f2721ad3978acc01c453c52852cfc59c4281 100644
--- a/doc/doxygen/Makefile.am
+++ b/doc/doxygen/Makefile.am
@@ -29,3 +29,5 @@ include $(top_srcdir)/am/webstuff
 
 clean-local:
 	rm -rf html latex doxygen-tag *~
+
+include $(top_srcdir)/am/sourcescheck
diff --git a/doc/istl/Makefile.am b/doc/istl/Makefile.am
index 67fd066cb2eccfedfc82e558d35fdf690b2dbb13..b9f5e4ad3391850452d29a36dfca56b52059c164 100644
--- a/doc/istl/Makefile.am
+++ b/doc/istl/Makefile.am
@@ -27,3 +27,5 @@ dist_pkgdata_DATA = istl.pdf istl.ps
 	$(DVIPS) $*
 
 CLEANFILES = *.aux *.bbl *.blg *.log *.out *.toc *.dvi *.pdf *.ps
+
+include $(top_srcdir)/am/sourcescheck
diff --git a/doc/istl/comm/Makefile.am b/doc/istl/comm/Makefile.am
index a7a4bc87ca52ed5808b40444829e834775b5af8d..ab315ed7623a64cbf5e6ca51263b1e242612f799 100644
--- a/doc/istl/comm/Makefile.am
+++ b/doc/istl/comm/Makefile.am
@@ -41,3 +41,5 @@ communication.dvi : communication.tex buildindexset.hh reverse.hh
 
 
 CLEANFILES = *.aux *.bbl *.blg *.log *.out *.toc *.dvi *.pdf *.ps
+
+include $(top_srcdir)/am/sourcescheck
diff --git a/doc/layout/Makefile.am b/doc/layout/Makefile.am
index 222a7d545b249cd835f9dc6b7bb3bfa5678b3388..55dac8fb9a38cb1ae1fab45f48e64acf8872d937 100644
--- a/doc/layout/Makefile.am
+++ b/doc/layout/Makefile.am
@@ -4,3 +4,5 @@ EXTRA_DIST = default.wml
 
 # nothing to install
 web-install:
+
+include $(top_srcdir)/am/sourcescheck
diff --git a/istl/Makefile.am b/istl/Makefile.am
index 0c8496993a6553528f4cf59167c327a9cfa6e118..abb94429363b6780c26ccec00288df1366892eba 100644
--- a/istl/Makefile.am
+++ b/istl/Makefile.am
@@ -48,3 +48,5 @@ istl-dist:
 CLEANFILES = istl.tar.gz
 
 .PHONY: istl-dist
+
+include $(top_srcdir)/am/sourcescheck
diff --git a/istl/paamg/Makefile.am b/istl/paamg/Makefile.am
index 8ef97dd07189c7312cd543cc1fc9b9f73f140f50..4d7d20799f7d0e30167278d599bed4069596ce73 100644
--- a/istl/paamg/Makefile.am
+++ b/istl/paamg/Makefile.am
@@ -5,3 +5,4 @@ SOURCES = aggregates.hh dependency.hh galerkin.hh graph.hh indicescoarsener.hh
 paamgdir = $(includedir)/dune/istl/paamg
 paamg_HEADERS = $(SOURCES)
 
+include $(top_srcdir)/am/sourcescheck
diff --git a/istl/paamg/test/Makefile.am b/istl/paamg/test/Makefile.am
index 1202d90f5d9c1744626009fc2378f3e47f601d68..41f04f7da6ecdcc8745bf2de86f0989169286d37 100644
--- a/istl/paamg/test/Makefile.am
+++ b/istl/paamg/test/Makefile.am
@@ -21,3 +21,5 @@ galerkintest_SOURCES = galerkintest.cc
 
 galerkintest_CXXFLAGS = $(MPI_CPPFLAGS)
 galerkintest_LDFLAGS = $(MPI_LDFLAGS) $(MPI_LIBS)
+
+include $(top_srcdir)/am/sourcescheck
diff --git a/istl/test/Makefile.am b/istl/test/Makefile.am
index 64de3aedcd6ba21ea3d29fb5755435128b4cf0e6..37f99df464c9119d93943f8e2e3e188a1880a49f 100644
--- a/istl/test/Makefile.am
+++ b/istl/test/Makefile.am
@@ -33,3 +33,5 @@ syncertest_SOURCES = syncertest.cc
 
 syncertest_CXXFLAGS = $(MPI_CPPFLAGS)
 syncertest_LDFLAGS = $(MPI_LDFLAGS) $(MPI_LIBS)
+
+include $(top_srcdir)/am/sourcescheck
diff --git a/istl/tutorial/Makefile.am b/istl/tutorial/Makefile.am
index f93d010daa92f9660854839ce52a9b7f4fc2d5c1..59795b8758e28a46d7b589a7b3ba50b2ffa65e49 100644
--- a/istl/tutorial/Makefile.am
+++ b/istl/tutorial/Makefile.am
@@ -1,3 +1,5 @@
 # $Id$
 
 dist_noinst_DATA = example.cc
+
+include $(top_srcdir)/am/sourcescheck