]> git.decadent.org.uk Git - nfs-utils.git/blob - tools/nlmtest/Makefile
6f29afb3d11b731559a7c2a555b7e09c871050fe
[nfs-utils.git] / tools / nlmtest / Makefile
1 #
2 # nlmtest       Exercise some NLM calls to test the lockd server.
3 #
4
5 TOOL    = nlmtest
6 SRCS    = $(RPCSRCS) nlmtest.c
7 OBJS    = $(SRCS:.c=.o)
8
9 RPCSRCS = nlm_prot_clnt.c nlm_prot_xdr.c
10 RPCHDRS = nlm_prot.h
11
12 #LIBS   = -lnfs
13
14 include $(TOP)rules.mk
15
16 install::
17         @:
18
19 $(RPCHDRS) $(RPCSRCS): nlm_prot.x
20         $(RM) $(RPCHDRS) $(RPCSRCS)
21         $(RPCGEN) -h -o nlm_prot.h $<
22         $(RPCGEN) -l -o nlm_prot_clnt.c $<
23         $(RPCGEN) -c -o nlm_prot_xdr.c $<
24
25 clean distclean::
26         $(RM) $(RPCHDRS) $(RPCSRCS)