X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fmds%2FMakefile.am;h=a5eefb4d483e73d3746ec3a44559230dd343ccbd;hp=1654b360c840137678c68fdd2b876ae4ba2f4937;hb=400b0681017091fab9cef9bd00e0f536e1793dcc;hpb=fbb9f732046ace1a614c126988542fb094f2d711 diff --git a/lustre/mds/Makefile.am b/lustre/mds/Makefile.am index 1654b36..a5eefb4 100644 --- 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 -DEFS:= +DEFS= + +if LINUX25 +FSMOD = mds_ext3 +else +FSMOD = mds_extN +endif 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 - 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 +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 -