1 2# yp sources 3.PATH: ${LIBC_SRCTOP}/yp 4 5SRCS+= xdryp.c yp.h yp_xdr.c yplib.c 6CLEANFILES+= yp.h yp_xdr.c 7 8SYM_MAPS+= ${LIBC_SRCTOP}/yp/Symbol.map 9 10RPCSRC= ${SRCTOP}/include/rpcsvc/yp.x 11RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -C 12 13yp_xdr.c: ${RPCSRC} 14 ${RPCGEN} -c -o ${.TARGET} ${RPCSRC} 15 16yp.h: ${RPCSRC} 17 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC} 18