# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
# Use is subject to license terms.
#
-# Copyright (c) 2011, 2012, Intel Corporation.
+# Copyright (c) 2011, 2014, Intel Corporation.
#
#
mgc fid fld doc utils tests scripts autoconf contrib conf
SERVER_SUBDIRS = ost mgs mdt mdd ofd osd-zfs osd-ldiskfs \
- quota osp lod target lfsck nodemap
+ quota osp lod target lfsck
-CLIENT_SUBDIRS = mdc lmv llite lclient lov osc
-
-LIBLUSTRE_SUBDIRS = liblustre
+CLIENT_SUBDIRS = mdc lmv llite lov osc
SUBDIRS := $(ALWAYS_SUBDIRS)
SUBDIRS += $(CLIENT_SUBDIRS)
endif
-# this needs to be after the client subdirs
-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 kernel_patches BUILDING
-
-sources: $(LDISKFS) lustre_build_version
-
-all-recursive: lustre_build_version
-
-BUILD_VER_H=$(top_builddir)/lustre/include/lustre/lustre_build_version.h
+DIST_SUBDIRS := $(ALWAYS_SUBDIRS) $(SERVER_SUBDIRS) $(CLIENT_SUBDIRS)
-lustre_build_version:
- perl $(top_builddir)/lustre/scripts/version_tag.pl $(top_srcdir) $(top_builddir) > tmpver
- echo "#define LUSTRE_RELEASE @RELEASE@" >> tmpver
- cmp -s $(BUILD_VER_H) tmpver > tmpdiff 2> /dev/null && \
- $(RM) tmpver tmpdiff || \
- mv -f tmpver $(BUILD_VER_H)
+EXTRA_DIST = BUGS kernel_patches BUILDING