Whamcloud - gitweb
b=3031
[fs/lustre-release.git] / lustre / smfs / autoMakefile.am
index 9d56fd3..32d9c9a 100644 (file)
@@ -3,7 +3,11 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
+if MODULES
+if SMFS
 modulefs_DATA = smfs$(KMODEXT)
+endif
+endif
 
-MOSTLYCLEANFILES = *.o *.ko *.mod.c
-DIST_SOURCES = $(smfs-objs:%.o=%.c) kml_idl.h smfs_internal.h smfs_support.h
+MOSTLYCLEANFILES := @MOSTLYCLEANFILES@ 
+DIST_SOURCES = $(smfs-objs:%.o=%.c) smfs_internal.h smfs_api.h