X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fmdc%2FMakefile.am;h=1b5d2017a6f44bc24566ff043092985bee91e0a2;hp=c2d03218026d226dd0c838af84b368d4a514e1b0;hb=cbb67d3c246f567765dc8f3aff2de400be9c9fb7;hpb=9b0433943c8541d02343a01a37aa7a96acfc81d7 diff --git a/lustre/mdc/Makefile.am b/lustre/mdc/Makefile.am index c2d0321..1b5d201 100644 --- a/lustre/mdc/Makefile.am +++ b/lustre/mdc/Makefile.am @@ -3,23 +3,22 @@ # This code is issued under the GNU General Public License. # See the file COPYING in this distribution -DEFS:= +DEFS= MODULE = mdc modulefs_DATA = mdc.o EXTRA_PROGRAMS = mdc - -LINX=mds_pack.c mds_updates.c +LINX=mds_updates.c ll_pack.c lov_pack.c mdc_SOURCES = mdc_request.c mdc_reint.c $(LINX) +lov_pack.c: + test -e lov_pack.c || ln -sf $(top_srcdir)/lib/lov_pack.c . -mds_pack.c: - ln -s ../lib/mds_pack.c . -mds_updates.c: - ln -s ../lib/mds_updates.c . +ll_pack.c: + test -e ll_pack.c || ln -sf $(top_srcdir)/lib/ll_pack.c . -dist-hook: - list='$(LINX)'; for f in $$list; do rm -f $(distdir)/$$f; done +mds_updates.c: + test -e mds_updates.c || ln -sf $(top_srcdir)/lib/mds_updates.c . include $(top_srcdir)/Rules