Whamcloud - gitweb
merge b_devel into HEAD. Includes:
[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 SUBDIRS = lov obdclass ptlrpc obdecho ldlm osc utils
17 else
18 # NOTE: keep extN before obdclass, mds, and obdfilter.  Keep obdclass as early
19 # as possible, to have the best chance at stopping with "wrong kernel version"
20 # instead of some related build failure.
21 SUBDIRS = $(DIRS24) obdclass mds utils ptlrpc ldlm lib obdfilter mdc osc ost
22 SUBDIRS+= llite obdecho lov cobd tests doc scripts conf
23 endif
24
25 DIST_SUBDIRS = $(SUBDIRS) liblustre
26 EXTRA_DIST = BUGS FDL Rules include archdep.m4 kernel_patches
27
28 # We get the version from the spec file.
29 CONFIGURE_DEPENDENCIES = scripts/lustre.spec.in
30
31 dist-hook:
32         find $(distdir) -name .deps | xargs rm -rf
33         find $(distdir) -name CVS | xargs rm -rf
34
35 include $(top_srcdir)/Rules
36
37 rpms: dist Makefile
38         rpmbuild -ta $(distdir).tar.gz