1# $FreeBSD$ 2 3PROG= rpc.statd 4MAN= rpc.statd.8 5SRCS= file.c sm_inter_svc.c sm_inter.h statd.c procs.c 6 7CFLAGS+= -I. 8#WARNS?= 2 9 10DPADD= ${LIBRPCSVC} 11LDADD= -lrpcsvc 12 13CLEANFILES= sm_inter_svc.c sm_inter.h 14 15RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x 16RPCGEN= rpcgen -L -C 17 18sm_inter_svc.c: ${RPCSRC} 19 ${RPCGEN} -m -o ${.TARGET} ${RPCSRC} 20 21sm_inter.h: ${RPCSRC} 22 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC} 23 24test: test.c 25 cc -o test test.c -lrpcsvc 26 27.include <bsd.prog.mk> 28