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 $
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
12 DPADD
= ${LIBRPCSVC} ${LIBUTIL}
13 LDADD
= -lrpcsvc
-lutil
15 CLEANFILES
= nlm_prot_svc.c
test
17 RPCSRC
= ${DESTDIR}/usr
/include/rpcsvc
/nlm_prot.x
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
>