Whamcloud - gitweb
b=5584; only install module if it is built
[fs/lustre-release.git] / lustre / smfs / autoMakefile.am
index 952cfa7..b3a10d6 100644 (file)
@@ -3,9 +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) smfs_internal.h