Whamcloud - gitweb
Make llite_lloop.ko build conditional
[fs/lustre-release.git] / lustre / llite / autoMakefile.am
index 2473676..4f68d57 100644 (file)
@@ -25,7 +25,7 @@
 #
 
 #
-# Copyright  2008 Sun Microsystems, Inc. All rights reserved
+# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
 # Use is subject to license terms.
 #
 
 #
 
 if MODULES
-modulefs_DATA = lustre$(KMODEXT) llite_lloop$(KMODEXT)
+if LLITE_LLOOP
+  LLOOP_MOD = llite_lloop$(KMODEXT)
+else
+  LLOOP_MOD =
+endif
+modulefs_DATA = lustre$(KMODEXT) $(LLOOP_MOD)
 endif
 
-DIST_SOURCES := $(lustre-objs:.o=.c) llite_internal.h rw26.c super25.c 
-DIST_SOURCES += $(llite_lloop-objs:.o=.c)
 MOSTLYCLEANFILES := @MOSTLYCLEANFILES@