X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2FautoMakefile.am;h=84f3c26251999cf80a38203e9e36e6fe931e8d8e;hp=24f80d0e294de02ff813bed4a5a72cc4bc5b4533;hb=f6fb5ab37906ed82a64f4e9a664427f209e76d54;hpb=59dc41c31a551cf4aea24a99cfabad8fc35c5a74;ds=sidebyside diff --git a/lustre/autoMakefile.am b/lustre/autoMakefile.am index 24f80d0..84f3c26 100644 --- a/lustre/autoMakefile.am +++ b/lustre/autoMakefile.am @@ -5,9 +5,35 @@ AUTOMAKE_OPTIONS = foreign -SUBDIRS = include ldiskfs lvfs obdclass lov ldlm sec ptlrpc \ - obdecho osc mdc lmv mds obdfilter ost llite cobd ptlbd smfs snapfs \ - cmobd liblustre doc utils tests conf scripts autoconf +ALWAYS_SUBDIRS := include lvfs obdclass lov ldlm sec ptlrpc \ + obdecho osc lmv cobd ptlbd cmobd doc utils tests conf scripts \ + autoconf + +SERVER_SUBDIRS := ldiskfs smfs snapfs obdfilter ost mds + +CLIENT_SUBDIRS := mdc llite + +LIBLUSTRE_SUBDIRS := liblustre + +SUBDIRS := $(ALWAYS_SUBDIRS) + +if SERVER +SUBDIRS += $(SERVER_SUBDIRS) +endif + +if CLIENT +SUBDIRS += $(CLIENT_SUBDIRS) +endif + +if LIBLUSTRE +if !CLIENT +SUBDIRS += $(CLIENT_SUBDIRS) +endif +SUBDIRS += $(LIBLUSTRE_SUBDIRS) +endif + +DIST_SUBDIRS := $(ALWAYS_SUBDIRS) $(SERVER_SUBDIRS) $(CLIENT_SUBDIRS) \ + $(LIBLUSTRE_SUBDIRS) EXTRA_DIST = BUGS FDL Rules.in kernel_patches