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 = portals lov obdclass ptlrpc obdecho ldlm osc utils mdc #liblustre
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 = portals $(DIRS24) obdclass mds utils ldlm obdfilter mdc osc ost
21 SUBDIRS+= llite obdecho lov cobd tests doc scripts conf ptlrpc
24 DIST_SUBDIRS = $(SUBDIRS) liblustre
25 EXTRA_DIST = BUGS FDL Rules include 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