1# $Id: Makefile,v 1.4 1997/02/22 16:15:00 peter Exp $ 2 3PROG= yppush 4SRCS= ypxfr_getmap.c yp_dblookup.c yp_error.c ypxfr_misc.c yppush_main.c \ 5 ${GENSRCS} 6GENSRCS=yp.h yp_clnt.c yppush_svc.c 7 8MAN8= yppush.8 9 10CFLAGS+=-I. -I${.CURDIR}/../../libexec/ypxfr 11 12RPCDIR= ${.CURDIR}/../../include/rpcsvc 13RPCGEN= rpcgen -C 14 15.PATH: ${RPCDIR} ${.CURDIR}/../../usr.sbin/ypserv \ 16 ${.CURDIR}/../../libexec/ypxfr 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