1 # Copyright (C) 2001 Cluster File Systems, Inc.
3 # This code is issued under the GNU General Public License.
4 # See the file COPYING in this distribution
6 AUTOMAKE_OPTIONS = foreign
15 SUBDIRS = lov obdclass ptlrpc obdecho ldlm osc liblustre utils
17 # NOTE: keep extN before obdclass, mds, and obdfilter. Keep obdclass as early
18 # as possible, to have the best chance at stopping with "wrong kernel version"
19 # instead of some related build failure.
20 SUBDIRS = $(DIRS24) obdclass mds utils ptlrpc ldlm lib obdfilter mdc osc ost
21 SUBDIRS+= llite obdecho lov cobd tests doc scripts conf
24 DIST_SUBDIRS = $(SUBDIRS)
25 EXTRA_DIST = BUGS FDL Rules include archdep.m4 kernel_patches
27 # We get the version from the spec file.
28 CONFIGURE_DEPENDENCIES = scripts/lustre.spec.in
31 find $(distdir) -name .deps | xargs rm -rf
32 find $(distdir) -name CVS | xargs rm -rf
34 include $(top_srcdir)/Rules
37 rpmbuild -ta $(distdir).tar.gz