1 # $FreeBSD: src/usr.sbin/rpc.lockd/Makefile,v 1.8.2.2 2001/08/01 06:39:36 alfred Exp $
2 # $DragonFly: src/usr.sbin/rpc.lockd/Makefile,v 1.2 2003/06/17 04:30:02 dillon Exp $
5 SRCS
= nlm_prot_svc.c nlm_prot_clnt.c nlm_prot.h lockd.c procs.c
15 CLEANFILES
= nlm_prot_svc.c nlm_prot.h nlm_prot_clnt.c \
16 klm_prot_svc.c klm_prot.h
18 NLMRPCSRC
= ${DESTDIR}/usr
/include/rpcsvc
/nlm_prot.x
19 KLMRPCSRC
= ${DESTDIR}/usr
/include/rpcsvc
/klm_prot.x
22 nlm_prot_clnt.c
: ${NLMRPCSRC}
23 ${RPCGEN} -l
-o
${.TARGET
} ${NLMRPCSRC}
25 nlm_prot_svc.c
: ${NLMRPCSRC}
26 ${RPCGEN} -m
-o
${.TARGET
} ${NLMRPCSRC}
28 nlm_prot.h
: ${NLMRPCSRC}
29 ${RPCGEN} -h
-o
${.TARGET
} ${NLMRPCSRC}
31 klm_prot_svc.c
: ${KLMRPCSRC}
32 ${RPCGEN} -m
-o
${.TARGET
} ${KLMRPCSRC}
34 klm_prot.h
: ${KLMRPCSRC}
35 ${RPCGEN} -h
-o
${.TARGET
} ${KLMRPCSRC}
38 cc -o
test test.c
-lrpcsvc
40 .
include <bsd.prog.mk
>