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