Whamcloud - gitweb
land 0.5.20.3 b_devel onto HEAD (b_devel will remain)
[fs/lustre-release.git] / lustre / Makefile.am
1 # Copyright (C) 2001  Cluster File Systems, Inc.
2 #
3 # This code is issued under the GNU General Public License.
4 # See the file COPYING in this distribution
5
6 AUTOMAKE_OPTIONS = foreign
7
8 if LINUX25
9 DIRS24 = 
10 else
11 DIRS24 = extN ptlbd
12 endif
13
14 if LIBLUSTRE
15 SUBDIRS = lov obdclass ptlrpc obdecho ldlm osc liblustre utils
16 else
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
22 endif
23
24 DIST_SUBDIRS = $(SUBDIRS)
25 EXTRA_DIST = BUGS FDL Rules include archdep.m4 kernel_patches
26
27 # We get the version from the spec file.
28 CONFIGURE_DEPENDENCIES = scripts/lustre.spec.in
29
30 dist-hook:
31         find $(distdir) -name .deps | xargs rm -rf
32         find $(distdir) -name CVS | xargs rm -rf
33
34 include $(top_srcdir)/Rules
35
36 rpms: dist Makefile
37         rpmbuild -ta $(distdir).tar.gz