# This code is issued under the GNU General Public License.
# See the file COPYING in this distribution
+if MODULES
modulefs_DATA = ost$(KMODEXT)
+endif
-MOSTLYCLEANFILES = *.o *.ko *.mod.c
-DIST_SOURCES = $(ost-objs:%.o=%.c)
+MOSTLYCLEANFILES := @MOSTLYCLEANFILES@
+DIST_SOURCES = $(ost-objs:%.o=%.c) ost_internal.h