From: wangdi Date: Sun, 4 Jan 2004 07:48:23 +0000 (+0000) Subject: add snapfs building support in lustre X-Git-Tag: 1.0.3~139 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=96dd7922d6cf71ff75aeaf1fd875498d398194ce;p=fs%2Flustre-release.git add snapfs building support in lustre --- diff --git a/lustre/Makefile.am b/lustre/Makefile.am index 8315ca7..fc9ef85 100644 --- a/lustre/Makefile.am +++ b/lustre/Makefile.am @@ -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 diff --git a/lustre/configure.in b/lustre/configure.in index f4f6b5c..cbaca48 100644 --- a/lustre/configure.in +++ b/lustre/configure.in @@ -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])