1PACKAGE= runtime 2LIB= ypclnt 3SHLIB_MAJOR= 4 4SRCS= ypclnt_connect.c \ 5 ypclnt_error.c \ 6 ypclnt_free.c \ 7 ypclnt_new.c \ 8 ypclnt_passwd.c \ 9 ${GENSRCS} 10CLEANFILES+= ${GENSRCS} 11INCS= ypclnt.h 12 13CFLAGS+= -I. 14 15GENSRCS=yp.h \ 16 yp_clnt.c \ 17 yppasswd.h \ 18 yppasswd_xdr.c \ 19 yppasswd_clnt.c \ 20 yppasswd_private.h \ 21 yppasswd_private_clnt.c \ 22 yppasswd_private_xdr.c 23 24RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -C 25RPCSRC= ${SRCTOP}/include/rpcsvc/yp.x 26RPCSRC_PW= ${SRCTOP}/include/rpcsvc/yppasswd.x 27RPCSRC_PRIV= ${SRCTOP}/usr.sbin/rpc.yppasswdd/yppasswd_private.x 28 29yp.h: ${RPCSRC} 30 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC} 31 32yp_clnt.c: ${RPCSRC} 33 ${RPCGEN} -l -o ${.TARGET} ${RPCSRC} 34 35yppasswd.h: ${RPCSRC_PW} 36 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PW} 37 38yppasswd_xdr.c: ${RPCSRC_PW} 39 ${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PW} 40 41yppasswd_clnt.c: ${RPCSRC_PW} 42 ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PW} 43 44yppasswd_private.h: ${RPCSRC_PRIV} 45 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PRIV} 46 47yppasswd_private_xdr.c: ${RPCSRC_PRIV} 48 ${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PRIV} 49 50yppasswd_private_clnt.c: ${RPCSRC_PRIV} 51 ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PRIV} 52 53.include <bsd.lib.mk> 54