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