kernel - Get rid of old KDSETRAD keyboard ioctl, and some __i386__ kbd code.
[dragonfly.git] / usr.sbin / rpc.lockd / Makefile
bloba2bcb0dd9824135b6f029c164cd8e124b03076e9
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
20 nlm_prot_svc.c: ${RPCSRC}
21 ${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
23 test: ${.CURDIR}/test.c
24 cc -o test ${.CURDIR}/test.c -lrpcsvc
26 .include <bsd.prog.mk>