Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Lproc-snmp code drop
[fs/lustre-release.git]
/
lustre
/
mds
/
Makefile.am
diff --git
a/lustre/mds/Makefile.am
b/lustre/mds/Makefile.am
index
1654b36
..
a5eefb4
100644
(file)
--- a/
lustre/mds/Makefile.am
+++ b/
lustre/mds/Makefile.am
@@
-3,29
+3,31
@@
# This code is issued under the GNU General Public License.
# See the file COPYING in this distribution
# This code is issued under the GNU General Public License.
# See the file COPYING in this distribution
-DEFS:=
+DEFS=
+
+if LINUX25
+FSMOD = mds_ext3
+else
+FSMOD = mds_extN
+endif
MODULE = mds
MODULE = mds
-modulefs_DATA = mds.o mds_extN.o # mds_ext2.o mds_ext3.o
-EXTRA_PROGRAMS = mds mds_extN # mds_ext2 mds_ext3
+modulefs_DATA = mds.o $(FSMOD).o
+EXTRA_PROGRAMS = mds $(FSMOD)
+
+LINX= mds_updates.c simple.c ll_pack.c lov_pack.c target.c
-LINX=mds_updates.c simple.c ll_pack.c l_net.c
ll_pack.c:
test -e ll_pack.c || ln -sf $(top_srcdir)/lib/ll_pack.c
ll_pack.c:
test -e ll_pack.c || ln -sf $(top_srcdir)/lib/ll_pack.c
-
mds_updates.c:
test -e mds_updates.c || ln -sf $(top_srcdir)/lib/mds_updates.c
mds_updates.c:
test -e mds_updates.c || ln -sf $(top_srcdir)/lib/mds_updates.c
-
simple.c:
test -e simple.c || ln -sf $(top_srcdir)/lib/simple.c
simple.c:
test -e simple.c || ln -sf $(top_srcdir)/lib/simple.c
+lov_pack.c:
+ test -e lov_pack.c || ln -sf $(top_srcdir)/lib/lov_pack.c
+target.c:
+ test -e target.c || ln -sf $(top_srcdir)/lib/target.c
-l_net.c:
- test -e l_net.c || ln -sf $(top_srcdir)/lib/l_net.c
-
-mds_SOURCES = handler.c mds_reint.c mds_fs.c $(LINX)
-
-dist-hook:
- list='$(LINX)'; for f in $$list; do rm -f $(distdir)/$$f; done
+mds_SOURCES = mds_lov.c handler.c mds_reint.c mds_fs.c lproc_mds.c $(LINX)
include $(top_srcdir)/Rules
include $(top_srcdir)/Rules
-