X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fmdc%2FMakefile.am;h=26c00532e8d3aaee488da437db1ad147f7d30bf6;hp=c2d03218026d226dd0c838af84b368d4a514e1b0;hb=400b0681017091fab9cef9bd00e0f536e1793dcc;hpb=9b0433943c8541d02343a01a37aa7a96acfc81d7 diff --git a/lustre/mdc/Makefile.am b/lustre/mdc/Makefile.am index c2d0321..26c0053 100644 --- a/lustre/mdc/Makefile.am +++ b/lustre/mdc/Makefile.am @@ -3,23 +3,23 @@ # 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_updates.c ll_pack.c lov_pack.c client.c +mdc_SOURCES = mdc_request.c mdc_reint.c lproc_mdc.c $(LINX) -LINX=mds_pack.c mds_updates.c -mdc_SOURCES = mdc_request.c mdc_reint.c $(LINX) - -mds_pack.c: - ln -s ../lib/mds_pack.c . +lov_pack.c: + test -e lov_pack.c || ln -sf $(top_srcdir)/lib/lov_pack.c . +ll_pack.c: + test -e ll_pack.c || ln -sf $(top_srcdir)/lib/ll_pack.c . mds_updates.c: - ln -s ../lib/mds_updates.c . - -dist-hook: - list='$(LINX)'; for f in $$list; do rm -f $(distdir)/$$f; done + test -e mds_updates.c || ln -sf $(top_srcdir)/lib/mds_updates.c . +client.c: + test -e client.c || ln -sf $(top_srcdir)/lib/client.c . include $(top_srcdir)/Rules