1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1995-12-25 03:07:13 +00:00
|
|
|
|
2021-09-28 09:49:50 +00:00
|
|
|
PACKAGE= yp
|
1995-12-25 03:07:13 +00:00
|
|
|
PROG= ypxfr
|
1998-05-10 16:01:36 +00:00
|
|
|
SRCS= yp_dblookup.c yp_dbwrite.c yp_error.c \
|
|
|
|
ypxfr_getmap.c ypxfr_main.c ypxfr_misc.c \
|
|
|
|
ypxfrd_getmap.c \
|
|
|
|
${GENSRCS}
|
|
|
|
GENSRCS=yp.h yp_clnt.c ypxfr_clnt.c
|
1995-12-25 03:07:13 +00:00
|
|
|
|
2017-03-04 11:28:03 +00:00
|
|
|
.PATH: ${SRCTOP}/usr.sbin/ypserv
|
1995-12-25 03:07:13 +00:00
|
|
|
|
2001-03-26 14:22:12 +00:00
|
|
|
MAN= ypxfr.8
|
|
|
|
|
1996-06-05 05:42:52 +00:00
|
|
|
CFLAGS+= -I.
|
2010-01-02 09:50:19 +00:00
|
|
|
|
|
|
|
WARNS?= 2
|
2002-02-04 02:33:51 +00:00
|
|
|
WFORMAT=0
|
2010-01-02 09:50:19 +00:00
|
|
|
|
2014-11-25 21:18:18 +00:00
|
|
|
LIBADD= rpcsvc
|
1995-12-25 03:07:13 +00:00
|
|
|
|
1998-05-10 16:01:36 +00:00
|
|
|
CLEANFILES= ${GENSRCS}
|
1995-12-25 03:07:13 +00:00
|
|
|
|
2017-03-04 11:28:03 +00:00
|
|
|
RPCDIR= ${SRCTOP}/include/rpcsvc
|
2012-02-07 09:27:07 +00:00
|
|
|
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -I -C
|
1995-12-25 03:07:13 +00:00
|
|
|
|
1998-05-10 16:01:36 +00:00
|
|
|
ypxfr_clnt.c: ${RPCDIR}/yp.x
|
1996-06-05 05:42:52 +00:00
|
|
|
rm -f ${.TARGET}
|
|
|
|
${RPCGEN} -DYPPUSH_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x
|
|
|
|
|
1998-05-10 16:01:36 +00:00
|
|
|
yp_clnt.c: ${RPCDIR}/yp.x
|
1996-06-05 05:42:52 +00:00
|
|
|
rm -f ${.TARGET}
|
|
|
|
${RPCGEN} -DYPSERV_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x
|
|
|
|
|
|
|
|
yp.h: ${RPCDIR}/yp.x
|
|
|
|
rm -f ${.TARGET}
|
|
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/yp.x
|
1995-12-25 03:07:13 +00:00
|
|
|
|
1998-05-10 16:01:36 +00:00
|
|
|
# ypxfrd_xdr.c: ${RPCDIR}/ypxfrd.x
|
1996-06-05 05:42:52 +00:00
|
|
|
# rm -f ${.TARGET}
|
|
|
|
# ${RPCGEN} -c -o ${.TARGET} ${RPCDIR}/ypxfrd.x
|
1995-12-25 03:07:13 +00:00
|
|
|
|
1996-06-05 05:42:52 +00:00
|
|
|
ypxfrd.h: ${RPCDIR}/ypxfrd.x
|
|
|
|
rm -f ${.TARGET}
|
|
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/ypxfrd.x
|
1995-12-25 03:07:13 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|