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