NetBSD/usr.sbin/rpc.lockd/Makefile

24 lines
588 B
Makefile
Raw Normal View History

2000-08-07 20:23:31 +04:00
# $NetBSD: Makefile,v 1.12 2000/08/07 16:23:31 thorpej Exp $
PROG= rpc.lockd
SRCS= nlm_prot_svc.c lockd.c lock_proc.c lockd_lock.c
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
1999-06-06 06:52:16 +04:00
DPADD= ${LIBRPCSVC} ${LIBUTIL}
LDADD= -lrpcsvc -lutil
2000-08-07 20:16:23 +04:00
CLEANFILES= nlm_prot_svc.c test
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
test: ${.CURDIR}/test.c
cc -o test ${.CURDIR}/test.c -lrpcsvc
.include <bsd.prog.mk>