Whamcloud - gitweb
Make the MDS filesystem interface code be a separate module. This allows
[fs/lustre-release.git] / lustre / mds / 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 DEFS:= 
7
8 MODULE = mds
9 modulefs_DATA = mds.o mds_ext2.o mds_ext3.o mds_extN.o
10 EXTRA_PROGRAMS = mds mds_ext2 mds_ext3 mds_extN
11
12 LINX=mds_updates.c simple.c
13 mds_updates.c: 
14         test -e mds_updates.c || ln -sf $(top_srcdir)/lib/mds_updates.c
15
16 simple.c: 
17         test -e simple.c || ln -sf $(top_srcdir)/lib/simple.c
18
19 mds_SOURCES = handler.c mds_reint.c mds_fs.c $(LINX)
20
21 dist-hook:
22         list='$(LINX)'; for f in $$list; do rm -f $(distdir)/$$f; done
23
24 include $(top_srcdir)/Rules
25