Whamcloud - gitweb
6e9281dbeb58a8812c4e37b583b3b4b17919e5ea
[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 and obdfilter
15 SUBDIRS = $(DIRS24) obdclass utils ptlrpc ldlm lib obdfilter mdc osc ost llite 
16 SUBDIRS+= obdecho lov tests doc scripts 
17
18 DIST_SUBDIRS = $(SUBDIRS)
19 EXTRA_DIST = BUGS FDL Rules include 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