Sync zoneinfo database with tzdata2009n from elsie.
[dragonfly.git] / usr.sbin / rpc.statd / Makefile
blobb893acd0261a1fcaa3ddd6df15828f4c04b0b8bf
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
7 WARNS?= 1
9 DPADD= ${LIBRPCSVC}
10 LDADD= -lrpcsvc
12 CFLAGS+= -I.
14 CLEANFILES= sm_inter_svc.c sm_inter.h
16 RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
17 RPCGEN= rpcgen -L -C
19 sm_inter_svc.c: ${RPCSRC}
20 ${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
22 sm_inter.h: ${RPCSRC}
23 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
25 test: test.c
26 cc -o test test.c -lrpcsvc
28 .include <bsd.prog.mk>