1997-02-22 16:15:28 +00:00
|
|
|
# $Id$
|
1996-02-17 15:11:29 +00:00
|
|
|
|
|
|
|
PROG = rpc.lockd
|
1996-04-01 05:30:04 +00:00
|
|
|
SRCS = nlm_prot_svc.c lockd.c procs.c
|
1996-02-17 15:11:29 +00:00
|
|
|
MAN8 = rpc.lockd.8
|
|
|
|
|
|
|
|
DPADD= ${LIBRPCSVC}
|
|
|
|
LDADD= -lrpcsvc
|
|
|
|
|
1996-04-01 05:30:04 +00:00
|
|
|
CFLAGS+= -I.
|
|
|
|
|
|
|
|
CLEANFILES= nlm_prot_svc.c nlm_prot.h
|
|
|
|
|
|
|
|
RPCSRC= ${.DESTDIR}/usr/include/rpcsvc/nlm_prot.x
|
|
|
|
RPCGEN= rpcgen -L -C
|
|
|
|
|
|
|
|
nlm_prot_svc.c: ${RPCSRC} nlm_prot.h
|
|
|
|
${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
|
|
|
|
|
|
|
|
nlm_prot.h: ${RPCSRC}
|
|
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
|
1996-02-17 15:11:29 +00:00
|
|
|
|
|
|
|
test: test.c
|
|
|
|
cc -o test test.c -lrpcsvc
|
|
|
|
|
1996-04-01 05:30:04 +00:00
|
|
|
.include <bsd.prog.mk>
|