Merge branch 'misc'
[dragonfly.git] / usr.sbin / rpc.statd / Makefile
blob7e6abe9ce3afb4701a0ef5b9e8e1ed3dbc62fb9c
1 # $FreeBSD: src/usr.sbin/rpc.statd/Makefile,v 1.9.2.1 2001/04/25 12:10:45 ru Exp $
2 # $DragonFly: src/usr.sbin/rpc.statd/Makefile,v 1.2 2003/06/17 04:30:02 dillon Exp $
4 PROG = rpc.statd
5 SRCS = file.c sm_inter_svc.c sm_inter.h statd.c procs.c
6 MAN = rpc.statd.8
8 DPADD= ${LIBRPCSVC}
9 LDADD= -lrpcsvc
11 CFLAGS+= -I.
13 CLEANFILES= sm_inter_svc.c sm_inter.h
15 RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
16 RPCGEN= rpcgen -L -C
18 sm_inter_svc.c: ${RPCSRC}
19 ${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
21 sm_inter.h: ${RPCSRC}
22 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
24 test: test.c
25 cc -o test test.c -lrpcsvc
27 .include <bsd.prog.mk>