1998-05-10 16:03:17 +00:00
|
|
|
# $Id: Makefile,v 1.6 1998/03/06 14:30:45 bde Exp $
|
1996-02-17 15:11:29 +00:00
|
|
|
|
|
|
|
PROG = rpc.lockd
|
1998-03-06 14:34:47 +00:00
|
|
|
SRCS = nlm_prot_svc.c nlm_prot.h 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
|
|
|
|
|
1997-05-23 08:43:27 +00:00
|
|
|
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x
|
1996-04-01 05:30:04 +00:00
|
|
|
RPCGEN= rpcgen -L -C
|
|
|
|
|
1998-05-10 16:03:17 +00:00
|
|
|
nlm_prot_svc.c: ${RPCSRC}
|
1996-04-01 05:30:04 +00:00
|
|
|
${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>
|