1*5abb10faSEmmanuel VadotPACKAGE= yp 2665823d0SBill PaulPROG= ypxfr 333069882SBruce EvansSRCS= yp_dblookup.c yp_dbwrite.c yp_error.c \ 433069882SBruce Evans ypxfr_getmap.c ypxfr_main.c ypxfr_misc.c \ 533069882SBruce Evans ypxfrd_getmap.c \ 633069882SBruce Evans ${GENSRCS} 733069882SBruce EvansGENSRCS=yp.h yp_clnt.c ypxfr_clnt.c 8665823d0SBill Paul 9a251f9dcSEnji Cooper.PATH: ${SRCTOP}/usr.sbin/ypserv 10665823d0SBill Paul 11e5b5c66bSRuslan ErmilovMAN= ypxfr.8 12e5b5c66bSRuslan Ermilov 13665823d0SBill PaulCFLAGS+= -I. 141100c001SEd Schouten 151100c001SEd SchoutenWARNS?= 2 169357f412SKris KennawayWFORMAT=0 171100c001SEd Schouten 18ee5a34ecSBaptiste DaroussinLIBADD= rpcsvc 19665823d0SBill Paul 2033069882SBruce EvansCLEANFILES= ${GENSRCS} 21665823d0SBill Paul 22a251f9dcSEnji CooperRPCDIR= ${SRCTOP}/include/rpcsvc 235e0a19bdSDimitry AndricRPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -I -C 24665823d0SBill Paul 2533069882SBruce Evansypxfr_clnt.c: ${RPCDIR}/yp.x 2616deb43aSBill Paul rm -f ${.TARGET} 2716deb43aSBill Paul ${RPCGEN} -DYPPUSH_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x 28665823d0SBill Paul 2933069882SBruce Evansyp_clnt.c: ${RPCDIR}/yp.x 3016deb43aSBill Paul rm -f ${.TARGET} 3116deb43aSBill Paul ${RPCGEN} -DYPSERV_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x 32665823d0SBill Paul 3316deb43aSBill Paulyp.h: ${RPCDIR}/yp.x 3416deb43aSBill Paul rm -f ${.TARGET} 3516deb43aSBill Paul ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/yp.x 3616deb43aSBill Paul 3733069882SBruce Evans# ypxfrd_xdr.c: ${RPCDIR}/ypxfrd.x 3816deb43aSBill Paul# rm -f ${.TARGET} 3916deb43aSBill Paul# ${RPCGEN} -c -o ${.TARGET} ${RPCDIR}/ypxfrd.x 4016deb43aSBill Paul 4116deb43aSBill Paulypxfrd.h: ${RPCDIR}/ypxfrd.x 4216deb43aSBill Paul rm -f ${.TARGET} 4316deb43aSBill Paul ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/ypxfrd.x 44665823d0SBill Paul 45665823d0SBill Paul.include <bsd.prog.mk> 46