X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fptlrpc%2FMakefile.in;h=86da7be319266a43c6ccd688172247cc4a3eefa8;hb=f5ecf580adc319fd9abe41bd79389b50015d5c13;hp=aee4786fc54bf6cb8780e620357095795697df8f;hpb=b26f39067bd87ad8a9840e03acbf75f3a47f6352;p=fs%2Flustre-release.git diff --git a/lustre/ptlrpc/Makefile.in b/lustre/ptlrpc/Makefile.in index aee4786..86da7be 100644 --- a/lustre/ptlrpc/Makefile.in +++ b/lustre/ptlrpc/Makefile.in @@ -1,7 +1,8 @@ MODULES := ptlrpc LDLM := @top_srcdir@/lustre/ldlm/ +TARGET := @top_srcdir@/lustre/target/ -ldlm_objs := $(LDLM)l_lock.o $(LDLM)ldlm_lock.o +ldlm_objs := $(LDLM)l_lock.o $(LDLM)ldlm_lock.o ldlm_objs += $(LDLM)ldlm_resource.o $(LDLM)ldlm_lib.o ldlm_objs += $(LDLM)ldlm_plain.o $(LDLM)ldlm_extent.o ldlm_objs += $(LDLM)ldlm_request.o $(LDLM)ldlm_lockd.o @@ -15,7 +16,10 @@ ptlrpc_objs += pers.o lproc_ptlrpc.o wiretest.o layout.o ptlrpc_objs += sec.o sec_bulk.o sec_gc.o sec_config.o sec_lproc.o ptlrpc_objs += sec_null.o sec_plain.o +target_objs := $(TARGET)tgt_main.o $(TARGET)tgt_lastrcvd.o + ptlrpc-objs := $(ldlm_objs) $(ptlrpc_objs) +@SERVER_TRUE@ptlrpc-objs += $(target_objs) @GSS_TRUE@subdir-m += gss @@ -30,6 +34,12 @@ l_lock.c: @LUSTRE@/ldlm/l_lock.c interval_tree.c: @LUSTRE@/ldlm/interval_tree.c ln -sf $< $@ -EXTRA_PRE_CFLAGS := -I@LUSTRE@/ldlm +tgt_%.c: @LUSTRE@/target/tgt_%.c + ln -sf $< $@ + +EXTRA_DIST := $(ptlrpc_objs:.o=.c) ptlrpc_internal.h +@SERVER_TRUE@EXTRA_DIST += $(TARGET)tgt_internal.h + +EXTRA_PRE_CFLAGS := -I@LUSTRE@/ldlm -I@LUSTRE@/target @INCLUDE_RULES@