mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
5abb10faa1
YP is less and less used, split them to users have the choice to not install them. MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D33441
31 lines
620 B
Makefile
31 lines
620 B
Makefile
# $FreeBSD$
|
|
|
|
RPCDIR= ${SRCTOP}/include/rpcsvc
|
|
.PATH: ${RPCDIR} ${SRCTOP}/usr.sbin/ypserv ${SRCTOP}/libexec/ypxfr
|
|
|
|
PACKAGE= yp
|
|
PROG= yppush
|
|
MAN= yppush.8
|
|
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
|
|
|
|
CFLAGS+= -I. -I${SRCTOP}/libexec/ypxfr
|
|
|
|
WARNS?= 2
|
|
|
|
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -C
|
|
|
|
CLEANFILES= ${GENSRCS}
|
|
|
|
yppush_svc.c: yp.x
|
|
${RPCGEN} -DYPPUSH_ONLY -m -o ${.TARGET} ${RPCDIR}/yp.x
|
|
|
|
yp_clnt.c: yp.x
|
|
${RPCGEN} -DYPSERV_ONLY -l -o ${.TARGET} ${RPCDIR}/yp.x
|
|
|
|
yp.h: yp.x
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/yp.x
|
|
|
|
.include <bsd.prog.mk>
|