2000-08-07 20:23:31 +04:00
|
|
|
# $NetBSD: Makefile,v 1.12 2000/08/07 16:23:31 thorpej Exp $
|
1997-03-10 09:26:19 +03:00
|
|
|
|
|
|
|
PROG= rpc.lockd
|
2000-06-07 18:34:40 +04:00
|
|
|
SRCS= nlm_prot_svc.c lockd.c lock_proc.c lockd_lock.c
|
1997-03-10 09:26:19 +03:00
|
|
|
MAN= rpc.lockd.8
|
|
|
|
MLINKS= rpc.lockd.8 lockd.8
|
|
|
|
|
2000-08-07 20:23:31 +04:00
|
|
|
CPPFLAGS+= -I. -I${DESTDIR}/usr/include/rpcsvc
|
1997-03-10 09:26:19 +03:00
|
|
|
|
1999-06-06 06:52:16 +04:00
|
|
|
DPADD= ${LIBRPCSVC} ${LIBUTIL}
|
|
|
|
LDADD= -lrpcsvc -lutil
|
1997-03-10 09:26:19 +03:00
|
|
|
|
2000-08-07 20:16:23 +04:00
|
|
|
CLEANFILES= nlm_prot_svc.c test
|
1997-03-10 09:26:19 +03:00
|
|
|
|
2000-08-07 20:16:23 +04:00
|
|
|
nlm_prot_svc.c: ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x \
|
|
|
|
${DESTDIR}/usr/include/rpcsvc/nlm_prot.h
|
|
|
|
${RPCGEN} -C -L -m -o ${.TARGET} \
|
|
|
|
${DESTDIR}/usr/include/rpcsvc/nlm_prot.x
|
1997-03-10 09:26:19 +03:00
|
|
|
|
|
|
|
test: ${.CURDIR}/test.c
|
|
|
|
cc -o test ${.CURDIR}/test.c -lrpcsvc
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|