Whamcloud - gitweb
a0ccb072715f1dea8c8ff708b5c0d74e4a7b2664
[fs/lustre-release.git] / lustre / ptlrpc / Makefile.in
1 MODULES := ptlrpc
2 LDLM := @top_srcdir@/lustre/ldlm/
3
4 ldlm_objs := $(LDLM)l_lock.o $(LDLM)ldlm_lock.o 
5 ldlm_objs += $(LDLM)ldlm_resource.o $(LDLM)ldlm_lib.o
6 ldlm_objs += $(LDLM)ldlm_plain.o $(LDLM)ldlm_extent.o
7 ldlm_objs += $(LDLM)ldlm_request.o $(LDLM)ldlm_lockd.o
8 ldlm_objs += $(LDLM)ldlm_flock.o $(LDLM)ldlm_inodebits.o
9 ldlm_objs += $(LDLM)ldlm_pool.o
10 ldlm_objs += $(LDLM)interval_tree.o
11 ptlrpc_objs := client.o recover.o connection.o niobuf.o pack_generic.o
12 ptlrpc_objs += events.o ptlrpc_module.o service.o pinger.o recov_thread.o
13 ptlrpc_objs += llog_net.o llog_client.o llog_server.o import.o ptlrpcd.o
14 ptlrpc_objs += pers.o lproc_ptlrpc.o wiretest.o layout.o
15 ptlrpc_objs += sec.o sec_bulk.o sec_gc.o sec_config.o sec_lproc.o
16 ptlrpc_objs += sec_null.o sec_plain.o target.o
17
18 ptlrpc-objs := $(ldlm_objs) $(ptlrpc_objs)
19
20 @GSS_TRUE@subdir-m += gss
21
22 default: all
23
24 ldlm_%.c: @LUSTRE@/ldlm/ldlm_%.c
25         ln -sf $< $@
26
27 l_lock.c: @LUSTRE@/ldlm/l_lock.c
28         ln -sf $< $@
29
30 interval_tree.c: @LUSTRE@/ldlm/interval_tree.c
31         ln -sf $< $@
32
33 EXTRA_DIST = $(ptlrpc_objs:.o=.c) ptlrpc_internal.h
34 EXTRA_PRE_CFLAGS := -I@LUSTRE@/ldlm
35
36 @INCLUDE_RULES@