1# $Id$ 2 3PROG= yppush 4SRCS= yp_clnt.c ypxfr_getmap.c yp_dblookup.c yppush_svc.c \ 5 yp_error.c ypxfr_misc.c yppush_main.c 6 7MAN8= yppush.8 8 9CFLAGS+=-I. -I${.CURDIR}/../../libexec/ypxfr 10 11RPCDIR= ${.CURDIR}/../../include/rpcsvc 12RPCGEN= rpcgen -C 13 14.PATH: ${RPCDIR} ${.CURDIR}/../../usr.sbin/ypserv \ 15 ${.CURDIR}/../../libexec/ypxfr 16 17CLEANFILES= yp.h yp_clnt.c yppush_svc.c 18 19yppush_svc.c: yp.x yp.h 20 ${RPCGEN} -DYPPUSH_ONLY -m -o ${.TARGET} ${RPCDIR}/yp.x 21 22yp_clnt.c: yp.x yp.h 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