2002-04-13 06:20:02 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2003-03-09 19:56:21 +00:00
|
|
|
LIB= ypclnt
|
2007-05-21 02:49:08 +00:00
|
|
|
SHLIB_MAJOR= 3
|
2003-03-09 19:56:21 +00:00
|
|
|
SRCS= ypclnt_connect.c \
|
|
|
|
ypclnt_error.c \
|
|
|
|
ypclnt_free.c \
|
|
|
|
ypclnt_new.c \
|
|
|
|
ypclnt_passwd.c \
|
|
|
|
${GENSRCS}
|
|
|
|
CLEANFILES+= ${GENSRCS}
|
|
|
|
INCS= ypclnt.h
|
|
|
|
|
|
|
|
CFLAGS+= -I.
|
|
|
|
WARNS?= 5
|
|
|
|
|
|
|
|
GENSRCS=yp.h \
|
|
|
|
yp_clnt.c \
|
|
|
|
yppasswd.h \
|
|
|
|
yppasswd_xdr.c \
|
|
|
|
yppasswd_clnt.c \
|
|
|
|
yppasswd_private.h \
|
|
|
|
yppasswd_private_clnt.c \
|
|
|
|
yppasswd_private_xdr.c
|
|
|
|
|
|
|
|
RPCGEN= rpcgen -C
|
|
|
|
RPCSRC= ${.CURDIR}/../../include/rpcsvc/yp.x
|
|
|
|
RPCSRC_PW= ${.CURDIR}/../../include/rpcsvc/yppasswd.x
|
|
|
|
RPCSRC_PRIV= ${.CURDIR}/../../usr.sbin/rpc.yppasswdd/yppasswd_private.x
|
2002-04-13 06:20:02 +00:00
|
|
|
|
|
|
|
yp.h: ${RPCSRC}
|
|
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
|
|
|
|
|
|
|
|
yp_clnt.c: ${RPCSRC}
|
|
|
|
${RPCGEN} -l -o ${.TARGET} ${RPCSRC}
|
|
|
|
|
|
|
|
yppasswd.h: ${RPCSRC_PW}
|
|
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PW}
|
|
|
|
|
2002-04-15 15:39:14 +00:00
|
|
|
yppasswd_xdr.c: ${RPCSRC_PW}
|
2002-04-15 02:32:04 +00:00
|
|
|
${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PW}
|
|
|
|
|
2002-04-13 06:20:02 +00:00
|
|
|
yppasswd_clnt.c: ${RPCSRC_PW}
|
|
|
|
${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PW}
|
|
|
|
|
|
|
|
yppasswd_private.h: ${RPCSRC_PRIV}
|
|
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PRIV}
|
|
|
|
|
|
|
|
yppasswd_private_xdr.c: ${RPCSRC_PRIV}
|
|
|
|
${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PRIV}
|
|
|
|
|
|
|
|
yppasswd_private_clnt.c: ${RPCSRC_PRIV}
|
|
|
|
${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PRIV}
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|