Pull up CVS idents from FreeBSD to match our current version.
[dragonfly.git] / usr.sbin / rpc.lockd / Makefile
blobd40fa53f315279595ebb5390daf8b85433d89693
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 $
4 PROG = rpc.lockd
5 SRCS = nlm_prot_svc.c nlm_prot_clnt.c nlm_prot.h lockd.c procs.c
6 MAN= rpc.lockd.8
8 MAN8 = rpc.lockd.8
10 DPADD= ${LIBRPCSVC}
11 LDADD= -lrpcsvc
13 CFLAGS+= -I.
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
20 RPCGEN= rpcgen -L -C
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}
37 test: test.c
38 cc -o test test.c -lrpcsvc
40 .include <bsd.prog.mk>