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