dma(8): Use FALLTHROUGH consistently.
[dragonfly.git] / usr.sbin / rpc.lockd / Makefile
blobe6edd13bb0dbaba4f05b33f64d801204ec903a5e
1 # $NetBSD: Makefile,v 1.12 2000/08/07 16:23:31 thorpej Exp $
2 # $FreeBSD: src/usr.sbin/rpc.lockd/Makefile,v 1.19 2003/10/26 06:10:44 peter Exp $
4 PROG= rpc.lockd
5 MAN= rpc.lockd.8
6 MLINKS= rpc.lockd.8 lockd.8
7 SRCS= nlm_prot_svc.c lockd.c lock_proc.c lockd_lock.c
9 CFLAGS+=-I${DESTDIR}/usr/include/rpcsvc
10 WARNS?= 3
12 DPADD= ${LIBRPCSVC} ${LIBUTIL}
13 LDADD= -lrpcsvc -lutil
15 CLEANFILES= nlm_prot_svc.c test
17 RPCSRC= ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x
18 RPCGEN= rpcgen -L -C
19 NO_WCAST_FUNCTION_TYPE=
21 nlm_prot_svc.c: ${RPCSRC}
22 ${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
24 test: ${.CURDIR}/test.c
25 cc -o test ${.CURDIR}/test.c -lrpcsvc
27 .include <bsd.prog.mk>