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
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
>