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 $
3 # $DragonFly: src/usr.sbin/rpc.lockd/Makefile,v 1.2 2003/06/17 04:30:02 dillon Exp $
7 MLINKS
= rpc.lockd
.8 lockd
.8
8 SRCS
= nlm_prot_svc.c lockd.c lock_proc.c lockd_lock.c
10 CFLAGS
+= -I.
-I
${DESTDIR}/usr
/include/rpcsvc
13 DPADD
= ${LIBRPCSVC} ${LIBUTIL}
14 LDADD
= -lrpcsvc
-lutil
16 CLEANFILES
= nlm_prot_svc.c nlm_prot.h
test
18 RPCSRC
= ${DESTDIR}/usr
/include/rpcsvc
/nlm_prot.x
21 nlm_prot_svc.c
: ${RPCSRC}
22 ${RPCGEN} -m
-o
${.TARGET
} ${RPCSRC}
25 ${RPCGEN} -h
-o
${.TARGET
} ${RPCSRC}
27 test: ${.CURDIR
}/test.c
28 cc -o
test ${.CURDIR
}/test.c
-lrpcsvc
30 .
include <bsd.prog.mk
>