1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1996-01-12 07:03:33 +00:00
|
|
|
|
2017-03-01 04:24:24 +00:00
|
|
|
RPCDIR= ${SRCTOP}/include/rpcsvc
|
|
|
|
.PATH: ${RPCDIR} ${SRCTOP}/usr.sbin/ypserv ${SRCTOP}/libexec/ypxfr
|
2001-07-20 06:20:32 +00:00
|
|
|
|
1996-01-12 07:03:33 +00:00
|
|
|
PROG= yppush
|
2001-07-20 06:20:32 +00:00
|
|
|
MAN= yppush.8
|
1998-05-10 16:01:36 +00:00
|
|
|
SRCS= ypxfr_getmap.c yp_dblookup.c yp_error.c ypxfr_misc.c yppush_main.c \
|
|
|
|
${GENSRCS}
|
|
|
|
GENSRCS=yp.h yp_clnt.c yppush_svc.c
|
1996-01-12 07:03:33 +00:00
|
|
|
|
2017-03-01 04:24:24 +00:00
|
|
|
CFLAGS+= -I. -I${SRCTOP}/libexec/ypxfr
|
2001-03-26 14:42:20 +00:00
|
|
|
|
2010-01-02 11:07:44 +00:00
|
|
|
WARNS?= 2
|
|
|
|
|
2012-02-07 09:27:07 +00:00
|
|
|
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -C
|
1996-01-12 07:03:33 +00:00
|
|
|
|
1998-05-10 16:01:36 +00:00
|
|
|
CLEANFILES= ${GENSRCS}
|
1996-04-03 03:24:03 +00:00
|
|
|
|
1998-05-10 16:01:36 +00:00
|
|
|
yppush_svc.c: yp.x
|
1996-04-03 03:24:03 +00:00
|
|
|
${RPCGEN} -DYPPUSH_ONLY -m -o ${.TARGET} ${RPCDIR}/yp.x
|
1996-01-12 07:03:33 +00:00
|
|
|
|
1998-05-10 16:01:36 +00:00
|
|
|
yp_clnt.c: yp.x
|
1996-04-03 03:24:03 +00:00
|
|
|
${RPCGEN} -DYPSERV_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x
|
1996-01-12 07:03:33 +00:00
|
|
|
|
1996-04-03 03:24:03 +00:00
|
|
|
yp.h: yp.x
|
|
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/yp.x
|
1996-01-12 07:03:33 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|