Whamcloud - gitweb
11194b3d40d6dded37c5de896c47af749eb5a962
[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 = mds
10 else
11 DIRS24 = extN mds
12 endif
13
14 # NOTE: keep extN before mds
15 SUBDIRS = lov utils obdclass ldlm ptlrpc lib obdecho mdc osc ost llite 
16 SUBDIRS+=   $(DIRS24) obdfilter tests doc scripts 
17
18 DIST_SUBDIRS = $(SUBDIRS)
19 EXTRA_DIST = BUGS FDL Rules include patches archdep.m4
20
21 # We get the version from the spec file.
22 CONFIGURE_DEPENDENCIES = scripts/lustre.spec.in
23
24 dist-hook:
25         find $(distdir) -name .deps | xargs rm -rf
26         find $(distdir) -name CVS | xargs rm -rf
27
28 include $(top_srcdir)/Rules
29
30 rpms: dist Makefile
31         rpm -ta $(distdir).tar.gz
32
33