1999-06-06 06:52:16 +04:00
|
|
|
# $NetBSD: Makefile,v 1.7 1999/06/06 03:13:13 thorpej Exp $
|
1997-03-10 09:26:19 +03:00
|
|
|
|
|
|
|
PROG= rpc.lockd
|
|
|
|
SRCS= nlm_prot_svc.c lockd.c lock_proc.c
|
|
|
|
MAN= rpc.lockd.8
|
|
|
|
MLINKS= rpc.lockd.8 lockd.8
|
|
|
|
|
1997-10-25 10:57:53 +04:00
|
|
|
CPPFLAGS+= -I.
|
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
|
|
|
|
|
|
|
CLEANFILES= nlm_prot_svc.c nlm_prot.x nlm_prot.h test
|
|
|
|
|
1997-06-01 01:21:13 +04:00
|
|
|
nlm_prot_svc.c: ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x
|
1997-03-10 09:26:19 +03:00
|
|
|
rm -f nlm_prot.x
|
1997-06-01 01:21:13 +04:00
|
|
|
ln -s ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x .
|
1997-03-10 09:26:19 +03:00
|
|
|
rm -f nlm_prot.h
|
1997-06-01 01:21:13 +04:00
|
|
|
ln -s ${DESTDIR}/usr/include/rpcsvc/nlm_prot.h .
|
1997-10-18 08:01:10 +04:00
|
|
|
rpcgen -C -L -m -o ${.TARGET} 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>
|