Whamcloud - gitweb
add snapfs building support in lustre
authorwangdi <wangdi>
Sun, 4 Jan 2004 07:48:23 +0000 (07:48 +0000)
committerwangdi <wangdi>
Sun, 4 Jan 2004 07:48:23 +0000 (07:48 +0000)
lustre/Makefile.am
lustre/configure.in

index 8315ca7..fc9ef85 100644 (file)
@@ -18,6 +18,10 @@ SUBDIRS = lvfs portals obdclass include $(DIRS24) mds utils obdfilter mdc osc os
 SUBDIRS+= llite obdecho lov cobd tests doc scripts conf ptlrpc
 endif
 
+if SNAPFS
+SUBDIRS+= snapfs
+endif
+
 DIST_SUBDIRS = $(SUBDIRS) liblustre
 EXTRA_DIST = BUGS FDL Rules kernel_patches
 
index f4f6b5c..cbaca48 100644 (file)
@@ -38,6 +38,11 @@ else
 fi
 AC_SUBST(SYSIO)
 
+# snap compilation 
+AC_ARG_ENABLE(snapfs, [ --enable-snapfs build snapfs])
+AM_CONDITIONAL(SNAPFS, test x$enable_snapfs = xyes)
+
+
 sinclude(portals/build.m4)
 sinclude(portals/archdep.m4)
 
@@ -60,5 +65,6 @@ AC_OUTPUT([Makefile lvfs/Makefile portals/Makefile portals/Kernelenv \
          lov/Makefile osc/Makefile mdc/Makefile mds/Makefile ost/Makefile \
          cobd/Makefile ptlbd/Makefile conf/Makefile  tests/Makefile \
          utils/Makefile utils/Lustre/Makefile obdfilter/Makefile \
-          obdclass/Makefile include/Makefile include/linux/Makefile llite/Makefile doc/Makefile scripts/Makefile \
+          obdclass/Makefile snapfs/Makefile snapfs/utils/Makefile \
+         include/Makefile include/linux/Makefile llite/Makefile doc/Makefile scripts/Makefile \
          scripts/lustre.spec])