1 1.9 cgd # $NetBSD: Makefile,v 1.9 2000/07/25 06:29:47 cgd Exp $ 2 1.1 scottr 3 1.1 scottr PROG= rpc.statd 4 1.1 scottr SRCS= sm_inter_svc.c statd.c stat_proc.c 5 1.1 scottr MAN= rpc.statd.8 6 1.1 scottr MLINKS= rpc.statd.8 statd.8 7 1.1 scottr 8 1.6 lukem CPPFLAGS+= -I. 9 1.1 scottr 10 1.7 thorpej DPADD= ${LIBRPCSVC} ${LIBUTIL} 11 1.7 thorpej LDADD= -lrpcsvc -lutil 12 1.1 scottr 13 1.1 scottr CLEANFILES+= sm_inter_svc.c sm_inter.x sm_inter.h test 14 1.1 scottr 15 1.8 mycroft sm_inter.x: ${DESTDIR}/usr/include/rpcsvc/sm_inter.x 16 1.8 mycroft rm -f ${.TARGET} 17 1.8 mycroft ln -s ${.ALLSRC} ${.TARGET} 18 1.8 mycroft 19 1.8 mycroft sm_inter.h: ${DESTDIR}/usr/include/rpcsvc/sm_inter.h 20 1.8 mycroft rm -f ${.TARGET} 21 1.8 mycroft ln -s ${.ALLSRC} ${.TARGET} 22 1.8 mycroft 23 1.8 mycroft sm_inter_svc.c: sm_inter.x sm_inter.h 24 1.9 cgd ${RPCGEN} -C -L -m -o ${.TARGET} sm_inter.x 25 1.1 scottr 26 1.1 scottr test: ${.CURDIR}/test.c 27 1.1 scottr cc -o test ${.CURDIR}/test.c -lrpcsvc 28 1.1 scottr 29 1.1 scottr .include <bsd.prog.mk> 30