Whamcloud - gitweb
landing b_cmobd_merge on HEAD
[fs/lustre-release.git] / lustre / cobd / autoMakefile.am
similarity index 50%
rename from lustre/cobd/Makefile.am
rename to lustre/cobd/autoMakefile.am
index 781c6ce..ab8b4db 100644 (file)
@@ -3,13 +3,9 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
-DEFS=
+if MODULES
+modulefs_DATA := cobd$(KMODEXT)
+endif
 
-MODULE = cobd
-modulefs_DATA = cobd.o
-EXTRA_PROGRAMS = cobd
-LINX=
-
-cobd_SOURCES = cache_obd.c lproc_cache.c $(LINX)
-
-include $(top_srcdir)/Rules
+DIST_SOURCES = $(cobd-objs:.o=.c)
+MOSTLYCLEANFILES = *.o *.ko *.mod.c