1 2RPCDIR= ${SRCTOP}/include/rpcsvc 3.PATH: ${RPCDIR} ${SRCTOP}/usr.sbin/ypserv ${SRCTOP}/libexec/ypxfr 4 5PACKAGE= yp 6PROG= yppush 7MAN= yppush.8 8SRCS= ypxfr_getmap.c yp_dblookup.c yp_error.c ypxfr_misc.c yppush_main.c \ 9 ${GENSRCS} 10GENSRCS=yp.h yp_clnt.c yppush_svc.c 11 12CFLAGS+= -I. -I${SRCTOP}/libexec/ypxfr 13 14WARNS?= 2 15 16RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -C 17 18CLEANFILES= ${GENSRCS} 19 20yppush_svc.c: yp.x 21 ${RPCGEN} -DYPPUSH_ONLY -m -o ${.TARGET} ${RPCDIR}/yp.x 22 23yp_clnt.c: yp.x 24 ${RPCGEN} -DYPSERV_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x 25 26yp.h: yp.x 27 ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/yp.x 28 29.include <bsd.prog.mk> 30