Deleted Added
sdiff udiff text old ( 22997 ) new ( 26053 )
full compact
1# $Id$
2
3PROG = rpc.lockd
4SRCS = nlm_prot_svc.c lockd.c procs.c
5MAN8 = rpc.lockd.8
6
7DPADD= ${LIBRPCSVC}
8LDADD= -lrpcsvc
9
10CFLAGS+= -I.
11
12CLEANFILES= nlm_prot_svc.c nlm_prot.h
13
14RPCSRC= ${.DESTDIR}/usr/include/rpcsvc/nlm_prot.x
15RPCGEN= rpcgen -L -C
16
17nlm_prot_svc.c: ${RPCSRC} nlm_prot.h
18 ${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
19
20nlm_prot.h: ${RPCSRC}
21 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
22
23test: test.c
24 cc -o test test.c -lrpcsvc
25
26.include <bsd.prog.mk>